/*
Theme Name: Mariko Klimat
Theme URI: https://marikoklimat.ru/
Author: Mariko Klimat
Description: Адаптивная тема для сайта проектирования инженерных систем.
Version: 1.0.0
Text Domain: mariko
*/

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope/manrope-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope/manrope-cyrillic.woff2") format("woff2");
  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("assets/fonts/manrope/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-text: #333;
  --color-muted: #858585;
  --color-brand: #da0001;
  --color-bg: #f4f5f7;
  --color-border: #e8e8e8;
  --container: 1240px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  --font-body: "Manrope", Arial, sans-serif;
  --font-ui: "Manrope", Arial, sans-serif;
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--color-text);
  font: 16px/1.5 var(--font-body);
}

body,
button,
input,
textarea {
  font-family: var(--font-body);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul li,
ol li,
h1,
h2,
h3,
h4,
h5 {
  padding: 0;
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(218, 0, 1, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  z-index: 1000;
  top: -100px;
  left: 16px;
  padding: 12px 18px;
  background: #fff;
  color: #111;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section--soft,
.hero {
  background: var(--color-bg);
}

.section__heading {
  margin: 0 0 36px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section__lead {
  margin: 40px 0 0;
  color: var(--color-muted);
}

.section__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.section__top .section__heading {
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-block;
  color: var(--color-muted);
  font-size: 14px;
}

.text-link {
  padding-bottom: 2px;
  border-bottom: 2px solid var(--color-brand);
  font-weight: 700;
}

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border: 1px solid var(--color-brand);
  border-radius: 14px;
  background: var(--color-brand);
  color: #fff;
  font: 500 15px/1.25 var(--font-ui);
  text-align: center;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
}

.button:hover {
  transform: translateY(-1px);
  border-color: #b90001;
  background: #b90001;
}

.button--outline {
  border-color: #bfbfbf;
  background: transparent;
  color: var(--color-text);
  transition: all 0.4s ease;
}

.button--outline:hover {
  border-color: #ed0000;
  background: #ed0000;
  color: #fff;
}

.audience-card {
  transition: all 0.4s ease;
}

.audience-card:has(> .button-clients:hover) {
  border-color: #ff3a3a;
}

.audience-card:has(> .button-clients:is(:hover, :focus-visible)) {
  border-color: #ff3a3a;
}

.button--small {
  min-height: 44px;
  padding: 11px 16px;
}

.header {
  position: absolute;
  z-index: 20;
  inset: 20px 0 auto;
}

.header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 28px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  max-width: 230px;  
  flex: 1;
}

.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border-radius: 12px;
  background: var(--color-brand);
  color: #fff;
  font-size: 19px;
}

.brand__name {
  font-size: 18px;
}

.custom-logo-link {
  display: flex;
  flex: none;
  align-items: center;
}

.custom-logo {
  width: auto;
  max-width: 180px;
  max-height: 52px;
}

.header__details {
  display: flex;
  flex-direction: row;
  gap: 16px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.3;
}

.header__details strong {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list a {
  font-size: 14px;
  font-weight: 600;
}

.nav__list a:hover {
  color: var(--color-brand);
}

.header__cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #DA0001;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 1px 0;
  background: #fff;
  width: 16px;
}

.hero {
  overflow: hidden;
  padding: 210px 0 80px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.hero__copy,
.hero h1 {
  max-width: 620px;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero__text {
  max-width: 500px;
  margin: 0 0 30px;
  color: var(--color-muted);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero__existing {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.hero__existing span {
  color: var(--color-muted);
}

.hero__visual {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 2px solid rgba(191, 191, 191, 0.8);
  border-radius: 20px;
  background: #fff;
}

.hero__visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hero__visual .button {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  min-height: 52px;
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(51, 51, 51, 0.5);
  backdrop-filter: blur(8px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.4s ease;
}

.service-card-url {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.service-card:hover {
  border: 1px solid #ffffff00;
  border-color: #ff3a3a;
}

.service-card__media {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #eee;
}

.service-card-arrow {
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  gap: 4px;
  angle: 0 deg;
  opacity: 1;
  border-radius: 10px;
  border-width: 1px;
  padding: 8px;
  border: 1px solid #ffffff;
  backdrop-filter: blur(12px);
  background: #ffffffe5;
  position: absolute;
  transition: all 0.4s ease;
}

.service-card:hover .service-card-arrow,
.service-card:hover .service-card-arrow svg path {
  border: 1px solid #ff3a3a;
  background: #ff3a3a;
  fill: #fff;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.service-card:hover .service-card__media img {
  transform: scale(1.025);
}

.service-card__body {
  padding: 18px 18px 20px;
}

.service-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.audience-card {
  display: flex;
  min-height: 400px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #fff;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.audience-card__label {
  color: var(--color-muted);
  font-size: 13px;
}

.audience-card h3 {
  margin: 10px 0 22px;
  font-size: 27px;
  line-height: 1.2;
  font-family: Manrope, Arial, sans-serif;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 34px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: 0%;
  color: #4d4d4d;
}

.audience-card ul,
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-card li,
.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
}

.audience-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
}

.audience-card .button {
  width: 100%;
  margin-top: auto;
}

.spec-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  gap: 28px;
}

.spec-card {
  padding: 36px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: #fff;
}

.spec-card h3 {
  margin: 0 0 12px;
  font-size: 30px;
}

.spec-card__intro {
  color: var(--color-muted);
}

.spec-card h4 {
  margin: 24px 0 12px;
  color: var(--color-muted);
  font-size: 16px;
  font-weight: 500;
}

.spec-card .check-list {
  margin-bottom: 28px;
}

.spec-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.spec-photo {
  min-height: 440px;
  overflow: hidden;
  border-radius: 18px;
  background: #eee;
}

.spec-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quiz {
  padding: 38px 0;
  background: #333;
  color: #fff;
}

.quiz__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.quiz h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.quiz p {
  margin: 0;
  color: #ccc;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0 12px;
}

.step {
  padding: 20px 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
}

.step__number {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-brand);
  font-weight: 800;
}

.step h3 {
  margin: 0;
  font-size: 16px;
}

.process__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 25px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--color-bg);
}

.process__bottom p {
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  min-height: 205px;
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  margin-bottom: 22px;
  color: var(--color-brand);
  font-size: 56px;
  line-height: 1;
}

.stat h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.stat p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.team-card div {
  transform: translateY(50%);
}

.team-card img {
  width: 120px;
  height: 120px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
}

/* Service page */
.service-hero {
  padding: 150px 0 64px;
  background: var(--color-bg);
}

.service-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}

.service-hero__copy {
  max-width: 590px;
}

.breadcrumbs {
  display: flex;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--color-muted);
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--color-brand);
}

.service-hero h1 {
  margin: 12px 0 20px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.service-hero__lead {
  max-width: 520px;
  color: var(--color-muted);
  font-size: 18px;
}

.service-hero__points {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.service-hero__points li {
  position: relative;
  padding-left: 26px;
}

.service-hero__points li::before {
  position: absolute;
  left: 0;
  color: var(--color-brand);
  content: "✓";
  font-weight: 800;
}

.service-hero__media {
  min-height: 390px;
  border: 1px solid #e1e2e4;
  border-radius: 20px;
  background: linear-gradient(135deg, #e7e8ea, #f8f8f9 55%, #e2e4e7);
}

.service-facts {
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}

.service-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-facts__grid>div {
  display: flex;
  min-height: 74px;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
  border-right: 1px solid var(--color-border);
}

.service-facts__grid>div:first-child {
  padding-left: 0;
}

.service-facts__grid>div:last-child {
  border: 0;
}

.service-facts strong {
  color: var(--color-brand);
  font-size: 28px;
  line-height: 1.15;
}

.service-facts span {
  color: var(--color-muted);
  font-size: 13px;
}

.service-section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.service-section-heading .section__heading {
  margin: 8px 0 14px;
}

.service-section-heading>p,
.service-contact__inner>div:first-child>p {
  color: var(--color-muted);
}

.service-scope__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-detail {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #fff;
}

.service-detail__number {
  display: block;
  margin-bottom: 36px;
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 700;
}

.service-detail h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.3;
}

.service-detail p {
  color: var(--color-muted);
  font-size: 14px;
}

.service-systems .service-card__media {
  background: linear-gradient(145deg, #e3e4e6, #f5f5f6);
}

.service-systems .cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-process .steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-cta {
  padding: 54px 0;
  background: #333;
  color: #fff;
}

.service-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.service-cta .eyebrow,
.service-cta p {
  color: #ccc;
}

.service-cta h2 {
  max-width: 680px;
  margin: 8px 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
}

.service-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  align-items: center;
  gap: 32px;
}

.service-contact .section__heading {
  margin: 8px 0 14px;
}

.service-contact .contact-card {
  display: flex;
  justify-content: center;
  padding: 34px;
}

@media (max-width: 900px) {
  .service-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .service-hero__media {
    min-height: 320px;
  }

  .service-scope__grid,
  .service-systems .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-process .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .service-hero {
    padding: 128px 0 40px;
  }

  .service-hero__inner {
    grid-template-columns: 1fr;
  }

  .service-hero h1 {
    font-size: 38px;
  }

  .service-hero__lead {
    font-size: 16px;
  }

  .service-hero__media {
    min-height: 220px;
  }

  .service-facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 0;
  }

  .service-facts__grid>div {
    padding: 0 14px;
  }

  .service-facts__grid>div:nth-child(2) {
    border-right: 0;
  }

  .service-facts__grid>div:nth-child(3) {
    padding-left: 0;
  }

  .service-scope__grid,
  .service-systems .cards,
  .service-process .steps {
    grid-template-columns: 1fr;
  }

  .service-detail {
    min-height: 0;
  }

  .service-detail__number {
    margin-bottom: 20px;
  }

  .service-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-contact__inner {
    grid-template-columns: 1fr;
  }
}



.team-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.team-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.review {
  max-width: 760px;
  margin: 38px auto 0;
  padding: 28px 32px;
  border-left: 3px solid var(--color-brand);
  border-radius: 0 16px 16px 0;
  background: #fff;
  display: flex;
  gap: 30px;
}

.review p {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 800;
  font-style: ExtraLight;
  font-size: 80px;
  leading-trim: NONE;
  line-height: 60px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #da0001;
}

.review blockquote {
  margin: 0 0 12px;
  font-size: 18px;
}

.review figcaption {
  color: var(--color-muted);
  font-size: 14px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.project-card__media {
  height: 230px;
  background: linear-gradient(135deg, #e9ebee, #cdd2d6);
  border-radius: 18px;
  position: relative;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.project-card__body {
  padding: 16px;
}

.project-card h2,
.project-card h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.project-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.project-card--empty .project-card__media {
  background: linear-gradient(135deg, #e9ebee, #cdd2d6);
}

.project-detail__image {
  max-width: 900px;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 20px;
}

.project-detail__image img {
  width: 100%;
  height: auto;
}

.section__center {
  margin-top: 28px;
  text-align: center;
}

.turnkey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.turnkey-card {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
}

.turnkey-card__stage {
  color: var(--color-brand);
  font-size: 13px;
  font-weight: 700;
}

.turnkey-card h3 {
  margin: 26px 0 8px;
  font-size: 22px;
}

.turnkey-card p {
  margin: 0 0 18px;
  color: var(--color-muted);
}

.photo-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px;
  border-radius: 22px;
  background: #333;
  color: #fff;
}

.photo-cta h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.photo-cta p {
  margin: 0;
  color: #ddd;
}

.map-panel {
  display: grid;
  min-height: 390px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background-color: #e8ebed;
  background-image:
    linear-gradient(34deg,
      transparent 47%,
      rgba(255, 255, 255, 0.8) 48%,
      rgba(255, 255, 255, 0.8) 51%,
      transparent 52%),
    linear-gradient(115deg,
      transparent 44%,
      rgba(255, 255, 255, 0.8) 45%,
      rgba(255, 255, 255, 0.8) 48%,
      transparent 49%);
  background-size:
    190px 160px,
    250px 210px;
}

.stats-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.stats-heading .section__heading {
  margin-bottom: 36px;
}

.stats-controls {
  display: flex;
  flex: none;
  gap: 10px;
  margin: 0 0 36px;
}

.stats-control {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: #fff;
  color: #555;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.18s,
    background 0.18s,
    transform 0.18s;
}

.stats-control:hover {
  background: var(--color-brand);
  color: #fff;
  transform: translateY(-1px);
}

.stats-control:focus-visible,
.stats-grid:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

.stats-grid {
  width: calc(100% + 50vw - 620px);
  overflow-x: auto;
  overflow-y: hidden;
  gap: 12px;
  padding: 4px calc(50vw - 620px) 18px 0;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior-x: contain;
}

.stats-grid::-webkit-scrollbar {
  display: none;
}

.stats-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.stats-grid.is-dragging * {
  pointer-events: none;
}

.stats-grid .stat {
  flex: 0 0 288px;
  min-width: 0;
}

@media (max-width: 720px) {
  .stats-heading {
    align-items: flex-start;
  }

  .stats-heading .section__heading,
  .stats-controls {
    margin-bottom: 26px;
  }

  .stats-controls {
    gap: 8px;
  }

  .stats-control {
    width: 36px;
    height: 36px;
  }

  .stats-grid {
    width: calc(100% + 20px);
    gap: 12px;
    padding: 4px 20px 14px 0;
  }

  .stats-grid .stat {
    flex-basis: min(288px, calc(100vw - 64px));
    min-height: 190px;
  }
}

/* Keep the track flush with the viewport, but let the final card stop at the content edge. */
.section--soft .stats-grid {
  padding-right: calc(50vw - 620px);
}

@media (min-width: 721px) and (max-width: 1287px) {
  .section--soft .stats-grid {
    padding-right: 24px;
  }
}

@media (max-width: 720px) {
  .section--soft .stats-grid {
    padding-right: 20px;
  }
}

@media (min-width: 721px) and (max-width: 1287px) {
  .stats-grid {
    width: calc(100% + 24px);
    padding-right: 24px;
  }
}

.map-panel__pin {
  padding: 12px 18px;
  border: 1px solid #fff;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 700;
}

.map-panel__pin::before {
  margin-right: 8px;
  color: var(--color-brand);
  content: "●";
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 28px;
}

.contact-card {
  padding: 34px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.contact-card>p {
  margin: 0 0 24px;
  color: var(--color-muted);
}

.form-grid {
  display: grid;
  gap: 15px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--color-brand);
  outline: 2px solid rgba(218, 0, 1, 0.2);
}

.field input[type="file"] {
  padding: 10px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-muted);
  font-size: 12px;
}

.consent input {
  margin-top: 4px;
}

.consent a {
  text-decoration: underline;
}

.form-message {
  padding: 12px 14px;
  border-radius: 10px;
  background: #eef6ef;
  color: #266637;
}

.form-message--error {
  background: #fff0f0;
  color: #a50000;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #fff;
  display: flex;
  gap: 14px;
  align-items: center;
}

.article-card-img {
  border-radius: 6px;
  width: 100%;
  height: 100%;
  max-width: 120px;
  object-fit: cover;
}

.article-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.article-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.footer {
  padding: 56px 0 24px;
  background: #262626;
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 38px;
}

.footer .brand {
  margin-bottom: 18px;
}

.footer__note,
.footer__contact-label {
  display: block;
  color: #aaa;
  font-size: 12px;
}

.footer h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

.footer__links,
.footer__contacts {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links a:hover,
.footer__contacts a:hover {
  color: #fff;
}

.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid #484848;
  color: #999;
  font-size: 12px;
}


@media (max-width: 1000px) {
  .header__inner {
    gap: 16px;
  }

  .header__details--location {
    display: none;
  }

  .nav__list {
    gap: 14px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    min-height: 0;
  }

  .audience-card .button {
    margin-top: 28px;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 84px;
  }

  .container {
    width: min(100% - 40px, var(--container));
  }

  .section {
    padding: 54px 0;
  }

  .section__heading {
    margin-bottom: 26px;
    font-size: 30px;
  }

  .section__top {
    flex-direction: column;
    gap: 0;
  }

  .section__top .section__heading {
    margin-bottom: 20px;
  }

  .header {
    inset: 12px 0 auto;
  }

  .header__inner {
    min-height: 56px;
    padding: 8px 10px 8px 12px;
    border-radius: 15px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__name {
    font-size: 15px;
  }

  .custom-logo {
    max-width: 150px;
    max-height: 40px;
  }

  .header__details,
  .header__cta {
    display: none;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .header.is-open .nav {
    display: block;
  }

  .nav__list {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .nav__list li a {
    display: block;
    padding: 12px 10px;
  }

  

  .hero {
    padding: 112px 0 40px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero h1 {
    margin-bottom: 16px;
    font-size: 38px;
  }

  .hero__text {
    margin-bottom: 22px;
    font-size: 16px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
  }

  .hero__actions>.button {
    width: 100%;
  }

  .hero__visual {
    min-height: 280px;
  }

  .hero__visual img {
    height: 280px;
  }

  .hero__visual .button {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .cards,
  .project-grid,
  .turnkey-grid,
  .article-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card__media {
    height: 205px;
  }

  .audience-card {
    padding: 22px;
  }

  .audience-card h3 {
    font-size: 25px;
  }

  .spec-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .spec-card {
    padding: 24px;
  }

  .spec-card h3,
  .contact-card h2 {
    font-size: 25px;
  }

  .spec-card__actions {
    display: grid;
  }

  .spec-card__actions .button {
    width: 100%;
  }

  .spec-photo {
    min-height: 280px;
  }

  .quiz {
    padding: 28px 0;
  }

  .quiz__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .quiz h2 {
    font-size: 21px;
  }

  .quiz .button {
    width: 100%;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .step {
    padding: 15px;
  }

  .step__number {
    margin-bottom: 16px;
  }

  .process__bottom {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .process__bottom .button {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat {
    min-height: 175px;
    padding: 19px;
  }

  .stat strong {
    margin-bottom: 18px;
    font-size: 42px;
  }

  .stat h3 {
    font-size: 15px;
  }

  .stat p {
    font-size: 12px;
  }

  .team-grid {
    gap: 10px;
  }

  .team-card {
    padding: 10px;
  }

  .team-card img {
    width: 96px;
    height: 96px;
  }

  .review {
    margin-top: 22px;
    padding: 22px;
  }

  .review blockquote {
    font-size: 16px;
  }

  .project-card__media {
    height: 230px;
  }

  .turnkey-card {
    padding: 20px;
  }

  .turnkey-card h3 {
    margin: 16px 0 6px;
  }

  .photo-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 28px 22px;
  }

  .photo-cta h2 {
    font-size: 24px;
  }

  .photo-cta .button {
    width: 100%;
  }

  .map-panel {
    min-height: 300px;
  }

  .contact-card {
    padding: 24px 20px;
  }

  .article-card {
    padding: 19px;
  }

  .footer {
    padding: 42px 0 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer__legal {
    flex-direction: column;
    margin-top: 26px;
  }

  .button {
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Figma desktop frame: https://www.figma.com/design/65psmrimDcTcdoMv7f92yB/Marikoklimat */
:root {
  --color-text: #363636;
  --color-muted: #a0a0a0;
  --color-brand: #ed0000;
  --color-bg: #f4f5f7;
  --color-border: #ededee;
  --container: 1240px;
  --shadow: 0 8px 18px rgba(22, 22, 22, 0.08);
}

body {
  background: #fff;
  font-family: "Manrope", Arial, sans-serif;
}

.section {
  padding: 80px 0;
}

.section--soft,
.hero {
  background-color: #f5f5f7;
  background-image:
    radial-gradient(ellipse at 2% 20%,
      rgba(255, 220, 226, 0.56),
      transparent 27%),
    radial-gradient(ellipse at 100% 32%,
      rgba(221, 222, 230, 0.56),
      transparent 28%);
}

.section--soft {
  overflow: hidden;
}

.section__heading {
  font-size: clamp(30px, 2.55vw, 40px);
  letter-spacing: -0.035em;
}

.header__inner {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  column-gap: 24px;
  row-gap: 8px;
  border: 1px solid #eee;
  border-radius: 24px;
      background-color: #FFFFFFCC;
}

.header .header__inner {
  width: min(1280px, calc(100% - 48px));
}

.header__right{
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: end;
}

.header__right-top{
  display: flex;
  gap: 32px;
}

.header__details-menu{
  display: flex;
  gap: 40px;
}

.header__details-menu nav{
  display: flex;
  align-items: center;
}

.header .brand,
.header .custom-logo-link {
  margin-right: auto;
}

.header .brand__mark {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.header .custom-logo {
  max-width: 250px;
  max-height: 68px;
}

.header__details {
  font-size: 16px;
  font-weight: 500;
}

.header__details-city{
  font-weight: 500;
  color: #333;
}

.header__details-info{
  font-weight: 400;
  color: #999;
}

.header__details-mail{
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.header__details-phone{
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.header .nav {
  
}

.header .nav__list {
  justify-content: flex-end;
}

.header .nav__list a {
  font-weight: 500;
  font-size: 18px;
}

.header__cta {
  
}

.hero {
  padding-top: 220px;
  background-image:
    radial-gradient(ellipse at 5% 35%,
      rgba(245, 245, 247, 0.5),
      transparent 45%),
    radial-gradient(ellipse at 100% 95%,
      rgba(250, 210, 218, 0.62),
      transparent 36%);
}

.hero__inner {
  gap: 28px;
}

.hero h1 {
  font-size: clamp(42px, 3.5vw, 54px);
}

.hero__visual {
  border: 2px solid #e9e6e8;
  border-radius: 24px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.04);
}

.hero__visual img {
  object-fit: cover;
}

.audience-card {
  border: 1px solid #fff;
  border-radius: 24px;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.08);
}

.audience-card ul {
  gap: 11px;
  color: #777;
  font-size: 14px;
}

.audience-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
}

.audience-card li::before {
  content: none;
}

.audience-card li>svg {
  flex: none;
  margin-top: 0.45em;
}

.audience-card li>p {
  margin: 0;
}

.cards {
  gap: 18px;
}

.service-card {
  border-radius: 18px;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.08);
}

.service-card__media {
  height: auto;
  aspect-ratio: 1.31;
  border-radius: 18px;
}

.service-card__body {
  padding: 14px 14px 16px;
}

.service-card h3 {
  font-size: 20px;
}

.spec-card {
  border: 0;
  border-radius: 22px;
}

.spec-photo {
  border-radius: 22px;
}

.step {
  display: flex;
  min-height: 100px;
  align-items: center;
  gap: 16px;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.step__number {
  width: auto;
  height: auto;
  margin: 0;
  background: transparent;
  color: #d2d3d8;
  font-size: 56px;
  line-height: 1;
}

.process__bottom {
  background: #fff;
  box-shadow: var(--shadow);
}

.stats-grid {
  display: flex;
  overflow-x: auto;
  gap: 14px;
  padding: 4px 0 18px;
  scroll-snap-type: x mandatory;
}

.stat {
  min-width: 300px;
  min-height: 220px;
  scroll-snap-align: start;
}

.stat strong {
  color: var(--color-brand);
}

.team-card {
  min-height: 144px;
  padding: 12px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
}

.review {
  max-width: none;
  border: 0;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.projects-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: end;
  gap: 20px;
}

.projects-showcase__person {
  align-self: stretch;
  min-width: 0;
  overflow: visible;
}

.projects-showcase__person img {
  width: 100%;
  height: 100%;
  min-width: 600px;
  max-width: 800px;
  max-height: 800px;
  object-fit: contain;
  object-position: bottom center;
}

.projects-showcase__content {
  min-width: 0;
  margin-bottom: 42px;
  border: 1px solid #ffffff;
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 24px;
}

.projects-showcase__content>.section__heading {
  margin: 0 0 34px;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  border: 1px solid #ffffff00;
}

.project-card__media {
  height: auto;
  aspect-ratio: 2.32;
}

.project-card__body {
  padding: 12px 14px;
}

.project-card h2,
.project-card h3 {
  font-size: 19px;
}

.project-card p {
  font-size: 14px;
}

.project-card--empty .project-card__media {
  background: #e7e8ea;
}

.project-card:hover {
  border: 1px solid #ffffff00;
  border-color: #ff3a3a;
}

.project-card:hover .service-card-arrow,
.project-card:hover .service-card-arrow svg path {
  border: 1px solid #ff3a3a;
  background: #ff3a3a;
  fill: #fff;
}

.turnkey-card {
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.turnkey-card__stage {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  background: var(--color-brand);
  color: #fff;
}

.turnkey-card:last-child .turnkey-card__stage {
  background: #c8c9cc;
}

.photo-cta {
  min-height: 190px;
  padding: 36px 40px;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.18)),
    url("assets/project-04.jpg") center 54% / cover no-repeat;
}

.map-panel {
  min-height: 390px;
  border-radius: 22px;
  background-color: #f2f2f4;
  background-image: url("assets/map-panel.jpg");
  background-position: center;
  background-size: cover;
}

.contact-layout {
  align-items: center;
}

.contact-layout>div:first-child {
  grid-column: 1 / -1;
}

.contact-layout>div:first-child .section__heading {
  margin: 0;
}

.contact-layout>.contact-card {
  grid-column: 2;
  grid-row: 2;
}

.contact-visual {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  min-height: 420px;
  place-items: center;
  margin: 0;
}

.contact-visual img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.contact-layout>div:first-child .eyebrow,
.contact-layout>div:first-child .section__lead {
  display: none;
}

.contact-card {
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.footer {
  min-height: 462px;
  padding: 40px 0 24px;
  background: #c9cbd1;
  color: #292929;
}

.footer__inner {
  display: flex;
  min-height: 398px;
  flex-direction: column;
}

.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(95, 97, 103, 0.08);
}

.footer__brand-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer__brand-column-menu{
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.footer__socials-block{
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__logo {
  display: block;
  width: 250px;
  max-width: 100%;
}

.footer__logo img {
  width: 100%;
  height: auto;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #303030;
  color: #c9cbd1;
}

.footer__socials svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.footer__contact-details {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

.footer__contact-details a {
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
}

.footer__contact-details span {
  font-weight: 500;
}

.footer__nav {
  display: grid;
  justify-items: start;
  gap: 10px;
  font-size: 13px;
}

.footer__nav h2 {
  margin: 0 0 4px;
  color: #777;
  font-size: 13px;
  font-weight: 400;
}

.footer__nav a{
  font-size: 18px;
  font-weight: 500;
  color: #333;
}

.footer__nav a:hover,
.footer__contact-details a:hover {
  color: var(--color-brand);
}

.footer__business {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding: 16px 0 0;
}

.footer__business>span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 99px;
  background: #f8f8f9;
  font-size: 11px;
}

.footer__business small {
  color: #999;
  font-size: 9px;
  text-transform: uppercase;
}

.footer__bottom {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 22px;
  padding-top: 22px;
  color: #696a6e;
  font-size: 10px;
  margin-top: 28px;
}

.footer__credit {
  justify-self: end;
  color: #333;
}

/* Figma: turnkey timeline and installation CTA */
.turnkey-container>.section__heading {
  margin-bottom: 22px;
}

.turnkey-container>.section__lead {
  margin: 0 0 30px;
}

.turnkey-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.turnkey-progress::before,
.turnkey-progress::after {
  position: absolute;
  top: 12px;
  left: 48px;
  height: 2px;
  content: "";
}

.turnkey-progress::before {
  right: 0;
  background: #d5d5d8;
}

.turnkey-progress::after {
  width: 0;
  background: var(--color-brand);
}

#turnkey.is-animated .turnkey-progress::after {
  animation: turnkey-progress-fill 1.35s cubic-bezier(0.22, 0.8, 0.25, 1) forwards;
}

.turnkey-progress__item {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
}

.turnkey-progress__item span {
  display: inline-flex;
  min-width: 46px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 99px;
  background: #c8c9cc;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.25s ease;
}

.turnkey-progress__item.is-current span {
  background: var(--color-brand);
}

#turnkey.is-animated .turnkey-progress__item:nth-child(2) span {
  animation: turnkey-stage-on 0.25s ease 0.72s both;
}

.turnkey-grid {
  gap: 12px;
}

.turnkey-card {
  position: relative;
  min-height: 122px;
  padding: 20px 20px 16px;
}

.turnkey-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.turnkey-card p {
  margin: 0;
  color: #aaa;
  font-size: 13px;
}

.turnkey-card .text-link {
  position: absolute;
  right: 20px;
  bottom: 15px;
  border: 0;
  color: #999;
  font-size: 12px;
  font-weight: 400;
}

.section--cta {
  overflow: hidden;
  padding: 0;
}

.photo-cta {
  position: relative;
  isolation: isolate;
  min-height: 160px;
  overflow: hidden;
  align-items: center;
  padding: 28px 68px;
  background: #252525;
}

.photo-cta::before,
.photo-cta::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.photo-cta::before {
  inset: -100px 0;
  background: url("assets/cta-back.jpg") center / cover no-repeat;
  transform: translate3d(0, var(--cta-parallax-y, 0px), 0) scale(1.02);
  will-change: transform;
}

.photo-cta::after {
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1));
}

.photo-cta h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.photo-cta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.photo-cta .button {
  min-height: 54px;
  border-color: #fff;
  background: #fff;
  color: #363636;
}

.photo-cta .button:hover {
  border-color: #eee;
  background: #eee;
}

@keyframes turnkey-progress-fill {
  to {
    width: 44%;
  }
}

@keyframes turnkey-stage-on {
  from {
    background: #c8c9cc;
  }

  to {
    background: var(--color-brand);
  }
}

@media (max-width: 720px) {
  .turnkey-container>.section__lead {
    margin-bottom: 26px;
  }

  .turnkey-progress {
    gap: 8px;
  }

  .turnkey-progress::before,
  .turnkey-progress::after {
    left: 42px;
  }

  .turnkey-progress__item span {
    min-width: 40px;
    padding: 0 9px;
    font-size: 9px;
  }

  .turnkey-card {
    min-height: 108px;
    padding: 18px 16px;
  }

  .photo-cta {
    min-height: 210px;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 22px;
  }

  .photo-cta .button {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  #turnkey.is-animated .turnkey-progress::after {
    width: 44%;
    animation: none;
  }

  #turnkey.is-animated .turnkey-progress__item:nth-child(2) span {
    background: var(--color-brand);
    animation: none;
  }

  .photo-cta::before {
    transform: none;
  }
}

#turnkey.is-animated .turnkey-progress__item:nth-child(3) span {
  animation: turnkey-stage-on 0.25s ease 1.2s both;
}

@keyframes turnkey-progress-fill {
  to {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #turnkey.is-animated .turnkey-progress::after {
    width: 100%;
  }

  #turnkey.is-animated .turnkey-progress__item:nth-child(3) span {
    background: var(--color-brand);
    animation: none;
  }
}

.photo-cta {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.photo-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 160px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 140px 40px 28px;
  color: #fff;
}

.photo-cta__inner>div {
  position: relative;
  z-index: 1;
}

.photo-cta__inner>.button {
  position: relative;
  z-index: 1;
  flex: none;
}

@media (max-width: 720px) {
  .photo-cta__inner {
    min-height: 210px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 28px 0;
  }
}

.turnkey-progress::before,
.turnkey-progress::after {
  right: 48px;
}

.turnkey-progress::after {
  width: auto;
  transform: scaleX(0);
  transform-origin: left center;
}

#turnkey.is-animated .turnkey-progress::after {
  animation-duration: 3.4s;
  animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
}

#turnkey.is-animated .turnkey-progress__item:nth-child(2) span {
  animation-delay: 1.2s;
}

#turnkey.is-animated .turnkey-progress__item:nth-child(3) span {
  animation-delay: 2.25s;
}

@keyframes turnkey-progress-fill {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

@media (max-width: 720px) {

  .turnkey-progress::before,
  .turnkey-progress::after {
    right: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #turnkey.is-animated .turnkey-progress::after {
    width: auto;
    transform: scaleX(1);
    animation: none;
  }

  #turnkey.is-animated .turnkey-progress__item:nth-child(2) span,
  #turnkey.is-animated .turnkey-progress__item:nth-child(3) span {
    background: var(--color-brand);
    animation: none;
  }
}

/* Feedback form from the Figma frame */
.contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px 42px;
}

.contact-layout>div:first-child .section__heading {
  max-width: 980px;
  font-size: clamp(28px, 2.7vw, 40px);
}

.contact-visual {
  min-height: 300px;
}

.contact-visual img {
  max-height: 360px;
}

.contact-card {
  width: 100%;
  max-width: 590px;
  justify-self: end;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 24, 24, 0.08);
}

.contact-card>h2,
.contact-card>p:not(.form-message):not(.preview-form-notice) {
  display: none;
}

.contact-card .form-grid {
  gap: 24px;
}

.contact-card .form-grid-line {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card .field label {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 400;
}

.contact-card .field input:not([type="file"]) {
  min-height: 45px;
  padding: 9px 12px;
  border-color: #d8d8d8;
  border-radius: 10px;
  font-size: 12px;
}

.contact-card .field input::placeholder {
  color: #c1c1c1;
}

.field--file {
  position: relative;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.file-drop {
  display: flex !important;
  min-height: 86px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  margin: 0 !important;
  border: 1px dashed #d3d3d3;
  border-radius: 10px;
  color: #444;
  cursor: pointer;
}

.file-drop:hover {
  border-color: var(--color-brand);
}

.file-input:focus-visible+.file-drop {
  outline: 2px solid rgba(237, 0, 0, 0.35);
  outline-offset: 2px;
}

.file-drop__title {
  font-size: 12px;
  font-weight: 400;
}

.file-drop__meta,
.file-name {
  color: #b5b5b5;
  font-size: 10px;
  font-weight: 400;
}

.file-name:not(:empty) {
  display: block;
  margin-top: 4px;
}

.contact-card .consent {
  align-items: center;
  gap: 7px;
  font-size: 10px;
}

.contact-card .consent input {
  flex: none;
  margin: 0;
}

.contact-card form .button {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
}

/* Hero render preview: frosted glass treatment from the design */
.hero__visual {
  aspect-ratio: 1.6;
  min-height: 0;
  isolation: isolate;
  border: 1px solid rgba(222, 218, 220, 0.9);
  border-radius: 24px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.04);
}

.hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(11px);
  opacity: 0.78;
  transform: scale(1.06);
}

.hero__visual::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(255, 255, 255, 0.28);
  content: "";
  pointer-events: none;
}

.hero__visual .button {
  z-index: 2;
  right: auto;
  bottom: 20px;
  left: 50%;
  width: min(296px, calc(100% - 48px));
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 2px 12px rgba(30, 25, 25, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateX(-50%);
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
}

.hero__visual .button:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.22);
  transform: translate(-50%, -1px);
}

@media (max-width: 720px) {
  .contact-layout {
    gap: 16px;
  }

  .contact-visual {
    min-height: 230px;
  }

  .contact-visual img {
    max-height: 280px;
  }

  .contact-card {
    max-width: none;
    padding: 20px;
  }
}

.btn-project-file svg path {
  transition: all 0.4s ease;
}

.btn-project-file:hover svg path {
  stroke: #fff;
}

.btn-project-eye {
  padding: 15px;
}

@media (max-width: 1000px) {
  .header .nav {
    margin-left: 0;
  }

  .header__inner {
    min-height: 76px;
  }

  .header__cta {
    position: static;
  }

  .projects-showcase {
    grid-template-columns: minmax(190px, 0.65fr) minmax(0, 1.35fr);
  }

  .footer__main {
    grid-template-columns: 180px minmax(230px, 1fr) 120px 120px;
    gap: 14px;
  }

  .footer__contact-details a {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .header .header__inner {
    width: min(100% - 40px, var(--container));
  }

  .header__inner {
    min-height: 56px;
    flex-wrap: nowrap;
  }

  .header .brand,
  .header .custom-logo-link {
    margin-right: 0;
  }

  .header .nav {
    flex-basis: auto;
    order: initial;
  }

  .header .nav__list {
    align-items: stretch;
    padding-right: 0;
  }

  .hero {
    padding-top: 112px;
  }

  .projects-showcase {
    grid-template-columns: 1fr;
  }

  .projects-showcase__person {
    display: none;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout>div:first-child,
  .contact-layout>.contact-card {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-visual {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .contact-visual img {
    max-height: 320px;
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }

  .footer {
    min-height: 0;
  }

  .footer__inner {
    min-height: 0;
  }

  .footer__brand-column {
    gap: 32px;
  }

  .footer__logo {
    max-width: 210px;
  }

  .footer__socials {
    flex: none;
    gap: 8px;
  }

  .footer__socials a {
    width: 34px;
    height: 34px;
  }

  .footer__contact-details {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
  }

  .footer__nav {
    grid-row: 3;
  }

  .footer__business>span {
    gap: 6px;
    padding: 9px 10px;
    font-size: 10px;
  }

  .footer__bottom {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .footer__credit {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 498px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .turnkey-progress {
    display: none;
  }
}

.map-panel__pin {
  display: none;
}

.projects-showcase__more {
  display: flex;
  width: 100%;
  margin-top: 18px;
}

.section--projects {
  padding-bottom: 0;
}

@media (max-width: 720px) {
  .projects-showcase__more {
    margin-top: 14px;
  }

  .footer__contact-details {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .contact-layout>div:first-child,
  .contact-layout>.contact-card {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-visual {
    grid-column: auto;
    grid-row: auto;
    min-height: 230px;
  }

  .contact-card {
    max-width: none;
    justify-self: stretch;
    padding: 20px;
  }
}

/* Service template: heating project */
.heating-page {
  overflow: hidden;
  background: #f4f5f7;
}

.heating-page .section {
  padding: 80px 0 40px;
}

.heating-page .section__heading {
  margin: 0 0 40px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.heating-page .section--soft {
  background: #f4f5f7;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: #999;
  font-size: 13px;
}

.breadcrumbs a {
  color: #999;
}

.heating-hero {
  padding: 100px 0 80px;
  background: #f4f5f7;
  padding-bottom: 0;
}

.heating-hero__inner {
  display: grid;
  min-height: 294px;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 32px;
  position: relative;
}

.heating-hero__copy {
  max-width: 600px;
  z-index: 10;
}

.heating-hero h1 {
  margin: 0 0 18px;
  color: #333;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.heating-hero__copy>p {
  max-width: 540px;
  color: #999;
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 30px;
}

.heating-hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.heating-hero__actions .button {
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 14px;
}

.heating-text-action {
  display: flex;
  flex-direction: column;
  color: #999;
  font-size: 11px;
  line-height: 1.3;
}

.heating-text-action strong {
  width: fit-content;
  border-bottom: 1px solid #da0001;
  color: #333;
  font-size: 13px;
}

.heating-hero__visual {
  align-self: stretch;
  min-height: 360px;
  overflow: visible;
}

.heating-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;

  position: absolute;
  top: -80%;
  width: 100%;
  height: 250%;
  right: -10%;
  max-width: 1000px;
}

@media (max-width: 1079px) {
  .heating-hero__visual img {
    position: relative;
    top: auto;
    right: auto;
    height: 100%;
  }

  .heating-hero {
    padding-bottom: 60px;
  }
}


.heating-included {
  padding-top: 80px !important;
  padding-bottom: 40px !important;
}

.heating-included .section__heading {
  margin-bottom: 40px;
}

.heating-included__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.heating-included__card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #173a43;
  box-shadow: 0px 6px 20px 0px #00000014;
  padding: 8px;
  position: relative;
}

.heating-included__url {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}



.heating-included__image {
  height: 280px;
  overflow: hidden;
  background: #173a43;
  position: relative;
}

.heating-included__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.heating-included__image-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
}

.heating-included__card h3 {
  position: relative;
  color: #333;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -2%;
}

.heating-card-arrow {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #999;
  transition: all 0.4s ease;
}

.heating-card-arrow path {
  transition: all 0.4s ease;
}

.heating-card-arrow svg {
  transition: all 0.6s ease;
}

.heating-included__card:hover .heating-card-arrow {
  background: #DA0001;
}

.heating-included__card:hover .heating-card-arrow svg {
  transform: rotate(45deg);
}

.heating-included__card:hover .heating-card-arrow path {
  stroke: #fff;
}

.heating-included__card:hover .heating-included__image-title {
  transform: translateY(-5px);
}

.heating-process {
  padding-top: 40px !important;
}

.heating-process .section__heading {
  margin-bottom: 20px;
}

.heating-timeline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.heating-timeline span {
  flex: none;
  padding: 7px 12px;
  border-radius: 14px;
  background: #cdcdcd;
  color: #fff;
  font-size: 11px;
}

.heating-timeline span.is-current {
  background: #da0001;
}

.heating-timeline i {
  height: 2px;
  flex: 1;
  background: #d7d7d7;
}

.heating-timeline i:nth-of-type(-n + 2) {
  background: #da0001;
}

.heating-process__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.heating-process__grid li {
  min-height: 130px;
  padding: 20px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.heating-process__grid h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.heating-process__grid p {
  color: #bfbfbf;
  font-size: 14px;
  line-height: 1.35;
}

.heating-samples {
  padding-top: 40px !important;
}

.heating-samples .section__heading {
  margin-bottom: 8px;
}

.heating-section-lead {
  max-width: 800px;
  margin: 0 0 28px;
  color: #999;
  font-size: 16px;
}

.heating-samples__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.heating-sample {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.heating-sample__size {
  position: absolute;
  z-index: 1;
  top: 24px;
  left: 24px;
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--bg-glass, #FFFFFFE5);
  backdrop-filter: blur(12px);
  color: #333333;
  font-size: 13px;
  font-weight: 500;
}

.heating-sample>img {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
}

.heating-sample h3 {
  min-height: 44px;
  margin: 10px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.heating-sample>div {
  display: flex;
  gap: 8px;
}

.heating-sample__button,
.heating-sample__view,
.heating-outline-button,
.heating-icon-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #dfdfdf;
  border-radius: 10px;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.4s ease;
}

.heating-sample__button {
  flex: 1;
}

.heating-sample__button svg path,
.heating-sample__view svg path {
  transition: all 0.4s ease;
}

.heating-sample__button:hover,
.heating-sample__view:hover {
  background: #DA0001;
  border: 1px solid #DA0001;
  color: #fff;
}

.heating-sample__button:hover svg path,
.heating-sample__view:hover svg path {
  stroke: #fff;
}

.heating-sample__view,
.heating-icon-button {
  width: 42px;
  flex: none;
  padding: 0;
  font-size: 18px;
}

.heating-guarantees {
  padding-top: 40px !important;
}

.heating-guarantees .section__heading {
  margin-bottom: 24px;
}

.heating-guarantees__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.heating-guarantees__grid article {
  min-height: 146px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.heating-guarantees__top {
  display: flex;
  gap: 12px;
}

.heating-guarantees__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-primary-soft, #DA000114);

  color: #da0001;
  font-size: 16px;
}

.heating-guarantees__icon-img {
  width: 24px;
  height: 24px;
}

.heating-guarantees__grid h3 {
  min-height: 34px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 140px;
}

.heating-guarantees__grid p {
  clear: both;
  color: #bfbfbf;
  font-size: 14px;
  line-height: 1.35;
}

.heating-value {
  padding-top: 40px !important;
}

.heating-value__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: stretch;
  gap: 20px;
}

.heating-value__card {
  display: flex;
  flex-direction: column;
  padding: 28px 32px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.heating-value__card h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
}

.heating-value__card>p {
  margin-bottom: 14px;
  color: #999;
  font-size: 12px;
  line-height: 1.35;
}

.heating-value__card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.heating-value__card li {
  position: relative;
  padding-left: 22px;
  color: #686868;
  font-size: 11px;
}

.heating-value__card li::before {
  position: absolute;
  left: 0;
  color: #bfbfbf;
  content: "✓";
}

.heating-value__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.heating-value__actions .button {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 12px;
}

.heating-outline-button {
  flex: 1;
}

.heating-value__image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 14px;
  object-fit: cover;
}

.heating-cost {
  background: linear-gradient(110deg, #fbeeee 0%, #f7f7f8 55%, #f4f5f7 100%);
}

.heating-cost .section__heading {
  margin-bottom: 10px;
}

.heating-cost .heating-section-lead {
  max-width: 950px;
  margin-bottom: 28px;
}

.heating-cost__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.heating-cost__grid article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 116px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.heating-cost__grid article div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.heating-cost__grid article>span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #fff2f2;
  color: #da0001;
}

.heating-cost__grid h3 {
  font-size: 18px;
  font-weight: 700;
}

.heating-cost__grid p {
  color: #999;
  font-size: 14px;
  line-height: 1.3;
}

.heating-cost__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 26px 32px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.heating-cost__bar strong {
  font-size: 18px;
}

.heating-cost__bar p {
  color: #999;
  font-size: 14px;
}

.heating-cost__bar .button {
  min-height: 42px;
  padding: 16px 24px;
  font-size: 16px;
}

.heating-projects {
  background: #fff;
}

.heating-section-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.heating-section-top a {
  color: #999;
  font-size: 13px;
}

.heating-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.heating-projects__grid article {
  overflow: hidden;
  padding: 4px;
  border: 1px solid #e98f8f;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.06);
}

.heating-projects__grid img {
  width: 100%;
  height: 245px;
  border-radius: 14px;
  object-fit: cover;
}

.heating-projects__grid-txt {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
}

.heating-projects__grid h3 {
  font-weight: 700;
  font-style: Bold;
  font-size: 21px;
  letter-spacing: -2%;

}

.heating-projects__grid p {
  color: #999;
  font-size: 14px;
}

.heating-projects__grid-txt>span {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 100px;
  background: #EEEFF1;
  color: #333333;
  font-size: 13px;
  width: fit-content;
}

.heating-types {
  background: #fff;
}

.heating-types__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.heating-types .service-card {
  padding-bottom: 0;
}

.heating-types .service-card__media {
  height: 185px;
  background: #eee;
}

.heating-types .service-card__media img {
  object-fit: cover;
}

.heating-types .service-card__body {
  min-height: 88px;
  padding: 12px 14px 14px;
}

.heating-types .service-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.heating-types .service-card p {
  font-size: 12px;
  line-height: 1.3;
}

.heating-types .heating-card-arrow {
  top: 8px;
  right: 8px;
}

.heating-faq {
  background: #f4f5f7;
}

.heating-faq__inner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
}

.heating-faq .section__heading {
  margin-bottom: 10px;
}

.heating-faq__inner>div:first-child>p {
  margin-bottom: 16px;
  color: #999;
  font-size: 13px;
}

.heating-faq__inner>div:first-child>a {
  border-bottom: 1px solid #da0001;
  font-size: 13px;
}

.heating-faq__list {
  display: grid;
  gap: 10px;
}

.heating-faq__list details {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.heating-faq__list summary {
  position: relative;
  padding: 17px 48px 17px 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  list-style: none;
}

.heating-faq__list summary::-webkit-details-marker {
  display: none;
}

.heating-faq__list summary::after {
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  place-items: center;
  border-radius: 7px;
  background: #f2f2f2;
  color: #999;
  content: "+";
}

.heating-faq__list details[open] summary::after {
  background: #da0001;
  color: #fff;
  content: "−";
}

.heating-faq__list details p {
  padding: 0 20px 18px;
  color: #999;
  font-size: 16px;
}

.heating-request {
  background: #fff;
}

.heating-request__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  align-items: start;
  gap: 60px;
}

.heating-request__inner>div:first-child h2 {
  max-width: 390px;
  margin: 0 0 32px;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.heating-request__inner>div:first-child p {
  margin: 0 0 24px;
  color: #999;
  font-size: 18px;
  line-height: 1.4;
}

.heating-form-card {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.heating-form-card form {
  display: grid;
  gap: 8px;
}

.heating-form-card label:not(.heating-file):not(.heating-consent) {
  font-size: 12px;
}

.heating-form-card input:not([type="checkbox"]):not([type="file"]) {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid #eee;
  border-radius: 10px;
  color: #333;
  font-size: 13px;
}

.heating-file {
  display: grid;
  gap: 5px;
  justify-items: center;
  margin: 4px 0;
  padding: 16px;
  border: 1px dashed #bfbfbf;
  border-radius: 12px;
  color: #686868;
  text-align: center;
}

.heating-file strong {
  font-size: 12px;
  font-weight: 500;
}

.heating-file span {
  color: #bfbfbf;
  font-size: 10px;
}

.heating-file input {
  max-width: 100%;
  font-size: 10px;
}

.heating-consent {
  display: flex;
  align-items: start;
  gap: 8px;
  color: #999;
  font-size: 10px;
}

.heating-form-card .button {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  border-radius: 10px;
  font-size: 13px;
}

.heating-reviews {
  background: #f4f5f7;
}

.heating-reviews .container {
  overflow: hidden;
}

.heating-reviews .section__heading {
  margin-bottom: 24px;
}

.heating-reviews__feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.heating-reviews__feature figure,
.heating-reviews__feature blockquote,
.heating-reviews__grid blockquote {
  overflow: hidden;
  margin: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.06);
}

.heating-reviews__feature figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.heating-reviews__feature figcaption {
  display: grid;
  gap: 4px;
  padding: 12px 16px;
  font-size: 12px;
}

.heating-reviews__feature figcaption strong {
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  leading-trim: NONE;
  letter-spacing: 0%;
  color: #333333;
}

.heating-reviews__feature figcaption span {
  color: #999;
  font-size: 13px;
}

.heating-reviews__feature blockquote {
  position: relative;
  min-height: 120px;
  align-self: start;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.heating-stars-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.heating-stars {
  display: flex;
  gap: 4px;
}

.heating-review-label {
  color: #999999;
  font-size: 13px;
}

.heating-reviews__feature blockquote p {
  font-size: 24px;
  font-weight: 600;
}

.heating-reviews__feature cite {
  color: #999;
  font-size: 16px;
  font-style: normal;
}

.heating-reviews__controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 12px 0;
  margin-top: -38px;
}

.heating-reviews__controls button {
  display: grid;
  width: 38px;
  height: 38px;
  color: rgb(85, 85, 85);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  place-items: center;
  padding: 0px;
  border-width: 0px;
  border-style: none;
  border-color: currentcolor;
  border-image: none;
  border-radius: 11px;
  background: rgb(255, 255, 255);
  transition:
    color 0.18s,
    background 0.18s,
    transform 0.18s;
}

.heating-reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.heating-reviews__grid blockquote {
  min-height: 110px;
  padding: 16px;
}

.heating-reviews__grid p {
  color: #333;
  font-size: 14px;
  line-height: 1.35;
}

.heating-reviews__grid-text {
  display: flex;
  align-items: start;
  gap: 16px;
}

.heating-reviews__grid-text .heating-reviews__grid-text-kovichki {
  width: 18px;
}

.heating-dark-cta {
  padding: 36px 0;
  background: #202020;
  color: #fff;
}

.heating-dark-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.heating-dark-cta h2 {
  margin: 0 0 5px;
  font-size: 20px;
}

.heating-dark-cta p {
  color: #bfbfbf;
  font-size: 12px;
}

.heating-dark-cta .button {
  min-height: 48px;
  border-color: #da0001;
  border-radius: 12px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .heating-hero {
    padding-top: 150px;
  }

  .heating-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .heating-included__grid,
  .heating-samples__grid,
  .heating-guarantees__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heating-process__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .heating-types__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heating-reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heating-process__grid h3 {
    font-size: 16px;
  }

  .heating-process__grid p {
    font-size: 13px;
  }

  .heating-section-lead {
    font-size: 15px;
  }

  .heating-guarantees__grid h3 {
    font-size: 16px;
    max-width: 100%;
  }

  .heating-guarantees__grid p {
    font-size: 14px;
  }
}

@media (max-width: 620px) {
  .heating-page .section {
    padding: 48px 0 28px;
  }

  .heating-page .section__heading {
    margin-bottom: 24px;
    font-size: 28px;
  }

  .heating-hero {
    padding: 112px 0 48px;
  }

  .heating-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .heating-hero__copy {
    max-width: none;
  }

  .breadcrumbs {
    margin-bottom: 22px;
    font-size: 11px;
  }

  .heating-hero h1 {
    margin-bottom: 14px;
    font-size: 32px;
  }

  .heating-hero__copy>p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .heating-hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
  }

  .heating-hero__actions .button {
    min-height: 44px;
    font-size: 12px;
  }

  .heating-hero__visual {
    min-height: 260px;
  }

  .heating-included__grid,
  .heating-samples__grid,
  .heating-guarantees__grid,
  .heating-cost__grid,
  .heating-projects__grid,
  .heating-types__grid,
  .heating-reviews__grid {
    grid-template-columns: 1fr;
  }

  .heating-included__image {
    height: 230px;
  }

  .heating-process__grid {
    grid-template-columns: 1fr;
  }

  .heating-timeline {
    gap: 4px;
  }

  .heating-timeline span {
    padding: 6px 7px;
    font-size: 9px;
  }

  .heating-process__grid li {
    min-height: 0;
  }

  .heating-sample>img {
    height: 180px;
  }

  .heating-value__inner,
  .heating-faq__inner,
  .heating-request__inner,
  .heating-reviews__feature {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .heating-value__card {
    padding: 22px;
  }

  .heating-value__actions {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .heating-value__actions .button,
  .heating-outline-button {
    grid-column: span 2;
  }

  .heating-value__image {
    min-height: 220px;
  }

  .heating-cost__bar,
  .heating-dark-cta .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .heating-projects__grid img {
    height: 220px;
  }

  .heating-types .service-card__media {
    height: 210px;
  }

  .heating-reviews__feature figure img {
    height: 220px;
  }

  .heating-request__inner>div:first-child h2 {
    font-size: 26px;
  }
}

/* Service page progress animation and manual review carousel. */
.heating-process .heating-timeline i {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.125s cubic-bezier(0.45, 0, 0.55, 1);
}

.heating-process.is-animated .heating-timeline i:nth-of-type(-n + 2) {
  transform: scaleX(1);
}

.heating-process.is-animated .heating-timeline i:nth-of-type(2) {
  transition-delay: 1.125s;
}

.heating-process.is-animated .heating-timeline span:nth-of-type(2) {
  animation: turnkey-stage-on 0.25s ease 0.6s both;
}

.heating-process.is-animated .heating-timeline span:nth-of-type(3) {
  animation: turnkey-stage-on 0.25s ease 1.2s both;
}

.heating-reviews__grid {
  display: flex;
  overflow: hidden;
  gap: 12px;
}

.heating-reviews__grid blockquote {
  flex: 0 0 calc((100% - 36px) / 4);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.heating-reviews__controls button {
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.heating-reviews__controls button:hover {
  border-color: #da0001;
  background: #da0001;
  color: #fff;
}

.slider-btn {}

@media (max-width: 900px) {
  .heating-reviews__grid blockquote {
    flex-basis: calc((100% - 12px) / 2);
  }
}

@media (max-width: 620px) {
  .heating-reviews__grid blockquote {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .heating-process .heating-timeline i {
    transition: none;
  }

  .heating-process.is-animated .heating-timeline i:nth-of-type(-n + 2) {
    transform: scaleX(1);
  }

  .heating-process.is-animated .heating-timeline span:nth-of-type(2),
  .heating-process.is-animated .heating-timeline span:nth-of-type(3) {
    background: #da0001;
    animation: none;
  }
}

/* Five-stage service timeline: fill each connector, then activate its next step. */
.heating-process .heating-timeline i {
  background: #d7d7d7;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s cubic-bezier(0.45, 0, 0.55, 1);
}

.heating-process .heating-timeline i:nth-of-type(1) {
  transition-delay: 0s;
}

.heating-process .heating-timeline i:nth-of-type(2) {
  transition-delay: 1.15s;
}

.heating-process .heating-timeline i:nth-of-type(3) {
  transition-delay: 2.3s;
}

.heating-process .heating-timeline i:nth-of-type(4) {
  transition-delay: 3.45s;
}

.heating-process.is-animated .heating-timeline i {
  transform: scaleX(1);
}

.heating-process.is-animated .heating-timeline span:nth-of-type(2) {
  animation: turnkey-stage-on .25s ease .95s both;
}

.heating-process.is-animated .heating-timeline span:nth-of-type(3) {
  animation: turnkey-stage-on .25s ease 2.1s both;
}

.heating-process.is-animated .heating-timeline span:nth-of-type(4) {
  animation: turnkey-stage-on .25s ease 3.25s both;
}

.heating-process.is-animated .heating-timeline span:nth-of-type(5) {
  animation: turnkey-stage-on .25s ease 4.4s both;
}

@media (prefers-reduced-motion: reduce) {
  .heating-process .heating-timeline i {
    transition: none;
  }

  .heating-process.is-animated .heating-timeline i {
    transform: scaleX(1);
  }

  .heating-process.is-animated .heating-timeline span:nth-of-type(n + 2) {
    background: #da0001;
    animation: none;
  }
}

/* Keep the full 2px grey track visible while the red fill moves over it. */
.heating-process .heating-timeline i {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: #d7d7d7;
  transform: none;
}

.heating-process .heating-timeline i::after {
  position: absolute;
  inset: 0;
  background: #da0001;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s cubic-bezier(0.45, 0, 0.55, 1);
}

.heating-process .heating-timeline i:nth-of-type(1)::after {
  transition-delay: 0s;
}

.heating-process .heating-timeline i:nth-of-type(2)::after {
  transition-delay: 1.15s;
}

.heating-process .heating-timeline i:nth-of-type(3)::after {
  transition-delay: 2.3s;
}

.heating-process .heating-timeline i:nth-of-type(4)::after {
  transition-delay: 3.45s;
}

.heating-process.is-animated .heating-timeline i::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .heating-process .heating-timeline i::after {
    transition: none;
  }

  .heating-process.is-animated .heating-timeline i::after {
    transform: scaleX(1);
  }
}

/* Align each stage label to the start of its matching card column. */
.heating-process .heating-timeline {
  --process-gap: 12px;
  --process-step: calc((100% - 48px) / 5 + var(--process-gap));
  position: relative;
  display: block;
  height: 28px;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .heating-process .heating-timeline {
    display: none;
  }
}

.heating-process .heating-timeline::before,
.heating-process .heating-timeline::after {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  transform: translateY(-50%);
}

.heating-process .heating-timeline::before {
  background: #d7d7d7;
}

.heating-process .heating-timeline::after {
  background: #da0001;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: transform 4.6s linear;
}

.heating-process.is-animated .heating-timeline::after {
  transform: translateY(-50%) scaleX(1);
}

.heating-process .heating-timeline span {
  position: absolute;
  z-index: 1;
  top: 0;
  margin: 0;
}

.heating-process .heating-timeline span:nth-of-type(1) {
  left: 0;
}

.heating-process .heating-timeline span:nth-of-type(2) {
  left: var(--process-step);
}

.heating-process .heating-timeline span:nth-of-type(3) {
  left: calc(var(--process-step) * 2);
}

.heating-process .heating-timeline span:nth-of-type(4) {
  left: calc(var(--process-step) * 3);
}

.heating-process .heating-timeline span:nth-of-type(5) {
  left: calc(var(--process-step) * 4);
}

.heating-process .heating-timeline i {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .heating-process .heating-timeline::after {
    transition: none;
  }

  .heating-process.is-animated .heating-timeline::after {
    transform: translateY(-50%) scaleX(1);
  }
}

/* Sequence each connector independently so the next marker lights only after its line. */
.heating-process .heating-timeline::before,
.heating-process .heating-timeline::after {
  display: none;
}

.heating-process .heating-timeline span {
  width: 56px;
  padding-right: 0;
  padding-left: 0;
  text-align: center;
}

.heating-process .heating-timeline i {
  position: absolute;
  z-index: 0;
  top: 50%;
  display: block;
  height: 2px;
  margin: 0;
  background: #d7d7d7;
  transform: translateY(-50%);
}

.heating-process .heating-timeline i::after {
  position: absolute;
  inset: 0;
  background: #da0001;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s cubic-bezier(0.45, 0, 0.55, 1);
}

.heating-process .heating-timeline i:nth-of-type(1) {
  left: 56px;
  right: calc(100% - var(--process-step));
}

.heating-process .heating-timeline i:nth-of-type(2) {
  left: calc(var(--process-step) + 56px);
  right: calc(100% - var(--process-step) * 2);
}

.heating-process .heating-timeline i:nth-of-type(3) {
  left: calc(var(--process-step) * 2 + 56px);
  right: calc(100% - var(--process-step) * 3);
}

.heating-process .heating-timeline i:nth-of-type(4) {
  left: calc(var(--process-step) * 3 + 56px);
  right: calc(100% - var(--process-step) * 4);
}

.heating-process .heating-timeline i:nth-of-type(5) {
  left: calc(var(--process-step) * 4 + 56px);
  right: 0;
}

.heating-process .heating-timeline i:nth-of-type(1)::after {
  transition-delay: 0s;
}

.heating-process .heating-timeline i:nth-of-type(2)::after {
  transition-delay: 1.15s;
}

.heating-process .heating-timeline i:nth-of-type(3)::after {
  transition-delay: 2.3s;
}

.heating-process .heating-timeline i:nth-of-type(4)::after {
  transition-delay: 3.45s;
}

.heating-process .heating-timeline i:nth-of-type(5)::after {
  transition-delay: 5.55s;
}

.heating-process.is-animated .heating-timeline i::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .heating-process .heating-timeline i::after {
    transition: none;
  }

  .heating-process.is-animated .heating-timeline i::after {
    transform: scaleX(1);
  }
}

.heating-process.is-animated .heating-timeline span:nth-of-type(2) {
  animation-delay: 1s;
}

.heating-process.is-animated .heating-timeline span:nth-of-type(3) {
  animation-delay: 2.15s;
}

.heating-process.is-animated .heating-timeline span:nth-of-type(4) {
  animation-delay: 3.3s;
}

.heating-process.is-animated .heating-timeline span:nth-of-type(5) {
  animation-delay: 4.45s;
}

.heating-process .heating-timeline i:nth-of-type(5)::after {
  transition-delay: 5.6s;
}

.heating-process .heating-timeline i:nth-of-type(2)::after {
  transition-delay: 1.35s;
}

.heating-process .heating-timeline i:nth-of-type(3)::after {
  transition-delay: 2.7s;
}

.heating-process .heating-timeline i:nth-of-type(4)::after {
  transition-delay: 4.05s;
}

.heating-process .heating-timeline i:nth-of-type(5)::after {
  transition-delay: 5.4s;
}

.heating-process.is-animated .heating-timeline span:nth-of-type(3) {
  animation-delay: 2.35s;
}

.heating-process.is-animated .heating-timeline span:nth-of-type(4) {
  animation-delay: 3.7s;
}

.heating-process.is-animated .heating-timeline span:nth-of-type(5) {
  animation-delay: 5.05s;
}

/* Project catalogue page */
.project-examples-page {
  background: #f4f5f7;
}

.project-examples-hero {
  padding: 72px 0 64px;
  background: #f4f5f7;
}

.project-examples-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.project-examples-hero__copy {
  max-width: 560px;
}

.project-examples-hero__copy .eyebrow,
.project-catalog__heading .eyebrow {
  margin-bottom: 12px;
  color: #858585;
  font-size: 13px;
}

.project-examples-hero h1 {
  max-width: 500px;
  margin: 0 0 18px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.project-examples-hero__lead {
  max-width: 480px;
  color: #858585;
  font-size: 16px;
}

.project-examples-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}

.project-examples-hero__actions .button {
  min-height: 46px;
  padding-inline: 22px;
}

.project-examples-hero__visual {
  position: relative;
  min-width: 0;
  margin: 0;
}

.project-examples-hero__visual>img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  border-radius: 22px;
}

.project-examples-hero__visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 0 24px;
  min-width: 205px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
}

.project-examples-hero__visual figcaption strong {
  color: var(--color-brand);
  font-size: 20px;
  line-height: 1.1;
}

.project-examples-hero__visual figcaption span {
  color: #777;
  font-size: 10px;
}

.project-examples-hero__visual figcaption i {
  grid-column: 1 / -1;
  height: 1px;
  margin: 7px 0;
  background: #e8e8e8;
}

.project-catalog {
  padding: 48px 0 88px;
  background: #f4f5f7;
}

.project-catalog__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.project-catalog__heading .section__heading {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
}

.project-catalog__heading>p {
  margin-bottom: 3px;
  color: #858585;
  font-size: 14px;
}

.project-catalog__filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 24px;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}

.project-catalog__filters::-webkit-scrollbar {
  display: none;
}

.project-catalog__select-wrap {
  position: relative;
  flex: none;
}

.project-catalog__filter {
  flex: none;
  min-height: 34px;
  padding: 7px 15px;
  border: 1px solid #e5e5e5;
  border-radius: 99px;
  background: #fff;
  color: #5d5d5d;
  font-size: 12px;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.project-catalog__select {
  min-width: 116px;
  appearance: none;
  padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%);
  background-position: calc(100% - 15px) 14px, calc(100% - 11px) 14px;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.project-catalog__filter:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.project-catalog__filter.is-active {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: #fff;
}

.project-catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  min-height: 1px;
}

.project-catalog__card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .055);
  transition: transform .22s ease, box-shadow .22s ease;
}

.project-catalog__card[hidden] {
  display: none;
}

.project-catalog__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .09);
}

.project-catalog__card-link {
  display: block;
  height: 100%;
}

.project-catalog__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.9;
  background: #e8e9eb;
}

.project-catalog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.project-catalog__card:hover .project-catalog__media img {
  transform: scale(1.035);
}

.project-catalog__arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .94);
  color: #3c3c3c;
  font-size: 17px;
  line-height: 1;
  transition: background-color .2s ease, color .2s ease;
}

.project-catalog__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .94);
  color: #555;
  font-size: 11px;
  line-height: 1;
}

.project-catalog__card:hover .project-catalog__arrow {
  background: var(--color-brand);
  color: #fff;
}

.project-catalog__card:hover .project-catalog__arrow svg path{
  fill: #fff;
}

.project-catalog__card-body {
  padding: 15px 16px 17px;
}

.project-catalog__card-body h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.3;
}

.project-catalog__card-body p {
  margin: 0;
  color: #858585;
  font-size: 12px;
  line-height: 1.45;
}

.project-catalog__tags {
  display: block;
  margin-top: 9px;
  color: #aaa;
  font-size: 10px;
  line-height: 1.35;
}

.project-catalog__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.project-catalog__more {
  display: flex;
  min-width: 190px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
  border-radius: 99px;
}

.project-catalog__more[hidden] {
  display: none;
}

.project-catalog__more:disabled {
  cursor: wait;
  opacity: .65;
}

.project-catalog__empty {
  grid-column: 1 / -1;
  padding: 40px 20px;
  color: #858585;
  text-align: center;
}

@media (max-width: 900px) {
  .project-examples-hero {
    padding: 56px 0 48px;
  }

  .project-examples-hero__inner {
    gap: 28px;
  }

  .project-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 620px) {
  .project-examples-hero {
    padding: 42px 0 36px;
  }

  .project-examples-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-examples-hero__copy .eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .project-examples-hero h1 {
    max-width: 360px;
    margin-bottom: 12px;
    font-size: 34px;
  }

  .project-examples-hero__lead {
    font-size: 13px;
  }

  .project-examples-hero__actions {
    gap: 14px;
    margin-top: 19px;
  }

  .project-examples-hero__actions .button {
    min-height: 42px;
    padding-inline: 17px;
    font-size: 12px;
  }

  .project-examples-hero__visual>img {
    aspect-ratio: 1.4;
    border-radius: 17px;
  }

  .project-examples-hero__visual figcaption {
    right: 10px;
    bottom: 10px;
    min-width: 170px;
    gap: 0 7px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .project-examples-hero__visual figcaption strong {
    font-size: 16px;
  }

  .project-examples-hero__visual figcaption span {
    font-size: 9px;
  }

  .project-catalog {
    padding: 38px 0 56px;
  }

  .project-catalog__heading {
    display: block;
    margin-bottom: 16px;
  }

  .project-catalog__heading .eyebrow {
    margin-bottom: 7px;
    font-size: 11px;
  }

  .project-catalog__heading .section__heading {
    font-size: 27px;
  }

  .project-catalog__heading>p {
    margin-top: 7px;
    font-size: 12px;
  }

  .project-catalog__filters {
    gap: 7px;
    margin-right: -24px;
    margin-bottom: 18px;
    padding-right: 24px;
  }

  .project-catalog__filter {
    min-height: 32px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .project-catalog__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-catalog__media {
    aspect-ratio: 1.62;
  }

  .project-catalog__card-body {
    padding: 13px 14px 15px;
  }

  .project-catalog__card-body h3 {
    font-size: 15px;
  }

  .project-catalog__card-body p {
    font-size: 11px;
  }

  .project-catalog__more {
    width: 100%;
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .project-catalog__card,
  .project-catalog__media img,
  .project-catalog__filter,
  .project-catalog__arrow {
    transition: none;
  }
}

/* Case study and company pages */
.case-page,
.about-page {
  background: #f4f5f7;
}

.case-hero {
  padding: 72px 0 58px;
  background: #f4f5f7;
}

.case-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}

.case-hero__copy {
  max-width: 650px;
}

.case-hero__copy .eyebrow,
.case-section-heading .eyebrow,
.about-hero__copy .eyebrow,
.about-section-heading .eyebrow {
  margin-bottom: 10px;
  color: #8a8a8a;
  font-size: 13px;
}

.case-hero h1,
.about-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.case-hero__copy>p:not(.eyebrow),
.about-hero__copy>p:not(.eyebrow) {
  max-width: 570px;
  color: #777;
  font-size: 16px;
}

.case-hero__copy .button {
  margin-top: 25px;
  min-height: 46px;
  padding-inline: 22px;
}

.case-hero__visual {
  position: relative;
  min-width: 0;
  margin: 0;
}

.case-hero__visual>img {
  width: 100%;
  aspect-ratio: 1.36;
  object-fit: cover;
  border-radius: 22px;
}

.case-hero__badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  min-width: 145px;
  padding: 13px 16px;
  border-radius: 13px;
  background: #da0001;
  color: #fff;
  box-shadow: var(--shadow);
}

.case-hero__badge strong {
  font-size: 24px;
  line-height: 1.1;
}

.case-hero__badge small {
  margin-top: 4px;
  font-size: 11px;
}

.case-gallery {
  padding: 64px 0 78px;
}

.case-section-heading,
.about-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.case-section-heading .section__heading,
.about-section-heading .section__heading {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
}

.case-section-heading>p,
.about-section-heading>p {
  max-width: 390px;
  margin-bottom: 3px;
  color: #858585;
  font-size: 14px;
}

.case-gallery__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, .86fr);
  grid-template-rows: minmax(300px, auto) 210px;
  gap: 16px;
}

.case-gallery__layout figure {
  position: relative;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border-radius: 16px;
  background: #e8e9eb;
}

.case-gallery__layout figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-gallery__main {
  grid-column: 1 / 3;
  grid-row: 1;
}

.case-gallery__main img {
  object-fit: contain !important;
  background: #fff;
}

.case-gallery__layout figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  width: fit-content;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: #4d4d4d;
  font-size: 11px;
}

.case-facts {
  grid-column: 3;
  grid-row: 1 / 3;
  padding: 27px 25px;
  border-radius: 17px;
  background: #ed0000;
  color: #fff;
}

.case-facts>strong {
  display: block;
  margin-bottom: 15px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1;
}

.case-facts h3 {
  margin: 0 0 11px;
  font-size: 19px;
}

.case-facts p {
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 1.6;
}

.case-facts ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.case-facts li {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: 12px;
}

.case-gallery__detail {
  grid-row: 2;
}

.case-review {
  padding: 66px 0 82px;
}

.case-review__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
  gap: 24px;
  align-items: stretch;
}

.case-review__visual {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  margin: 0;
  border-radius: 18px;
  background: #333;
}

.case-review__visual img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.case-review__visual::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .58));
  content: "";
}

.case-review__visual figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 13px;
}

.case-review__play {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #da0001;
  font-size: 13px;
}

.case-review__quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.case-review__stars {
  color: #da0001;
  font-size: 20px;
  letter-spacing: .1em;
}

.case-review__quote>p {
  margin-top: 17px;
  color: #4f4f4f;
  font-size: clamp(15px, 1.55vw, 19px);
  line-height: 1.6;
}

.case-review__quote footer {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 24px;
  font-size: 13px;
}

.case-review__quote footer span {
  color: #999;
  font-size: 11px;
}

.about-hero {
  padding: 72px 0 68px;
  background: #f4f5f7;
}

.about-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}

.about-hero__visual {
  overflow: hidden;
  min-width: 0;
  max-height: 470px;
  border-radius: 22px;
  background: #fff;
}

.about-hero__visual img {
  width: 100%;
  height: 100%;
  max-height: 470px;
  object-fit: cover;
  object-position: center 28%;
}

.about-hero__copy {
  max-width: 610px;
}

.about-hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 27px;
}

.about-hero__metrics>div {
  display: flex;
  min-width: 180px;
  flex-direction: column;
  padding: 17px 20px;
  border: 1px solid #fff;
  border-radius: 14px;
  background: rgba(255, 255, 255, .82);
}

.about-hero__metrics strong {
  color: #da0001;
  font-size: 27px;
  line-height: 1.1;
}

.about-hero__metrics span {
  margin-top: 5px;
  color: #858585;
  font-size: 11px;
}

.about-team {
  padding: 62px 0 76px;
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-person {
  overflow: hidden;
  min-width: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .055);
}

.about-person>img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 22%;
  background: #eceeef;
}

.about-person>div {
  padding: 15px 16px 17px;
}

.about-person h3 {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.3;
}

.about-person p {
  color: #858585;
  font-size: 11px;
  line-height: 1.5;
}

.about-office {
  padding: 62px 0 74px;
}

.about-office__image {
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  background: #e8e9eb;
}

.about-office__image img {
  width: 100%;
  max-height: 470px;
  aspect-ratio: 2.15;
  object-fit: cover;
  object-position: center 50%;
}

.about-partners {
  padding: 62px 0 84px;
}

.about-partners__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-logo {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 15px;
  border: 1px solid #ededed;
  border-radius: 13px;
  background: #fff;
  color: #54585b;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.partner-logo--unifitt {
  font-weight: 600;
  letter-spacing: -.06em;
}

.partner-logo--rehau {
  letter-spacing: .09em;
}

.partner-logo--baxi {
  font-style: italic;
}

.partner-logo--zota {
  color: #777;
  letter-spacing: .08em;
}

.partner-logo--rifar {
  font-weight: 600;
}

.partner-logo--valtec {
  letter-spacing: .1em;
}

.partner-logo--usystems {
  font-size: 17px;
  letter-spacing: -.06em;
}

@media (max-width: 900px) {

  .case-hero,
  .about-hero {
    padding: 56px 0 48px;
  }

  .case-hero__inner,
  .about-hero__inner {
    gap: 28px;
  }

  .case-gallery__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(210px, .8fr);
    grid-template-rows: minmax(240px, auto) 170px;
    gap: 12px;
  }

  .case-facts {
    padding: 22px 18px;
  }

  .about-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .about-person>img {
    height: 250px;
  }
}

@media (max-width: 620px) {

  .case-hero,
  .about-hero {
    padding: 38px 0 34px;
  }

  .case-hero__inner,
  .about-hero__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .case-hero__copy .eyebrow,
  .about-hero__copy .eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .case-hero h1,
  .about-hero h1 {
    margin-bottom: 12px;
    font-size: 32px;
  }

  .case-hero__copy>p:not(.eyebrow),
  .about-hero__copy>p:not(.eyebrow) {
    font-size: 13px;
  }

  .case-hero__copy .button {
    min-height: 42px;
    margin-top: 18px;
    padding-inline: 17px;
    font-size: 12px;
  }

  .case-hero__visual>img {
    aspect-ratio: 1.4;
    border-radius: 16px;
  }

  .case-hero__badge {
    right: 10px;
    bottom: 10px;
    min-width: 118px;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .case-hero__badge strong {
    font-size: 20px;
  }

  .case-hero__badge small {
    font-size: 9px;
  }

  .case-gallery,
  .about-team,
  .case-review,
  .about-office,
  .about-partners {
    padding: 42px 0 50px;
  }

  .case-section-heading,
  .about-section-heading {
    display: block;
    margin-bottom: 17px;
  }

  .case-section-heading .eyebrow,
  .about-section-heading .eyebrow {
    margin-bottom: 7px;
    font-size: 11px;
  }

  .case-section-heading .section__heading,
  .about-section-heading .section__heading {
    font-size: 27px;
  }

  .case-section-heading>p,
  .about-section-heading>p {
    margin-top: 7px;
    font-size: 12px;
  }

  .case-gallery__layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    gap: 10px;
  }

  .case-gallery__main {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 230px;
  }

  .case-facts {
    grid-column: 1 / -1;
    grid-row: auto;
    padding: 20px;
    border-radius: 14px;
  }

  .case-facts>strong {
    margin-bottom: 9px;
    font-size: 38px;
  }

  .case-facts h3 {
    font-size: 16px;
  }

  .case-facts p {
    font-size: 12px;
  }

  .case-facts ul {
    gap: 7px;
    margin-top: 15px;
  }

  .case-facts li {
    padding-top: 7px;
    font-size: 11px;
  }

  .case-gallery__detail {
    grid-row: auto;
    height: 135px;
  }

  .case-gallery__layout figcaption {
    right: 7px;
    bottom: 7px;
    left: 7px;
    max-width: calc(100% - 14px);
    padding: 5px 7px;
    font-size: 9px;
  }

  .case-review__layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-review__visual,
  .case-review__visual img {
    min-height: 220px;
  }

  .case-review__visual {
    border-radius: 14px;
  }

  .case-review__visual figcaption {
    right: 13px;
    bottom: 13px;
    left: 13px;
    font-size: 11px;
  }

  .case-review__play {
    width: 36px;
    height: 36px;
  }

  .case-review__quote {
    padding: 20px;
    border-radius: 14px;
  }

  .case-review__quote>p {
    margin-top: 11px;
    font-size: 14px;
  }

  .case-review__quote footer {
    margin-top: 17px;
  }

  .about-hero__visual {
    max-height: 270px;
    border-radius: 16px;
  }

  .about-hero__visual img {
    max-height: 270px;
    object-position: center 24%;
  }

  .about-hero__metrics {
    gap: 8px;
    margin-top: 18px;
  }

  .about-hero__metrics>div {
    min-width: 0;
    flex: 1;
    padding: 13px;
    border-radius: 11px;
  }

  .about-hero__metrics strong {
    font-size: 22px;
  }

  .about-hero__metrics span {
    font-size: 9px;
  }

  .about-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .about-person {
    border-radius: 12px;
  }

  .about-person>img {
    height: 170px;
  }

  .about-person>div {
    padding: 11px 10px 12px;
  }

  .about-person h3 {
    font-size: 12px;
  }

  .about-person p {
    font-size: 10px;
  }

  .about-office__image {
    border-radius: 13px;
  }

  .about-office__image img {
    min-height: 190px;
    aspect-ratio: 1.45;
  }

  .about-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .partner-logo {
    min-height: 68px;
    padding: 10px;
    border-radius: 10px;
    font-size: 16px;
  }

  .partner-logo--usystems {
    font-size: 14px;
  }
}

/* Pixel-oriented case and company page blocks */
.case-gallery__layout {
  max-width: 810px;
  grid-template-columns: minmax(0, 2fr) minmax(150px, .9fr) minmax(170px, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: start;
}

.case-gallery__slider {
  min-width: 0;
}

.case-gallery__main {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: clamp(280px, 31vw, 430px);
  margin: 0;
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
}

.case-gallery__main>img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.case-gallery__main figcaption {
  position: static;
  width: auto;
  max-width: none;
  padding: 10px 18px 13px;
  background: #fff;
  color: #333;
  font-size: 10px;
}

.case-gallery__thumbs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.case-gallery__slider {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.case-gallery__sidebar {
  display: contents;
}

.case-facts {
  min-height: clamp(340px, 39vw, 480px);
}

.case-gallery__thumbs>button:not(.case-gallery__arrows button),
.case-review__thumbs>button {
  min-width: 0;
  height: 88px;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.case-gallery__thumbs>button.is-active,
.case-review__thumbs>button.is-active {
  border-color: #ed0000;
}

.case-gallery__thumbs img,
.case-review__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-gallery__arrows {
  position: absolute;
  right: 9px;
  bottom: 9px;
  display: flex;
  gap: 6px;
}

.case-gallery__arrows button,
.about-team__controls button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #ed0000;
  color: #fff;
  cursor: pointer;
}

.case-gallery__sidebar {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  min-height: 0;
}

.case-facts {
  display: flex;
  flex-direction: column;
  grid-column: auto;
  grid-row: auto;
  gap: 5px;
  min-height: 0;
  padding: 16px 18px;
  border-radius: 13px;
}

.case-facts>strong {
  margin: 0 0 3px;
  font-size: clamp(32px, 3.2vw, 46px);
  white-space: nowrap;
}

.case-facts>small {
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
}

.case-facts>b {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 500;
}

.case-description {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
  padding: 16px 18px;
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow);
}

.case-description h3 {
  margin: 0 0 9px;
  font-size: 13px;
}

.case-description p {
  margin: 0;
  color: #737373;
  font-size: 10px;
  line-height: 1.45;
}

.case-review__layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: start;
  gap: 18px;
}

.case-review__aside {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.case-review__visual {
  height: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.case-review__visual::after {
  display: none;
}

.case-review__visual img {
  min-height: 0;
  aspect-ratio: 2.05;
  border-radius: 11px;
  object-fit: cover;
}

.case-review__visual figcaption {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 7px 10px;
  color: #333;
  font-size: 10px;
  font-weight: 600;
}

.case-review__visual figcaption small {
  color: #aaa;
  font-size: 8px;
  font-weight: 400;
}

.case-review__thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.case-review__thumbs>button {
  height: 78px;
}

.case-review__quote {
  min-height: 0;
  justify-content: flex-start;
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: none;
}

.case-review__stars {
  font-size: 14px;
}

.case-review__quote>p {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.42;
}

.case-review__quote footer {
  margin-top: 13px;
  font-size: 10px;
}

.case-review__quote footer span {
  font-size: 9px;
}

.about-hero {
  padding: 26px 0 58px;
  background: radial-gradient(ellipse at 90% 28%, rgba(237, 0, 0, .09), transparent 30%), #f4f5f7;
}

.about-hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
  gap: 36px;
  align-items: center;
  margin: 0 0 30px;
}

.about-hero__copy {
  max-width: 560px;
}

.about-hero__copy .eyebrow {
  margin-bottom: 13px;
}

.about-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(31px, 3vw, 43px);
}

.about-hero__copy>p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.5;
}

.about-hero__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.about-hero__metrics>div {
  min-width: 0;
  min-height: 100px;
  padding: 16px;
  border: 0;
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow);
}

.about-hero__metrics strong {
  font-size: 26px;
}

.about-hero__metrics span {
  color: #444;
  font-size: 9px;
  line-height: 1.4;
}

.about-intro-card {
  display: grid;
  grid-template-columns: minmax(190px, .42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.about-intro-card>img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  object-position: center 22%;
}

.about-intro-card>div {
  padding: 19px 20px 17px 0;
}

.about-intro-card h2 {
  margin: 0 0 9px;
  font-size: 18px;
}

.about-intro-card p {
  margin: 7px 0 0;
  color: #737373;
  font-size: 10px;
  line-height: 1.45;
}

.about-intro-card .about-intro-card__lead {
  color: #454545;
}

.about-team__controls {
  display: flex;
  gap: 8px;
}

.about-team__controls button {
  width: 28px;
  height: 28px;
  background: transparent;
  color: #444;
}

.about-team__viewport {
  overflow: hidden;
}

.about-team__grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 2px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.about-team__grid::-webkit-scrollbar {
  display: none;
}

.about-person {
  flex: 0 0 calc((100% - 36px) / 4);
  scroll-snap-align: start;
  border-radius: 9px;
}

.about-person>img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 20%;
}

.about-person>div {
  padding: 9px 10px 11px;
}

.about-person h3 {
  font-size: 13px;
}

.about-person p {
  margin: 0;
  font-size: 10px;
}

.about-partners {
  background: #f4f5f7;
}

.about-partners__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.partner-logo {
  min-height: 66px;
  border: 0;
  border-radius: 9px;
  color: #606164;
  font-size: clamp(18px, 2vw, 26px);
}

.partner-logo small {
  display: block;
  font-size: 6px;
  letter-spacing: 0;
  text-align: center;
}

.partner-logo--rehau {
  color: #8c8c8c;
  font-weight: 900;
  letter-spacing: .02em;
}

.partner-logo--vaillant {
  color: #a7a8aa;
  font-size: 12px;
}

.partner-logo--flamco {
  color: #777;
  font-size: 20px;
}

.partner-logo--simikon {
  color: #555;
  font-size: 17px;
}

.partner-logo--zota {
  color: #111;
  font-style: italic;
}

.partner-logo--usystems {
  color: #333;
  font-size: 19px;
}

.partner-logo--walraven {
  width: fit-content;
  justify-self: center;
  min-width: 70%;
  padding-inline: 20px;
  border-radius: 5px;
  background: #686a6b;
  color: #fff;
  font-size: 16px;
}

.partner-logo--rifar {
  color: #777;
}

.partner-logo--far {
  color: #666;
  font-size: 24px;
  font-style: italic;
}

@media (max-width: 900px) {
  .case-gallery__layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(140px, .8fr) minmax(155px, .9fr);
  }

  .case-facts {
    min-height: 360px;
  }

  .about-person {
    flex-basis: calc((100% - 36px) / 4);
  }
}

@media (max-width: 620px) {
  .case-gallery__layout {
    max-width: none;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .case-gallery__slider,
  .case-description,
  .case-facts {
    grid-column: 1;
    grid-row: auto;
  }

  .case-gallery__main {
    height: 240px;
  }

  .case-gallery__thumbs {
    gap: 7px;
  }

  .case-gallery__thumbs>button:not(.case-gallery__arrows button) {
    height: 68px;
  }

  .case-gallery__arrows button {
    width: 29px;
    height: 29px;
  }

  .case-gallery__sidebar {
    display: contents;
  }

  .case-facts {
    padding: 17px;
  }

  .case-review__layout {
    grid-template-columns: 1fr;
  }

  .case-review__visual {
    height: auto;
  }

  .case-review__visual img {
    aspect-ratio: 1.65;
  }

  .case-review__quote {
    padding: 18px;
  }

  .about-hero {
    padding: 25px 0 42px;
  }

  .about-hero__top {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 18px;
  }

  .about-hero__copy {
    max-width: none;
  }

  .about-hero h1 {
    font-size: 31px;
  }

  .about-hero__metrics {
    gap: 8px;
  }

  .about-hero__metrics>div {
    min-height: 88px;
    padding: 12px;
  }

  .about-hero__metrics strong {
    font-size: 22px;
  }

  .about-intro-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    border-radius: 12px;
  }

  .about-intro-card>img {
    min-height: 220px;
  }

  .about-intro-card>div {
    padding: 12px 10px 12px 0;
  }

  .about-intro-card h2 {
    font-size: 14px;
  }

  .about-intro-card p {
    font-size: 9px;
  }

  .about-person {
    flex-basis: 46%;
  }

  .about-person>img {
    height: auto;
  }

  .about-partners__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .partner-logo {
    min-height: 56px;
    padding: 7px;
    border-radius: 7px;
    font-size: 14px;
  }

  .partner-logo--vaillant {
    font-size: 9px;
  }

  .partner-logo--flamco,
  .partner-logo--usystems {
    font-size: 13px;
  }

  .partner-logo--simikon,
  .partner-logo--walraven {
    font-size: 11px;
  }
}

/* Final desktop grid placement: Figma uses three separate gallery columns. */
@media (min-width: 621px) {
  .case-gallery__layout {
    grid-template-rows: minmax(280px, auto) auto;
  }

  .case-gallery__slider {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .case-gallery__sidebar {
    display: contents;
  }

  .case-description {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }

  .case-facts {
    grid-column: 3;
    grid-row: 1 / span 2;
    min-height: clamp(340px, 39vw, 480px);
  }
}

/* Case page aligned to the Figma frames */
.case-hero {
  min-height: 450px;
  padding: 26px 0 90px;
  background: radial-gradient(ellipse at 98% 32%, rgba(237, 0, 0, .09), transparent 28%), #f4f5f7;
}

.case-hero__inner {
  display: block;
}

.case-hero__visual {
  display: none;
}

.case-hero__copy {
  max-width: none;
}

.case-hero__copy>.eyebrow {
  margin: 0 0 14px;
  color: #aaa;
  font-size: 10px;
}

.case-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.case-hero__tags span {
  padding: 5px 10px;
  border: 1px solid #e7e7e7;
  border-radius: 99px;
  background: #fff;
  color: #555;
  font-size: 10px;
  line-height: 1;
}

.case-hero__tags span:first-child {
  border-color: #ed0000;
  background: #ed0000;
  color: #fff;
}

.case-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
}

.case-hero__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 16px;
}

.case-hero__bottom>div {
  max-width: 760px;
}

.case-hero__bottom h2 {
  margin: 0 0 5px;
  font-size: clamp(15px, 1.4vw, 19px);
}

.case-hero__bottom p {
  margin: 0;
  color: #777;
  font-size: 12px;
  line-height: 1.5;
}

.case-hero__bottom .button {
  flex: 0 0 auto;
  margin: 0;
  min-height: 42px;
  padding: 0 18px;
  font-size: 11px;
}

.case-gallery {
  padding: 24px 0 52px;
}

.case-gallery .case-section-heading {
  display: block;
  margin-bottom: 16px;
}

.case-gallery .case-section-heading .eyebrow,
.case-gallery .case-section-heading>p,
.case-review .case-section-heading .eyebrow {
  display: none;
}

.case-gallery .case-section-heading h2 {
  margin: 0;
  font-size: clamp(23px, 2vw, 28px);
}

.case-gallery__layout {
  max-width: none;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  grid-template-rows: auto;
  gap: 14px;
  align-items: stretch;
}

.case-gallery__slider {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  gap: 12px;
}

.case-gallery__main {
  height: clamp(280px, 32vw, 420px);
  grid-template-rows: minmax(0, 1fr);
  border-radius: 12px;
}

.case-gallery__main>img {
  min-height: 0;
  object-fit: cover !important;
}

.case-gallery__main figcaption {
  position: absolute;
  right: auto;
  bottom: 8px;
  left: 9px;
  width: fit-content;
  max-width: calc(100% - 18px);
  padding: 4px 7px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .86);
  color: #444;
  font-size: 8px;
}

.case-gallery__thumbs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  height: clamp(92px, 13.8vw, 168px);
  margin: 0;
}

.case-gallery__thumbs>button:not(.case-gallery__arrows button) {
  height: 100%;
  border-radius: 9px;
}

.case-gallery__arrows {
  right: 9px;
  bottom: 9px;
  gap: 6px;
}

.case-gallery__arrows button {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}

.case-gallery__arrows  .btn-back{
  background: var(--bg-glass, #FFFFFFE5);

}

.case-gallery__sidebar {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 0;
}

.case-facts {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
  padding: clamp(18px, 2vw, 26px);
  border-radius: 12px;
}

.case-facts>strong {
  margin: 1px 0 10px;
  font-size: clamp(34px, 4vw, 54px);
}

.case-facts>small {
  margin-top: 5px;
  font-size: 14px;
}

.case-facts>b {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
}

.case-description {
  grid-column: auto;
  grid-row: auto;
  align-self: stretch;
  overflow: hidden;
  padding: clamp(16px, 1.6vw, 22px);
  border-radius: 12px;
}

.case-description h3 {
  margin-bottom: 12px;
  font-size: 13px;
}

.case-description p {
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
}

.case-review.section--soft {
  background: #fff;
}

.case-review {
  padding: 30px 0 48px;
}

.case-review .case-section-heading {
  margin-bottom: 16px;
}

.case-review .case-section-heading h2 {
  margin: 0;
  font-size: clamp(18px, 1.55vw, 22px);
}

.case-review__layout {
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 14px;
  align-items: start;
}

.case-review__aside {
  gap: 8px;
  height: 100%;
}

.case-review__visual img {
  aspect-ratio: 2.15;
  border-radius: 9px;
}

.case-review__visual figcaption {
  padding: 5px 8px 0;
  font-size: 9px;
}

.case-review__visual figcaption small {
  font-size: 8px;
}

.case-review__quote {
  padding: 14px 16px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(20, 20, 20, .05);
  display: flex;
  flex-direction: column;
  gap:  20px;
}

.case-review__quote-text{
  display: flex;
  gap: 20px;
}

.case-review__stars {
  font-size: 10px;
  letter-spacing: .08em;
}

.case-review__quote-text p {
  position: relative;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  flex: 1;
}

.case-review__quote-mark {
  width: 19px;
  color: #ed0000;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.case-review__quote footer {
  margin-top: 9px;
  font-size: 8px;
}

.case-review__quote footer strong {
  font-weight: 500;
  font-size: 16px;
}

.case-review__thumbs {
  gap: 8px;
  flex: 1;
}

.case-review__thumbs>button {
  height: clamp(64px, 7vw, 92px);
  border-radius: 7px;
  height: 100%;
}

@media (max-width: 760px) {
  .case-hero {
    min-height: 0;
    padding: 22px 0 44px;
  }

  .case-hero__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .case-hero__bottom .button {
    align-self: flex-end;
  }

  .case-hero h1 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .case-gallery__layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-gallery__slider,
  .case-gallery__sidebar {
    grid-column: 1;
    grid-row: auto;
  }

  .case-gallery__main {
    height: clamp(220px, 65vw, 340px);
  }

  .case-gallery__thumbs {
    height: clamp(78px, 24vw, 118px);
  }

  .case-gallery__arrows button {
    width: 38px;
    height: 38px;
  }

  .case-gallery__sidebar {
    grid-template-rows: auto auto;
  }

  .case-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
  }

  .case-facts>strong {
    grid-column: 1 / -1;
  }

  .case-review__layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-review__visual img {
    aspect-ratio: 1.85;
  }
}

/* About page: match the Figma intro, team cards and partner artwork. */
.about-hero {
  padding: 24px 0 54px;
  background: radial-gradient(ellipse at 96% 20%, rgba(237, 0, 0, .09), transparent 33%), #f4f5f7;
}

.about-hero__top {
  grid-template-columns: minmax(0, 1fr) minmax(350px, .92fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  margin-bottom: 34px;
}

.about-hero__copy {
  max-width: 470px;
}

.about-hero__copy .eyebrow {
  margin: 0 0 16px;
  color: #969696;
  font-size: 11px;
}

.about-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(38px, 3vw, 54px);
  line-height: 1.08;
  font-weight: 800;
}

.about-hero__copy>p:not(.eyebrow) {
  max-width: 430px;
  margin: 0;
  color: #777;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}

.about-hero__metrics {
  gap: 12px;
}

.about-hero__metrics>article {
  display: flex;
  min-height: 142px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.about-hero__metrics strong {
  margin: 0 0 8px;
  color: #e00000;
  font-weight: 700;
  font-size: clamp(36px, 3vw, 64px);
  line-height: 1;
}

.about-hero__metrics b {
  color: #353535;
  font-size: 18px;
  font-weight: 700;
}

.about-hero__metrics span {
  margin-top: 4px;
  color: #777;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
}

.about-intro-card {
  grid-template-columns: minmax(190px, .42fr) minmax(0, 1fr);
  gap: 12px;
  max-width: 100%;
  margin-inline: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-intro-card>img {
  min-height: 0;
  aspect-ratio: 212 / 247;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center 18%;
}

.about-intro-card>div {
  min-width: 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-intro-card h2 {
  font-size: 30px;
  font-weight: 700;
  color: #333333;
  line-height: 1.2;
}

.about-intro-card p {
  color: #686868;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.42;
}

.about-intro-card .about-intro-card__lead {
  color: #555;
}

.about-intro-card__badge {
  display: inline-block;
  margin-left: 5px;
  padding: 8px 16px;
  border-radius: 99px;
  background: #e50000;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  vertical-align: middle;
}

.about-team {
  padding: 50px 0 58px;
}

.about-section-heading {
  align-items: end;
  margin-bottom: 22px;
}

.about-team .eyebrow {
  margin: 0 0 6px;
  color: #969696;
  font-size: 11px;
}

.about-team .section__heading {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
}

.about-team__grid {
  gap: 12px;
  padding: 0 0 8px;
}

.about-person {
  flex-basis: calc((100% - 36px) / 4);
  overflow: hidden;
  border-radius: 18px;
  padding: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  box-shadow: 0px 6px 20px 0px #00000014;

}

.about-person>img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f4f4f4;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 10px;
}

.about-person>div {
  min-height: 54px;
  padding: 0;
  padding-top: 14px;
}

.about-person h3 {
  margin: 0 0 3px;
  color: #282828;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.about-person p {
  margin: 0;
  color: #999;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.3;
}

.about-partners {
  padding: 46px 0 58px;
  background: radial-gradient(ellipse at 4% 0%, rgba(237, 0, 0, .08), transparent 35%), #f4f5f7;
}

.about-partners__heading {
  margin: 0 0 18px;
}

.about-partners__heading .section__heading {
  margin: 0 0 5px;
  font-size: clamp(23px, 2.5vw, 38px);
}

.about-partners__heading p {
  margin: 0;
  color: #888;
  font-size: 10px;
}

.about-partners__art {
  width: min(100%, 780px);
  margin: 0 auto;
}

.about-partners__art img {
  display: block;
  width: 100%;
  height: auto;
}

.button-white{
  background-color: #fff;
  color: #333333;
  border: 1px solid #BFBFBF;
  transition: all 0.4s ease;
}

.button-white:hover{
  border: 1px solid var(--color-brand);
  background: var(--color-brand);
  color: #fff;
}

.project-examples-hero__lead{
  margin-bottom: 24px;
}

.project-text-banner{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-examples-hero__visual .project-text-banner strong{
  font-size: 40px;
  color: #DA0001;
}

.project-examples-hero__visual .project-text-banner span{
  font-size: 13px;
  color: #333333;
}

@media (max-width: 900px) {
  .about-hero__top {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .9fr);
    gap: 20px;
  }

  .about-intro-card {
  }

  .about-person {
    flex-basis: calc((100% - 24px) / 3);
  }
}

@media (max-width: 620px) {
  .about-hero {
    padding: 22px 0 38px;
  }

  .about-hero__top {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-bottom: 20px;
  }

  .about-hero__copy .eyebrow {
    margin-bottom: 10px;
  }

  .about-hero h1 {
    font-size: 31px;
  }

  .about-hero__copy>p:not(.eyebrow) {
    font-size: 12px;
  }

  .about-hero__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .about-hero__metrics>article {
    min-height: 124px;
    padding: 16px 13px;
  }

  .about-hero__metrics strong {
    font-size: 27px;
  }

  .about-intro-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-intro-card>img {
    width: 100%;
    height: auto;
    max-height: 380px;
    aspect-ratio: 1 / 1;
    object-position: center 14%;
  }

  .about-intro-card>div {
    padding: 17px;
  }

  .about-intro-card h2 {
    font-size: 18px;
  }

  .about-intro-card p {
    font-size: 11px;
  }

  .about-team {
    padding: 40px 0 45px;
  }

  .about-person {
    flex-basis: 46%;
  }

  .about-person>img {
    aspect-ratio: 1 / 1;
  }

  .about-person h3 {
    font-size: 11px;
  }

  .about-person p {
    font-size: 9px;
  }

  .about-partners {
    padding: 38px 0 46px;
  }

  .about-partners__art {
    width: 100%;
  }
}

/* Final layout corrections for the three design pages. */
.project-examples-hero {
  padding-block: clamp(48px, 6vw, 80px) clamp(42px, 5vw, 64px);
  background: radial-gradient(ellipse at 96% 30%, rgba(237, 0, 0, .08), transparent 34%), #f4f5f7;
}

.project-examples-hero__copy .eyebrow {
  margin-bottom: 12px;
}

.project-examples-hero__lead {
  max-width: 500px;
  margin-bottom: 0;
  line-height: 1.55;
}

.project-examples-hero__actions {
  gap: 10px;
  margin-top: 24px;
}

.project-examples-hero__visual figcaption {
  grid-template-columns: auto 1fr;
  min-width: 200px;
}

.project-examples-hero__visual figcaption .project-text-banner {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 0 2px;
}

.project-examples-hero__visual figcaption .project-text-banner strong {
  font-size: 40px;
}

.project-examples-hero__visual figcaption .project-text-banner span {
  font-size: 13px;
}

.project-catalog__filters {
  align-items: center;
  gap: 8px;
}

.project-catalog__reset {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 0 4px 0 12px;
  border: 0;
  background: transparent;
  color: #767676;
  font: inherit;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}

.project-catalog__reset span {
  color: #252525;
  font-size: 18px;
  line-height: 1;
}

.case-hero {
  min-height: 0;
  padding: 28px 0 52px;
}

.case-hero__copy {
  max-width: 100%;
}

.case-hero h1 {
  max-width: 840px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.08;
}

.case-hero__bottom {
  align-items: end;
  margin-top: 14px;
}

.case-hero__bottom>div {
  max-width: 800px;
}

.case-hero__bottom p {
  max-width: 760px;
  font-size: 13px;
}

.case-gallery {
  padding-top: 20px;
}

.case-gallery .case-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.case-gallery .case-section-heading .eyebrow,
.case-review .case-section-heading .eyebrow {
  display: block;
  margin: 0 0 8px;
  color: #929292;
  font-size: 13px;
}

.case-gallery .case-section-heading h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.case-gallery .case-section-heading>p {
  display: block;
  max-width: 380px;
  margin: 0 0 4px;
  color: #858585;
  font-size: 14px;
  line-height: 1.45;
}

.case-gallery__layout {
  max-width: none;
  grid-template-columns: minmax(0, 2fr) minmax(250px, .98fr);
  grid-template-rows: auto;
  gap: 16px;
  align-items: stretch;
}

.case-gallery__slider {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
}

.case-gallery__main {
  height: clamp(300px, 34vw, 470px);
  grid-template-rows: minmax(0, 1fr) auto;
}

.case-gallery__main>img {
  object-fit: cover !important;
}

.case-gallery__main figcaption {
  position: absolute;
  width: auto;
  max-width: none;
  padding: 10px 18px 13px;
  border-radius: 0;
  background: #fff;
  color: #444;
  font-size: 13px;
}

.case-gallery__thumbs {
  display: flex;
  overflow-x: auto;
  grid-template-columns: none;
  height: clamp(90px, 11vw, 150px);
  margin: 0;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.case-gallery__thumbs .is-active{
  border: 2px solid  #DA0001 !important;
}

.case-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.case-gallery__thumbs>button[data-case-gallery-thumb] {
  flex: 0 0 calc((100% - 10px) / 2);
  scroll-snap-align: start;
}

.case-gallery__thumbs>button:not(.case-gallery__arrows button) {
  height: 100%;
}

.case-gallery__sidebar {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  grid-template-rows: min-content minmax(0, 1fr);
  gap: 12px;
}

.case-gallery__slider,
.case-gallery__sidebar {
  min-width: 0;
}

.case-facts,
.case-description {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
  align-self: stretch;
}

.case-facts {
  padding: clamp(16px, 1.4vw, 22px);
}

.case-facts>strong {
  font-size: clamp(34px, 3.2vw, 46px);
}

.case-description {
  overflow: visible;
  padding: clamp(18px, 2.3vw, 30px);
}

.case-description p {
  font-size: clamp(11px, .9vw, 13px);
  line-height: 1.5;
}

.case-description ul {
  display: grid;
  gap: 2px;
  margin: 5px 0 10px;
  padding-left: 17px;
  color: #777;
  font-size: clamp(11px, .9vw, 13px);
  line-height: 1.42;
}

.case-description h4 {
  margin: 8px 0 4px;
  font-size: clamp(11px, .9vw, 13px);
  line-height: 1.4;
}

.case-review .case-section-heading .eyebrow {
  margin-bottom: 8px;
}

.case-review .case-section-heading h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.case-review__layout {
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
  gap: 18px;
}

.case-review__visual img {
  aspect-ratio: 1.72;
  max-height: 360px;
  border-radius: 0;
}

.case-review__visual{
  box-shadow: 0px 6px 20px 0px #00000014;
  border-radius: 18px;
  overflow: hidden;
}

.case-review__visual figcaption{
  padding: 24px;
}

.case-review__visual figcaption span{
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.case-review__visual figcaption small{
  font-size: 13px;
  font-weight: 400;
  color: #999;
}

.case-review__quote>p {
  font-size: 14px;
  line-height: 1.5;
}

.case-review__quote footer {
  display: grid;
  gap: 4px;
  font-size: 11px;
}

.case-review__quote footer span {
  color: #8b8b8b;
  font-size: 10px;
}

.case-review__quote-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.case-review__stars {
  color: var(--color-brand);
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1;
}

.case-review__customer-type {
  color: #9a9a9a;
  font-size: 12px;
}

.case-review__quote footer {
  color: #999;
  font-size: 10px;
}

.project-examples-page,
.case-page,
.about-page {
  color: var(--color-text);
  background: #f4f5f7;
  font-family: "Manrope", Arial, sans-serif;
}

.project-examples-page .section__heading,
.case-page .section__heading,
.about-page .section__heading {
  letter-spacing: -0.035em;
}

/* Contacts page */
.contacts-page {
  min-height: 100vh;
  color: #333;
  background:
    radial-gradient(ellipse at 100% 4%, rgba(237, 0, 0, .08), transparent 29%),
    #f4f5f7;
  font-family: "Manrope", Arial, sans-serif;
}

.contacts-page__icons {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.contacts-page__section {
  padding: 166px 0 88px;
}

.contacts-page__heading {
  margin-bottom: 28px;
}

.contacts-page__heading .breadcrumbs {
  margin-bottom: 16px;
  color: #999;
  font-size: 12px;
}

.contacts-page__heading h1 {
  margin: 0;
  color: #333;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.contacts-page__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contacts-info-card,
.contacts-channel-card,
.contacts-requisites {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(22, 22, 22, .07);
}

.contacts-info-card {
  display: flex;
  min-height: 120px;
  align-items: center;
  gap: 16px;
  padding: 24px;
}

.contacts-info-card>svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  fill: none;
  stroke: #686868;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contacts-info-card h2,
.contacts-channel-card h2,
.contacts-requisites h2 {
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.contacts-info-card h2 {
  margin-bottom: 4px;
  color: #999;
  font-size: 13px;
  font-weight: 400;
}

.contacts-info-card p,
.contacts-info-card__value {
  display: block;
  margin: 0;
  color: #333;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.4;
  font-size: 21px;
  font-weight: 700;
}

.contacts-info-card p:last-child:not(.contacts-info-card__value) {
  margin-top: 3px;
  color: #999;
  font-size: 13px;
  font-weight: 400;
}

.contacts-info-card a {
  text-decoration: none;
  transition: color .18s ease;
  font-size: 21px;
  font-weight: 700;
}

.contacts-info-card a:hover,
.contacts-info-card a:focus-visible {
  color: #DA0001;
}

.contacts-page__channels {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 16px;
  margin-top: 16px;
}

.contacts-channel-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  gap: 24px;
}

.contacts-social-list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contacts-social-list li {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 8px;
  color: #333;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.contacts-social-list__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #333;
  color: #fff;
}

.contacts-social-list__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contacts-social-list__icon use[href="#contact-icon-telegram"] {
  fill: #fff;
  stroke: none;
}

.contacts-social-list__icon use[href="#contact-icon-max"] {
  fill: none;
}

.contacts-requisites {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 14px 24px;
}

.contacts-requisites h2 {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 18px;
}

.contacts-requisites dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}

.contacts-requisites dl>div {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 99px;
  background: #f4f5f7;
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
}

.contacts-requisites dt {
  color: #999;
  font-size: 13px;
  font-weight: 400;
}

.contacts-requisites dd {
  margin: 0;
  color: #686868;
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .contacts-page__channels {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  }

  .contacts-channel-card {
    padding-inline: 20px;
  }

  .contacts-requisites {
    align-items: flex-start;
    flex-direction: column;
  }

  .contacts-requisites dl {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .contacts-page__section {
    padding: 96px 0 56px;
  }

  .contacts-page__heading {
    margin-bottom: 22px;
  }

  .contacts-page__heading .breadcrumbs {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .contacts-page__heading h1 {
    font-size: 34px;
  }

  .contacts-page__details,
  .contacts-page__channels {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contacts-info-card {
    min-height: 96px;
    gap: 14px;
    padding: 16px 18px;
  }

  .contacts-info-card>svg {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .contacts-info-card p,
  .contacts-info-card__value {
    font-size: 15px;
  }

  .contacts-channel-card {
    min-height: 160px;
    padding: 20px 18px 16px;
  }

  .contacts-channel-card--wide {
    min-height: 194px;
  }

  .contacts-channel-card h2 {
    font-size: 15px;
  }

  .contacts-social-list {
    gap: 8px;
  }

  .contacts-social-list li {
    gap: 6px;
    font-size: 13px;
  }

  .contacts-social-list__icon {
    width: 40px;
    height: 40px;
  }

  .contacts-social-list__icon svg {
    width: 20px;
    height: 20px;
  }

  .contacts-requisites {
    min-height: 0;
    gap: 12px;
    margin-top: 12px;
    padding: 18px;
  }

  .contacts-requisites dl {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contacts-requisites dl>div {
    justify-content: flex-start;
    white-space: normal;
  }
}

.about-team__grid {
  gap: 14px;
}



.about-partners__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.about-partners__heading .eyebrow {
  margin: 0 0 8px;
  color: #929292;
  font-size: 16px;
}

.about-partners__heading>p:last-child {
  max-width: 400px;
  margin: 0 0 4px;
  color: #858585;
  font-size: 14px;
  line-height: 1.45;
}

.about-partners__art {
  width: 100%;
}

@media (max-width: 900px) {
  .case-gallery__layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(225px, .9fr);
  }

  .case-review__layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
  }

  .about-person {
    flex-basis: calc((100% - 30px) / 3);
  }
}

@media (max-width: 620px) {
  .project-examples-hero {
    padding: 36px 0 30px;
  }

  .project-examples-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .project-examples-hero__actions .button {
    width: 100%;
    justify-content: center;
  }

  .project-catalog__filters {
    margin-right: -20px;
    padding-right: 20px;
  }

  .project-catalog__reset {
    margin-left: 4px;
  }

  .case-hero {
    padding: 22px 0 34px;
  }

  .case-hero h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .case-hero__bottom {
    align-items: flex-start;
  }

  .case-hero__bottom .button {
    align-self: flex-start;
  }

  .case-gallery .case-section-heading {
    display: block;
  }

  .case-gallery .case-section-heading>p {
    margin-top: 10px;
    font-size: 12px;
  }

  .case-gallery__layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .case-gallery__slider,
  .case-gallery__sidebar {
    grid-column: 1;
    grid-row: auto;
  }

  .case-gallery__main {
    height: clamp(230px, 68vw, 360px);
  }

  .case-gallery__thumbs {
    height: clamp(76px, 23vw, 112px);
  }

  .case-gallery__sidebar {
    grid-template-rows: auto auto;
  }

  .case-facts {
    min-height: 0;
  }

  .case-description {
    min-height: 0;
  }

  .case-review__layout {
    grid-template-columns: 1fr;
  }

  .about-partners__heading {
    display: block;
  }

  .about-partners__heading>p:last-child {
    margin-top: 9px;
    font-size: 12px;
  }
}

/* Blog */
.blog-page {
  min-height: 100vh;
  color: #333;
  background:
    radial-gradient(ellipse at 100% 2%, rgba(218, 0, 1, .08), transparent 30%),
    #f4f5f7;
  font-family: "Manrope", Arial, sans-serif;
}

.blog-index {
  padding: 32px 0 80px;
}

.blog-index__heading {
  margin-bottom: 28px;
}

.blog-index__heading .breadcrumbs {
  margin-bottom: 18px;
  color: #999;
  font-size: 12px;
}

.blog-index__heading h1 {
  margin: 0;
  color: #333;
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.blog-index__lead {
  margin-top: 10px;
  color: #858585;
  font-size: 16px;
  line-height: 1.5;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.blog-filters__button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #fff;
  color: #686868;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.blog-filters__button:hover {
  border-color: #da0001;
  color: #da0001;
}

.blog-filters__button.is-active {
  border-color: #da0001;
  background: #da0001;
  color: #fff;
}

.blog-catalog__featured {
  margin-bottom: 16px;
}

.blog-catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(26, 26, 26, .07);
}

.blog-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.blog-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.72 / 1;
  background: #fff;
}

.blog-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__media--empty {
  background: #f4f5f7;
}

.blog-card__body {
  display: flex;
  min-height: 132px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 16px 16px;
}

.blog-card__meta {
  display: flex;
  max-width: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #999;
  font-size: 11px;
  line-height: 1.35;
}

.blog-card__tag {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f1f1f2;
  color: #686868;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.blog-card__tag--featured {
  background: #da0001;
  color: #fff;
}

.blog-card__date {
  color: #999;
  font-size: 13px;
  font-weight: 400;
  margin-top: auto;
}

.blog-card__title {
  margin: 9px 0 0;
  color: #333;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.blog-card__excerpt {
  margin-top: 10px;
  color: #858585;
  font-size: 14px;
  line-height: 1.5;
}

.blog-card__read {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 2px;
  border-bottom: 1px solid #da0001;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.blog-card--featured {
  border-radius: 24px;
}

.blog-card--featured .blog-card__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 400px;
}

.blog-card--featured .blog-card__media {
  height: 100%;
  min-height: 400px;
  aspect-ratio: auto;
}

.blog-card--featured .blog-card__media img {
  object-fit: cover;
}

.blog-card--featured .blog-card__body {
  justify-content: center;
  padding: 38px 42px;
}

.blog-card--featured .blog-card__meta {
  gap: 12px;
  font-size: 12px;
}

.blog-card--featured .blog-card__tag {
  min-height: 30px;
  padding: 7px 13px;
  font-weight: 500;
  font-size: 14px;
}

.blog-card--featured .blog-card__title {
  margin-top: 14px;
  font-size: clamp(26px, 2.1vw, 30px);
  font-weight: 700;
  line-height: 1.2;
}

.blog-card--featured .blog-card__excerpt {
  max-width: 510px;
  margin-top: 12px;
  font-size: 400;
  font-size: 16px;
  line-height: 1.5;
}

.blog-catalog__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* Article detail */
.article-page {
  min-height: 100vh;
  overflow: clip;
  background:
    radial-gradient(ellipse 38% 30% at 100% 0%, rgba(218, 0, 1, 0.065), transparent 75%),
    var(--color-bg);
}

.article-detail {
  padding: 24px 0 88px;
}

.article-detail__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--color-muted);
  font: 400 13px/1.4 var(--font-ui);
}

.article-detail__breadcrumbs a:hover {
  color: var(--color-brand);
}

.article-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 0.95fr);
  align-items: start;
  gap: 28px;
}

.article-detail__main,
.article-detail__aside {
  min-width: 0;
}

.article-detail__header {
  margin-bottom: 24px;
}

.article-detail__header h1 {
  max-width: 920px;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.article-detail__excerpt {
  max-width: 760px;
  margin: -12px 0 22px;
  color: var(--color-muted);
  font: 400 15px/1.5 var(--font-ui);
}

.article-detail__hero {
  display: grid;
  min-height: 280px;
  place-items: center;
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.article-detail__hero img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
}

.article-detail__content {
  max-width: 800px;
  color: var(--color-text);
  font: 400 15px/1.65 var(--font-ui);
}

.article-detail__content > * + * {
  margin-top: 18px;
}

.article-detail__content h2 {
  margin-top: 30px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.article-detail__content p,
.article-detail__content li {
  color: #777;
}

.article-detail__content ul,
.article-detail__content ol {
  padding-left: 22px;
}

.article-detail__content li + li {
  margin-top: 6px;
}

.article-detail__content blockquote {
  margin: 28px 0;
  padding: 24px 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  gap: 16px;
  align-items: start;
}

.article-detail__content blockquote div{

  font-size: 18px;
  font-weight: 600;
}

.article-detail__content blockquote p {
  color: var(--color-text);
}

.article-detail__content blockquote cite {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

.article-detail__contact {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff;
}

.article-detail__contact div{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-detail__contact div a{
  font-size: 17px;
  font-weight: 700;
}

.article-detail__contact div p{
  font-size: 13px;
  font-weight: 400;
  color: #999;
}

.article-detail__contact div a:hover {
  color: var(--color-brand);
}

.article-detail__aside > h2 {
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

.article-detail__related {
  display: grid;
  gap: 12px;
}

.article-related {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  min-height: 84px;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-related:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.11);
}

.article-related__image {
  display: block;
  height: 68px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--color-bg);
}

.article-related__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-related__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.article-detail__promo {
  margin-top: 18px;
  padding: 24px;
  border-radius: 18px;
  background: var(--color-brand);
  color: #fff;
}

.article-detail__promo > span {
  display: block;
  margin-bottom: 12px;
  font: 400 12px/1.35 var(--font-ui);
}

.article-detail__promo h2 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.2;
}

.article-detail__promo p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.article-detail__promo a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}

.article-detail__promo a:hover {
  background: #fff;
  color: var(--color-brand);
}

@media (max-width: 900px) {
  .article-detail__layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
  }

  .article-detail__hero {
    min-height: 220px;
  }
}

@media (max-width: 700px) {
  .article-detail {
    padding: 18px 0 56px;
  }

  .article-detail__breadcrumbs {
    margin-bottom: 22px;
    font-size: 12px;
  }

  .article-detail__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .article-detail__header {
    margin-bottom: 18px;
  }

  .article-detail__header h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .article-detail__hero {
    min-height: 200px;
    margin-bottom: 22px;
    border-radius: 14px;
  }

  .article-detail__content {
    font-size: 14px;
    line-height: 1.6;
  }

  .article-detail__content h2 {
    margin-top: 24px;
    font-size: 22px;
  }

  .article-detail__contact {
    flex-wrap: wrap;
    gap: 12px;
  }

  .article-detail__contact .button {
    width: 100%;
  }

  .article-detail__aside > h2 {
    font-size: 20px;
  }

  .article-related {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}

.blog-catalog__more[hidden] {
  display: none;
}

.blog-catalog__more {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  color: #686868;
  font-size: 13px;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.blog-catalog__more:hover:not(:disabled) {
  border-color: #da0001;
  color: #da0001;
}

.blog-catalog__more:disabled {
  cursor: wait;
  opacity: .6;
}

.blog-catalog[aria-busy="true"] {
  cursor: progress;
}

@media (max-width: 900px) {
  .blog-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-card--featured .blog-card__link {
    min-height: 340px;
  }

  .blog-card--featured .blog-card__media {
    min-height: 340px;
  }

  .blog-card--featured .blog-card__body {
    padding: 28px;
  }
}

@media (max-width: 620px) {
  .blog-index {
    padding: 26px 0 56px;
  }

  .blog-index__heading {
    margin-bottom: 22px;
  }

  .blog-index__heading .breadcrumbs {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .blog-index__heading h1 {
    font-size: 36px;
  }

  .blog-index__lead {
    margin-top: 8px;
    font-size: 14px;
  }

  .blog-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -20px;
    padding: 0 20px 8px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .blog-filters::-webkit-scrollbar {
    display: none;
  }

  .blog-filters__button {
    min-height: 34px;
    padding: 8px 13px;
    font-size: 12px;
  }

  .blog-catalog__featured {
    margin-bottom: 12px;
  }

  .blog-catalog__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .blog-card {
    border-radius: 16px;
  }

  .blog-card__media {
    aspect-ratio: 1.65 / 1;
  }

  .blog-card__body {
    min-height: 112px;
    padding: 12px 14px 14px;
  }

  .blog-card__title {
    margin-top: 8px;
    font-size: 16px;
  }

  .blog-card__meta {
    gap: 7px;
    font-size: 10px;
  }

  .blog-card--featured {
    border-radius: 18px;
  }

  .blog-card--featured .blog-card__link {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .blog-card--featured .blog-card__media {
    min-height: 0;
    aspect-ratio: 1.55 / 1;
  }

  .blog-card--featured .blog-card__body {
    padding: 18px;
  }

  .blog-card--featured .blog-card__meta {
    gap: 8px;
    font-size: 10px;
  }

  .blog-card--featured .blog-card__tag {
    min-height: 24px;
    padding: 5px 10px;
    font-size: 10px;
  }

  .blog-card--featured .blog-card__title {
    margin-top: 10px;
    font-size: 22px;
  }

  .blog-card--featured .blog-card__excerpt {
    margin-top: 9px;
    font-size: 13px;
  }

  .blog-catalog__more-wrap {
    margin-top: 20px;
  }
}





@media (max-width: 1110px) {
  .header__right{
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }
}

/* Header dropdown and responsive navigation */
.header .header__inner {
  position: relative;
}

.header .nav__list > li {
  position: relative;
}

.header .nav__list > .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header .nav__list > .menu-item-has-children > a::after {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.header .nav__list > .menu-item-has-children:hover > a::after,
.header .nav__list > .menu-item-has-children:focus-within > a::after {
  transform: translateY(2px) rotate(225deg);
}

.header .nav__list .sub-menu {
  position: absolute;
  z-index: 30;
  /* Keep the submenu attached to its parent so pointer hover doesn't break. */
  top: 100%;
  left: -14px;
  display: none;
  width: max-content;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  list-style: none;
}

.header .nav__list > .menu-item-has-children:hover > .sub-menu,
.header .nav__list > .menu-item-has-children:focus-within > .sub-menu,
.header .nav__list > .menu-item-has-children.is-submenu-open > .sub-menu {
  display: grid;
}

.header .nav__list .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
}

.header .nav__list .sub-menu a:hover,
.header .nav__list .sub-menu a:focus-visible {
  background: #f4f5f7;
  color: var(--color-brand);
}

.header__mobile{
  display: none;
}

@media (max-width: 1110px) {
  .header__right {
    display: none;
  }

  .header.is-open .header__right {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .header__right-top {
    display: none;
  }

  .header__details-menu {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .header .nav {
    position: static;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .header .nav__list {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .header .nav__list > li > a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .header .nav__list > li > a:hover,
  .header .nav__list > li > a:focus-visible {
    background: #f4f5f7;
  }

  .header .nav__list .sub-menu,
  .header .nav__list > .menu-item-has-children:hover > .sub-menu,
  .header .nav__list > .menu-item-has-children:focus-within > .sub-menu {
    position: static;
    display: grid;
    width: auto;
    min-width: 0;
    gap: 2px;
    padding: 0 0 6px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .header .nav__list .sub-menu a {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 14px;
  }

  .header__cta {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .header__mobile{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .header__mobile-phone{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: #fff;
    transition: all 0.4s ease;
  }

  .header__mobile-phone path{
    transition: all 0.4s ease;
  }

  .header__mobile-phone:hover{
    background-color: #DA0001;
  }

  .header__mobile-phone:hover path{
    stroke: #fff;
  }

  .nav-toggle {
    position: relative;
    z-index: 31;
    display: grid;
    flex: 0 0 44px;
    place-content: center;
  }



  .nav-toggle span {
    width: 16px;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }
}

/* Quiz pages */
.quiz-flow-page {
  min-height: 100vh;
  padding: 36px 0 80px;
  background-color: #f4f5f7;
  background-image: radial-gradient(ellipse at 2% 18%, rgba(255, 225, 232, 0.76), transparent 33%), radial-gradient(ellipse at 98% 10%, rgba(255, 224, 230, 0.78), transparent 30%);
}
.quiz-flow-page > .container { width: min(100% - 48px, 1240px); max-width: 1240px; margin-inline: auto; }
.quiz-flow-page__intro { margin: 0 0 32px; }
.quiz-flow-page__intro .breadcrumbs { margin: 0 0 16px; color: #858585; font-size: 13px; }
.quiz-flow-page__intro h1 { max-width: 100%; margin: 0 0 10px; color: #363636; font-size: clamp(32px, 3.35vw, 46px); font-weight: 700; line-height: 1.12; letter-spacing: -0.035em; }
.quiz-flow-page__intro > p { max-width: 900px; margin: 0; color: #858585; font-size: 16px; line-height: 1.45; }
.quiz-flow-page__content { display: flex; justify-content: center; }
.quiz-flow { width: 100%; max-width: 1260px; }
.quiz-icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.quiz-layout { display: grid; grid-template-columns: minmax(0, 920px) minmax(260px, 340px); min-height: 446px; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); }
.quiz-layout__step { min-width: 0; }
.quiz-step { display: flex; min-height: 446px; flex-direction: column; padding: 32px; }
.quiz-progress { margin: 0 0 22px; }
.quiz-progress__labels { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #858585; font-size: 12px; line-height: 1.3; }
.quiz-progress__labels span:first-child { color: #363636; }
.quiz-progress__track { height: 6px; overflow: hidden; margin-top: 8px; border-radius: 99px; background: #f0f0f0; }
.quiz-progress__track > span { display: block; height: 100%; border-radius: inherit; background: #da0001; transition: width 260ms ease; }
.quiz-step__title { margin: 0 0 20px; color: #363636; font-size: 28px; font-weight: 650; line-height: 1.2; letter-spacing: -0.025em; }
.quiz-step__title:focus { outline: none; }
.quiz-step__description { margin: -12px 0 18px; color: #a0a0a0; font-size: 15px; }
.quiz-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quiz-options--5 .quiz-option:last-child { grid-column: 1 / -1; }
.quiz-options--stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quiz-option { display: flex; min-width: 0; min-height: 80px; align-items: center; gap: 16px; padding: 12px 16px; border: 1px solid #e4e4e4; border-radius: 16px; background: #fff; color: #363636; cursor: pointer; text-align: left; transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease; }
.quiz-option:hover { border-color: #d3a3a3; }
.quiz-option.is-selected { padding: 11px 15px; border: 2px solid #da0001; }
.quiz-option:focus-visible, .quiz-back:focus-visible, .quiz-next:focus-visible, .quiz-channel:focus-within { outline: 3px solid rgba(218, 0, 1, 0.18); outline-offset: 3px; }
.quiz-option__symbol { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 12px; background: #f3f3f3; color: #363636; }
.quiz-option.is-selected .quiz-option__symbol { background: #fcebec; color: #da0001; }
.quiz-option__icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.quiz-option__copy { display: grid; min-width: 0; gap: 2px; }
.quiz-option__label { color: #363636; font-size: 16px; font-weight: 600; line-height: 1.32; }
.quiz-option__description { color: #a0a0a0; font-size: 13px; line-height: 1.3; }
.quiz-step__actions, .quiz-contact__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 28px; }
.quiz-back { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: #858585; cursor: pointer; font: inherit; font-size: 16px; }
.quiz-back:disabled { cursor: default; opacity: 0.75; }
.quiz-next.button { display: inline-flex; min-width: 128px; min-height: 56px; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 0; border-radius: 16px; background: #da0001; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.2; box-shadow: none; }
.quiz-next.button:hover { background: #c90001; }
.quiz-layout__image { min-width: 0; min-height: 100%; margin: 0; overflow: hidden; background: #e9e9e9; }
.quiz-layout__image img { display: block; width: 100%; height: 100%; min-height: 446px; object-fit: cover; object-position: center; }
.quiz-area__top { display: flex; align-items: flex-end; gap: 16px; margin: 0 0 30px; }
.quiz-area__value { display: inline-flex; min-width: 144px; min-height: 78px; align-items: baseline; justify-content: center; gap: 8px; padding: 8px 16px; border: 2px solid #da0001; border-radius: 14px; color: #363636; }
.quiz-area__value input { width: 92px; padding: 0; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; font-size: 38px; font-weight: 600; line-height: 1; text-align: right; appearance: textfield; }
.quiz-area__value input::-webkit-inner-spin-button, .quiz-area__value input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.quiz-area__value > span { color: #858585; font-size: 20px; }
.quiz-area__value sup, .quiz-area__ticks sup { font-size: 0.65em; }
.quiz-area__top p { margin: 0 0 4px; color: #a0a0a0; font-size: 15px; }
.quiz-area__range { display: block; width: 100%; height: 22px; margin: 0; border-radius: 99px; background: linear-gradient(to right, #da0001 var(--quiz-range-fill, 0%), #efefef var(--quiz-range-fill, 0%)) center / 100% 8px no-repeat; cursor: pointer; appearance: none; }
.quiz-area__range::-webkit-slider-thumb { box-sizing: border-box; width: 22px; height: 22px; border: 2px solid #da0001; border-radius: 50%; background: #fff; appearance: none; }
.quiz-area__range::-moz-range-thumb { box-sizing: border-box; width: 22px; height: 22px; border: 2px solid #da0001; border-radius: 50%; background: #fff; }
.quiz-area__ticks { position: relative; height: 18px; margin-top: 12px; color: #a0a0a0; font-size: 12px; }
.quiz-area__ticks > span { position: absolute; left: var(--quiz-tick-position); white-space: nowrap; transform: translateX(-50%); }
.quiz-area__ticks > span:first-child { transform: none; }
.quiz-area__ticks > span:last-child { transform: translateX(-100%); }
.quiz-final { display: flex; flex: 1; flex-direction: column; }
.quiz-final .quiz-step__title { max-width: 780px; margin-bottom: 12px; }
.quiz-final__intro { max-width: 100%; margin: 0 0 24px; color: #858585; font-size: 16px; line-height: 1.5; }
.quiz-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.quiz-field { display: grid; min-width: 0; gap: 8px; color: #363636; font-size: 16px; }
.quiz-field input { width: 100%; min-height: 56px; padding: 0 16px; border: 1px solid #dedede; border-radius: 14px; background: #fff; color: #363636; font: inherit; font-size: 16px; }
.quiz-field input::placeholder { color: #b7b7b7; }
.quiz-field input:focus { border-color: #da0001; outline: 2px solid rgba(218, 0, 1, 0.12); }
.quiz-channels { display: flex; min-width: 0; grid-column: 1 / -1; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px 0 0; padding: 0; border: 0; }
.quiz-channels legend { float: left; margin-right: 4px; color: #363636; font-size: 16px; }
.quiz-channel { position: relative; display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid #dedede; border-radius: 99px; color: #555; cursor: pointer; font-size: 15px; line-height: 1; }
.quiz-channel input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.quiz-channel.is-selected { border-color: #da0001; background: #da0001; color: #fff; }
.quiz-consent { display: inline-flex; grid-column: 1 / -1; align-items: center; gap: 12px; color: #a0a0a0; cursor: pointer; font-size: 14px; }
.quiz-consent input { width: 20px; height: 20px; flex: 0 0 20px; margin: 0; accent-color: #da0001; }
.quiz-contact__actions { grid-column: 1 / -1; margin-top: 4px; padding-top: 8px; }
.quiz-success { display: grid; min-height: 380px; place-items: center; padding: 32px; border-radius: 24px; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); text-align: center; }
.quiz-success h2 { max-width: 760px; margin: 0; color: #363636; font-size: clamp(28px, 4vw, 44px); line-height: 1.2; }
@media (max-width: 900px) {
  .quiz-flow-page { padding: 28px 0 56px; }
  .quiz-flow-page > .container { width: min(100% - 40px, 680px); }
  .quiz-flow-page__intro h1 { font-size: clamp(30px, 6vw, 42px); }
  .quiz-layout { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .quiz-step { min-height: 420px; }
  .quiz-layout__image { min-height: 260px; max-height: 320px; }
  .quiz-layout__image img { min-height: 260px; }
}
@media (max-width: 600px) {
  .quiz-flow-page { padding: 20px 0 40px; }
  .quiz-flow-page > .container { width: min(100% - 32px, 420px); }
  .quiz-flow-page__intro { margin-bottom: 24px; }
  .quiz-flow-page__intro .breadcrumbs { margin-bottom: 12px; font-size: 12px; }
  .quiz-flow-page__intro h1 { margin-bottom: 8px; font-size: 30px; line-height: 1.12; }
  .quiz-flow-page__intro > p { font-size: 14px; line-height: 1.45; }
  .quiz-layout { border-radius: 20px; }
  .quiz-step { min-height: 0; padding: 20px; }
  .quiz-progress { margin-bottom: 18px; }
  .quiz-progress__labels { font-size: 11px; }
  .quiz-step__title { margin-bottom: 16px; font-size: 21px; line-height: 1.22; }
  .quiz-step__description { margin: -8px 0 14px; font-size: 13px; }
  .quiz-options, .quiz-options--stages { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .quiz-options--5 .quiz-option:last-child { grid-column: auto; }
  .quiz-option { min-height: 64px; gap: 12px; padding: 10px 12px; border-radius: 14px; }
  .quiz-option.is-selected { padding: 9px 11px; }
  .quiz-option__symbol { width: 40px; height: 40px; flex-basis: 40px; border-radius: 10px; }
  .quiz-option__icon { width: 20px; height: 20px; }
  .quiz-option__label { font-size: 14px; }
  .quiz-option__description { font-size: 12px; }
  .quiz-step__actions, .quiz-contact__actions { margin-top: 22px; padding-top: 0; }
  .quiz-back { min-height: 44px; font-size: 14px; }
  .quiz-next.button { min-width: 112px; min-height: 48px; padding: 10px 16px; border-radius: 14px; font-size: 14px; }
  .quiz-layout__image { min-height: 190px; max-height: 220px; }
  .quiz-layout__image img { min-height: 190px; }
  .quiz-area__top { display: grid; gap: 10px; margin-bottom: 24px; }
  .quiz-area__value { width: max-content; min-width: 120px; min-height: 60px; border-radius: 12px; }
  .quiz-area__value input { width: 68px; font-size: 30px; }
  .quiz-area__top p { margin: 0; font-size: 13px; }
  .quiz-area__ticks { margin-top: 16px; font-size: 10px; }
  .quiz-final .quiz-step__title { font-size: 22px; }
  .quiz-final__intro { margin-bottom: 18px; font-size: 14px; }
  .quiz-contact { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .quiz-field { gap: 6px; font-size: 13px; }
  .quiz-field input { min-height: 48px; padding: 0 12px; border-radius: 12px; font-size: 14px; }
  .quiz-channels { grid-column: 1; gap: 8px; margin-top: 2px; }
  .quiz-channels legend { width: 100%; margin: 0 0 2px; font-size: 14px; }
  .quiz-channel { min-height: 38px; padding: 0 12px; font-size: 13px; }
  .quiz-consent, .quiz-contact__actions { grid-column: 1; }
  .quiz-consent { align-items: flex-start; font-size: 12px; line-height: 1.35; }
  .quiz-contact__actions { margin-top: 4px; }
  .quiz-success { min-height: 260px; padding: 24px; }
}
