:root {
  --bg: #070b0c;
  --bg-2: #101719;
  --surface: #ffffff;
  --surface-soft: #f4f6f4;
  --ink: #111719;
  --muted: #65706e;
  --line: rgba(17, 23, 25, 0.13);
  --line-dark: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --white-muted: rgba(255, 255, 255, 0.72);
  --accent: #f07a21;
  --accent-2: #ff9b34;
  --accent-dark: #bd4c12;
  --shadow: 0 24px 80px rgba(2, 8, 10, 0.22);
  --shadow-soft: 0 18px 45px rgba(15, 23, 25, 0.12);
  --radius: 14px;
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --font-display: "Glancyr", "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
}

@font-face {
  font-family: "Glancyr";
  src: local("Glancyr"), local("Glancyr Regular");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
}

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

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

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

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.section-dark {
  color: var(--white);
  background: var(--bg);
}

.section-light {
  color: var(--ink);
  background: var(--surface);
}

section,
#callback {
  scroll-margin-top: 116px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1280px, calc(100% - 40px));
  min-height: 76px;
  margin: 18px auto 0;
  padding: 12px 14px 12px 20px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(8, 13, 14, 0.56);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 13, 14, 0.88);
  border-color: rgba(255, 255, 255, 0.18);
}

.brand-lockup {
  display: grid;
  justify-items: start;
  gap: 2px;
  width: 78px;
  line-height: 0;
}

.brand-mark {
  width: 58px;
  height: auto;
}

.brand-word {
  width: 64px;
  height: auto;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}

.desktop-nav a,
.mobile-menu a:not(.button) {
  position: relative;
  transition: color 180ms ease;
}

.desktop-nav a::after,
.mobile-menu a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent);
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.mobile-menu a:hover {
  color: var(--white);
}

.desktop-nav a:hover::after,
.mobile-menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.header-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  overflow: hidden;
  padding: 0;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(14px);
  transition: width 260ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-icon-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.header-icon-link svg {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-phone-link {
  justify-content: flex-end;
  padding: 0 9px;
  white-space: nowrap;
}

.header-phone-number {
  max-width: 0;
  margin-right: 0;
  overflow: hidden;
  opacity: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: max-width 260ms ease, margin-right 260ms ease, opacity 180ms ease;
}

.header-phone-link.is-expanded {
  width: 190px;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
}

.header-phone-link.is-expanded .header-phone-number {
  max-width: 138px;
  margin-right: 10px;
  opacity: 1;
}

.button {
  --button-bg: linear-gradient(135deg, var(--accent), #e8611b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  border: 0;
  border-radius: var(--radius);
  background: var(--button-bg);
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(240, 122, 33, 0.2);
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--small {
  min-height: 44px;
  padding-inline: 19px;
  font-size: 13px;
}

.button--large {
  min-height: 58px;
  padding-inline: 27px;
}

.button--ghost {
  --button-bg: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(106px, 13vh, 142px) 0 clamp(22px, 4vh, 34px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero::before {
  background:
    linear-gradient(105deg, rgba(7, 11, 12, 0.9) 0%, rgba(7, 11, 12, 0.68) 42%, rgba(7, 11, 12, 0.1) 100%);
}

.hero::after {
  display: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  opacity: 0.95;
  background: #080d0e;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 12, 0.9) 0%, rgba(7, 11, 12, 0.58) 35%, rgba(7, 11, 12, 0.12) 76%, rgba(7, 11, 12, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 11, 12, 0.96) 0%, rgba(7, 11, 12, 0.2) 42%, transparent 100%);
}

.hero__grid {
  display: flex;
  align-items: center;
  min-height: min(540px, calc(100svh - 280px));
}

.hero__copy {
  max-width: 650px;
  padding-top: 14px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(35px, 3.8vw, 54px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--accent-2);
}

.hero__copy p {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(30px, 6vh, 68px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
}

.hero-proof article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  min-height: 100px;
  padding: 18px;
  background: rgba(10, 17, 18, 0.62);
}

.hero-proof svg {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  color: var(--accent-2);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-proof strong {
  align-self: end;
  font-size: 15px;
  line-height: 1.15;
}

.hero-proof span {
  color: var(--white-muted);
  font-size: 13px;
  line-height: 1.35;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.section-dark .section-label {
  color: var(--accent-2);
}

.section-label::before {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
}

.section-copy h2,
.services__header h2,
.advantages__header h2,
.projects__header h2,
.partners h2,
.contact h2,
.competence-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.7vw, 38px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-copy p,
.services__header p,
.projects__header p,
.partners p,
.contact p,
.competence-panel p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.section-dark .section-copy p,
.section-dark .services__header p,
.section-dark .advantages__header p,
.section-dark .partners p,
.section-dark .contact p {
  color: var(--white-muted);
}

.about {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 42%, rgba(255, 255, 255, 0.62) 58%, rgba(255, 255, 255, 0.08) 100%),
    var(--surface);
}

.about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.mini-metrics span {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 16px 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.mini-metrics b {
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.about-visual {
  position: relative;
  min-height: 520px;
  margin-right: min(-6vw, -34px);
  isolation: isolate;
}

.about-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(1.03) contrast(1.02);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 100%);
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 9%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 14%, rgba(255, 255, 255, 0) 86%, #ffffff 100%);
}

.competence {
  padding: 0 0 104px;
}

.competence__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: stretch;
}

.competence-panel {
  padding: 46px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.competence-panel h2 {
  font-size: clamp(25px, 2.6vw, 34px);
}

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

.competence-list span {
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 18px 20px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
}

.competence-list span::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 14px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(240, 122, 33, 0.12);
}

.competence-list .competence-list__green::before {
  background: #2fbf71;
  box-shadow: 0 0 0 6px rgba(47, 191, 113, 0.14);
}

.services {
  position: relative;
  overflow: hidden;
  padding: 110px 0 104px;
  background:
    linear-gradient(180deg, #071011 0%, #090d0e 100%);
}

.services__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.services__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.03) brightness(0.86);
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, black 22%, black 78%, transparent);
}

.services::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 16, 17, 0.97) 0%, rgba(7, 16, 17, 0.84) 42%, rgba(7, 16, 17, 0.22) 70%, rgba(7, 16, 17, 0.06) 100%),
    linear-gradient(180deg, #071011 0%, rgba(7, 16, 17, 0.12) 26%, rgba(7, 16, 17, 0.18) 62%, #071011 100%);
}

.services__header,
.projects__header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.65fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 44px;
}

.services__header p,
.projects__header p {
  margin: 0;
}

.services__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: end;
  min-height: 540px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-card {
  min-height: 232px;
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14, 23, 24, 0.74), rgba(8, 13, 14, 0.58));
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 122, 33, 0.52);
  background: linear-gradient(180deg, rgba(240, 122, 33, 0.11), rgba(255, 255, 255, 0.04));
}

.service-card svg {
  width: 40px;
  height: 40px;
  color: var(--accent-2);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.25;
}

.service-card p {
  margin: 13px 0 0;
  color: var(--white-muted);
  font-size: 14px;
  line-height: 1.55;
}

.services-visual {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.services-visual__caption {
  position: relative;
  z-index: 2;
  width: min(360px, 100%);
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid rgba(240, 122, 33, 0.7);
  border-radius: var(--radius);
  background: rgba(8, 13, 14, 0.7);
  backdrop-filter: blur(18px);
}

.services-visual__caption strong {
  display: block;
  max-width: 360px;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.32;
}

.engineering {
  padding: 104px 0;
}

.engineering__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.check-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid rgba(240, 122, 33, 0.24);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(240, 122, 33, 0.07);
  font-size: 13px;
  font-weight: 600;
}

.check-row span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(17, 23, 25, 0.06);
}

.process-list span {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
}

.process-list h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
}

.process-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.advantages {
  padding: 96px 0;
  background: var(--bg);
}

.advantages__header {
  max-width: 760px;
  margin-bottom: 42px;
}

.advantage-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.advantage-strip article {
  min-height: 210px;
  padding: 25px;
  background: rgba(7, 12, 13, 0.74);
}

.advantage-strip svg {
  width: 36px;
  height: 36px;
  color: var(--accent-2);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.advantage-strip h3 {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.25;
}

.advantage-strip p {
  margin: 11px 0 0;
  color: var(--white-muted);
  font-size: 14px;
  line-height: 1.45;
}

.projects {
  padding: 92px 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.project-card {
  display: grid;
  grid-template-rows: 180px minmax(0, 1fr);
  min-height: 332px;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(17, 23, 25, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 62px rgba(17, 23, 25, 0.12);
}

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

.project-card div {
  display: grid;
  grid-template-rows: auto auto 1fr;
  padding: 17px 18px 18px;
}

.project-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.25;
}

.project-card p {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-card span {
  display: block;
  align-self: end;
  margin-top: 12px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.project-card--feature {
  background: var(--bg);
  color: var(--white);
}

.project-card--feature p {
  color: var(--white-muted);
}

.project-card--site img {
  object-position: top center;
}

.project-card--site span::after {
  content: " ↗";
}

.projects__actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(20px, 3vw, 32px);
}

.partners {
  padding: 92px 0;
  background: var(--bg);
}

.partners__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(460px, 1fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
}

.logo-wall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  overflow: visible;
  isolation: isolate;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(9, 15, 16, 0.66);
  backdrop-filter: blur(20px);
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.24),
    0 0 68px rgba(255, 255, 255, 0.025);
}

.logo-wall::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: -1;
  pointer-events: none;
  border-radius: calc(var(--radius) + 24px);
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0) 70%);
}

.logo-wall img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 96px;
  object-fit: contain;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  filter: saturate(0.88) brightness(1.14);
  transition: background 180ms ease, border-color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.logo-wall img:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.095);
  filter: saturate(1.1) brightness(1.2);
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 11, 12, 0.97) 0%, rgba(7, 11, 12, 0.86) 42%, rgba(7, 11, 12, 0.48) 73%, rgba(7, 11, 12, 0.24) 100%),
    linear-gradient(180deg, #071011 0%, rgba(7, 11, 12, 0.16) 18%, rgba(7, 11, 12, 0.16) 76%, #071011 100%);
}

.contact__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
}

.contact__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.78) contrast(1.03) brightness(0.9);
}

.contact__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 0.82fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.contact-copy h2 {
  max-width: 610px;
}

.contact-copy p {
  max-width: 560px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 36px;
  color: var(--white-muted);
  font-size: 15px;
}

.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.contact-list a::before,
.contact-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.callback-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(13, 20, 21, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.callback-form h3,
.callback-form .button,
.form-wide,
.form-consent,
.form-status {
  grid-column: 1 / -1;
}

.callback-form h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 22px;
}

.callback-form label {
  display: grid;
  gap: 9px;
}

.callback-form label > span {
  color: var(--white-muted);
  font-size: 13px;
  font-weight: 600;
}

.callback-form input,
.callback-form select,
.callback-form textarea {
  width: 100%;
  min-height: 48px;
  color: var(--white);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  outline: 0;
  background: transparent;
  transition: border-color 180ms ease, background 180ms ease;
}

.callback-form select {
  appearance: none;
  padding-right: 28px;
  background:
    linear-gradient(45deg, transparent 50%, currentColor 50%) right 13px center / 6px 6px no-repeat,
    linear-gradient(135deg, currentColor 50%, transparent 50%) right 8px center / 6px 6px no-repeat;
}

.callback-form textarea {
  height: 86px;
  min-height: 86px;
  max-height: 86px;
  resize: none;
}

.callback-form input:focus,
.callback-form select:focus,
.callback-form textarea:focus {
  border-color: var(--accent-2);
  background: rgba(255, 255, 255, 0.025);
}

.callback-form.was-validated input:invalid,
.callback-form.was-validated select:invalid,
.callback-form.was-validated textarea:invalid {
  border-color: #ffb07a;
}

.phone-field {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
}

.form-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 11px !important;
  color: var(--white-muted);
}

.form-consent input {
  width: 16px;
  min-height: 16px;
  margin-top: 1px;
  accent-color: var(--accent);
}

.form-consent span {
  font-size: 12px !important;
  line-height: 1.35;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.form-status[data-state="error"] {
  color: #ffb07a;
}

.form-status[data-state="success"] {
  color: #9ef0c2;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 5, 6, 0.66);
  backdrop-filter: blur(5px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(500px, 100%);
  transform: translateY(16px) scale(0.98);
  transition: transform 180ms ease;
}

.modal.is-open .modal__panel {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, transform 180ms ease;
}

.modal__close:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
}

.modal__close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.callback-form--modal {
  grid-template-columns: 1fr;
  padding: clamp(28px, 5vw, 42px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(8, 14, 15, 0.72);
  backdrop-filter: blur(26px);
}

.callback-form--modal h3 {
  color: var(--white);
  padding-right: 46px;
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line-dark);
  background: var(--bg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.footer-logo {
  width: 86px;
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 360px;
  margin: 0;
  color: var(--white-muted);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer nav,
.site-footer div:last-child {
  display: grid;
  gap: 10px;
  color: var(--white-muted);
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
  transition-delay: var(--delay, 0ms);
}

body[data-scroll-direction="up"] .reveal:not(.is-visible) {
  transform: translateY(-24px);
}

body[data-scroll-direction="down"] .reveal:not(.is-visible) {
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    justify-content: end;
  }

  .header-actions {
    gap: 10px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 16px;
    padding: 22px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    background: #080d0e;
    box-shadow: var(--shadow);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu .button {
    width: 100%;
  }

  .hero__grid,
  .about__grid,
  .services__grid,
  .engineering__grid,
  .partners__grid,
  .contact__grid,
  .competence__grid {
    grid-template-columns: 1fr;
  }

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

  .services__header,
  .projects__header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

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

  .contact__image {
    width: 100%;
    opacity: 0.22;
  }

  .services__image img {
    object-position: 58% center;
  }

  .services__grid {
    min-height: 0;
  }

  .services-visual {
    min-height: 220px;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 18px;
  }

  .site-header {
    width: calc(100% - 24px);
    min-height: 66px;
    margin-top: 10px;
    padding: 10px 10px 10px 14px;
  }

  html {
    scroll-padding-top: 118px;
  }

  section,
  #callback {
    scroll-margin-top: 118px;
  }

  .brand-lockup {
    width: 68px;
  }

  .brand-mark {
    width: 50px;
  }

  .brand-word {
    width: 56px;
  }

  .header-icon-link {
    width: 42px;
    height: 42px;
  }

  .header-icon-link svg {
    width: 24px;
    height: 24px;
  }

  .header-phone-link,
  .header-phone-link.is-expanded {
    width: 42px;
    padding: 0;
  }

  .header-phone-number {
    display: none;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 92px 0 18px;
  }

  .hero__bg {
    width: 100%;
    height: 100%;
    opacity: 1;
  }

  .hero__bg img {
    position: absolute;
    top: 72px;
    left: 50%;
    width: min(178vw, 760px);
    max-width: none;
    height: auto;
    min-height: 0;
    transform: translateX(-45%);
    object-fit: contain;
    object-position: center top;
  }

  .hero__copy {
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .hero__actions {
    display: grid;
    margin-top: 24px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 28px;
  }

  .hero-proof article {
    grid-template-columns: 28px 1fr;
    min-height: 86px;
    padding: 14px;
  }

  .hero-proof svg {
    width: 26px;
    height: 26px;
  }

  .hero-proof strong {
    font-size: 13px;
  }

  .hero-proof span {
    font-size: 11px;
  }

  .about,
  .engineering,
  .projects,
  .contact {
    padding: 72px 0;
  }

  .competence {
    padding-bottom: 72px;
  }

  .services,
  .partners,
  .advantages {
    padding: 74px 0;
  }

  .mini-metrics,
  .service-cards,
  .competence-list,
  .project-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .about-visual,
  .about-visual img {
    min-height: 340px;
    height: 340px;
  }

  .services__image img {
    object-position: 63% center;
  }

  .services-visual {
    min-height: 180px;
  }

  .competence-panel {
    padding: 28px;
  }

  .service-card {
    min-height: auto;
  }

  .advantage-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 1px;
    scroll-snap-type: x mandatory;
  }

  .advantage-strip article {
    min-width: 78%;
    scroll-snap-align: start;
  }

  .process-list article {
    grid-template-columns: 44px 1fr;
    padding: 22px;
  }

  .callback-form {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-rows: 188px minmax(0, 1fr);
    min-height: auto;
  }

  .phone-field {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 14px;
  }

  .section-copy h2,
  .services__header h2,
  .advantages__header h2,
  .projects__header h2,
  .partners h2,
  .contact h2,
  .competence-panel h2 {
    font-size: clamp(25px, 8vw, 34px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

/* Reference redesign layer: pencil-textured ARTKOM visual system. */
:root {
  --bg: #080c0c;
  --bg-2: #111617;
  --paper: #f0e7d8;
  --paper-2: #e8ddca;
  --surface: var(--paper);
  --surface-soft: rgba(255, 255, 255, 0.18);
  --ink: #1d2222;
  --muted: #4f5753;
  --line: rgba(42, 38, 31, 0.22);
  --line-dark: rgba(239, 231, 216, 0.22);
  --white: #f8f2e9;
  --white-muted: rgba(248, 242, 233, 0.72);
  --accent: #e87525;
  --accent-2: #f38b2e;
  --accent-dark: #c95e1d;
  --shadow: none;
  --shadow-soft: none;
  --radius: 4px;
  --container: 1128px;
  --gutter: clamp(22px, 5vw, 54px);
}

body {
  background: var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("assets/site/texture-paper-pencil.png");
  background-size: 640px 640px;
  mix-blend-mode: multiply;
}

.section-light {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    var(--paper);
}

.section-light::before,
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/site/texture-paper-pencil.png");
  background-size: 640px 640px;
  opacity: 0.74;
  mix-blend-mode: multiply;
}

.section-dark {
  position: relative;
  background: var(--bg);
}

.section-dark::before {
  background-image: url("assets/site/texture-dark-pencil.png");
  opacity: 0.62;
  mix-blend-mode: screen;
}

.site-header {
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 10px clamp(22px, 3.4vw, 34px);
  border: 0;
  border-bottom: 1px solid rgba(239, 231, 216, 0.18);
  border-radius: 0;
  background: rgba(7, 10, 10, 0.34);
  backdrop-filter: blur(7px);
}

.site-header.is-scrolled {
  background: rgba(7, 10, 10, 0.88);
  border-color: rgba(239, 231, 216, 0.2);
}

.brand-lockup {
  width: 62px;
}

.brand-mark {
  width: 46px;
}

.brand-word {
  width: 54px;
}

.desktop-nav {
  gap: clamp(22px, 3vw, 40px);
  font-size: 12px;
  font-weight: 700;
  color: rgba(248, 242, 233, 0.9);
}

.header-actions {
  gap: 10px;
}

.header-icon-link,
.menu-toggle {
  width: 38px;
  height: 38px;
  border-color: rgba(248, 242, 233, 0.32);
  border-radius: 4px;
  background: rgba(7, 10, 10, 0.2);
}

.header-icon-link svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
}

.header-phone-link.is-expanded {
  width: 184px;
}

.button {
  min-height: 46px;
  padding-inline: 22px;
  border: 1px solid rgba(232, 117, 37, 0.88);
  border-radius: 3px;
  background: linear-gradient(135deg, #ef8a32, #d95f1c);
  color: #fff8ee;
  font-size: 12px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button--large {
  min-height: 50px;
  padding-inline: 24px;
}

.button--ghost {
  border-color: rgba(248, 242, 233, 0.3);
  background: rgba(8, 12, 12, 0.34);
  color: var(--white);
}

.hero {
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: clamp(650px, 76svh, 780px);
  padding: 74px 0 24px;
  background: var(--bg);
}

.hero::before {
  z-index: -2;
  background:
    radial-gradient(circle at 68% 28%, rgba(239, 139, 55, 0.2), transparent 30%),
    linear-gradient(100deg, rgba(5, 8, 8, 0.94) 0%, rgba(5, 8, 8, 0.82) 37%, rgba(5, 8, 8, 0.22) 68%, rgba(5, 8, 8, 0.06) 100%);
}

.hero::after {
  display: block;
  z-index: -1;
  background-image: url("assets/site/texture-dark-pencil.png");
  background-size: 640px 640px;
  opacity: 0.68;
  mix-blend-mode: screen;
}

.hero__bg {
  opacity: 1;
}

.hero__bg img {
  object-position: 58% center;
  filter: saturate(0.92) contrast(1.06) brightness(0.82);
}

.hero__bg::after {
  background:
    linear-gradient(90deg, rgba(5, 8, 8, 0.94) 0%, rgba(5, 8, 8, 0.72) 37%, rgba(5, 8, 8, 0.18) 72%, rgba(5, 8, 8, 0.02) 100%),
    linear-gradient(180deg, rgba(5, 8, 8, 0.15) 0%, rgba(5, 8, 8, 0.06) 56%, rgba(5, 8, 8, 0.92) 100%);
}

.hero__grid {
  min-height: 430px;
}

.hero__copy {
  max-width: 520px;
  padding-top: 24px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02;
}

.hero__copy p {
  max-width: 520px;
  margin-top: 20px;
  color: rgba(248, 242, 233, 0.84);
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.58;
}

.hero__actions {
  gap: 18px;
  margin-top: 30px;
}

.hero-proof {
  margin-top: 12px;
  border-color: rgba(239, 231, 216, 0.24);
  border-radius: 2px;
  background: rgba(239, 231, 216, 0.1);
  backdrop-filter: none;
}

.hero-proof article {
  min-height: 94px;
  padding: 18px 22px;
  background: rgba(8, 12, 12, 0.58);
}

.hero-proof svg,
.service-card svg,
.advantage-strip svg,
.competence-list svg {
  color: var(--accent-2);
  stroke-width: 1.55;
}

.section-label {
  gap: 0;
  margin-bottom: 13px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.section-label::before {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
}

.section-copy h2,
.services__header h2,
.advantages__header h2,
.projects__header h2,
.partners h2,
.contact h2,
.competence-panel h2 {
  max-width: 560px;
  font-size: clamp(28px, 3.35vw, 42px);
  line-height: 1.06;
}

.section-copy p,
.services__header p,
.projects__header p,
.partners p,
.contact p,
.competence-panel p {
  font-size: 14px;
  line-height: 1.58;
}

.about {
  padding: 42px 0 34px;
  background:
    linear-gradient(90deg, rgba(240, 231, 216, 0.98) 0%, rgba(240, 231, 216, 0.98) 39%, rgba(240, 231, 216, 0.78) 51%, rgba(240, 231, 216, 0.08) 100%),
    var(--paper);
}

.about__grid,
.competence__grid,
.services__header,
.services__grid,
.engineering__grid,
.projects__header,
.project-grid,
.partners__grid,
.contact__grid,
.footer__grid {
  position: relative;
  z-index: 1;
}

.about__grid {
  grid-template-columns: minmax(250px, 0.42fr) minmax(520px, 1fr);
  gap: clamp(22px, 4.5vw, 62px);
}

.about .section-copy {
  max-width: 405px;
}

.mini-metrics {
  display: flex;
  gap: 0;
  margin-top: 30px;
}

.mini-metrics span {
  min-height: 0;
  padding: 0 20px 0 0;
  border-left: 0;
  color: #3e433f;
  font-size: 11px;
  font-weight: 700;
}

.mini-metrics b {
  font-size: 18px;
}

.about-visual {
  min-height: 438px;
  margin-right: -24px;
}

.about-visual img {
  height: 438px;
  object-position: center;
  filter: contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 13%, black 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 13%, black 100%);
}

.about-visual::before {
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(240, 231, 216, 0.72) 9%, rgba(240, 231, 216, 0) 28%),
    linear-gradient(180deg, var(--paper) 0%, rgba(240, 231, 216, 0) 13%, rgba(240, 231, 216, 0) 82%, var(--paper) 100%);
}

.competence {
  padding: 16px 0 58px;
}

.competence__grid {
  grid-template-columns: minmax(260px, 0.56fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid rgba(42, 38, 31, 0.22);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.09);
}

.competence-panel {
  padding: 34px 34px 32px;
  border-right: 1px solid rgba(42, 38, 31, 0.18);
  border-radius: 0;
  background: transparent;
}

.competence-panel h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.competence-list {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.competence-list span {
  min-height: 62px;
  padding: 15px 24px;
  border-bottom: 1px solid rgba(42, 38, 31, 0.14);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.competence-list span::before {
  display: none;
}

.competence-list svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-right: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.competence-list .competence-list__green svg {
  color: #2f9d61;
}

.services {
  min-height: 650px;
  padding: 48px 0 56px;
  background: #0a0d0d;
}

.services__image img {
  object-position: 72% center;
  filter: saturate(0.86) contrast(1.12) brightness(0.78);
}

.services::before {
  opacity: 0.5;
  background-image: url("assets/site/texture-dark-pencil.png");
  background-size: 640px 640px;
  mask-image: none;
}

.services::after {
  background:
    radial-gradient(circle at 72% 62%, rgba(232, 117, 37, 0.26), transparent 24%),
    linear-gradient(90deg, rgba(7, 10, 10, 0.97) 0%, rgba(7, 10, 10, 0.91) 44%, rgba(7, 10, 10, 0.28) 73%, rgba(7, 10, 10, 0.04) 100%),
    linear-gradient(180deg, #080c0c 0%, rgba(8, 12, 12, 0.2) 22%, rgba(8, 12, 12, 0.18) 74%, #080c0c 100%);
}

.services__header {
  grid-template-columns: minmax(0, 0.56fr) minmax(300px, 0.44fr);
  margin-bottom: 28px;
}

.services__grid {
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.38fr);
  min-height: 422px;
}

.service-cards {
  gap: 10px;
}

.service-card {
  min-height: 154px;
  padding: 20px;
  border-color: rgba(239, 231, 216, 0.2);
  border-radius: 3px;
  background: rgba(8, 12, 12, 0.46);
  backdrop-filter: none;
}

.service-card h3 {
  margin-top: 14px;
  font-size: 14px;
}

.service-card p {
  margin-top: 9px;
  font-size: 12px;
}

.services-visual__caption {
  width: min(320px, 100%);
  border-color: rgba(232, 117, 37, 0.78);
  border-radius: 3px;
  background: rgba(8, 12, 12, 0.48);
  backdrop-filter: none;
}

.engineering,
.projects {
  padding: 70px 0;
  background: var(--paper);
}

.engineering__grid {
  grid-template-columns: minmax(0, 0.46fr) minmax(420px, 0.8fr);
}

.check-row span {
  border-radius: 3px;
  background: rgba(232, 117, 37, 0.08);
}

.process-list article,
.project-card,
.callback-form {
  border-radius: 3px;
  box-shadow: none;
}

.process-list article {
  border-color: rgba(42, 38, 31, 0.18);
  background: rgba(255, 255, 255, 0.12);
}

.advantages,
.partners,
.contact,
.site-footer {
  background: #080c0c;
}

.advantages {
  padding: 72px 0;
}

.advantage-strip {
  border-color: rgba(239, 231, 216, 0.2);
  border-radius: 3px;
  background: rgba(239, 231, 216, 0.1);
}

.advantage-strip article {
  min-height: 178px;
  background: rgba(8, 12, 12, 0.5);
}

.projects__header {
  margin-bottom: 30px;
}

.project-grid {
  gap: 12px;
}

.project-card {
  border-color: rgba(42, 38, 31, 0.2);
  background: rgba(255, 255, 255, 0.14);
}

.project-card img {
  filter: saturate(0.88) contrast(1.02);
}

.project-card--feature {
  background: #080c0c;
}

.partners {
  padding: 72px 0;
}

.logo-wall {
  border-color: rgba(239, 231, 216, 0.18);
  border-radius: 3px;
  background: rgba(8, 12, 12, 0.44);
  box-shadow: none;
}

.logo-wall img {
  border-radius: 3px;
}

.contact {
  padding: 84px 0;
}

.contact::before {
  background:
    linear-gradient(90deg, rgba(7, 10, 10, 0.97) 0%, rgba(7, 10, 10, 0.88) 46%, rgba(7, 10, 10, 0.58) 78%, rgba(7, 10, 10, 0.32) 100%),
    linear-gradient(180deg, #080c0c 0%, rgba(8, 12, 12, 0.16) 18%, rgba(8, 12, 12, 0.2) 74%, #080c0c 100%);
}

.callback-form {
  border-color: rgba(239, 231, 216, 0.2);
  background: rgba(8, 12, 12, 0.54);
  backdrop-filter: none;
}

.site-footer {
  border-color: rgba(239, 231, 216, 0.16);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
    min-height: 64px;
  }

  .mobile-menu {
    top: 100%;
    background: rgba(8, 12, 12, 0.94);
  }

  .about__grid,
  .services__grid,
  .engineering__grid,
  .partners__grid,
  .contact__grid,
  .competence__grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    margin-right: 0;
  }

  .competence-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(42, 38, 31, 0.18);
  }

  .services__header,
  .projects__header {
    grid-template-columns: 1fr;
  }

  .services__grid {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 18px;
  }

  .site-header {
    width: 100%;
    min-height: 62px;
    margin: 0;
    padding: 10px 13px;
  }

  .hero {
    min-height: 720px;
    padding: 84px 0 18px;
  }

  .hero__bg img {
    top: 62px;
    left: 50%;
    width: min(184vw, 780px);
    transform: translateX(-43%);
    filter: saturate(0.88) contrast(1.08) brightness(0.78);
  }

  .hero__grid {
    min-height: 404px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

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

  .hero-proof article {
    min-height: 112px;
  }

  .about,
  .engineering,
  .projects,
  .contact {
    padding: 58px 0;
  }

  .about-visual,
  .about-visual img {
    min-height: 300px;
    height: 300px;
  }

  .mini-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
  }

  .competence-list,
  .service-cards,
  .project-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .competence-list span {
    min-height: 58px;
    padding: 14px 18px;
  }

  .services {
    padding: 58px 0;
  }

  .services__image img {
    object-position: 61% center;
  }

  .service-card {
    min-height: auto;
  }

  .project-card {
    grid-template-rows: 180px minmax(0, 1fr);
  }
}

/* Final section background concept: supplied generated images are the section canvases. */
.section-with-bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-with-bg > .container {
  position: relative;
  z-index: 2;
}

.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #080c0c;
}

.section-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none;
}

.hero.section-with-bg {
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(104px, 12vh, 138px) 0 clamp(22px, 4vh, 34px);
  background: #080c0c;
}

.hero__bg.section-bg {
  z-index: -3;
  opacity: 1;
}

.hero__bg.section-bg img {
  width: 100%;
  height: 100%;
  object-position: center center;
  transform: none;
  filter: saturate(0.98) contrast(1.04) brightness(0.96);
}

.hero::before {
  z-index: -2;
  background:
    linear-gradient(100deg, rgba(5, 8, 8, 0.9) 0%, rgba(5, 8, 8, 0.66) 36%, rgba(5, 8, 8, 0.18) 70%, rgba(5, 8, 8, 0.04) 100%),
    linear-gradient(180deg, rgba(5, 8, 8, 0.08) 0%, rgba(5, 8, 8, 0.08) 58%, rgba(5, 8, 8, 0.88) 100%);
}

.hero::after {
  display: none;
}

.hero__bg::after {
  background:
    linear-gradient(90deg, rgba(5, 8, 8, 0.92) 0%, rgba(5, 8, 8, 0.58) 34%, rgba(5, 8, 8, 0.08) 68%, rgba(5, 8, 8, 0.12) 100%),
    linear-gradient(180deg, rgba(5, 8, 8, 0.05) 0%, rgba(5, 8, 8, 0.04) 52%, rgba(5, 8, 8, 0.9) 100%);
}

.hero__grid {
  min-height: min(560px, calc(100svh - 280px));
}

.hero-proof {
  background: rgba(8, 12, 12, 0.5);
}

.hero-proof article {
  background: rgba(8, 12, 12, 0.62);
}

.about,
.engineering,
.projects {
  background: #efe6d7;
}

.about::before,
.engineering::before,
.projects::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.about::before {
  background:
    linear-gradient(90deg, rgba(242, 233, 219, 0.97) 0%, rgba(242, 233, 219, 0.9) 36%, rgba(242, 233, 219, 0.5) 58%, rgba(242, 233, 219, 0.08) 100%),
    linear-gradient(180deg, rgba(242, 233, 219, 0.2) 0%, rgba(242, 233, 219, 0.05) 54%, rgba(242, 233, 219, 0.3) 100%);
}

.section-bg--about img {
  object-position: center center;
}

.about {
  min-height: 640px;
  padding: clamp(74px, 9vw, 118px) 0 clamp(64px, 8vw, 100px);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(280px, 560px);
}

.about .section-copy,
.engineering .section-copy,
.projects__header {
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 590px;
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid rgba(42, 38, 31, 0.16);
  border-radius: 4px;
  background: rgba(248, 242, 232, 0.74);
  box-shadow: 0 18px 60px rgba(46, 37, 24, 0.1);
}

.projects__header p {
  max-width: 500px;
}

.about-visual {
  display: none;
}

.competence {
  background: #efe6d7;
}

.competence::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(245, 238, 226, 0.95) 0%, rgba(245, 238, 226, 0.76) 42%, rgba(245, 238, 226, 0.34) 72%, rgba(245, 238, 226, 0.08) 100%),
    linear-gradient(180deg, rgba(245, 238, 226, 0.42) 0%, rgba(245, 238, 226, 0.08) 48%, rgba(245, 238, 226, 0.5) 100%);
}

.section-bg--competence img {
  object-position: center center;
  filter: saturate(1.02) contrast(1.02) brightness(1);
}

.competence-panel,
.competence-list {
  position: relative;
  z-index: 2;
}

.competence-panel {
  background: rgba(248, 242, 232, 0.78);
  backdrop-filter: blur(3px);
}

.competence-list {
  border-color: rgba(42, 38, 31, 0.14);
  background: rgba(42, 38, 31, 0.14);
}

.competence-list span {
  background: rgba(255, 250, 241, 0.8);
  backdrop-filter: blur(2px);
}

.services {
  min-height: 720px;
  padding: clamp(70px, 8vw, 112px) 0 clamp(64px, 8vw, 96px);
  background: #080c0c;
}

.services__image.section-bg {
  z-index: 0;
  opacity: 1;
}

.services__image.section-bg img {
  object-position: center center;
  filter: saturate(0.98) contrast(1.04) brightness(0.96);
}

.services::before {
  z-index: 1;
  opacity: 0.18;
  background-image: url("assets/site/texture-dark-pencil.png");
  background-size: 640px 640px;
  mask-image: none;
}

.services::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 10, 10, 0.96) 0%, rgba(7, 10, 10, 0.82) 38%, rgba(7, 10, 10, 0.3) 68%, rgba(7, 10, 10, 0.08) 100%),
    linear-gradient(180deg, #080c0c 0%, rgba(8, 12, 12, 0.05) 28%, rgba(8, 12, 12, 0.12) 72%, #080c0c 100%);
}

.services__header,
.services__grid {
  position: relative;
  z-index: 2;
}

.services__header {
  max-width: 980px;
  padding: 0;
}

.service-card,
.services-visual__caption {
  border-color: rgba(239, 231, 216, 0.2);
  background: rgba(8, 12, 12, 0.56);
  backdrop-filter: blur(4px);
}

.engineering {
  min-height: 640px;
}

.engineering::before {
  background:
    linear-gradient(90deg, rgba(245, 238, 226, 0.96) 0%, rgba(245, 238, 226, 0.84) 48%, rgba(245, 238, 226, 0.42) 72%, rgba(245, 238, 226, 0.08) 100%),
    linear-gradient(180deg, rgba(245, 238, 226, 0.72) 0%, rgba(245, 238, 226, 0.04) 44%, rgba(245, 238, 226, 0.62) 100%);
}

.section-bg--engineering img {
  object-position: center center;
}

.process-list article {
  background: rgba(248, 242, 232, 0.68);
  backdrop-filter: blur(3px);
}

.advantages {
  min-height: 590px;
  background: #080c0c;
}

.advantages::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 12, 12, 0.86) 0%, rgba(8, 12, 12, 0.54) 50%, rgba(8, 12, 12, 0.82) 100%),
    linear-gradient(180deg, #080c0c 0%, rgba(8, 12, 12, 0.16) 45%, #080c0c 100%);
}

.section-bg--advantages img {
  object-position: center center;
}

.advantages__header,
.advantage-strip {
  position: relative;
  z-index: 2;
}

.advantage-strip {
  background: rgba(239, 231, 216, 0.08);
  backdrop-filter: blur(2px);
}

.advantage-strip article {
  background: rgba(8, 12, 12, 0.58);
}

.projects {
  min-height: 760px;
}

.projects::before {
  background:
    linear-gradient(180deg, rgba(245, 238, 226, 0.96) 0%, rgba(245, 238, 226, 0.62) 46%, rgba(245, 238, 226, 0.9) 100%),
    linear-gradient(90deg, rgba(245, 238, 226, 0.86) 0%, rgba(245, 238, 226, 0.32) 58%, rgba(245, 238, 226, 0.76) 100%);
}

.section-bg--projects img {
  object-position: center center;
}

.project-card {
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(3px);
}

.project-card--feature {
  background: rgba(8, 12, 12, 0.94);
}

.partners,
.site-footer {
  background: #030606;
}

.partners {
  background: #080c0c;
  background-image: none;
}

.site-footer {
  background: #603620;
  background-image: none !important;
  isolation: isolate;
}

.site-footer::before,
.site-footer::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
}

.section-bg--partners img {
  object-position: center center;
  filter: saturate(1.02) contrast(1.03) brightness(0.82);
}

.partners::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 12, 12, 0.9) 0%, rgba(8, 12, 12, 0.7) 38%, rgba(8, 12, 12, 0.4) 66%, rgba(8, 12, 12, 0.72) 100%),
    linear-gradient(180deg, rgba(8, 12, 12, 0.9) 0%, rgba(8, 12, 12, 0.28) 48%, rgba(8, 12, 12, 0.92) 100%);
}

.partners .section-copy,
.logo-wall {
  position: relative;
  z-index: 2;
}

.logo-wall {
  background: rgba(8, 12, 12, 0.68);
  backdrop-filter: blur(5px);
}

.contact {
  min-height: 720px;
  padding: clamp(76px, 8vw, 116px) 0;
  background: #050808;
}

.contact__image.section-bg {
  z-index: 0;
  opacity: 1;
}

.contact__image.section-bg img {
  object-position: center center;
  filter: saturate(1.02) contrast(1.04) brightness(1);
}

.contact::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 8, 8, 0.88) 0%, rgba(5, 8, 8, 0.72) 42%, rgba(5, 8, 8, 0.34) 70%, rgba(5, 8, 8, 0.14) 100%),
    linear-gradient(180deg, #050808 0%, rgba(5, 8, 8, 0.05) 26%, rgba(5, 8, 8, 0.08) 70%, #050808 100%);
}

.contact-copy,
.callback-form {
  position: relative;
  z-index: 2;
}

.callback-form {
  background: rgba(8, 12, 12, 0.76);
  backdrop-filter: blur(5px);
}

.contact-copy p,
.contact-list {
  color: rgba(248, 242, 233, 0.82);
}

@media (min-width: 761px) {
  .about,
  .competence,
  .services,
  .engineering,
  .advantages,
  .projects,
  .partners,
  .contact {
    min-height: 100vh;
    min-height: 100svh;
  }
}

@media (max-width: 1100px) {
  .about__grid {
    grid-template-columns: minmax(0, 620px);
  }

  .services__header {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .hero.section-with-bg {
    min-height: 760px;
    padding: 86px 0 18px;
  }

  .hero__bg.section-bg img {
    width: 100%;
    height: 100%;
    object-position: center center;
    transform: none;
  }

  .hero__grid {
    min-height: 420px;
  }

  .about,
  .engineering,
  .projects,
  .contact,
  .services,
  .advantages {
    min-height: 0;
    padding: 58px 0;
  }

  .about .section-copy,
  .engineering .section-copy,
  .projects__header {
    padding: 22px;
    background: rgba(248, 242, 232, 0.84);
  }

  .section-bg--about img,
  .section-bg--engineering img,
  .section-bg--projects img,
  .contact__image.section-bg img {
    object-position: center center;
  }

  .services__image.section-bg img {
    object-position: center center;
  }

  .contact::before {
    background:
      linear-gradient(90deg, rgba(5, 8, 8, 0.92) 0%, rgba(5, 8, 8, 0.74) 100%),
      linear-gradient(180deg, #050808 0%, rgba(5, 8, 8, 0.12) 48%, #050808 100%);
  }
}

/* Liquid glass foreground layer: keep section images intact, restyle only surfaces above them. */
:root {
  --glass-blur: blur(8px) saturate(165%);
  --glass-border: rgba(255, 255, 255, 0.34);
  --glass-border-soft: rgba(255, 255, 255, 0.22);
  --glass-dark: rgba(6, 13, 15, 0.13);
  --glass-dark-strong: rgba(6, 13, 15, 0.2);
  --glass-light: rgba(255, 255, 255, 0.16);
  --glass-light-strong: rgba(255, 255, 255, 0.22);
  --glass-warm: rgba(240, 122, 33, 0.2);
  --glass-shadow: 0 24px 80px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  --glass-shadow-light: 0 22px 70px rgba(44, 36, 28, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.52);
  --radius: 14px;
}

body::before,
.section-light::before,
.section-dark::before,
.hero::before,
.hero::after,
.hero__bg::after,
.services::before,
.services::after {
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
}

.section-bg img,
.hero__bg.section-bg img,
.services__image.section-bg img,
.contact__image.section-bg img,
.section-bg--partners img,
.section-bg--competence img {
  filter: none !important;
}

.site-header,
.mobile-menu,
.header-icon-link,
.menu-toggle,
.button,
.hero__copy,
.hero-proof,
.hero-proof article,
.services__header,
.service-card,
.services-visual__caption,
.advantages__header,
.advantage-strip,
.partners .section-copy,
.logo-wall,
.contact-copy,
.callback-form,
.modal__close {
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

.site-header {
  width: min(1280px, calc(100% - 36px));
  min-height: 72px;
  margin: 16px auto 0;
  padding: 12px 14px 12px 20px;
  border: 1px solid var(--glass-border-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.035)),
    rgba(4, 10, 12, 0.1);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.045)),
    rgba(4, 10, 12, 0.2);
}

.site-header,
.mobile-menu,
.header-icon-link,
.menu-toggle {
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  backdrop-filter: blur(28px) saturate(165%);
}

.mobile-menu {
  border: 1px solid var(--glass-border-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04)),
    rgba(4, 10, 12, 0.2);
  box-shadow: var(--glass-shadow);
}

.header-icon-link,
.menu-toggle {
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.header-icon-link:hover,
.menu-toggle:hover {
  border-color: rgba(255, 255, 255, 0.44);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.04);
}

.button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 173, 95, 0.36), rgba(232, 98, 28, 0.16)),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 42px rgba(199, 82, 22, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.button:hover {
  border-color: rgba(255, 255, 255, 0.46);
  background:
    linear-gradient(135deg, rgba(255, 182, 112, 0.44), rgba(232, 98, 28, 0.2)),
    rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 52px rgba(199, 82, 22, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.button--ghost {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(5, 10, 12, 0.08);
}

.hero.section-with-bg {
  background: #080c0c;
}

.hero__copy {
  max-width: 620px;
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--glass-border-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    var(--glass-dark);
  box-shadow: var(--glass-shadow);
}

.hero h1,
.hero__copy p,
.section-dark h2,
.section-dark h3 {
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.46);
}

.hero h1 span {
  color: #ffc27c;
}

.hero__copy p,
.hero__actions .button,
.hero-proof strong,
.hero-proof span {
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5);
}

.hero-proof {
  gap: 10px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-proof article {
  border: 1px solid var(--glass-border-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025)),
    var(--glass-dark);
  box-shadow: var(--glass-shadow);
}

.about::before,
.competence::before,
.engineering::before,
.advantages::before,
.projects::before,
.partners::before,
.contact::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 58%) !important;
  opacity: 1 !important;
}

.services::before,
.services::after {
  display: none !important;
}

.about .section-copy,
.engineering .section-copy,
.projects__header,
.competence__grid,
.process-list article,
.project-card {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--glass-light-strong), rgba(255, 255, 255, 0.14)),
    rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow-light);
}

.about .section-copy,
.engineering .section-copy,
.projects__header {
  padding: clamp(24px, 3.4vw, 40px);
}

.mini-metrics span,
.check-row span,
.competence-list span {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.065)),
    rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.competence__grid {
  gap: 14px;
  padding: 14px;
}

.competence-panel {
  border: 0;
  border-radius: var(--radius);
  background: transparent;
}

.competence-list {
  gap: 10px;
  border: 0;
  background: transparent;
}

.competence-list span {
  min-height: 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.services__header,
.service-card,
.services-visual__caption,
.advantages__header,
.advantage-strip,
.partners .section-copy,
.logo-wall,
.contact-copy,
.callback-form {
  border: 1px solid var(--glass-border-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    var(--glass-dark);
  box-shadow: var(--glass-shadow);
}

.services__header,
.advantages__header,
.partners .section-copy,
.contact-copy {
  padding: clamp(24px, 3.4vw, 40px);
}

.services__grid {
  align-items: stretch;
}

.service-cards {
  gap: 14px;
}

.service-card {
  min-height: 178px;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-5px);
}

.services-visual {
  align-items: flex-end;
  justify-content: flex-end;
}

.services-visual__caption {
  width: min(360px, 100%);
}

.services .services__header,
.services .service-card,
.services .services-visual__caption {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.065)),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--glass-shadow-light);
}

.services .section-label {
  color: var(--accent-dark);
}

.services h2,
.services h3,
.services-visual__caption strong {
  color: var(--ink);
  text-shadow: none;
}

.services .services__header p,
.services .service-card p {
  color: rgba(29, 34, 34, 0.74);
}

.advantage-strip {
  gap: 10px;
  overflow: visible;
  padding: 10px;
}

.advantage-strip article {
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.035);
}

.project-card {
  overflow: hidden;
}

.project-card img {
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  filter: none;
}

.project-card--feature {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
    rgba(5, 10, 12, 0.18);
}

.logo-wall {
  gap: 12px;
  padding: clamp(16px, 2.2vw, 24px);
}

.logo-wall::before {
  opacity: 0.45;
}

.logo-wall img {
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  backdrop-filter: blur(16px) saturate(145%);
}

.contact__grid {
  align-items: stretch;
}

.contact-copy {
  align-self: center;
}

.contact-list a,
.contact-list span {
  width: fit-content;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.callback-form {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035)),
    rgba(5, 10, 12, 0.16);
}

.callback-form input,
.callback-form select,
.callback-form textarea {
  min-height: 50px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
}

.callback-form textarea {
  padding-block: 12px;
}

/* Compact follow-up: tighter menu and fixed comment fields. */
.desktop-nav {
  gap: clamp(10px, 1.35vw, 20px);
  font-size: 12px;
}

.callback-form textarea {
  height: 86px !important;
  min-height: 86px !important;
  max-height: 86px !important;
  resize: none !important;
}

.callback-form input:focus,
.callback-form select:focus,
.callback-form textarea:focus {
  border-color: rgba(255, 194, 124, 0.7);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
}

.callback-form select {
  background:
    linear-gradient(45deg, transparent 50%, currentColor 50%) right 18px center / 6px 6px no-repeat,
    linear-gradient(135deg, currentColor 50%, transparent 50%) right 13px center / 6px 6px no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
}

.modal__backdrop {
  background: rgba(2, 7, 9, 0.34);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

.callback-form--modal {
  border: 1px solid var(--glass-border);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(5, 10, 12, 0.2);
  box-shadow: var(--glass-shadow);
}

.site-header,
.mobile-menu,
.header-icon-link,
.menu-toggle,
.button,
.hero__copy,
.hero-proof article,
.about .section-copy,
.engineering .section-copy,
.projects__header,
.competence__grid,
.competence-panel,
.competence-list span,
.mini-metrics span,
.check-row span,
.services__header,
.service-card,
.services-visual__caption,
.process-list article,
.advantages__header,
.advantage-strip,
.advantage-strip article,
.project-card,
.partners .section-copy,
.logo-wall,
.logo-wall img,
.contact-copy,
.contact-list a,
.contact-list span,
.callback-form,
.callback-form input,
.callback-form select,
.callback-form textarea,
.callback-form--modal,
.modal__close {
  border-radius: var(--radius);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .services__header,
  .projects__header {
    max-width: none;
  }

  .services__grid {
    gap: 22px;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 20px);
    min-height: 64px;
    margin: 10px auto 0;
    padding: 10px 12px;
    border-radius: var(--radius);
  }

  .mobile-menu {
    top: calc(100% + 10px);
  }

  .hero.section-with-bg {
    min-height: 760px;
  }

  .hero__copy {
    padding: 22px;
  }

  .hero-proof {
    gap: 10px;
  }

  .hero-proof article {
    min-height: 104px;
    padding: 14px;
  }

  .about .section-copy,
  .engineering .section-copy,
  .projects__header,
  .services__header,
  .advantages__header,
  .partners .section-copy,
  .contact-copy,
  .callback-form {
    padding: 22px;
  }

  .advantage-strip {
    overflow-x: auto;
    padding: 10px;
  }

  .advantage-strip article {
    min-width: 82%;
  }

  .phone-field {
    gap: 12px;
  }
}

/* Quick visual tweak: all glass cards/forms, including menu, use black at 30% opacity. */
.site-header,
.mobile-menu,
.header-icon-link,
.menu-toggle,
.button,
.hero__copy,
.hero-proof article,
.about .section-copy,
.engineering .section-copy,
.projects__header,
.competence__grid,
.competence-panel,
.competence-list span,
.mini-metrics span,
.check-row span,
.services__header,
.service-card,
.services-visual__caption,
.process-list article,
.advantages__header,
.advantage-strip,
.advantage-strip article,
.project-card,
.partners .section-copy,
.logo-wall,
.logo-wall img,
.contact-copy,
.contact-list a,
.contact-list span,
.callback-form,
.callback-form input,
.callback-form select,
.callback-form textarea,
.callback-form--modal,
.modal__close {
  background: rgba(0, 0, 0, 0.3);
}

.services .services__header,
.services .service-card,
.services .services-visual__caption,
.services h2,
.services h3,
.services-visual__caption strong {
  color: var(--white);
}

.services .services__header p,
.services .service-card p {
  color: rgba(255, 255, 255, 0.78);
}

/* Quick visual tweak: non-menu glass forms use 10px blur, black at 20%, 1px black border at 35%. */
.button,
.hero__copy,
.hero-proof article,
.about .section-copy,
.engineering .section-copy,
.projects__header,
.competence__grid,
.competence-panel,
.competence-list span,
.mini-metrics span,
.check-row span,
.services__header,
.service-card,
.services-visual__caption,
.process-list article,
.advantages__header,
.advantage-strip,
.advantage-strip article,
.project-card,
.partners .section-copy,
.logo-wall,
.logo-wall img,
.contact-copy,
.contact-list a,
.contact-list span,
.callback-form,
.callback-form input,
.callback-form select,
.callback-form textarea,
.callback-form--modal,
.modal__close {
  border: 1px solid rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(10px) saturate(165%);
  backdrop-filter: blur(10px) saturate(165%);
}

/* Presentation cleanup: independent glass forms, centered section canvases, horizontal projects. */
:root {
  --glass-final-bg: rgba(0, 0, 0, 0.2);
  --glass-final-border: rgba(0, 0, 0, 0.35);
  --glass-final-blur: blur(10px) saturate(165%);
}

body {
  color: var(--white);
  background: var(--bg);
}

main > .section-with-bg {
  min-height: 100vh;
  min-height: 100svh;
}

.section-bg,
.section-bg img {
  width: 100%;
  height: 100%;
}

.section-bg img {
  object-fit: cover;
}

.hero-proof {
  gap: clamp(10px, 1.4vw, 18px);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.hero-proof--instant {
  opacity: 1;
  transform: none;
}

.hero-proof--instant article {
  opacity: 0;
  transform: translateY(18px);
  animation: heroProofIn 720ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.hero-proof--instant article:nth-child(2) {
  animation-delay: 70ms;
}

.hero-proof--instant article:nth-child(3) {
  animation-delay: 140ms;
}

.hero-proof--instant article:nth-child(4) {
  animation-delay: 210ms;
}

@keyframes heroProofIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about .section-copy,
.competence-panel,
.competence-list span,
.services__header,
.service-card,
.engineering .section-copy,
.process-list article,
.advantages__header,
.advantage-strip article,
.projects__header,
.project-card,
.partners .section-copy,
.logo-wall img {
  color: var(--white);
  border: 1px solid var(--glass-final-border);
  background: var(--glass-final-bg);
  -webkit-backdrop-filter: var(--glass-final-blur);
  backdrop-filter: var(--glass-final-blur);
  box-shadow: var(--glass-shadow);
}

.competence__grid,
.competence-list,
.advantage-strip,
.logo-wall {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.competence__grid {
  padding: 0;
}

.competence-panel,
.competence-list span {
  border-radius: var(--radius);
}

.mini-metrics span,
.check-row span {
  min-height: 0;
  color: var(--white);
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.mini-metrics span {
  padding: 0;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.7vw, 18px);
}

.mini-metrics span {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.mini-metrics b {
  display: block;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1;
}

.mini-metrics b,
.process-list > article > span,
.project-card span,
.section-label {
  color: var(--accent-2);
}

.section-copy p,
.competence-panel p,
.services__header p,
.service-card p,
.engineering .section-copy p,
.process-list p,
.advantages__header p,
.advantage-strip p,
.projects__header p,
.project-card p,
.partners p {
  color: var(--white-muted);
}

.services .services__header,
.services .service-card {
  color: var(--white);
  border-color: var(--glass-final-border);
  background: var(--glass-final-bg);
  box-shadow: var(--glass-shadow);
}

.services h2,
.services h3,
.services .section-label,
.services .services__header p,
.services .service-card p {
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}

.services h2,
.services h3 {
  color: var(--white);
}

.services .services__header p,
.services .service-card p {
  color: var(--white-muted);
}

.services-visual,
.services-visual__caption {
  display: none !important;
}

.logo-wall {
  padding: 0;
}

.logo-wall img {
  min-height: 94px;
}

.project-grid {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-color: rgba(255, 255, 255, 0.34) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}

.project-grid:focus-visible {
  outline: 2px solid rgba(255, 155, 52, 0.72);
  outline-offset: 8px;
}

.project-card {
  scroll-snap-align: center;
}

.project-card--feature {
  background: rgba(0, 0, 0, 0.28);
}

@media (min-width: 761px) {
  html {
    scroll-behavior: auto;
    scroll-padding-top: 0;
  }

  section,
  #callback {
    scroll-margin-top: 0;
  }

  main > .section-with-bg {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: clamp(92px, 11vh, 128px) 0 clamp(34px, 5vh, 56px);
  }

  .hero.section-with-bg {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    padding: clamp(104px, 12vh, 136px) 0 clamp(22px, 4vh, 34px);
  }

  .hero__grid {
    min-height: 0;
    align-items: center;
  }

  .competence__grid,
  .services__header,
  .services__grid,
  .engineering__grid,
  .advantages > .container,
  .partners__grid {
    margin-top: auto;
    margin-bottom: auto;
  }

  .competence__grid,
  .engineering__grid,
  .partners__grid {
    align-items: center;
  }

  .services__header {
    width: min(var(--container), calc(100% - var(--gutter) * 2));
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(18px, 3vh, 30px);
  }

  .services__grid {
    width: min(var(--container), calc(100% - var(--gutter) * 2));
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .service-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card {
    min-height: clamp(148px, 21vh, 190px);
  }

  .advantage-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 16px);
    padding: 0;
  }

  .projects {
    justify-content: center;
  }

  .projects__header {
    width: min(var(--container), calc(100% - var(--gutter) * 2));
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(18px, 3vh, 30px);
  }

  .project-grid {
    display: flex;
    width: 100%;
    max-width: none;
    margin: 0;
    gap: clamp(16px, 2vw, 24px);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px max(var(--gutter), calc((100vw - var(--container)) / 2)) 18px;
  }

  .project-card {
    flex: 0 0 clamp(318px, 31vw, 420px);
    grid-template-rows: clamp(160px, 24vh, 230px) minmax(0, 1fr);
    min-height: clamp(330px, 49vh, 470px);
    max-height: min(58vh, 520px);
  }

  .project-card div {
    overflow: hidden;
  }
}

@media (min-width: 761px) and (max-height: 820px) {
  .hero.section-with-bg {
    padding: 88px 0 14px;
  }

  .hero__copy {
    max-width: 620px;
    padding: 24px 36px;
  }

  .hero h1 {
    font-size: clamp(34px, 4vw, 50px);
  }

  .hero__copy p {
    margin-top: 14px;
    line-height: 1.45;
  }

  .hero__actions {
    margin-top: 20px;
  }

  .hero__actions .button {
    min-height: 46px;
  }

  .hero-proof {
    margin-top: 10px;
  }

  .hero-proof article {
    min-height: 82px;
    padding: 13px 16px;
  }
}

@media (max-width: 760px) {
  main > .section-with-bg {
    min-height: 100svh;
  }

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .competence__grid,
  .service-cards,
  .advantage-strip,
  .logo-wall {
    gap: 12px;
  }

  .project-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px var(--gutter) 14px;
    width: 100%;
    max-width: none;
  }

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

  .mini-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-proof--instant article {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Compact polish: use the hero warm accent, Lucide icon styling, and prepaint glass before reveal. */
:root {
  --accent: #ffc27c;
  --accent-2: #ffc27c;
  --accent-dark: #ffc27c;
}

.section-label,
.mini-metrics b,
.process-list > article > span,
.project-card span,
.hero h1 span,
.services .section-label,
.form-status {
  color: #ffc27c;
}

.lucide,
[data-lucide] {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  color: #ffc27c;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.button .lucide,
.button [data-lucide] {
  color: currentColor;
}

.header-icon-link .lucide,
.header-icon-link [data-lucide] {
  width: 22px;
  height: 22px;
}

.hero-proof .lucide,
.hero-proof [data-lucide] {
  grid-row: span 2;
  width: 34px;
  height: 34px;
}

.competence-list .lucide,
.competence-list [data-lucide] {
  width: 24px;
  height: 24px;
  margin-right: 14px;
}

.competence-list .competence-list__green .lucide,
.competence-list .competence-list__green [data-lucide] {
  color: #ffc27c;
}

.service-card .lucide,
.service-card [data-lucide] {
  width: 40px;
  height: 40px;
}

.advantage-strip .lucide,
.advantage-strip [data-lucide] {
  width: 36px;
  height: 36px;
}

.modal__close .lucide,
.modal__close [data-lucide] {
  width: 19px;
  height: 19px;
  color: currentColor;
}

.contact-list a::before,
.contact-list span::before,
.check-row span::before,
.section-label::before {
  background: #ffc27c;
}

.form-consent input {
  accent-color: #ffc27c;
}

.reveal {
  opacity: 0.001;
  transform: translate3d(0, 24px, 0);
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: opacity, transform;
}

body[data-scroll-direction="up"] .reveal:not(.is-visible) {
  transform: translate3d(0, -24px, 0);
}

body[data-scroll-direction="down"] .reveal:not(.is-visible) {
  transform: translate3d(0, 24px, 0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero__copy,
.hero-proof article,
.about .section-copy,
.engineering .section-copy,
.projects__header,
.competence-panel,
.competence-list span,
.services__header,
.service-card,
.process-list article,
.advantages__header,
.advantage-strip article,
.project-card,
.partners .section-copy,
.logo-wall img,
.contact-copy,
.callback-form,
.callback-form--modal {
  background-clip: padding-box;
  backface-visibility: hidden;
  contain: paint;
  will-change: opacity, transform;
}

/* Compact polish: requested alignment, glass consistency, section halo, controls, and hero scroll hint. */
.header-phone-link {
  justify-content: center;
  padding: 0;
}

.header-phone-link.is-expanded {
  justify-content: flex-end;
  padding: 0 10px;
}

.header-icon-link .lucide,
.header-icon-link [data-lucide] {
  display: block;
}

.section-label,
.section-copy h2,
.competence-panel h2,
.services__header h2,
.engineering .section-copy h2,
.advantages__header h2,
.projects__header h2,
.partners h2,
.contact-copy h2 {
  text-shadow:
    0 0 4px rgba(0, 0, 0, 0.64),
    0 0 11px rgba(0, 0, 0, 0.42),
    0 0 18px rgba(0, 0, 0, 0.24);
}

.process-list .process-card.reveal,
.process-list .process-card.reveal.is-visible {
  opacity: 1;
}

.process-list .process-card.reveal:not(.is-visible) {
  transform: translate3d(0, 18px, 0);
}

body[data-scroll-direction="up"] .process-list .process-card.reveal:not(.is-visible) {
  transform: translate3d(0, -18px, 0);
}

.advantages__header {
  margin-left: auto;
  margin-right: auto;
}

.project-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: calc(clamp(18px, 3vh, 30px) * -0.35);
  margin-bottom: 14px;
}

.project-arrow {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--white);
  border: 1px solid var(--glass-final-border);
  border-radius: var(--radius);
  background: var(--glass-final-bg);
  -webkit-backdrop-filter: var(--glass-final-blur);
  backdrop-filter: var(--glass-final-blur);
  box-shadow: var(--glass-shadow);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(0, 0, 0, 0.28);
}

.project-arrow .lucide,
.project-arrow [data-lucide] {
  width: 22px;
  height: 22px;
  color: #ffc27c;
}

.logo-wall {
  gap: clamp(14px, 1.8vw, 18px);
}

.logo-wall img {
  height: 115px;
  min-height: 115px;
  padding: 18px;
  border: 1px solid var(--glass-final-border);
  background: var(--glass-final-bg);
  -webkit-backdrop-filter: var(--glass-final-blur);
  backdrop-filter: var(--glass-final-blur);
  box-shadow: var(--glass-shadow);
}

.scroll-hint {
  position: absolute;
  right: clamp(18px, 3.2vw, 48px);
  bottom: clamp(18px, 3.2vw, 42px);
  z-index: 3;
  width: 132px;
  height: 106px;
  pointer-events: none;
  opacity: 0.86;
}

.scroll-hint__keys {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 34px);
  grid-template-rows: repeat(2, 34px);
  gap: 5px;
}

.scroll-hint__key {
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(10px) saturate(165%);
  backdrop-filter: blur(10px) saturate(165%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 30px rgba(0, 0, 0, 0.22);
}

.scroll-hint__key--up {
  grid-column: 2;
}

.scroll-hint__key--active {
  color: #ffc27c;
  border-color: rgba(255, 194, 124, 0.46);
  background: rgba(0, 0, 0, 0.34);
  transform: translateY(3px);
}

.scroll-hint__key .lucide,
.scroll-hint__key [data-lucide] {
  width: 17px;
  height: 17px;
  color: currentColor;
}

.scroll-hint__finger {
  position: absolute;
  right: 37px;
  bottom: 12px;
  width: 17px;
  height: 46px;
  border-radius: 10px 10px 8px 8px;
  background: linear-gradient(180deg, rgba(255, 214, 178, 0.96), rgba(218, 151, 104, 0.96));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transform: rotate(9deg);
  transform-origin: 50% 100%;
  animation: scrollHintPress 1.7s ease-in-out infinite;
}

.scroll-hint__finger::before {
  content: "";
  position: absolute;
  left: -10px;
  bottom: 3px;
  width: 20px;
  height: 17px;
  border-radius: 10px 4px 8px 10px;
  background: linear-gradient(180deg, rgba(242, 184, 136, 0.96), rgba(205, 132, 91, 0.96));
}

.scroll-hint__finger::after {
  content: "";
  position: absolute;
  inset: 5px 4px auto;
  height: 8px;
  border-radius: 50%;
  border-top: 1px solid rgba(130, 73, 48, 0.5);
}

@keyframes scrollHintPress {
  0%,
  100% {
    transform: translateY(-5px) rotate(9deg);
  }

  45%,
  62% {
    transform: translateY(4px) rotate(9deg);
  }
}

@media (min-width: 761px) {
  html,
  body {
    overscroll-behavior-y: none;
  }

  .project-grid {
    padding-left: var(--gutter);
    padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2));
  }
}

@media (max-width: 760px) {
  .scroll-hint {
    display: none;
  }

  .project-controls {
    padding-inline: var(--gutter);
  }

  .logo-wall img {
    height: 104px;
    min-height: 104px;
  }
}

/* Corrective interaction polish: blur, labels only halo, hero key hint, and clean carousel. */
:root {
  --glass-final-blur: blur(12px) saturate(165%);
}

.button,
.hero__copy,
.hero-proof article,
.about .section-copy,
.engineering .section-copy,
.projects__header,
.competence-panel,
.competence-list span,
.services__header,
.service-card,
.process-list article,
.advantages__header,
.advantage-strip article,
.project-card,
.project-arrow,
.partners .section-copy,
.logo-wall img,
.contact-copy,
.contact-list a,
.contact-list span,
.callback-form,
.callback-form input,
.callback-form select,
.callback-form textarea,
.callback-form--modal,
.modal__close,
.scroll-hint__key {
  -webkit-backdrop-filter: var(--glass-final-blur) !important;
  backdrop-filter: var(--glass-final-blur) !important;
}

.section-copy h2,
.competence-panel h2,
.services__header h2,
.engineering .section-copy h2,
.advantages__header h2,
.projects__header h2,
.partners h2,
.contact-copy h2,
.services h2,
.services h3,
.service-card h3,
.process-list h3,
.advantage-strip h3,
.project-card h3,
.callback-form h3 {
  text-shadow: none !important;
}

.section-label {
  text-shadow:
    0 0 4px rgba(0, 0, 0, 0.7),
    0 0 10px rgba(0, 0, 0, 0.48),
    0 0 18px rgba(0, 0, 0, 0.28) !important;
}

.scroll-hint {
  right: clamp(54px, 8vw, 112px);
  bottom: clamp(54px, 8vh, 92px);
  width: 154px;
  height: 124px;
  opacity: 0.92;
}

.scroll-hint::before {
  content: "";
  position: absolute;
  inset: 15px 14px 4px 6px;
  border-radius: 18px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0));
  filter: blur(2px);
}

.scroll-hint__keys {
  right: 20px;
  bottom: 12px;
  grid-template-areas:
    ". up ."
    "left down right";
  grid-template-columns: repeat(3, 38px);
  grid-template-rows: repeat(2, 38px);
  gap: 7px;
  transform: perspective(220px) rotateX(7deg) rotateZ(-1deg);
  transform-origin: center bottom;
}

.scroll-hint__key {
  position: relative;
  border-radius: 9px;
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(0, 0, 0, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -5px 0 rgba(0, 0, 0, 0.2),
    0 12px 26px rgba(0, 0, 0, 0.24);
}

.scroll-hint__key--up {
  grid-area: up;
}

.scroll-hint__key--left {
  grid-area: left;
}

.scroll-hint__key--active {
  grid-area: down;
  color: #ffc27c;
  border-color: rgba(255, 194, 124, 0.52);
  background:
    linear-gradient(180deg, rgba(255, 194, 124, 0.2), rgba(255, 255, 255, 0.04)),
    rgba(0, 0, 0, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -2px 0 rgba(0, 0, 0, 0.22),
    0 8px 18px rgba(0, 0, 0, 0.22);
  transform: translateY(4px);
}

.scroll-hint__key--right {
  grid-area: right;
}

.scroll-hint__key .lucide,
.scroll-hint__key [data-lucide] {
  width: 18px;
  height: 18px;
}

.scroll-hint__finger {
  right: 60px;
  bottom: 8px;
  width: 19px;
  height: 48px;
  border-radius: 12px 12px 9px 9px;
  transform: translateY(-5px) rotate(6deg);
  animation: scrollHintPress 1.55s ease-in-out infinite;
}

.scroll-hint__finger::before {
  left: -12px;
  bottom: 2px;
  width: 23px;
  height: 18px;
  border-radius: 12px 5px 9px 12px;
}

@keyframes scrollHintPress {
  0%,
  100% {
    transform: translateY(-7px) rotate(6deg);
  }

  42%,
  62% {
    transform: translateY(5px) rotate(6deg);
  }
}

.logo-wall {
  grid-template-columns: repeat(4, minmax(124px, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.logo-wall img {
  height: clamp(132px, 12vh, 152px);
  min-height: clamp(132px, 12vh, 152px);
  padding: 12px;
  object-fit: contain;
  border: 1px solid var(--glass-final-border);
  background: var(--glass-final-bg);
}

.project-grid {
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

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

.project-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.project-card {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  user-select: none;
  -webkit-user-select: none;
}

.project-card img {
  pointer-events: none;
}

.project-grid:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.45);
  outline-offset: 8px;
}

@media (min-width: 761px) {
  .project-grid {
    padding-top: 2px;
    padding-bottom: 10px;
  }
}

@media (max-width: 760px) {
  .logo-wall img {
    height: 116px;
    min-height: 116px;
  }
}

/* Presentation fix: static down-key hint, bounded carousel, and full partner logo wall. */
@media (min-width: 1101px) {
  html.presentation-mode,
  html.presentation-mode body {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    scroll-behavior: auto !important;
  }

  html.presentation-mode body {
    position: relative;
  }

  html.presentation-mode main,
  html.presentation-mode .site-footer {
    transform: translate3d(0, var(--presentation-offset, 0px), 0);
    transition: transform var(--presentation-transition-ms, 560ms) cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
  }

  html.presentation-mode.presentation-no-transition main,
  html.presentation-mode.presentation-no-transition .site-footer {
    transition: none !important;
  }

  html.presentation-mode main {
    position: relative;
    z-index: 1;
  }

  html.presentation-mode main > .section-with-bg {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
  }

  html.presentation-mode .site-footer {
    position: relative;
    z-index: 1;
  }
}

/* Presentation visual smoothing: keep section imagery painted during transform slides. */
@media (min-width: 1101px) {
  html.presentation-mode {
    background: #603620;
  }

  html.presentation-mode body {
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 194, 124, 0.14), rgba(255, 194, 124, 0) 42%),
      #603620;
  }

  html.presentation-mode main,
  html.presentation-mode .site-footer {
    backface-visibility: hidden;
    transform-style: flat;
    contain: layout paint style;
    isolation: isolate;
  }

  html.presentation-mode main {
    background: #603620;
  }

  html.presentation-mode main > .section-with-bg {
    overflow: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    contain: layout paint style;
  }

  html.presentation-mode main > .section-light {
    background-color: #efe6d7;
  }

  html.presentation-mode main > .section-dark {
    background-color: #080c0c;
  }

  html.presentation-mode .section-bg,
  html.presentation-mode .section-bg img {
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    contain: paint;
  }

  html.presentation-mode .section-bg {
    background-color: inherit;
  }

  html.presentation-mode .section-bg img {
    opacity: 1;
  }

  html.presentation-mode .reveal {
    opacity: 1 !important;
    transition-property: transform !important;
    will-change: transform, backdrop-filter;
  }

  html.presentation-mode .presentation-transition-target .reveal {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    transition: none !important;
    transition-delay: 0ms !important;
    animation: none !important;
    will-change: transform, backdrop-filter;
  }

  html.presentation-mode .site-header {
    view-transition-name: artkom-fixed-header;
  }

  html.presentation-mode::view-transition {
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 194, 124, 0.16), rgba(255, 194, 124, 0) 44%),
      #603620;
  }

  html.presentation-mode::view-transition-group(root) {
    animation: none;
  }

  html.presentation-mode::view-transition-image-pair(root) {
    isolation: isolate;
  }

  html.presentation-mode::view-transition-old(root),
  html.presentation-mode::view-transition-new(root) {
    animation-duration: var(--presentation-transition-ms, 560ms);
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: both;
    backface-visibility: hidden;
    mix-blend-mode: normal;
  }

  html.presentation-mode::view-transition-group(artkom-fixed-header) {
    z-index: 1000;
    animation: none;
  }

  html.presentation-mode::view-transition-old(artkom-fixed-header) {
    opacity: 0;
    animation: none;
  }

  html.presentation-mode::view-transition-new(artkom-fixed-header) {
    opacity: 1;
    animation: none;
  }

  html.presentation-mode.presentation-vt-down::view-transition-old(root) {
    animation-name: artkom-vt-old-up;
  }

  html.presentation-mode.presentation-vt-down::view-transition-new(root) {
    animation-name: artkom-vt-new-up;
  }

  html.presentation-mode.presentation-vt-up::view-transition-old(root) {
    animation-name: artkom-vt-old-down;
  }

  html.presentation-mode.presentation-vt-up::view-transition-new(root) {
    animation-name: artkom-vt-new-down;
  }
}

@keyframes artkom-vt-old-up {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, -100%, 0);
  }
}

@keyframes artkom-vt-new-up {
  from {
    opacity: 1;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes artkom-vt-old-down {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 100%, 0);
  }
}

@keyframes artkom-vt-new-down {
  from {
    opacity: 1;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Keep form reveal smooth while presentation gestures rearm quickly. */
.callback-form.reveal {
  transform: translate3d(0, 24px, 0);
}

body[data-scroll-direction="up"] .callback-form.reveal:not(.is-visible) {
  transform: translate3d(0, -24px, 0);
}

.callback-form.reveal.is-visible {
  transform: translate3d(0, 0, 0);
}

/* Stable project rail: preserve glass, remove halo, and use native snap on every viewport. */
html .project-grid {
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth;
  scroll-padding-inline: 0;
}

html .project-grid.is-dragging {
  scroll-snap-type: none !important;
  scroll-behavior: auto;
}

.projects .project-card,
.projects .project-card:hover {
  scroll-snap-align: start !important;
  scroll-snap-stop: always;
  box-shadow: none !important;
  filter: none !important;
}

.projects .project-card:hover {
  transform: none;
}

@media (min-width: 1101px) {
  html.presentation-mode .section-bg img {
    opacity: 1 !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
}

.modal {
  transition-duration: 140ms;
}

.modal__panel {
  transition-duration: 150ms;
}

.scroll-hint {
  right: clamp(10px, 1.7vw, 24px);
  bottom: clamp(132px, 20vh, 184px);
  width: 158px;
  height: 126px;
}

.scroll-hint__key--active {
  transform: translateY(4px);
}

.scroll-hint__finger,
.scroll-hint__finger.lucide {
  position: absolute;
  right: 46px;
  bottom: -18px;
  z-index: 2;
  width: 46px;
  height: 46px;
  color: rgba(255, 246, 235, 0.96);
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.38));
  transform: rotate(-18deg);
  animation: none !important;
  stroke-width: 1.85;
}

.scroll-hint__finger::before,
.scroll-hint__finger::after {
  content: none !important;
}

.project-grid {
  scroll-snap-type: none !important;
  scroll-behavior: smooth;
  scroll-padding-inline: 0;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;
}

.project-grid.is-dragging {
  scroll-behavior: auto;
}

.project-card {
  scroll-snap-align: none !important;
  scroll-snap-stop: normal;
}

.project-arrow:disabled {
  opacity: 0.34;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.project-arrow:disabled:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.22);
}

.callback-form .form-consent {
  grid-column: 1 / -1;
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 12px !important;
  min-height: 48px;
  padding: 10px 12px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.18);
  transition: border-color 180ms ease, background 180ms ease;
}

.callback-form .form-consent:hover {
  border-color: rgba(255, 194, 124, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 194, 124, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.2);
}

.callback-form .form-consent input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.callback-form .form-consent__box {
  position: relative;
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.callback-form .form-consent__box::after {
  content: "";
  width: 11px;
  height: 7px;
  opacity: 0;
  border-left: 2px solid #2a1608;
  border-bottom: 2px solid #2a1608;
  transform: translateY(-1px) rotate(-45deg) scale(0.8);
  transition: opacity 140ms ease, transform 140ms ease;
}

.callback-form .form-consent input:checked + .form-consent__box {
  border-color: rgba(255, 194, 124, 0.86);
  background: linear-gradient(180deg, #ffd59d, #ffc27c);
}

.callback-form .form-consent input:checked + .form-consent__box::after {
  opacity: 1;
  transform: translateY(-1px) rotate(-45deg) scale(1);
}

.callback-form .form-consent input:focus-visible + .form-consent__box {
  outline: 2px solid rgba(255, 194, 124, 0.58);
  outline-offset: 3px;
}

.callback-form .form-consent__text {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.35;
}

.partners__grid {
  grid-template-columns: minmax(0, 0.62fr) minmax(560px, 1.18fr);
  gap: clamp(28px, 4vw, 58px);
}

.logo-wall {
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  gap: clamp(9px, 1.15vw, 13px);
  padding: clamp(12px, 1.7vw, 18px);
  border-radius: 8px;
}

.logo-card {
  display: grid;
  place-items: center;
  min-width: 0;
  height: clamp(76px, 8.7vh, 96px);
  padding: clamp(7px, 0.9vw, 10px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: var(--glass-final-blur);
  backdrop-filter: var(--glass-final-blur);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 12px 26px rgba(0, 0, 0, 0.16);
}

.logo-wall .logo-card img {
  width: auto;
  max-width: 92%;
  height: auto;
  max-height: 82%;
  min-height: 0 !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none;
  object-fit: contain;
  filter: none;
  transition: transform 180ms ease;
}

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

.logo-card img[src*="lakhta"] {
  max-height: 94%;
  max-width: 62%;
}

.logo-card img[src*="auchan"],
.logo-card img[src*="fortgroup"],
.logo-card img[src*="goodzone"] {
  max-height: 90%;
}

.logo-card img[src*="partner-rwb.jpg"],
.logo-card img[src*="partner-systeme-electric"] {
  max-width: 88%;
  max-height: 96%;
  border-radius: 4px;
}

.logo-card img[src*="partner-rwb-bank"] {
  max-width: 94%;
  max-height: 66%;
}

.logo-card img[src*="partner-new-standard"] {
  max-width: 58%;
  max-height: 96%;
}

.logo-card img[src*="partner-lwop"] {
  max-width: 92%;
  max-height: 74%;
}

.logo-card img[src*="partner-lemana-pro"] {
  max-width: 72%;
  max-height: 88%;
}

.logo-card img[src*="partner-petrovich"] {
  max-width: 86%;
  max-height: 68%;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .partners__grid {
    grid-template-columns: minmax(0, 0.54fr) minmax(520px, 1.24fr);
  }

  .logo-card {
    height: clamp(70px, 8vh, 86px);
  }
}

@media (max-width: 760px) {
  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-card {
    height: 82px;
  }

  .logo-wall .logo-card img {
    max-height: 84%;
  }
}

/* Mobile adaptation pass: fixed corner controls, smooth compact menu, safe-area color, and phone-first imagery. */
@media (max-width: 760px) {
  html {
    background: var(--bg);
    scroll-padding-top: calc(88px + env(safe-area-inset-top, 0px));
  }

  body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--bg);
  }

  body::before {
    content: "";
    position: fixed;
    z-index: 140;
    top: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-top, 0px);
    background: #ffc27c;
    pointer-events: none;
  }

  section,
  #callback {
    scroll-margin-top: calc(88px + env(safe-area-inset-top, 0px));
  }

  .site-header,
  .site-header.is-scrolled {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    display: block;
    width: 100%;
    min-height: 0;
    height: 0;
    margin: 0;
    padding: 0;
    color: var(--white);
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    pointer-events: none;
  }

  .site-header .brand {
    position: fixed;
    z-index: 112;
    top: calc(12px + env(safe-area-inset-top, 0px));
    left: 12px;
    display: grid;
    place-items: center start;
    width: 108px;
    height: 52px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
      rgba(0, 0, 0, 0.32);
    -webkit-backdrop-filter: blur(16px) saturate(165%);
    backdrop-filter: blur(16px) saturate(165%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
    pointer-events: auto;
  }

  .site-header .brand-lockup {
    width: 76px;
  }

  .site-header .brand-mark {
    width: 48px;
  }

  .site-header .brand-word {
    width: 58px;
  }

  .header-actions {
    display: contents;
  }

  .header-actions > .header-icon-link {
    display: none !important;
  }

  .menu-toggle {
    position: fixed;
    z-index: 122;
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: 12px;
    display: inline-flex;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 14px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
      rgba(0, 0, 0, 0.36);
    -webkit-backdrop-filter: blur(16px) saturate(165%);
    backdrop-filter: blur(16px) saturate(165%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
    pointer-events: auto;
  }

  .menu-toggle span {
    width: 21px;
    height: 2px;
  }

  .mobile-menu {
    position: fixed;
    z-index: 116;
    top: calc(76px + env(safe-area-inset-top, 0px));
    right: 12px;
    left: auto;
    width: min(326px, calc(100vw - 24px));
    max-height: calc(100svh - 92px - env(safe-area-inset-top, 0px));
    display: grid;
    gap: 10px;
    overflow-y: auto;
    padding: 14px;
    visibility: hidden;
    opacity: 0;
    transform: translate3d(10px, -8px, 0) scale(0.96);
    transform-origin: right top;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
      rgba(0, 0, 0, 0.74) !important;
    -webkit-backdrop-filter: blur(22px) saturate(155%) !important;
    backdrop-filter: blur(22px) saturate(155%) !important;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
    transition:
      opacity 220ms ease,
      transform 260ms cubic-bezier(0.19, 1, 0.22, 1),
      visibility 220ms ease;
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    pointer-events: auto;
  }

  .mobile-menu a,
  .mobile-menu button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    width: 100%;
    padding: 0 14px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: left;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  }

  .mobile-menu a::after,
  .mobile-menu button::after {
    content: none !important;
  }

  .mobile-menu a:hover,
  .mobile-menu button:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 194, 124, 0.42);
    background: rgba(255, 194, 124, 0.11);
  }

  .mobile-menu__action {
    color: #201104 !important;
    border-color: rgba(255, 194, 124, 0.72) !important;
    background: linear-gradient(180deg, #ffd49b, #ffc27c) !important;
  }

  .mobile-menu__action .lucide,
  .mobile-menu__action [data-lucide] {
    width: 20px;
    height: 20px;
    color: currentColor;
  }

  main > .section-with-bg {
    min-height: auto;
    padding: calc(92px + env(safe-area-inset-top, 0px)) 0 46px;
    overflow: hidden;
  }

  .hero.section-with-bg {
    min-height: 100svh;
    padding: calc(88px + env(safe-area-inset-top, 0px)) 0 30px;
  }

  .section-bg,
  .hero__bg.section-bg,
  .services__image.section-bg,
  .contact__image.section-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
  }

  .section-bg img,
  .hero__bg.section-bg img,
  .services__image.section-bg img,
  .contact__image.section-bg img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-width: none;
    transform: none !important;
    object-fit: cover;
  }

  .hero__bg.section-bg img {
    object-position: 36% top !important;
  }

  .section-bg--about img {
    object-position: 54% center !important;
  }

  .section-bg--competence img {
    object-position: 58% center !important;
  }

  .services__image.section-bg img {
    object-position: 63% center !important;
  }

  .section-bg--engineering img {
    object-position: 45% center !important;
  }

  .section-bg--advantages img {
    object-position: 55% center !important;
  }

  .section-bg--projects img {
    object-position: 54% center !important;
  }

  .section-bg--partners img {
    object-position: 50% center !important;
  }

  .contact__image.section-bg img {
    object-position: 62% center !important;
  }

  .hero::before {
    opacity: 1 !important;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.62)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.16) 76%) !important;
  }

  .hero__grid {
    align-items: start;
  }

  .hero__copy {
    padding: 20px;
    border-color: rgba(255, 255, 255, 0.22);
    background:
      linear-gradient(135deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.42)),
      rgba(0, 0, 0, 0.56);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  }

  .hero h1 {
    color: #fff7ec;
    font-size: clamp(32px, 9.4vw, 42px);
    line-height: 1.02;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.82);
  }

  .hero__copy p {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.74);
  }

  .hero__actions {
    gap: 12px;
  }

  .hero__actions .button {
    color: #fff7ec;
    border-color: rgba(255, 255, 255, 0.24);
    background:
      linear-gradient(135deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.72)),
      #050505 !important;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 28px rgba(0, 0, 0, 0.32);
  }

  .hero__actions .button--ghost {
    background:
      linear-gradient(135deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.62)),
      #090909 !important;
  }

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-proof article {
    grid-template-columns: 30px 1fr;
    min-height: 112px;
    padding: 14px;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.62);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  }

  .about .section-copy,
  .engineering .section-copy,
  .projects__header,
  .services__header,
  .advantages__header,
  .partners .section-copy,
  .contact-copy,
  .callback-form,
  .competence-panel,
  .service-card,
  .process-list article,
  .advantage-strip article,
  .project-card {
    background: rgba(0, 0, 0, 0.24);
  }

  .competence__grid,
  .engineering__grid,
  .partners__grid,
  .contact__grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .partners__grid {
    align-items: stretch;
  }

  .phone-field {
    grid-template-columns: 1fr;
  }

  .project-controls {
    justify-content: flex-start;
    gap: 8px;
    margin: 0 auto 12px;
    padding-inline: var(--gutter);
  }

  .project-arrow {
    width: 44px;
    height: 44px;
  }

  .project-grid {
    gap: 12px;
    padding: 0 var(--gutter) 12px;
  }

  .project-card {
    flex-basis: calc(100vw - var(--gutter) * 2);
    max-width: 380px;
    min-height: 0;
  }

  .project-card img {
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
  }

  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
  }

  .logo-card {
    height: 78px;
    padding: 8px;
  }

  .logo-wall .logo-card img {
    max-width: 94%;
    max-height: 86%;
  }

  .logo-card img[src*="lakhta"] {
    max-height: 92%;
    max-width: 56%;
  }

  .logo-card img[src*="partner-rwb.jpg"],
  .logo-card img[src*="partner-systeme-electric"] {
    max-width: 84%;
    max-height: 94%;
  }

  .logo-card img[src*="partner-rwb-bank"] {
    max-width: 94%;
    max-height: 62%;
  }

  .logo-card img[src*="partner-new-standard"] {
    max-width: 54%;
    max-height: 94%;
  }

  .modal {
    padding: calc(18px + env(safe-area-inset-top, 0px)) 14px 18px;
  }

  .modal__panel {
    max-height: calc(100svh - 36px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
  }

  .callback-form--modal {
    padding: 22px;
  }
}

@media (max-width: 360px) {
  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero__actions .button {
    min-height: 48px;
    font-size: 13px;
  }

  .mobile-menu {
    width: calc(100vw - 20px);
    right: 10px;
  }
}

@media (max-width: 760px) {
  .hero__copy,
  .about .section-copy,
  .engineering .section-copy,
  .projects__header,
  .services__header,
  .advantages__header,
  .partners .section-copy,
  .contact-copy,
  .callback-form,
  .competence-panel,
  .service-card,
  .process-list article,
  .advantage-strip article,
  .project-card {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.24) !important;
    background:
      linear-gradient(135deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.36)),
      rgba(0, 0, 0, 0.52) !important;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  }

  .hero__copy {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #050505 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .hero__copy::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: #050505;
    pointer-events: none;
  }

  .hero__copy > * {
    position: relative;
    z-index: 1;
  }

  .hero__actions .button {
    color: #fff7ec !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    background-color: #050505 !important;
    background-image: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .hero__actions .button--ghost {
    background-color: #111 !important;
  }

  .hero-proof article {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--white);
    background: #080808 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .hero-proof article::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: #080808;
    pointer-events: none;
  }

  .hero-proof article > * {
    position: relative;
    z-index: 1;
  }

  .section-copy p,
  .competence-panel p,
  .services__header p,
  .service-card p,
  .engineering .section-copy p,
  .process-list p,
  .advantages__header p,
  .advantage-strip p,
  .projects__header p,
  .project-card p,
  .partners p,
  .contact-copy p,
  .contact-list a,
  .contact-list span {
    color: rgba(255, 255, 255, 0.88);
  }

  .competence-list span,
  .mini-metrics span,
  .check-row span,
  .contact-list a,
  .contact-list span {
    color: var(--white);
    background: rgba(0, 0, 0, 0.42) !important;
  }

  .service-card .lucide,
  .service-card [data-lucide],
  .advantage-strip .lucide,
  .advantage-strip [data-lucide],
  .competence-list .lucide,
  .competence-list [data-lucide] {
    color: #ffc27c;
  }

  .logo-card {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
      rgba(255, 255, 255, 0.82) !important;
  }
}

@media (max-width: 420px) and (max-height: 760px) {
  .site-header .brand,
  .menu-toggle {
    top: calc(9px + env(safe-area-inset-top, 0px));
    height: 48px;
  }

  .site-header .brand {
    width: 100px;
    padding: 8px 10px;
  }

  .menu-toggle {
    width: 48px;
  }

  .mobile-menu {
    top: calc(66px + env(safe-area-inset-top, 0px));
  }

  .hero.section-with-bg {
    padding-top: calc(74px + env(safe-area-inset-top, 0px));
  }

  .hero__copy {
    padding: 18px;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 36px);
  }

  .hero__copy p {
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-proof article {
    min-height: 100px;
  }
}

@media (min-width: 421px) and (max-width: 760px) {
  .container {
    width: min(100% - 28px, 430px);
  }

  .project-card {
    flex-basis: min(386px, calc(100vw - 28px));
  }

  .logo-card {
    height: 88px;
  }
}

/* Mobile glass parity: content glass keeps the same color and transparency as desktop. */
@media (max-width: 760px) {
  .hero__copy,
  .hero-proof article,
  .about .section-copy,
  .engineering .section-copy,
  .projects__header,
  .services__header,
  .advantages__header,
  .partners .section-copy,
  .contact-copy,
  .callback-form,
  .callback-form input,
  .callback-form select,
  .callback-form textarea,
  .callback-form--modal,
  .competence-panel,
  .competence-list span,
  .mini-metrics span,
  .check-row span,
  .service-card,
  .process-list article,
  .advantage-strip article,
  .project-card,
  .project-arrow,
  .contact-list a,
  .contact-list span {
    color: var(--white);
    border: 1px solid var(--glass-final-border) !important;
    background: var(--glass-final-bg) !important;
    -webkit-backdrop-filter: var(--glass-final-blur) !important;
    backdrop-filter: var(--glass-final-blur) !important;
    box-shadow: var(--glass-shadow);
  }

  .hero__copy::before,
  .hero-proof article::before {
    content: none !important;
  }

  .hero__actions .button,
  .hero__actions .button--ghost {
    color: var(--white) !important;
    border: 1px solid var(--glass-final-border) !important;
    background: var(--glass-final-bg) !important;
    -webkit-backdrop-filter: var(--glass-final-blur) !important;
    backdrop-filter: var(--glass-final-blur) !important;
    box-shadow: var(--glass-shadow);
  }

  .site-header .brand,
  .menu-toggle,
  .mobile-menu {
    background: rgba(0, 0, 0, 0.3) !important;
    -webkit-backdrop-filter: blur(28px) saturate(165%) !important;
    backdrop-filter: blur(28px) saturate(165%) !important;
  }

  .mobile-menu a:not(.mobile-menu__action),
  .mobile-menu button:not(.mobile-menu__action) {
    background: var(--glass-final-bg) !important;
    border-color: var(--glass-final-border) !important;
  }
}

/* Mobile polish follow-up: balanced logo glass, ergonomic controls, and glass-toned safe area. */
@media (max-width: 760px) {
  body::before {
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-final-border);
    -webkit-backdrop-filter: blur(28px) saturate(165%);
    backdrop-filter: blur(28px) saturate(165%);
  }

  .site-header .brand {
    width: 82px !important;
    min-width: 0;
    padding: 9px 12px !important;
    place-items: center !important;
  }

  .site-header .brand-lockup {
    width: 58px !important;
    justify-items: center !important;
  }

  .site-header .brand-mark {
    width: 48px;
  }

  .site-header .brand-word {
    width: 58px;
  }

  .project-controls {
    justify-content: flex-end !important;
  }

  .project-card {
    height: 338px !important;
    min-height: 338px !important;
    max-height: 338px;
    grid-template-rows: 180px minmax(0, 158px) !important;
  }

  .project-card img {
    display: block;
    width: 100%;
    height: 180px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: cover;
  }

  .project-card div {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-height: 0;
    overflow: hidden;
    padding: 12px 14px 14px;
    border-top: 1px solid var(--glass-final-border);
    background: rgba(0, 0, 0, 0.26);
  }

  .project-card h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.18;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .project-card p {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .project-card span {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 8px;
    font-size: 10.5px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .about .mini-metrics span,
  .mini-metrics span {
    min-height: 0;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.84) !important;
    border: 0 !important;
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
  }

  .about .mini-metrics b,
  .mini-metrics b {
    color: #ffc27c !important;
  }
}

@media (max-width: 420px) and (max-height: 760px) {
  .site-header .brand {
    width: 82px !important;
    height: 48px !important;
    padding: 8px 12px !important;
  }
}

/* Reference-style objects rail: three cards with side controls inside the page container. */
.project-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}

.project-carousel .project-grid {
  display: grid !important;
  grid-template-columns: none !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 0 12px !important;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.project-carousel .project-grid::-webkit-scrollbar {
  display: none;
}

.project-carousel .project-card {
  width: auto;
  min-width: 0;
  max-width: none;
  scroll-snap-align: start !important;
  scroll-snap-stop: always;
}

.project-carousel .project-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  .project-carousel {
    position: relative;
    display: block;
    margin-top: 12px;
  }

  .project-carousel .project-grid {
    grid-auto-columns: 100%;
    gap: 12px;
    padding: 4px 0 12px !important;
  }

  .project-carousel .project-card {
    width: 100%;
    max-width: none;
  }

  .project-carousel .project-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
  }

  .project-carousel .project-arrow[data-project-prev] {
    left: 8px;
  }

  .project-carousel .project-arrow[data-project-next] {
    right: 8px;
  }

  .project-carousel .project-arrow:hover {
    transform: translateY(-50%);
  }
}

/* Object detail pages: warm off-white canvas without section background imagery. */
.project-card:focus-visible {
  outline: 2px solid rgba(255, 194, 124, 0.9);
  outline-offset: 4px;
}

.object-detail-page {
  min-width: 320px;
  color: #17201f;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0) 260px),
    #f6f4ef;
}

.object-detail-page .site-header {
  position: sticky;
  top: 18px;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 13, 14, 0.82) !important;
}

.object-detail-page .desktop-nav a {
  color: rgba(255, 255, 255, 0.84);
}

.object-detail-main {
  overflow: hidden;
}

.object-hero {
  padding: clamp(118px, 12vw, 152px) 0 clamp(52px, 8vw, 96px);
}

.object-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 22px;
  color: #4a5552;
  font-size: 0.86rem;
  font-weight: 700;
}

.object-back svg {
  width: 18px;
  height: 18px;
}

.object-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
}

.object-hero__image {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 41, 38, 0.12);
  border-radius: 8px;
  background: #e9ece7;
  box-shadow: 0 24px 70px rgba(42, 49, 45, 0.16);
}

.object-hero__image img {
  width: 100%;
  height: auto;
  max-height: min(620px, 62vh);
  object-fit: cover;
}

.object-hero__content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.object-hero__content h1 {
  max-width: 12ch;
  margin: 0;
  color: #121918;
  font-size: clamp(2.35rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.object-address {
  max-width: 58ch;
  margin: 0;
  color: #4f5b58;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.object-facts {
  display: grid;
  gap: 12px;
  margin: 8px 0 6px;
}

.object-facts div {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 32, 31, 0.12);
}

.object-facts dt {
  color: #77817e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.object-facts dd {
  margin: 0;
  color: #1d2826;
  font-weight: 700;
  line-height: 1.45;
}

.object-scope,
.object-media {
  padding: clamp(50px, 8vw, 92px) 0;
}

.object-scope {
  background: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(23, 32, 31, 0.08);
  border-bottom: 1px solid rgba(23, 32, 31, 0.08);
}

.object-scope__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(28px, 6vw, 72px);
}

.object-scope h2,
.object-section-head h2 {
  margin: 10px 0 0;
  color: #17201f;
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.object-scope p {
  margin: 0;
  color: #3f4d49;
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.75;
}

.object-scope__list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.object-scope__list li {
  position: relative;
  min-width: 0;
  padding-left: 24px;
  color: #20302c;
  line-height: 1.55;
}

.object-scope__list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffc27c;
  box-shadow: 0 0 0 4px rgba(255, 194, 124, 0.18);
}

.object-media--videos {
  background: #f6f4ef;
}

.object-media--photos {
  background: #eef1ed;
}

.object-section-head {
  display: grid;
  gap: 4px;
  max-width: 780px;
  margin-bottom: clamp(24px, 4vw, 38px);
}

.object-media__grid {
  display: grid;
  gap: 18px;
}

.object-video,
.object-media__empty,
.object-photo {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(23, 32, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.object-video__frame {
  aspect-ratio: 16 / 9;
  background: #101719;
}

.object-video__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.object-video__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(16px, 3vw, 24px);
}

.object-video__meta h3 {
  margin: 0;
  color: #17201f;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.25;
}

.object-video__meta a {
  flex: 0 0 auto;
  color: #8d4e18;
  font-size: 0.88rem;
  font-weight: 800;
}

.object-media__empty {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 156px;
  padding: clamp(20px, 4vw, 32px);
  color: #4c5956;
}

.object-media__empty svg {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: #b76b27;
}

.object-media__empty p {
  max-width: 720px;
  margin: 0;
  line-height: 1.65;
}

.object-photo img {
  width: 100%;
  height: auto;
}

.object-photo figcaption {
  padding: 14px 16px 16px;
  color: #4c5956;
  font-size: 0.92rem;
}

.object-footer {
  margin-top: 0;
}

@media (max-width: 980px) {
  .object-hero__grid,
  .object-scope__grid {
    grid-template-columns: 1fr;
  }

  .object-hero__content h1 {
    max-width: 14ch;
  }
}

@media (max-width: 760px) {
  .object-detail-page .site-header {
    top: max(10px, env(safe-area-inset-top));
  }

  .object-detail-page .object-header__actions {
    gap: 8px;
  }

  .object-detail-page .header-phone-number {
    display: none;
  }

  .object-hero {
    padding: 112px 0 42px;
  }

  .object-back {
    margin-bottom: 16px;
  }

  .object-hero__grid {
    gap: 24px;
  }

  .object-hero__image img {
    max-height: none;
  }

  .object-hero__content {
    gap: 14px;
  }

  .object-hero__content h1 {
    font-size: clamp(2.35rem, 15vw, 4rem);
    line-height: 1;
  }

  .object-facts {
    gap: 10px;
  }

  .object-video__meta {
    display: grid;
  }

  .object-video__meta a {
    width: fit-content;
  }

  .object-media__empty {
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .object-detail-page {
    min-width: 0;
  }

  .object-hero__content h1,
  .object-scope h2,
  .object-section-head h2 {
    overflow-wrap: anywhere;
  }

  .object-media__empty {
    display: grid;
  }
}

/* Final interaction pass: smooth desktop presentation, Kluch-style mobile menu, and multi-video object pages. */
@media (min-width: 1101px) {
  html.presentation-mode,
  html.presentation-mode body,
  html.presentation-mode main {
    background: #efe6d7 !important;
  }

  html.presentation-mode .site-footer,
  html.presentation-mode main > .section-dark {
    background-color: #080c0c !important;
  }

  html.presentation-mode main > .section-light {
    background-color: #efe6d7 !important;
  }

  html.presentation-mode main > section,
  html.presentation-mode .site-footer,
  html.presentation-mode .section-bg,
  html.presentation-mode .section-bg img {
    visibility: visible !important;
    opacity: 1 !important;
    backface-visibility: hidden;
    transform: translateZ(0);
  }

  html.presentation-mode.presentation-live-animating main,
  html.presentation-mode.presentation-live-animating .site-footer {
    pointer-events: none;
  }

  .site-header .header-icon-link svg,
  .site-header .header-icon-link .lucide,
  .site-header .header-icon-link [data-lucide] {
    color: #ffffff !important;
    stroke: #ffffff !important;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-y: auto;
    scroll-snap-type: none !important;
  }

  .mobile-menu {
    top: calc(76px + env(safe-area-inset-top, 0px)) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-height: calc(100svh - 92px - env(safe-area-inset-top, 0px)) !important;
    gap: 0 !important;
    padding: 18px !important;
    border: 1px solid rgba(83, 72, 58, 0.14) !important;
    border-radius: 20px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 243, 235, 0.88)),
      #f7f3eb !important;
    color: #302821 !important;
    -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
    backdrop-filter: blur(22px) saturate(150%) !important;
    box-shadow: 0 24px 64px rgba(48, 40, 33, 0.24) !important;
  }

  .mobile-menu__links {
    display: grid;
    gap: 0;
    padding: 4px 0 18px;
  }

  .mobile-menu__links a,
  .mobile-menu__links button {
    min-height: 50px !important;
    padding: 0 4px !important;
    color: #302821 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    font-size: 16px !important;
    font-weight: 800 !important;
  }

  .mobile-menu__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(48, 40, 33, 0.12);
  }

  .mobile-menu__action {
    justify-content: center !important;
    gap: 8px !important;
    min-height: 52px !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  }

  .mobile-menu__action--write {
    background: #b98f63 !important;
  }

  .mobile-menu__action--call {
    background: #8c6847 !important;
  }

  .mobile-menu__action .lucide,
  .mobile-menu__action [data-lucide],
  .mobile-menu__action svg {
    width: 18px !important;
    height: 18px !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
  }

  body.mobile-menu-open {
    overflow: auto;
  }
}

.object-media__grid--videos {
  display: block;
}

.object-video--featured {
  display: grid;
  background: rgba(255, 255, 255, 0.78);
}

.object-video-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 260px);
  gap: 10px;
  overflow-x: auto;
  padding: 0 clamp(16px, 3vw, 24px) clamp(16px, 3vw, 24px);
  scrollbar-width: thin;
}

.object-video-thumb {
  display: grid;
  gap: 6px;
  min-height: 84px;
  padding: 14px;
  color: #26332f;
  border: 1px solid rgba(23, 32, 31, 0.14);
  border-radius: 8px;
  background: rgba(246, 244, 239, 0.86);
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.object-video-thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(183, 107, 39, 0.36);
  background: #fff9ef;
}

.object-video-thumb.is-active {
  border-color: rgba(183, 107, 39, 0.52);
  background: #fff3df;
}

.object-video-thumb span {
  color: #9b6b3b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.object-video-thumb strong {
  font-size: 0.88rem;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .object-video-strip {
    grid-auto-columns: minmax(168px, 78%);
    padding-inline: 14px;
  }
}

/* Footer, desktop logo, carousel and menu correction pass. */
@media (min-width: 1101px) {
  .site-header .brand-lockup {
    width: 104px;
  }

  .site-header .brand-mark {
    width: 74px;
  }

  .site-header .brand-word {
    width: 88px;
  }
}

@media (min-width: 1101px) {
  html.presentation-mode .site-footer {
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    color: #ffffff !important;
    background: #080c0c !important;
    border-top-color: rgba(255, 255, 255, 0.16) !important;
    transform: translate3d(0, var(--presentation-offset, 0px), 0) !important;
  }

  html.presentation-mode .site-footer .container {
    width: min(var(--container), calc(100% - var(--gutter) * 2));
  }

  .project-carousel .project-grid {
    scroll-snap-type: x proximity !important;
    scroll-behavior: smooth;
  }

  .site-header .header-icon-link,
  .object-detail-page .site-header .header-icon-link {
    color: #ffffff !important;
  }

  .site-header .header-icon-link svg,
  .site-header .header-icon-link .lucide,
  .site-header .header-icon-link [data-lucide],
  .object-detail-page .site-header .header-icon-link svg,
  .object-detail-page .site-header .header-icon-link .lucide,
  .object-detail-page .site-header .header-icon-link [data-lucide] {
    color: #ffffff !important;
    stroke: #ffffff !important;
  }

  .object-detail-page .object-hero__content .button {
    border-color: rgba(119, 83, 54, 0.34) !important;
    background: #8f6d4f !important;
    color: #fffaf3 !important;
    box-shadow: none !important;
  }

  .object-detail-page .object-hero__content .button:hover {
    transform: translateY(-1px);
    border-color: rgba(119, 83, 54, 0.5) !important;
    background: #b9936f !important;
    box-shadow: none !important;
  }
}

@media (max-width: 760px) {
  .mobile-menu__links {
    padding: 2px 0 18px !important;
  }

  .mobile-menu .mobile-menu__links > a:not(.mobile-menu__action),
  .mobile-menu .mobile-menu__links > button:not(.mobile-menu__action) {
    justify-content: flex-start !important;
    min-height: 52px !important;
    padding: 0 8px 0 18px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(48, 40, 33, 0.1) !important;
    border-radius: 0 !important;
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    text-align: left !important;
  }

  .mobile-menu .mobile-menu__links > a:not(.mobile-menu__action):last-child,
  .mobile-menu .mobile-menu__links > button:not(.mobile-menu__action):last-child {
    border-bottom: 0 !important;
  }

  .mobile-menu .mobile-menu__links > a:not(.mobile-menu__action):hover,
  .mobile-menu .mobile-menu__links > button:not(.mobile-menu__action):hover {
    transform: none !important;
    background: transparent !important;
  }

  .mobile-menu .mobile-menu__links > .nav-external {
    gap: 8px !important;
  }
}

@media (min-width: 761px) {
  html.standard-scroll-page,
  html.standard-scroll-page body,
  html:has(body.object-detail-page),
  html:has(body.objects-page),
  html:has(body.privacy-page),
  body.object-detail-page,
  body.objects-page,
  body.privacy-page {
    overscroll-behavior-y: auto !important;
  }
}

/* Recovered follow-up: ARTKOM Dom link, safe-area, smooth rail, glass partners, and compact brown footer. */
:root {
  --footer-brown: #603620;
  --object-first-block-bg: #f6f4ef;
}

.nav-external {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-external .lucide,
.nav-external [data-lucide],
.nav-external svg {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  stroke-width: 2;
}

.project-carousel .project-grid,
.project-carousel .project-grid:focus,
.project-carousel .project-grid:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.project-carousel .project-grid {
  scroll-snap-type: none !important;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.project-carousel .project-card,
.projects .project-card,
.projects .project-card:focus-visible {
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
  outline: none !important;
}

.logo-wall {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(0, 0, 0, 0.28) !important;
  -webkit-backdrop-filter: blur(16px) saturate(150%) !important;
  backdrop-filter: blur(16px) saturate(150%) !important;
}

.logo-card {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.045)),
    rgba(0, 0, 0, 0.24) !important;
  -webkit-backdrop-filter: blur(14px) saturate(155%) !important;
  backdrop-filter: blur(14px) saturate(155%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 34px rgba(0, 0, 0, 0.18) !important;
}

.logo-wall .logo-card img {
  filter: saturate(1.02) brightness(1.03);
}

.site-footer {
  padding: 30px 0 !important;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: var(--footer-brown) !important;
  background-color: var(--footer-brown) !important;
  background-image: none !important;
}

.footer__grid {
  gap: 24px;
  align-items: center;
}

.footer-logo {
  width: 76px;
  margin-bottom: 12px;
}

.site-footer p {
  font-size: 13px;
  line-height: 1.45;
}

.site-footer nav,
.site-footer div:last-child {
  gap: 8px;
  font-size: 13px;
}

.object-detail-page .object-hero__content .button {
  border: 1px solid rgba(119, 83, 54, 0.34) !important;
  background: #8f6d4f !important;
  color: #fffaf3 !important;
  box-shadow: none !important;
}

.object-detail-page .object-hero__content .button:hover {
  transform: translateY(-1px);
  border-color: rgba(119, 83, 54, 0.5) !important;
  background: #b9936f !important;
  box-shadow: none !important;
}

@media (min-width: 1101px) {
  .site-header .brand-lockup {
    width: 98px !important;
  }

  .site-header .brand-mark {
    width: 70px !important;
  }

  .site-header .brand-word {
    width: 82px !important;
  }
}

@media (min-width: 1101px) {
  .desktop-nav .nav-external {
    white-space: nowrap;
  }

  html.presentation-mode .site-footer {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 30px 0 !important;
    color: #ffffff !important;
    background: var(--footer-brown) !important;
    background-color: var(--footer-brown) !important;
    background-image: none !important;
    border-top-color: rgba(255, 255, 255, 0.12) !important;
    transform: translate3d(0, var(--presentation-offset, 0px), 0) !important;
  }

  html.presentation-mode.presentation-live-animating .site-footer {
    background: var(--footer-brown) !important;
    background-color: var(--footer-brown) !important;
    background-image: none !important;
  }

  html.presentation-mode .site-footer .container {
    width: min(var(--container), calc(100% - var(--gutter) * 2));
  }
}

@media (max-width: 760px) {
  body.object-detail-page {
    background: var(--object-first-block-bg);
  }

  body.object-detail-page::before {
    background: var(--object-first-block-bg) !important;
    border-bottom: 0 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .site-header .brand {
    width: 78px !important;
  }

  .site-header .brand-lockup {
    width: 54px !important;
  }

  .site-header .brand-mark {
    width: 44px !important;
  }

  .site-header .brand-word {
    width: 54px !important;
  }

  .mobile-menu .mobile-menu__links > .nav-external {
    gap: 8px !important;
  }

  .mobile-menu .mobile-menu__links > .nav-external .lucide,
  .mobile-menu .mobile-menu__links > .nav-external [data-lucide],
  .mobile-menu .mobile-menu__links > .nav-external svg {
    width: 14px !important;
    height: 14px !important;
  }

  .site-footer {
    padding: 28px 0 !important;
  }
}

/* Phone popover, consent guard, and independent partner cards. */
.header-phone-popover[hidden] {
  display: none !important;
}

.header-phone-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 64px;
  z-index: 130;
  display: grid;
  gap: 8px;
  min-width: 220px;
  padding: 14px 16px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045)),
    rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  backdrop-filter: blur(18px) saturate(155%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 44px rgba(0, 0, 0, 0.24);
}

.header-phone-popover span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-phone-popover a {
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.header-phone-popover .phone-popover__schedule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 0;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.header-phone-popover .phone-popover__schedule svg,
.header-phone-popover .phone-popover__schedule [data-lucide] {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  color: #ffc27c;
}

.header-phone-popover .phone-popover__schedule span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.header-phone-link,
.header-phone-link.is-open,
.header-phone-link.is-expanded {
  justify-content: center !important;
  width: 44px !important;
  padding: 0 !important;
}

.header-phone-link.is-open {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.header-phone-link .header-phone-number,
.header-phone-link.is-open .header-phone-number,
.header-phone-link.is-expanded .header-phone-number {
  max-width: 0 !important;
  margin-right: 0 !important;
  opacity: 0 !important;
}

.callback-form .form-consent.is-invalid {
  border-color: rgba(255, 176, 122, 0.76) !important;
  background:
    linear-gradient(180deg, rgba(255, 176, 122, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.22) !important;
}

.callback-form .form-consent.is-invalid .form-consent__box {
  border-color: rgba(255, 176, 122, 0.92) !important;
  box-shadow:
    0 0 0 3px rgba(255, 176, 122, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.logo-wall {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

.logo-wall::before {
  content: none !important;
}

.logo-card {
  border: 1px solid var(--glass-final-border) !important;
  border-radius: var(--radius) !important;
  background: var(--glass-final-bg) !important;
  -webkit-backdrop-filter: var(--glass-final-blur) !important;
  backdrop-filter: var(--glass-final-blur) !important;
  box-shadow: var(--glass-shadow) !important;
}

@media (max-width: 760px) {
  .header-phone-popover {
    display: none !important;
  }
}

/* Header action parity, partner glass parity, and centered consent tick. */
.site-header .header-actions > .header-icon-link,
.site-header .header-actions > .header-phone-link,
.site-header .header-actions > .header-phone-link.is-open,
.site-header .header-actions > .header-phone-link.is-expanded {
  box-sizing: border-box !important;
  flex: 0 0 44px !important;
  inline-size: 44px !important;
  block-size: 44px !important;
  min-inline-size: 44px !important;
  min-block-size: 44px !important;
  padding: 0 !important;
  border-width: 1px !important;
}

.site-header .header-actions > .header-phone-link.is-open {
  transform: none;
}

.logo-card {
  border: 1px solid var(--glass-final-border) !important;
  border-radius: var(--radius) !important;
  background: var(--glass-final-bg) !important;
  -webkit-backdrop-filter: var(--glass-final-blur) !important;
  backdrop-filter: var(--glass-final-blur) !important;
  box-shadow: var(--glass-shadow) !important;
}

.callback-form .form-consent__box::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  transform: translate(-50%, -58%) rotate(-45deg) scale(0.82);
  transform-origin: center;
}

.callback-form .form-consent input:checked + .form-consent__box::after {
  transform: translate(-50%, -58%) rotate(-45deg) scale(1);
}

.contact-list .contact-list__schedule {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.contact-list .contact-list__schedule::before {
  content: none !important;
}

.contact-list .contact-list__schedule svg,
.contact-list .contact-list__schedule [data-lucide] {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: #ffc27c;
}

/* Smaller desktop header logo and matte partner logo cards. */
@media (min-width: 1101px) {
  .site-header .brand-lockup {
    width: 90px !important;
  }

  .site-header .brand-mark {
    width: 64px !important;
  }

  .site-header .brand-word {
    width: 76px !important;
  }
}

.partners .section-copy,
.logo-card {
  border: 1px solid rgba(67, 57, 45, 0.36) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.14) 48%, rgba(255, 194, 124, 0.14)),
    rgba(45, 35, 27, 0.3) !important;
  -webkit-backdrop-filter: blur(20px) saturate(145%) !important;
  backdrop-filter: blur(20px) saturate(145%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 22px 64px rgba(0, 0, 0, 0.2) !important;
}

.logo-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.logo-card img {
  position: relative;
  z-index: 1;
}

.logo-card {
  border: 1px solid rgba(47, 39, 31, 0.58) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.22) 46%, rgba(255, 194, 124, 0.2)),
    rgba(98, 75, 53, 0.58) !important;
  -webkit-backdrop-filter: blur(22px) saturate(138%) !important;
  backdrop-filter: blur(22px) saturate(138%) !important;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    inset 0 -24px 52px rgba(92, 62, 36, 0.18) !important;
}

.logo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(239, 224, 199, 0.18);
  pointer-events: none;
}

@media (min-width: 1101px) {
  .services .services__header {
    display: flex !important;
    justify-content: center;
    width: min(720px, calc(100% - 64px)) !important;
    max-width: 720px !important;
    margin-right: auto;
    margin-bottom: 32px;
    margin-left: auto;
    padding: 28px 34px !important;
    text-align: center;
  }

  .services .services__header > div {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .services .services__header h2 {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 1100px) {
  html.presentation-mode,
  html.presentation-mode body,
  html.presentation-mode main {
    height: auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
    scroll-snap-type: none !important;
  }

  html.presentation-mode main,
  html.presentation-mode .site-footer {
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
    contain: none !important;
  }

  html.presentation-mode main > .section-with-bg,
  html.presentation-mode .site-footer {
    height: auto !important;
  }
}

/* Object pages, legal consent flow, and privacy page polish. */
html:has(body.object-detail-page),
html:has(body.privacy-page) {
  background: #f6f4ef;
}

body.object-detail-page,
body.privacy-page,
.object-detail-main,
.privacy-main {
  background: #f6f4ef !important;
}

body.object-detail-page::before,
body.privacy-page::before {
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.object-detail-main {
  overflow: visible !important;
}

@media (min-width: 1101px) {
  .object-detail-page .object-hero {
    display: flex;
    align-items: center;
    min-height: 100svh;
    padding: clamp(96px, 12vh, 118px) 0 clamp(34px, 5vh, 56px) !important;
  }

  .object-detail-page .object-hero > .container {
    display: grid;
    gap: clamp(16px, 2vh, 24px);
  }

  .object-detail-page .object-back {
    margin-bottom: 0;
  }

  .object-detail-page .object-hero__grid {
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.82fr);
    gap: clamp(28px, 4vw, 54px);
    align-items: center;
  }

  .object-detail-page .object-hero__image img {
    max-height: min(420px, 48vh);
  }

  .object-detail-page .object-hero__content {
    gap: clamp(10px, 1.55vh, 16px);
  }

  .object-detail-page .object-hero__content h1 {
    font-size: clamp(3.1rem, 5.7vw, 5.1rem);
    line-height: 0.94;
  }

  .object-detail-page .object-address {
    line-height: 1.45;
  }

  .object-detail-page .object-facts {
    gap: 8px;
    margin: 2px 0 4px;
  }

  .object-detail-page .object-facts div {
    padding-top: 10px;
  }

  .object-detail-page .object-hero__content .button {
    min-height: 54px;
  }
}

@media (min-width: 1101px) and (max-height: 820px) {
  .object-detail-page .site-header {
    top: 12px;
  }

  .object-detail-page .object-hero {
    padding-top: 84px !important;
    padding-bottom: 32px !important;
  }

  .object-detail-page .object-back {
    font-size: 0.82rem;
  }

  .object-detail-page .object-hero__image img {
    max-height: min(350px, 44vh);
  }

  .object-detail-page .object-hero__content h1 {
    font-size: clamp(2.9rem, 5vw, 4.45rem);
  }

  .object-detail-page .object-address {
    font-size: 1rem;
    line-height: 1.35;
  }

  .object-detail-page .object-facts dd {
    line-height: 1.32;
  }
}

.object-media--videos {
  padding: clamp(34px, 5.5vw, 68px) 0 !important;
}

.object-media--videos .object-section-head {
  margin-bottom: 18px;
}

.object-video--featured {
  max-width: min(980px, 100%);
  margin: 0 auto;
}

.object-video__frame {
  aspect-ratio: 16 / 8.4;
  max-height: min(470px, 58vh);
}

.object-video__meta {
  padding: 14px 18px;
}

.object-video-strip {
  grid-auto-columns: minmax(160px, 220px);
  padding: 0 18px 16px;
}

.object-video-thumb {
  min-height: 68px;
  padding: 10px 12px;
}

@media (min-width: 1101px) and (max-height: 820px) {
  .object-media--videos {
    padding-top: 34px !important;
    padding-bottom: 42px !important;
  }

  .object-video--featured {
    max-width: 860px;
  }

  .object-video__frame {
    max-height: 420px;
  }

  .object-section-head h2 {
    font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  }
}

.advantages__header,
.projects__header {
  justify-items: center;
  text-align: center;
}

.projects__header {
  grid-template-columns: 1fr !important;
}

.advantages__header .section-label,
.projects__header .section-label {
  justify-content: center;
}

.advantages__header p,
.projects__header p {
  margin-right: auto;
  margin-left: auto;
}

.callback-form .button[type="submit"]:disabled {
  opacity: 0.46;
  cursor: not-allowed;
  filter: saturate(0.65);
  transform: none !important;
  box-shadow: none !important;
}

.callback-form .button[type="submit"]:disabled:hover {
  background: var(--accent);
  border-color: transparent;
  transform: none !important;
}

.callback-form .form-consent__text a {
  color: #ffc27c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 280ms step-end !important;
}

.modal.is-open {
  transition:
    opacity 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0ms step-start !important;
}

.modal__backdrop {
  opacity: 0;
  transition:
    opacity 300ms cubic-bezier(0.22, 0.61, 0.36, 1),
    backdrop-filter 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.modal.is-open .modal__backdrop {
  opacity: 1;
}

.modal__panel {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.965);
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1) !important;
  will-change: opacity, transform;
}

.modal.is-open .modal__panel {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.callback-form--modal {
  max-height: calc(100svh - 44px);
  overflow-y: auto;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(8, 14, 15, 0.86) !important;
}

@media (max-width: 760px) {
  .modal {
    align-items: flex-start;
    overflow-y: auto;
    padding: 12px;
  }

  .modal__panel {
    width: min(100%, 420px);
    margin: 12px 0;
  }

  .callback-form--modal {
    max-height: calc(100svh - 24px);
    padding: 26px 18px 20px !important;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.065)),
      rgba(8, 14, 15, 0.92) !important;
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    backdrop-filter: blur(30px) saturate(150%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal,
  .modal__backdrop,
  .modal__panel {
    transition: none !important;
  }

  .modal__panel,
  .modal.is-open .modal__panel {
    transform: none;
  }
}

.privacy-page {
  min-width: 320px;
  color: #17201f;
}

.privacy-page .site-header {
  position: sticky;
  top: 18px;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 13, 14, 0.82) !important;
}

.privacy-hero {
  padding: clamp(118px, 12vw, 152px) 0 clamp(52px, 8vw, 96px);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.78fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.privacy-summary,
.privacy-document {
  border: 1px solid rgba(67, 57, 45, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.42)),
    rgba(255, 249, 240, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 24px 70px rgba(42, 49, 45, 0.12);
}

.privacy-summary {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 18px;
  padding: clamp(26px, 4vw, 38px);
}

.privacy-summary h1 {
  margin: 0;
  color: #17201f;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.2vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.privacy-summary p {
  margin: 0;
  color: #5a625f;
  font-weight: 700;
}

.privacy-document {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 4vw, 46px);
}

.privacy-document section + section {
  padding-top: 24px;
  border-top: 1px solid rgba(23, 32, 31, 0.12);
}

.privacy-document h2 {
  margin: 0 0 12px;
  color: #17201f;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.privacy-document p {
  margin: 0;
  color: #3f4d49;
  font-size: 1rem;
  line-height: 1.72;
}

.privacy-document p + p {
  margin-top: 12px;
}

.privacy-document a {
  color: #8d4e18;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-summary {
    position: relative;
    top: auto;
  }
}

/* Follow-up: true centered advantage header and non-fullscreen object hero. */
.advantages__header {
  display: grid !important;
  justify-items: center !important;
  text-align: center !important;
}

.advantages__header .section-label {
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
  justify-content: center;
}

.advantages__header h2 {
  width: min(560px, 100%);
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center;
}

.advantages__header p {
  width: min(680px, 100%);
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center;
}

@media (min-width: 1101px) {
  .object-detail-page .object-hero {
    display: block !important;
    align-items: initial !important;
    min-height: 0 !important;
    padding: 128px 0 clamp(52px, 8vw, 96px) !important;
  }

  .object-detail-page .object-hero > .container {
    display: block !important;
    gap: normal !important;
  }

  .object-detail-page .object-back {
    margin-bottom: 22px !important;
  }

  .object-detail-page .object-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
    gap: clamp(26px, 5vw, 58px);
    align-items: center;
  }

  .object-detail-page .object-hero__image img {
    max-height: min(420px, 52vh);
  }
}

@media (min-width: 1101px) and (max-height: 820px) {
  .object-detail-page .object-hero {
    padding-top: 128px !important;
    padding-bottom: 44px !important;
  }

  .object-detail-page .object-hero__image img {
    max-height: min(340px, 44vh);
  }

  .object-detail-page .object-hero__content {
    gap: 10px;
  }

  .object-detail-page .object-hero__content h1 {
    font-size: clamp(2.7rem, 4.8vw, 4.2rem);
  }

  .object-detail-page .object-address {
    font-size: 1rem;
    line-height: 1.35;
  }

  .object-detail-page .object-facts {
    gap: 7px;
    margin: 0 0 4px;
  }

  .object-detail-page .object-hero__content .button {
    min-height: 52px;
  }
}

/* Privacy page and object video alignment follow-up. */
.privacy-page .site-header {
  position: fixed !important;
  top: 0 !important;
}

.privacy-hero {
  padding: clamp(126px, 12vw, 156px) 0 clamp(52px, 8vw, 92px) !important;
}

.privacy-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: clamp(22px, 3.5vw, 34px) !important;
  width: min(980px, calc(100% - var(--gutter) * 2)) !important;
  max-width: 980px !important;
}

.privacy-summary {
  position: relative !important;
  top: auto !important;
  overflow: hidden;
  gap: 14px !important;
  padding: clamp(26px, 4.5vw, 46px) !important;
}

.privacy-summary h1 {
  width: min(840px, 100%) !important;
  max-width: 100% !important;
  font-size: clamp(2.25rem, 5vw, 4.35rem) !important;
  line-height: 1.03 !important;
  overflow-wrap: break-word;
}

.privacy-summary p {
  max-width: 680px;
}

.privacy-summary__date {
  color: #8d4e18 !important;
  font-weight: 800 !important;
}

.privacy-summary .button {
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  border-color: rgba(96, 54, 32, 0.45) !important;
  background:
    linear-gradient(180deg, rgba(156, 116, 82, 0.96), rgba(96, 54, 32, 0.96)),
    #603620 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 16px 34px rgba(96, 54, 32, 0.18) !important;
  color: #fff !important;
  white-space: normal;
}

.privacy-summary .button:hover,
.privacy-summary .button:focus-visible {
  border-color: rgba(96, 54, 32, 0.58) !important;
  background:
    linear-gradient(180deg, rgba(137, 96, 65, 0.98), rgba(84, 45, 26, 0.98)),
    #542d1a !important;
}

.privacy-document {
  width: 100%;
  padding: clamp(24px, 4vw, 44px) !important;
}

.privacy-document section {
  min-width: 0;
}

.object-video--featured {
  width: min(920px, 100%);
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.object-video__frame {
  width: 100%;
  aspect-ratio: 16 / 9 !important;
  max-height: none !important;
  overflow: hidden;
}

.object-video__frame iframe {
  width: 100%;
  min-width: 100%;
  background: #101719;
}

@media (min-width: 1101px) and (max-height: 820px) {
  .object-video--featured {
    width: min(840px, 100%);
  }
}

@media (max-width: 760px) {
  .privacy-hero {
    padding-top: 112px !important;
  }

  .privacy-layout {
    width: min(100% - 32px, 980px) !important;
  }

  .privacy-summary h1,
  .privacy-summary .button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere;
  }

  .privacy-summary .button {
    white-space: normal !important;
    text-align: center;
  }

  .privacy-summary .button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .advantage-strip,
  .advantage-strip article {
    box-shadow: none !important;
    filter: none !important;
  }

  .advantage-strip article {
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
      rgba(168, 132, 92, 0.78) !important;
    -webkit-backdrop-filter: blur(8px) saturate(125%) !important;
    backdrop-filter: blur(8px) saturate(125%) !important;
  }

  .advantage-strip article::before,
  .advantage-strip article::after {
    content: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
}

/* Narrow mobile audit: support folded-width screens below the old 320px floor. */
@media (max-width: 360px) {
  html,
  body,
  body.object-detail-page,
  body.privacy-page {
    width: 100%;
    max-width: 100%;
    min-width: 0 !important;
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 24px, 430px);
  }

  .modal {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  .callback-form--modal {
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  .button,
  .hero__actions .button,
  .object-detail-page .object-hero__content .button,
  .privacy-summary .button {
    min-width: 0;
  }

  .privacy-layout {
    width: min(100% - 24px, 980px) !important;
  }

  .privacy-summary {
    padding: clamp(22px, 8vw, 30px) !important;
  }

  .privacy-summary h1 {
    font-size: clamp(1.55rem, 8vw, 2.2rem) !important;
    line-height: 1.08 !important;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: auto;
  }

  .privacy-summary .button {
    padding-right: 14px;
    padding-left: 14px;
  }

  .privacy-document {
    padding: clamp(20px, 7vw, 28px) !important;
  }

  .section-copy h2,
  .services__header h2,
  .advantages__header h2,
  .projects__header h2,
  .partners .section-copy h2,
  .contact-copy h2,
  .object-section-head h2,
  .form-consent__text {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 300px) {
  .hero h1 {
    font-size: clamp(2rem, 11vw, 2.4rem);
  }

  .privacy-summary h1 {
    font-size: clamp(1.35rem, 7.8vw, 1.55rem) !important;
  }

  .button {
    gap: 8px;
    padding-right: 14px;
    padding-left: 14px;
  }
}

/* Ultra-compact typography: only for very narrow or short mobile screens. */
@media (max-width: 340px), (max-width: 380px) and (max-height: 620px) {
  .hero__copy p,
  .section-copy p,
  .services__header p,
  .projects__header p,
  .advantages__header p,
  .partners .section-copy p,
  .contact-copy p,
  .service-card p,
  .advantage-strip p,
  .project-card p,
  .contact-list a,
  .contact-list span,
  .callback-form label,
  .callback-form input,
  .callback-form select,
  .callback-form textarea,
  .form-consent__text,
  .object-address,
  .object-facts dd,
  .object-scope p,
  .object-section-head p,
  .privacy-document p {
    font-size: calc(1em - 1px);
  }

  .hero h1 {
    font-size: clamp(1.95rem, 10vw, 2.35rem) !important;
  }

  .section-copy h2,
  .services__header h2,
  .advantages__header h2,
  .projects__header h2,
  .partners .section-copy h2,
  .contact-copy h2,
  .competence-panel h2,
  .object-section-head h2 {
    font-size: clamp(1.65rem, 8.4vw, 2.08rem) !important;
  }

  .object-hero__content h1 {
    font-size: clamp(2.1rem, 12vw, 2.9rem) !important;
  }

  .privacy-summary h1 {
    font-size: clamp(1.42rem, 7.4vw, 1.75rem) !important;
  }

  .service-card h3,
  .advantage-strip h3,
  .project-card h3,
  .callback-form h3,
  .privacy-document h2 {
    font-size: calc(1em - 2px);
  }
}

@media (max-width: 300px) {
  .object-hero__content h1 {
    font-size: clamp(1.95rem, 11.5vw, 2.35rem) !important;
  }

  .section-copy h2,
  .services__header h2,
  .advantages__header h2,
  .projects__header h2,
  .partners .section-copy h2,
  .contact-copy h2,
  .competence-panel h2,
  .object-section-head h2 {
    font-size: clamp(1.48rem, 8vw, 1.85rem) !important;
  }
}

/* All objects directory and developer credit. */
.footer-developer {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.footer-developer > span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 700;
}

.site-footer .studio-logo,
.contact-developer .studio-logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  width: fit-content;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid rgba(243, 231, 215, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f3e7d7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 26px rgba(0, 0, 0, 0.14);
}

.contact-developer-wrap {
  position: absolute;
  right: 0;
  bottom: clamp(22px, 3.1vw, 44px);
  left: 50%;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  padding: 0;
  pointer-events: none;
  transform: translateX(-50%);
}

.contact-developer {
  display: grid;
  gap: 8px;
  justify-items: start;
  pointer-events: auto;
}

.contact-developer > span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 800;
}

.contact-developer .studio-logo {
  border-color: rgba(243, 231, 215, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.studio-logo__dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #f3e7d7;
}

.studio-logo__dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(243, 231, 215, 0.82);
  border-radius: inherit;
}

.all-objects-main {
  background: #f6f4ef;
  color: #17201f;
}

body.object-detail-page,
body.objects-page {
  margin: 0 !important;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html:has(body.object-detail-page),
html:has(body.objects-page) {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.object-detail-page .object-hero__content {
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr) !important;
}

body[data-object="lwop-cabines"] .object-hero__content h1 {
  max-width: 14ch;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1;
}

body.object-detail-page .object-hero__content h1 {
  max-width: 14ch;
  font-size: clamp(2.05rem, 4vw, 3.4rem) !important;
  line-height: 1.06;
}

body.object-detail-page .object-scope h2,
body.object-detail-page .object-section-head h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.375rem) !important;
  line-height: 1.12;
}

body.object-detail-page[data-object="lwop-cabines"] .object-hero__content h1 {
  font-size: clamp(1.95rem, 3.4vw, 3.15rem) !important;
}

.object-fact--label-hidden {
  gap: 0 !important;
}

.object-fact--label-hidden dd {
  margin-top: 0;
}

@media (min-width: 1101px) {
  body.object-detail-page .object-hero > .container {
    max-width: min(var(--container), calc(100vw - var(--gutter) * 2));
  }
}

.all-objects-hero {
  padding: clamp(142px, 14vw, 190px) 0 clamp(34px, 6vw, 60px);
}

.all-objects-back {
  margin-bottom: clamp(30px, 5vw, 58px);
}

.all-objects-head {
  display: grid;
  gap: 14px;
  max-width: 940px;
}

.all-objects-head h1 {
  margin: 0;
  color: #111817;
  font-family: var(--font-display);
  max-width: 13ch;
  font-size: clamp(2.15rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.all-objects-head p {
  max-width: 620px;
  margin: 0;
  color: #55625f;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.all-objects-list {
  padding: 0 0 clamp(70px, 10vw, 112px);
}

.all-objects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  align-items: stretch;
}

.all-objects-grid .project-card {
  min-height: 348px;
  box-shadow: none !important;
  filter: none !important;
}

.all-objects-grid .project-card:hover {
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

.all-objects-grid .project-card span {
  color: #ffc27c;
  font-size: 11.5px;
  font-weight: 850;
  text-shadow:
    0 1px 8px rgba(0, 0, 0, 0.52),
    0 0 12px rgba(255, 194, 124, 0.22);
}

.all-objects-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(24px, 4vw, 42px);
}

.all-objects-pagination[hidden] {
  display: none !important;
}

.all-objects-pagination button {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid rgba(23, 32, 31, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #17201f;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.all-objects-pagination button.is-active {
  border-color: rgba(96, 54, 32, 0.42);
  background: #603620;
  color: #fffaf3;
}

@media (max-width: 980px) {
  .all-objects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .projects__actions {
    justify-content: stretch;
  }

  .projects__actions .button {
    width: 100%;
  }

  .footer-developer {
    align-items: start;
  }

  .all-objects-hero {
    padding-top: calc(108px + env(safe-area-inset-top, 0px));
  }

  .all-objects-head {
    max-width: min(100%, 560px);
  }

  .all-objects-head h1 {
    max-width: 11ch;
    font-size: clamp(1.78rem, 8.2vw, 2.55rem);
    line-height: 1.04;
  }

  .all-objects-head p {
    max-width: 34ch;
    font-size: clamp(0.92rem, 4vw, 1.05rem);
    line-height: 1.55;
  }

  .all-objects-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .all-objects-grid .project-card {
    width: min(100%, 520px);
    max-width: calc(100vw - 40px);
    min-height: 0;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 340px) {
  .all-objects-head h1 {
    font-size: clamp(1.62rem, 8.6vw, 2.1rem);
  }

  .all-objects-grid .project-card {
    max-width: calc(100vw - 24px);
  }

  .site-footer .studio-logo {
    max-width: 100%;
    font-size: 14px;
  }
}

/* Follow-up: small-laptop project fit, acoustic gallery lightbox, and dark all-objects header. */
@media (min-width: 1101px) {
  .projects .project-card {
    height: clamp(340px, 37vh, 380px) !important;
    min-height: clamp(340px, 37vh, 380px) !important;
    max-height: clamp(340px, 37vh, 380px) !important;
    grid-template-rows: clamp(170px, 24vh, 230px) minmax(0, 1fr) !important;
  }

  .projects .project-card div {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    overflow: hidden;
    padding: clamp(14px, 1.2vw, 17px) 18px clamp(15px, 1.2vw, 18px) !important;
  }

  .projects .project-card p {
    flex: 0 0 auto;
    margin-top: 9px;
  }

  .projects .project-card span {
    align-self: flex-start;
    width: 100%;
    margin-top: 10px;
  }
}

@media (min-width: 1101px) and (max-height: 820px) {
  .projects__header {
    max-width: min(720px, calc(100vw - var(--gutter) * 2));
    margin-bottom: 12px !important;
    padding: 24px 34px !important;
  }

  .projects__header h2 {
    font-size: clamp(2.2rem, 3.6vw, 3.25rem) !important;
    line-height: 1;
  }

  .projects__header p {
    max-width: 610px;
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .project-carousel {
    margin-top: 8px;
  }

  .project-carousel .project-grid {
    padding-top: 4px !important;
    padding-bottom: 8px !important;
  }

  .projects .project-card {
    height: clamp(260px, 37vh, 292px) !important;
    min-height: clamp(260px, 37vh, 292px) !important;
    max-height: clamp(260px, 37vh, 292px) !important;
    grid-template-rows: 150px minmax(0, 1fr) !important;
  }

  .projects .project-card img {
    height: 150px !important;
    min-height: 0 !important;
    object-fit: cover;
  }

  .projects .project-card div {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    padding: 11px 14px 12px !important;
  }

  .projects .project-card h3 {
    font-size: 15px;
    line-height: 1.16;
  }

  .projects .project-card p {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.32;
    -webkit-line-clamp: 2;
  }

  .projects .project-card span {
    margin-top: 7px;
    font-size: 10.5px;
    line-height: 1.25;
    -webkit-line-clamp: 2;
  }

  .projects__actions {
    margin-top: 12px;
  }

  .projects__actions .button {
    min-height: 46px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

.objects-page .site-header {
  border-color: rgba(255, 255, 255, 0.2) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 13, 14, 0.82) !important;
  -webkit-backdrop-filter: blur(28px) saturate(150%) !important;
  backdrop-filter: blur(28px) saturate(150%) !important;
}

.objects-page .desktop-nav a {
  color: rgba(255, 255, 255, 0.84);
}

.objects-page .desktop-nav a:hover {
  color: var(--white);
}

body.object-detail-page[data-object="lwop-cabines"] .object-media--photos .container {
  max-width: min(920px, calc(100vw - var(--gutter) * 2));
}

body.object-detail-page[data-object="lwop-cabines"] .object-media--photos {
  padding-top: clamp(36px, 6vw, 72px);
}

body.object-detail-page[data-object="lwop-cabines"] .object-photo {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
}

.object-photo__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.object-photo__button img {
  display: block;
}

.object-photo__button:focus-visible {
  outline: 2px solid rgba(255, 194, 124, 0.9);
  outline-offset: 4px;
}

.object-media__grid--photo-sections {
  gap: clamp(30px, 5vw, 54px);
}

.object-media__grid--photo-tabs {
  gap: 0;
}

.object-gallery {
  overflow: hidden;
  border: 1px solid rgba(23, 32, 31, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(243, 238, 229, 0.68));
  box-shadow: 0 24px 70px rgba(17, 23, 25, 0.12);
}

.object-gallery--tabbed {
  width: min(1120px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.object-gallery-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: clamp(14px, 2.6vw, 24px);
  border-bottom: 1px solid rgba(23, 32, 31, 0.1);
  background: rgba(255, 255, 255, 0.42);
  scrollbar-width: thin;
  scrollbar-color: rgba(141, 78, 24, 0.45) rgba(23, 32, 31, 0.06);
}

.object-gallery-mobile-select {
  display: none;
}

.object-gallery-tab {
  display: grid;
  min-width: min(240px, 70vw);
  padding: 14px 16px;
  text-align: left;
  color: #283632;
  border: 1px solid rgba(23, 32, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.object-gallery-tab span {
  min-width: 0;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 850;
  line-height: 1.15;
}

.object-gallery-tab small {
  margin-top: 6px;
  color: #8d4e18;
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1;
}

.object-gallery-tab.is-active {
  color: var(--white);
  border-color: rgba(240, 122, 33, 0.36);
  background: linear-gradient(135deg, #17201f, #293936);
  box-shadow: 0 18px 44px rgba(17, 23, 25, 0.18);
}

.object-gallery-tab.is-active small {
  color: #ffc27c;
}

.object-gallery-tab:focus-visible {
  outline: 2px solid rgba(240, 122, 33, 0.9);
  outline-offset: 3px;
}

.object-gallery__panel {
  padding-top: clamp(14px, 2.2vw, 24px);
}

.object-gallery__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
  padding: clamp(20px, 4vw, 34px);
}

.object-gallery__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #8d4e18;
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.object-gallery__head h3 {
  margin: 0;
  color: #17201f;
  font-size: clamp(1.75rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.object-gallery__head p {
  max-width: 760px;
  margin: 14px 0 0;
  color: #4c5956;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.65;
}

.object-gallery__total {
  justify-self: end;
  padding: 8px 12px;
  color: #17201f;
  border: 1px solid rgba(23, 32, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.object-gallery__viewer {
  position: relative;
  height: clamp(390px, 56vw, 680px);
  margin: 0 clamp(12px, 2vw, 24px);
  overflow: hidden;
  border-radius: 8px;
  background: radial-gradient(circle at 18% 14%, rgba(255, 194, 124, 0.18), transparent 32%),
    linear-gradient(135deg, #0b1112, #1d2524);
}

.object-gallery__stage {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.object-gallery__stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(5, 8, 9, 0.32), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.object-gallery__stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 180ms ease, transform 220ms ease;
}

.object-gallery__zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(8, 13, 14, 0.62);
  cursor: zoom-in;
  opacity: 0.92;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}

.object-gallery__zoom svg,
.object-gallery__zoom [data-lucide] {
  width: 20px;
  height: 20px;
}

.object-gallery__stage:focus-visible {
  outline: 2px solid rgba(255, 194, 124, 0.9);
  outline-offset: -4px;
}

.object-gallery__zoom:focus-visible {
  outline: 2px solid rgba(255, 194, 124, 0.9);
  outline-offset: 3px;
}

.object-gallery__nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(8, 13, 14, 0.58);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.object-gallery__nav--prev {
  left: 16px;
}

.object-gallery__nav--next {
  right: 16px;
}

.object-gallery__nav svg,
.object-gallery__nav [data-lucide] {
  width: 22px;
  height: 22px;
}

.object-gallery__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 18px clamp(20px, 4vw, 34px) 8px;
}

.object-gallery--tabbed .object-gallery__meta {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
}

.object-gallery__meta p {
  margin: 0;
  color: #24312f;
  font-size: 0.95rem;
  line-height: 1.55;
}

.object-gallery__meta span {
  color: #8d4e18;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.45;
  white-space: nowrap;
}

.object-gallery--tabbed .object-gallery__meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 7px 11px;
  color: #17201f;
  border: 1px solid rgba(23, 32, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.object-gallery__thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 16px clamp(20px, 4vw, 34px) clamp(20px, 4vw, 34px);
  scrollbar-width: thin;
  scrollbar-color: rgba(141, 78, 24, 0.5) rgba(23, 32, 31, 0.08);
}

.object-gallery__thumb {
  flex: 0 0 92px;
  width: 92px;
  height: 68px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #111719;
  opacity: 0.62;
  transition: opacity 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.object-gallery__thumb.is-active {
  border-color: #f07a21;
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(240, 122, 33, 0.18);
}

.object-gallery__thumb:focus-visible {
  outline: 2px solid rgba(240, 122, 33, 0.9);
  outline-offset: 3px;
}

@media (hover: hover) {
  .object-gallery__stage:hover::after {
    opacity: 1;
  }

  .object-gallery__stage:hover img {
    transform: scale(1.012);
  }

  .object-gallery__stage:hover .object-gallery__zoom {
    transform: translateY(-2px) scale(1.04);
    background: rgba(8, 13, 14, 0.78);
    opacity: 1;
  }

  .object-gallery__nav:hover {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(8, 13, 14, 0.76);
  }

  .object-gallery__nav--prev:hover {
    transform: translate(-2px, -50%);
  }

  .object-gallery__nav--next:hover {
    transform: translate(2px, -50%);
  }

  .object-gallery__thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
  }

  .object-gallery-tab:hover {
    border-color: rgba(240, 122, 33, 0.34);
    transform: translateY(-2px);
  }
}

body.photo-lightbox-open {
  overflow: hidden;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(8px, 1.6vw, 18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.photo-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.photo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 9, 10, 0.94);
  cursor: zoom-out;
}

.photo-lightbox__panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  width: min(1800px, 98vw);
  max-height: 96vh;
  transform: translateY(10px) scale(0.985);
  transition: transform 180ms ease;
}

.photo-lightbox.is-open .photo-lightbox__panel {
  transform: translateY(0) scale(1);
}

.photo-lightbox__panel img {
  display: block;
  width: 100%;
  max-height: calc(96vh - 16px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.photo-lightbox__nav[hidden],
.photo-lightbox__counter[hidden] {
  display: none !important;
}

.photo-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(8, 13, 14, 0.68);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transform: translateY(-50%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.photo-lightbox__nav--prev {
  left: 14px;
}

.photo-lightbox__nav--next {
  right: 14px;
}

.photo-lightbox__nav svg,
.photo-lightbox__nav [data-lucide] {
  width: 24px;
  height: 24px;
}

.photo-lightbox__counter {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  min-width: 68px;
  padding: 8px 12px;
  color: var(--white);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(8, 13, 14, 0.66);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1;
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}

@media (hover: hover) {
  .photo-lightbox__nav:hover {
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(8, 13, 14, 0.82);
  }

  .photo-lightbox__nav--prev:hover {
    transform: translate(-2px, -50%);
  }

  .photo-lightbox__nav--next:hover {
    transform: translate(2px, -50%);
  }
}

.photo-lightbox__panel p:empty {
  display: none;
}

.photo-lightbox__panel p {
  margin: 0;
  color: rgba(255, 250, 242, 0.92);
  font-size: 0.94rem;
  line-height: 1.5;
}

.photo-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(8, 13, 14, 0.72);
  color: var(--white);
  cursor: pointer;
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}

.photo-lightbox__close .lucide,
.photo-lightbox__close [data-lucide] {
  width: 20px;
  height: 20px;
}

@media (max-width: 760px) {
  body.object-detail-page[data-object="lwop-cabines"] .object-media--photos .container {
    max-width: min(100% - 32px, 430px);
  }

  .object-gallery-tabs {
    display: none;
  }

  .object-gallery-mobile-select {
    position: relative;
    z-index: 6;
    display: block;
    padding: 10px;
    border-bottom: 1px solid rgba(23, 32, 31, 0.1);
    background: rgba(255, 255, 255, 0.46);
  }

  .object-gallery-mobile-select__button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    justify-items: start;
    width: 100%;
    min-height: 46px;
    padding: 9px 12px;
    color: #17201f;
    text-align: left;
    border: 1px solid rgba(23, 32, 31, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 28px rgba(17, 23, 25, 0.08);
  }

  .object-gallery-mobile-select__button span,
  .object-gallery-mobile-select__option span {
    display: grid;
    justify-items: start;
    min-width: 0;
    width: 100%;
    text-align: left;
  }

  .object-gallery-mobile-select__button strong,
  .object-gallery-mobile-select__option span {
    display: block;
    overflow: hidden;
    font-size: 0.98rem;
    font-weight: 850;
    line-height: 1.12;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .object-gallery-mobile-select__button small,
  .object-gallery-mobile-select__option small {
    justify-self: start;
    margin-top: 4px;
    color: #8d4e18;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
    text-align: left;
  }

  .object-gallery-mobile-select__button svg,
  .object-gallery-mobile-select__button [data-lucide] {
    box-sizing: border-box;
    width: 34px;
    height: 34px;
    padding: 7px;
    border: 1px solid rgba(141, 78, 24, 0.28);
    border-radius: 9px;
    color: #8d4e18;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.16)),
      rgba(141, 78, 24, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 180ms ease;
  }

  .object-gallery-mobile-select.is-open .object-gallery-mobile-select__button svg,
  .object-gallery-mobile-select.is-open .object-gallery-mobile-select__button [data-lucide] {
    transform: rotate(180deg);
  }

  .object-gallery-mobile-select__menu {
    position: absolute;
    top: calc(100% - 4px);
    right: 10px;
    left: 10px;
    z-index: 7;
    display: grid;
    justify-items: stretch;
    gap: 6px;
    max-height: 0;
    overflow: hidden;
    padding: 0 8px;
    border: 1px solid rgba(23, 32, 31, 0);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 54px rgba(17, 23, 25, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    -webkit-backdrop-filter: blur(18px) saturate(155%);
    backdrop-filter: blur(18px) saturate(155%);
    transition: max-height 220ms ease, padding 220ms ease, opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
  }

  .object-gallery-mobile-select.is-open .object-gallery-mobile-select__menu {
    max-height: 240px;
    padding: 8px;
    border-color: rgba(23, 32, 31, 0.12);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .object-gallery-mobile-select__option {
    display: grid;
    justify-items: start;
    min-height: 42px;
    padding: 8px 10px;
    color: #24312f;
    text-align: left;
    border: 1px solid rgba(23, 32, 31, 0.08);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.72);
  }

  .object-gallery-mobile-select__option.is-active {
    color: var(--white);
    border-color: rgba(240, 122, 33, 0.34);
    background: linear-gradient(135deg, #17201f, #293936);
  }

  .object-gallery-mobile-select__option.is-active small {
    color: #ffc27c;
  }

  .object-gallery-mobile-select__button:focus-visible,
  .object-gallery-mobile-select__option:focus-visible {
    outline: 2px solid rgba(240, 122, 33, 0.9);
    outline-offset: 2px;
  }

  .object-gallery__head,
  .object-gallery__meta {
    grid-template-columns: 1fr;
  }

  .object-gallery--tabbed .object-gallery__meta {
    justify-content: flex-start;
    padding: 12px 20px 0;
  }

  .object-gallery__total {
    justify-self: start;
  }

  .object-gallery__viewer {
    height: clamp(250px, 74vw, 420px);
    margin: 0 10px;
  }

  .object-gallery__stage {
    cursor: grab;
    touch-action: pan-y;
  }

  .object-gallery__stage:active {
    cursor: grabbing;
  }

  .object-gallery__nav {
    width: 40px;
    height: 40px;
  }

  .object-gallery__nav--prev {
    left: 10px;
  }

  .object-gallery__nav--next {
    right: 10px;
  }

  .object-gallery__zoom {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .object-gallery__thumb {
    flex-basis: 76px;
    width: 76px;
    height: 58px;
  }

  .photo-lightbox {
    padding: 8px;
  }

  .photo-lightbox__panel {
    width: 100%;
    touch-action: pan-y;
  }

  .photo-lightbox__panel img {
    max-height: calc(96vh - 16px);
  }

  .photo-lightbox__nav {
    display: none !important;
  }

  .photo-lightbox__counter {
    right: 12px;
    bottom: 12px;
    min-width: 62px;
    padding: 7px 10px;
    font-size: 0.8rem;
  }

  .photo-lightbox__close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
}

/* Standard narrow-phone typography: small iPhone widths get calmer headings without making body copy tiny. */
@media (max-width: 390px) {
  .hero h1 {
    font-size: clamp(32px, 9.5vw, 42px) !important;
  }

  .section-copy h2,
  .services__header h2,
  .advantages__header h2,
  .projects__header h2,
  .partners .section-copy h2,
  .contact-copy h2,
  .competence-panel h2 {
    font-size: clamp(23px, 7.5vw, 32px) !important;
  }

  .hero__copy p,
  .section-copy p,
  .services__header p,
  .advantages__header p,
  .projects__header p,
  .partners .section-copy p,
  .contact-copy p,
  .contact-list a,
  .contact-list span {
    font-size: 15px;
  }

  .service-card h3,
  .advantage-strip h3,
  .project-card h3,
  .callback-form h3 {
    font-size: 14px;
  }

  .service-card p,
  .advantage-strip p,
  .project-card p {
    font-size: 12px;
  }

  body.object-detail-page .object-hero__content h1 {
    font-size: clamp(30px, 4vw, 52px) !important;
  }

  body.object-detail-page .object-scope h2,
  body.object-detail-page .object-section-head h2,
  .object-gallery__head h3 {
    font-size: clamp(27.5px, 7.1vw, 36px) !important;
  }

  .object-address,
  .object-facts dd,
  .object-scope p,
  .object-section-head p,
  .object-gallery__head p {
    font-size: 15px;
  }

  .all-objects-head h1 {
    font-size: clamp(26px, 7.4vw, 38px) !important;
  }

  .all-objects-head p,
  .privacy-document p {
    font-size: 15px;
  }

  .privacy-summary h1 {
    font-size: clamp(24px, 7.5vw, 36px) !important;
  }

  .privacy-document h2 {
    font-size: clamp(17px, 5vw, 22px);
  }
}

/* Design services section. */
.services .services__header p {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 15px;
  line-height: 1.58;
}

.design-section {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: clamp(72px, 8vw, 112px) 0 clamp(64px, 7vw, 96px);
  color: var(--white);
  background: #17120d;
}

.design-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 14, 10, 0.92) 0%, rgba(18, 14, 10, 0.72) 38%, rgba(18, 14, 10, 0.28) 70%, rgba(18, 14, 10, 0.1) 100%),
    linear-gradient(180deg, rgba(18, 14, 10, 0.2) 0%, rgba(18, 14, 10, 0.08) 48%, rgba(18, 14, 10, 0.86) 100%);
}

.section-bg--design img {
  object-position: center center;
  filter: saturate(1.02) contrast(1.02) brightness(0.98);
}

.design-section__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
}

.design-section__intro,
.design-feature {
  border: 1px solid var(--glass-final-border);
  background: var(--glass-final-bg);
  -webkit-backdrop-filter: var(--glass-final-blur);
  backdrop-filter: var(--glass-final-blur);
  box-shadow: var(--glass-shadow);
}

.design-section__intro {
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--radius);
}

.design-section .section-label {
  color: var(--accent-2);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.42);
}

.design-section__intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.45);
}

.design-section__intro p {
  margin: 20px 0 0;
  color: var(--white-muted);
  font-size: 15px;
  line-height: 1.62;
}

.design-section__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.design-section__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 194, 124, 0.28);
  border-radius: 999px;
  color: #ffe0ba;
  background: rgba(255, 194, 124, 0.08);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.design-section__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.design-feature {
  min-height: 132px;
  padding: 20px;
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.design-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 194, 124, 0.48);
  background: rgba(0, 0, 0, 0.24);
}

.design-feature svg {
  width: 30px;
  height: 30px;
  color: var(--accent-2);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.design-feature h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
  color: var(--white);
}

.design-feature p {
  margin: 9px 0 0;
  color: var(--white-muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (min-width: 761px) {
  .design-section__grid {
    margin-top: auto;
    margin-bottom: auto;
  }
}

@media (min-width: 761px) and (max-height: 760px) {
  .design-section__intro {
    padding: 24px;
  }

  .design-section__intro h2 {
    font-size: clamp(26px, 2.7vw, 36px);
  }

  .design-section__intro p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.52;
  }

  .design-section__tags {
    margin-top: 18px;
  }

  .design-feature {
    min-height: 110px;
    padding: 17px;
  }

  .design-feature svg {
    width: 26px;
    height: 26px;
  }

  .design-feature h3 {
    margin-top: 10px;
    font-size: 14px;
  }

  .design-feature p {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.38;
  }
}

@media (max-width: 1100px) {
  .design-section__grid {
    grid-template-columns: 1fr;
  }

  .design-section__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .services .services__header p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.52;
  }

  .design-section {
    min-height: 0;
    padding: 88px 0 72px;
  }

  .design-section::before {
    background:
      linear-gradient(180deg, rgba(18, 14, 10, 0.92) 0%, rgba(18, 14, 10, 0.64) 45%, rgba(18, 14, 10, 0.94) 100%),
      linear-gradient(90deg, rgba(18, 14, 10, 0.76) 0%, rgba(18, 14, 10, 0.28) 100%);
  }

  .section-bg--design img {
    object-position: 50% center !important;
  }

  .design-section__grid {
    gap: 14px;
  }

  .design-section__intro {
    padding: 24px;
  }

  .design-section__intro h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .design-section__intro p {
    font-size: 15px;
    line-height: 1.54;
  }

  .design-section__features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .design-feature {
    min-height: 0;
    padding: 18px;
  }
}

@media (max-width: 390px) {
  .design-section__intro h2 {
    font-size: clamp(23px, 7.5vw, 32px) !important;
  }

  .design-section__intro p,
  .design-feature p {
    font-size: 14px;
  }

  .design-feature h3 {
    font-size: 14px;
  }
}

/* Design section narrow-phone typography: mirrors the sitewide mobile scale. */
@media (max-width: 390px) {
  .design-section {
    padding-top: 82px;
    padding-bottom: 64px;
  }

  .design-section__intro {
    padding: 22px;
  }

  .design-section .section-label {
    font-size: 11px;
  }

  .design-section__intro h2 {
    font-size: 30px !important;
    line-height: 1.06;
  }

  .design-section__intro p {
    font-size: 14px;
    line-height: 1.5;
  }

  .design-section__tags {
    gap: 7px;
    margin-top: 20px;
  }

  .design-section__tags span {
    min-height: 30px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .design-feature {
    padding: 16px;
  }

  .design-feature svg {
    width: 26px;
    height: 26px;
  }

  .design-feature h3 {
    margin-top: 11px;
    font-size: 14px;
    line-height: 1.16;
  }

  .design-feature p {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.42;
  }
}

@media (max-width: 340px), (max-width: 380px) and (max-height: 620px) {
  .design-section {
    padding-top: 76px;
    padding-bottom: 58px;
  }

  .design-section__grid {
    gap: 10px;
  }

  .design-section__intro {
    padding: 18px;
  }

  .design-section .section-label {
    font-size: 10.5px;
  }

  .design-section__intro h2 {
    font-size: 27px !important;
  }

  .design-section__intro p {
    font-size: 13px;
    line-height: 1.48;
  }

  .design-section__tags {
    gap: 6px;
    margin-top: 18px;
  }

  .design-section__tags span {
    min-height: 28px;
    padding: 6px 9px;
    font-size: 10.5px;
  }

  .design-feature {
    padding: 15px;
  }

  .design-feature svg {
    width: 24px;
    height: 24px;
  }

  .design-feature h3 {
    font-size: 13px;
  }

  .design-feature p {
    font-size: 11.5px;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .object-gallery__stage::after,
  .object-gallery__stage img,
  .object-gallery__zoom,
  .object-gallery__nav,
  .object-gallery__thumb,
  .object-gallery-mobile-select__button svg,
  .object-gallery-mobile-select__button [data-lucide],
  .object-gallery-mobile-select__menu,
  .photo-lightbox,
  .photo-lightbox__panel,
  .photo-lightbox__nav {
    transition: none !important;
  }
}

/* Header stability: keep homepage nav readable. */
body.home-page .site-header {
  border-color: rgba(239, 231, 216, 0.22) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(3, 7, 8, 0.38) !important;
}

body.home-page .site-header.is-scrolled {
  border-color: rgba(239, 231, 216, 0.26) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(3, 7, 8, 0.46) !important;
}

@media (min-width: 1101px) {
  html.presentation-mode.presentation-footer-animating,
  html.presentation-mode.presentation-footer-animating body,
  html.presentation-mode.presentation-footer-animating main {
    background: var(--footer-brown) !important;
    background-color: var(--footer-brown) !important;
  }
}

@media (min-width: 1101px) {
  html.presentation-mode body.home-page .site-header {
    border-color: rgba(239, 231, 216, 0.22) !important;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
      rgba(3, 7, 8, 0.38) !important;
  }

  html.presentation-mode body.home-page .site-header.is-scrolled {
    border-color: rgba(239, 231, 216, 0.26) !important;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
      rgba(3, 7, 8, 0.46) !important;
  }

}

@media (max-width: 760px) {
  .contact-developer-wrap {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    justify-content: flex-start;
    margin-top: 24px;
    transform: none;
  }
}

@media (max-width: 760px) {
  .contact-developer-wrap {
    width: min(var(--container), calc(100% - var(--gutter) * 2));
    margin-top: 22px;
  }

  .contact-developer {
    max-width: 100%;
  }

  .contact-developer .studio-logo {
    max-width: 100%;
    white-space: normal;
  }
}

/* Final design/mobile carousel polish. */
.design-feature {
  transition: none !important;
}

.design-feature:hover {
  transform: none !important;
  border-color: var(--glass-final-border) !important;
  background: var(--glass-final-bg) !important;
}

@media (max-width: 760px) {
  .service-cards,
  .process-list,
  .design-section__features {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: none;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: rgba(255, 255, 255, 0.34) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
  }

  .service-card,
  .process-list article,
  .design-feature {
    flex: 0 0 min(82vw, 340px);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .service-card,
  .design-feature {
    min-height: 176px;
  }

  .process-list article {
    min-height: 168px;
  }

  .service-cards,
  .process-list,
  .design-section__features,
  .service-card,
  .process-list article,
  .design-feature {
    box-shadow: none !important;
    filter: none !important;
  }

  .service-card::before,
  .service-card::after,
  .process-list article::before,
  .process-list article::after,
  .design-feature::before,
  .design-feature::after {
    content: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
}

@media (max-width: 340px), (max-width: 380px) and (max-height: 620px) {
  .service-card,
  .process-list article,
  .design-feature {
    flex-basis: min(84vw, 300px);
  }
}

/* Final design-section mobile typography: match the established mobile scale. */
@media (max-width: 760px) {
  .design-section__intro h2 {
    font-size: clamp(28px, 3.35vw, 42px) !important;
    line-height: 1.08;
  }

  .design-section__intro p {
    font-size: 14px !important;
    line-height: 1.5;
  }
}

@media (max-width: 390px) {
  .design-section__intro h2 {
    font-size: clamp(23px, 7.5vw, 32px) !important;
    line-height: 1.08;
  }

  .design-section__intro p {
    font-size: 13px !important;
    line-height: 1.48;
  }
}

@media (max-width: 340px), (max-width: 380px) and (max-height: 620px) {
  .design-section__intro h2 {
    font-size: clamp(1.65rem, 8.4vw, 2.08rem) !important;
  }

  .design-section__intro p {
    font-size: 12.5px !important;
    line-height: 1.46;
  }
}

@media (max-width: 300px) {
  .design-section__intro h2 {
    font-size: clamp(1.48rem, 8vw, 1.85rem) !important;
  }
}

/* Contacts developer credit: desktop/tablet only, hard-pinned to section corner. */
#contacts.contact {
  position: relative !important;
}

#contacts .contact-developer-wrap {
  position: absolute !important;
  right: clamp(18px, 2vw, 34px) !important;
  bottom: clamp(18px, 2vw, 34px) !important;
  left: auto !important;
  z-index: 4;
  display: flex;
  justify-content: flex-end !important;
  width: auto !important;
  max-width: min(360px, calc(100% - 36px));
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
  transform: none !important;
}

@media (max-width: 760px) {
  #contacts .contact-developer-wrap {
    display: none !important;
  }
}

/* Native homepage snap presentation: real page scroll, full-screen sections. */
html.presentation-mode {
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: none !important;
  scroll-behavior: smooth !important;
  scroll-padding-top: 0 !important;
  scroll-snap-type: y mandatory !important;
}

html.presentation-mode.presentation-no-smooth {
  scroll-behavior: auto !important;
}

html.presentation-mode body.home-page {
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  overscroll-behavior-y: none !important;
}

html.presentation-mode body.home-page main,
html.presentation-mode body.home-page .site-footer {
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
  contain: initial !important;
}

html.presentation-mode body.home-page main {
  position: relative;
  z-index: 1;
}

html.presentation-mode body.home-page main > section,
html.presentation-mode body.home-page .site-footer {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

html.presentation-mode body.home-page .site-footer {
  min-height: 0 !important;
  height: auto !important;
  scroll-snap-align: end;
}

html.presentation-mode body.home-page main > .section-with-bg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh !important;
  min-height: 100svh !important;
  height: 100vh !important;
  height: 100svh !important;
  overflow: hidden !important;
}

@supports (height: 100dvh) {
  html.presentation-mode body.home-page main > .section-with-bg {
    min-height: 100dvh !important;
    height: 100dvh !important;
  }
}

@media (max-width: 760px) {
  html.presentation-mode body.home-page main > .section-with-bg {
    gap: 12px;
    padding: calc(76px + env(safe-area-inset-top, 0px)) 0 max(14px, env(safe-area-inset-bottom, 0px)) !important;
  }

  html.presentation-mode body.home-page main > .section-with-bg > .container,
  html.presentation-mode body.home-page .about__grid,
  html.presentation-mode body.home-page .engineering__grid,
  html.presentation-mode body.home-page .design-section__grid,
  html.presentation-mode body.home-page .partners__grid,
  html.presentation-mode body.home-page .contact__grid {
    max-height: calc(100svh - 98px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  }

  html.presentation-mode body.home-page .about__grid,
  html.presentation-mode body.home-page .partners__grid,
  html.presentation-mode body.home-page .contact__grid {
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  html.presentation-mode body.home-page .about__grid::-webkit-scrollbar,
  html.presentation-mode body.home-page .partners__grid::-webkit-scrollbar,
  html.presentation-mode body.home-page .contact__grid::-webkit-scrollbar {
    display: none;
  }

  html.presentation-mode body.home-page .hero.section-with-bg {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 10px;
    padding-top: calc(70px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)) !important;
  }

  html.presentation-mode body.home-page .hero__grid {
    min-height: 0;
    align-items: center;
  }

  html.presentation-mode body.home-page .hero__copy {
    padding: 16px;
  }

  html.presentation-mode body.home-page .hero h1 {
    font-size: clamp(28px, 8.4vw, 38px);
    line-height: 1.02;
  }

  html.presentation-mode body.home-page .hero__copy p {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.48;
  }

  html.presentation-mode body.home-page .hero__actions {
    gap: 8px;
    margin-top: 16px;
  }

  html.presentation-mode body.home-page .hero__actions .button {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 12.5px;
  }

  html.presentation-mode body.home-page .hero-proof {
    gap: 8px;
  }

  html.presentation-mode body.home-page .hero-proof article {
    grid-template-columns: 24px 1fr;
    min-height: 76px;
    padding: 10px;
  }

  html.presentation-mode body.home-page .hero-proof article svg,
  html.presentation-mode body.home-page .hero-proof article .lucide,
  html.presentation-mode body.home-page .hero-proof article [data-lucide] {
    width: 22px;
    height: 22px;
  }

  html.presentation-mode body.home-page .hero-proof strong {
    font-size: 13px;
    line-height: 1.12;
  }

  html.presentation-mode body.home-page .hero-proof span {
    font-size: 10.5px;
    line-height: 1.24;
  }

  html.presentation-mode body.home-page .scroll-hint {
    display: none !important;
  }

  html.presentation-mode body.home-page .about .section-copy,
  html.presentation-mode body.home-page .services__header,
  html.presentation-mode body.home-page .engineering .section-copy,
  html.presentation-mode body.home-page .design-section__intro,
  html.presentation-mode body.home-page .advantages__header,
  html.presentation-mode body.home-page .partners .section-copy,
  html.presentation-mode body.home-page .contact-copy,
  html.presentation-mode body.home-page .callback-form {
    padding: clamp(15px, 4.2vw, 22px);
  }

  html.presentation-mode body.home-page .services__header,
  html.presentation-mode body.home-page .projects__header,
  html.presentation-mode body.home-page .advantages__header {
    margin-bottom: 0;
  }

  html.presentation-mode body.home-page .services__header h2,
  html.presentation-mode body.home-page .engineering .section-copy h2,
  html.presentation-mode body.home-page .design-section__intro h2,
  html.presentation-mode body.home-page .advantages__header h2,
  html.presentation-mode body.home-page .projects__header h2,
  html.presentation-mode body.home-page .partners .section-copy h2,
  html.presentation-mode body.home-page .contact-copy h2 {
    margin-top: 10px;
  }

  html.presentation-mode body.home-page .services__header p,
  html.presentation-mode body.home-page .engineering .section-copy p,
  html.presentation-mode body.home-page .design-section__intro p,
  html.presentation-mode body.home-page .advantages__header p,
  html.presentation-mode body.home-page .projects__header p,
  html.presentation-mode body.home-page .partners .section-copy p,
  html.presentation-mode body.home-page .contact-copy p {
    margin-top: 12px;
  }

  html.presentation-mode body.home-page .mini-metrics,
  html.presentation-mode body.home-page .check-row,
  html.presentation-mode body.home-page .design-section__tags {
    margin-top: 14px;
    gap: 7px;
  }

  html.presentation-mode body.home-page .service-cards,
  html.presentation-mode body.home-page .process-list,
  html.presentation-mode body.home-page .design-section__features,
  html.presentation-mode body.home-page .advantage-strip {
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  html.presentation-mode body.home-page .service-cards::-webkit-scrollbar,
  html.presentation-mode body.home-page .process-list::-webkit-scrollbar,
  html.presentation-mode body.home-page .design-section__features::-webkit-scrollbar,
  html.presentation-mode body.home-page .advantage-strip::-webkit-scrollbar {
    display: none;
  }

  html.presentation-mode body.home-page .service-card,
  html.presentation-mode body.home-page .process-list article,
  html.presentation-mode body.home-page .design-feature,
  html.presentation-mode body.home-page .advantage-strip article {
    flex-basis: min(78vw, 318px);
    min-height: 150px;
    padding: 15px;
  }

  html.presentation-mode body.home-page .process-list article {
    min-height: 142px;
  }

  html.presentation-mode body.home-page .design-feature h3,
  html.presentation-mode body.home-page .process-list h3,
  html.presentation-mode body.home-page .service-card h3,
  html.presentation-mode body.home-page .advantage-strip h3 {
    margin-top: 10px;
  }

  html.presentation-mode body.home-page .project-carousel {
    margin-top: 12px;
  }

  html.presentation-mode body.home-page .project-card {
    flex-basis: min(82vw, 340px);
    grid-template-rows: minmax(138px, 34svh) minmax(0, auto);
  }

  html.presentation-mode body.home-page .project-card div {
    padding: 14px;
  }

  html.presentation-mode body.home-page .projects__actions {
    margin-top: 12px;
  }

  html.presentation-mode body.home-page .logo-wall {
    gap: 8px;
  }

  html.presentation-mode body.home-page .logo-card {
    height: 66px;
  }

  html.presentation-mode body.home-page .contact__grid {
    gap: 10px;
    align-content: start;
  }

  html.presentation-mode body.home-page .contact-list {
    gap: 7px;
    margin-top: 12px;
  }

  html.presentation-mode body.home-page .contact-list a,
  html.presentation-mode body.home-page .contact-list span {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 12px;
  }

  html.presentation-mode body.home-page .callback-form {
    gap: 8px;
  }

  html.presentation-mode body.home-page .callback-form h3 {
    font-size: 17px;
  }

  html.presentation-mode body.home-page .callback-form input,
  html.presentation-mode body.home-page .callback-form select,
  html.presentation-mode body.home-page .callback-form textarea {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 13px;
  }

  html.presentation-mode body.home-page .callback-form textarea {
    min-height: 54px;
  }
}

@media (max-width: 360px), (max-width: 390px) and (max-height: 700px) {
  html.presentation-mode body.home-page main > .section-with-bg {
    gap: 10px;
    padding-top: calc(66px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: max(10px, env(safe-area-inset-bottom, 0px)) !important;
  }

  html.presentation-mode body.home-page .hero h1 {
    font-size: clamp(25px, 8.2vw, 32px);
  }

  html.presentation-mode body.home-page .hero__copy p {
    font-size: 12.5px;
    line-height: 1.42;
  }

  html.presentation-mode body.home-page .hero-proof article {
    min-height: 68px;
    padding: 8px;
  }

  html.presentation-mode body.home-page .service-card,
  html.presentation-mode body.home-page .process-list article,
  html.presentation-mode body.home-page .design-feature,
  html.presentation-mode body.home-page .advantage-strip article {
    flex-basis: min(82vw, 292px);
    min-height: 138px;
  }

  html.presentation-mode body.home-page .logo-card {
    height: 58px;
  }
}

/* Client polish: denser mobile menu, small-phone scale, and stronger projects CTA. */
.projects__actions .button {
  border-color: rgba(255, 194, 124, 0.52) !important;
  background:
    linear-gradient(135deg, rgba(126, 83, 45, 0.96), rgba(76, 48, 30, 0.94)),
    #5f3b25 !important;
  color: #fff8ee !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 38px rgba(30, 17, 8, 0.28) !important;
}

.projects__actions .button:hover {
  border-color: rgba(255, 194, 124, 0.72) !important;
  background:
    linear-gradient(135deg, rgba(148, 95, 48, 0.98), rgba(88, 54, 32, 0.96)),
    #6b4228 !important;
}

@media (max-width: 760px) {
  .mobile-menu {
    top: calc(68px + env(safe-area-inset-top, 0px)) !important;
    left: 12px !important;
    right: 12px !important;
    max-height: calc(100svh - 80px - env(safe-area-inset-top, 0px)) !important;
    padding: 14px !important;
    border-radius: 18px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-menu::-webkit-scrollbar {
    display: none;
  }

  .mobile-menu__links {
    padding: 0 0 12px !important;
  }

  .mobile-menu .mobile-menu__links > a:not(.mobile-menu__action),
  .mobile-menu .mobile-menu__links > button:not(.mobile-menu__action) {
    min-height: 43px !important;
    padding: 0 8px 0 14px !important;
    font-size: 14.5px !important;
    line-height: 1.1 !important;
  }

  .mobile-menu__actions {
    gap: 8px !important;
    padding-top: 12px !important;
  }

  .mobile-menu__action {
    min-height: 46px !important;
    padding: 0 8px !important;
    border-radius: 11px !important;
    font-size: 13px !important;
  }

  .mobile-menu__action .lucide,
  .mobile-menu__action [data-lucide],
  .mobile-menu__action svg {
    width: 17px !important;
    height: 17px !important;
  }
}

@media (max-width: 380px), (max-width: 430px) and (max-height: 740px) {
  :root {
    --gutter: clamp(15px, 4.8vw, 20px);
  }

  .site-header .brand,
  .menu-toggle {
    height: 48px !important;
  }

  .site-header .brand {
    width: 100px !important;
    padding: 8px 10px !important;
  }

  .menu-toggle {
    width: 48px !important;
  }

  .mobile-menu {
    top: calc(62px + env(safe-area-inset-top, 0px)) !important;
    left: 10px !important;
    right: 10px !important;
    max-height: calc(100svh - 70px - env(safe-area-inset-top, 0px)) !important;
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .mobile-menu .mobile-menu__links > a:not(.mobile-menu__action),
  .mobile-menu .mobile-menu__links > button:not(.mobile-menu__action) {
    min-height: 38px !important;
    padding-left: 12px !important;
    font-size: 13.2px !important;
  }

  .mobile-menu__actions {
    gap: 7px !important;
    padding-top: 10px !important;
  }

  .mobile-menu__action {
    min-height: 42px !important;
    font-size: 12.3px !important;
  }

  .section-label {
    font-size: 10px !important;
  }

  .section-copy h2,
  .services__header h2,
  .engineering .section-copy h2,
  .design-section__intro h2,
  .advantages__header h2,
  .projects__header h2,
  .partners .section-copy h2,
  .contact-copy h2,
  .objects-hero h1,
  .object-hero__content h1 {
    font-size: clamp(23px, 7.35vw, 30px) !important;
    line-height: 1.08 !important;
  }

  .section-copy p,
  .services__header p,
  .engineering .section-copy p,
  .design-section__intro p,
  .advantages__header p,
  .projects__header p,
  .partners .section-copy p,
  .contact-copy p,
  .object-hero__content p,
  .objects-hero p,
  .project-card p,
  .object-card p,
  .service-card p,
  .process-list p,
  .design-feature p,
  .advantage-strip p {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }

  .button,
  .button--large,
  .object-detail-page .object-hero__content .button {
    min-height: 42px !important;
    padding-inline: 14px !important;
    font-size: 12px !important;
  }

  .callback-form,
  html.presentation-mode body.home-page .callback-form {
    gap: 7px !important;
    padding: 14px !important;
  }

  .callback-form h3 {
    font-size: 16px !important;
  }

  .callback-form label span,
  .form-consent__text {
    font-size: 10.5px !important;
  }

  .callback-form input,
  .callback-form select,
  .callback-form textarea {
    min-height: 38px !important;
    padding: 8px 9px !important;
    font-size: 12.5px !important;
  }

  .callback-form textarea {
    min-height: 48px !important;
  }

  html.presentation-mode body.home-page .about .section-copy,
  html.presentation-mode body.home-page .services__header,
  html.presentation-mode body.home-page .engineering .section-copy,
  html.presentation-mode body.home-page .design-section__intro,
  html.presentation-mode body.home-page .advantages__header,
  html.presentation-mode body.home-page .projects__header,
  html.presentation-mode body.home-page .partners .section-copy,
  html.presentation-mode body.home-page .contact-copy {
    padding: 14px !important;
  }

  html.presentation-mode body.home-page .service-card,
  html.presentation-mode body.home-page .process-list article,
  html.presentation-mode body.home-page .design-feature,
  html.presentation-mode body.home-page .advantage-strip article {
    flex-basis: min(80vw, 286px) !important;
    min-height: 132px !important;
    padding: 13px !important;
  }

  html.presentation-mode body.home-page .project-card {
    flex-basis: min(82vw, 292px) !important;
    min-height: 256px !important;
    max-height: 256px !important;
    grid-template-rows: 94px minmax(0, 1fr) !important;
  }

  html.presentation-mode body.home-page .projects__header {
    padding: 10px 12px !important;
  }

  html.presentation-mode body.home-page .projects__header h2 {
    font-size: clamp(20px, 6.45vw, 25px) !important;
    line-height: 1.04 !important;
  }

  html.presentation-mode body.home-page .projects__header p {
    display: -webkit-box !important;
    margin-top: 8px !important;
    overflow: hidden !important;
    font-size: 11.6px !important;
    line-height: 1.34 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  html.presentation-mode body.home-page .project-carousel {
    margin-top: 6px !important;
  }

  html.presentation-mode body.home-page .project-carousel .project-grid {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  html.presentation-mode body.home-page .projects .project-card img {
    height: 94px !important;
  }

  html.presentation-mode body.home-page .projects .project-card p {
    margin-top: 7px !important;
    font-size: 11.8px !important;
    line-height: 1.32 !important;
  }

  html.presentation-mode body.home-page .projects .project-card span {
    margin-top: 8px !important;
    font-size: 10.2px !important;
    line-height: 1.26 !important;
  }

  html.presentation-mode body.home-page .projects__actions {
    margin-top: 8px !important;
  }

  html.presentation-mode body.home-page .projects__actions .button {
    min-height: 40px !important;
  }

  .project-card h3,
  .object-card h3,
  .service-card h3,
  .process-list h3,
  .design-feature h3,
  .advantage-strip h3 {
    font-size: 13px !important;
    line-height: 1.18 !important;
  }

  .project-card div {
    padding: 12px !important;
  }
}

@media (min-width: 1101px) and (max-height: 820px) {
  html.presentation-mode body.home-page .services__header {
    max-width: min(900px, calc(100vw - var(--gutter) * 2)) !important;
    padding: 22px 32px !important;
  }

  html.presentation-mode body.home-page .services__header h2 {
    max-width: 820px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    font-size: clamp(2.05rem, 3.15vw, 2.65rem) !important;
    line-height: 0.98 !important;
  }

  html.presentation-mode body.home-page .services__header p {
    max-width: 720px !important;
    margin-top: 13px !important;
    font-size: 0.88rem !important;
    line-height: 1.42 !important;
  }

  html.presentation-mode body.home-page .services__grid {
    margin-top: 14px !important;
  }

  html.presentation-mode body.home-page .service-cards {
    gap: 12px !important;
  }

  html.presentation-mode body.home-page .service-card {
    min-height: 126px !important;
    padding: 13px 15px !important;
  }

  html.presentation-mode body.home-page .service-card svg,
  html.presentation-mode body.home-page .service-card .lucide,
  html.presentation-mode body.home-page .service-card [data-lucide] {
    width: 26px !important;
    height: 26px !important;
  }

  html.presentation-mode body.home-page .service-card h3 {
    margin-top: 10px !important;
    font-size: 13.2px !important;
    line-height: 1.16 !important;
  }

  html.presentation-mode body.home-page .service-card p {
    display: -webkit-box !important;
    margin-top: 7px !important;
    overflow: hidden !important;
    font-size: 11.4px !important;
    line-height: 1.32 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  html.presentation-mode body.home-page .contact__grid {
    gap: 28px !important;
  }

  html.presentation-mode body.home-page .contact-copy,
  html.presentation-mode body.home-page .callback-form {
    padding: 16px 20px !important;
  }

  html.presentation-mode body.home-page .contact-copy h2 {
    font-size: clamp(2.25rem, 4vw, 3.35rem) !important;
    line-height: 1 !important;
  }

  html.presentation-mode body.home-page .contact-copy p {
    margin-top: 12px !important;
    font-size: 0.94rem !important;
    line-height: 1.42 !important;
  }

  html.presentation-mode body.home-page .contact-list {
    gap: 8px !important;
    margin-top: 14px !important;
  }

  html.presentation-mode body.home-page .contact-list a,
  html.presentation-mode body.home-page .contact-list span {
    min-height: 42px !important;
    padding: 10px 12px !important;
    font-size: 0.82rem !important;
  }

  html.presentation-mode body.home-page .callback-form {
    gap: 8px !important;
  }

  html.presentation-mode body.home-page .callback-form h3 {
    font-size: 1.12rem !important;
  }

  html.presentation-mode body.home-page .callback-form input,
  html.presentation-mode body.home-page .callback-form select,
  html.presentation-mode body.home-page .callback-form textarea {
    min-height: 38px !important;
    padding: 8px 10px !important;
    font-size: 0.84rem !important;
  }

  html.presentation-mode body.home-page .callback-form textarea {
    min-height: 50px !important;
    height: 50px !important;
    max-height: 50px !important;
  }

  html.presentation-mode body.home-page .callback-form label span,
  html.presentation-mode body.home-page .form-consent__text {
    font-size: 0.64rem !important;
    line-height: 1.32 !important;
  }

  html.presentation-mode body.home-page .contact-developer {
    margin-top: 10px !important;
  }

  html.presentation-mode body.home-page #contacts .contact-developer-wrap {
    bottom: 92px !important;
  }
}

@media (max-width: 340px) and (max-height: 620px) {
  html.presentation-mode body.home-page .projects__header {
    padding: 9px 11px !important;
  }

  html.presentation-mode body.home-page .projects__header h2 {
    font-size: clamp(19px, 6vw, 22px) !important;
    line-height: 1.02 !important;
  }

  html.presentation-mode body.home-page .projects__header p {
    margin-top: 6px !important;
    font-size: 11px !important;
    line-height: 1.28 !important;
    -webkit-line-clamp: 1 !important;
  }

  html.presentation-mode body.home-page .project-carousel {
    margin-top: 2px !important;
  }

  html.presentation-mode body.home-page .project-carousel .project-grid {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  html.presentation-mode body.home-page .project-card {
    min-height: 226px !important;
    max-height: 226px !important;
    grid-template-rows: 80px minmax(0, 1fr) !important;
  }

  html.presentation-mode body.home-page .projects .project-card img {
    height: 80px !important;
  }

  html.presentation-mode body.home-page .projects .project-card div {
    padding: 9px 10px !important;
  }

  html.presentation-mode body.home-page .projects .project-card h3 {
    font-size: 12.2px !important;
    line-height: 1.12 !important;
  }

  html.presentation-mode body.home-page .projects .project-card p {
    margin-top: 5px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  html.presentation-mode body.home-page .projects .project-card span {
    margin-top: 5px !important;
    font-size: 9.8px !important;
    line-height: 1.2 !important;
  }

  html.presentation-mode body.home-page .projects__actions {
    margin-top: 4px !important;
  }

  html.presentation-mode body.home-page .projects__actions .button {
    min-height: 36px !important;
    font-size: 11.2px !important;
  }
}

/* Final hero/mobile projects refinement after real-device review. */
.scroll-hint,
.design-section__tags {
  display: none !important;
}

@media (min-width: 761px) {
  html.presentation-mode body.home-page .hero.section-with-bg {
    position: relative !important;
  }

  html.presentation-mode body.home-page .hero__grid {
    transform: translateY(clamp(-42px, -4.4vh, -24px)) !important;
  }

  html.presentation-mode body.home-page .hero .hero-proof {
    position: absolute !important;
    right: auto !important;
    bottom: clamp(36px, 6.2vh, 82px) !important;
    left: 50% !important;
    width: min(var(--container), calc(100% - var(--gutter) * 2)) !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    z-index: 3;
  }
}

@media (min-width: 1101px) and (max-height: 820px) {
  html.presentation-mode body.home-page .hero .hero-proof {
    bottom: clamp(28px, 4.7vh, 42px) !important;
  }
}

@media (max-width: 760px) {
  :root {
    --mobile-form-side-gap: clamp(14px, 4vw, 20px);
    --mobile-gallery-gap: clamp(22px, 5.8svh, 54px);
    --projects-mobile-lift: clamp(-84px, -8.8svh, -52px);
  }

  html.presentation-mode body.home-page .hero.section-with-bg {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) !important;
    align-items: center !important;
    justify-items: center !important;
    gap: 0 !important;
    padding-top: calc(72px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html.presentation-mode body.home-page .hero__grid {
    display: grid !important;
    align-items: center !important;
    justify-items: center !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  html.presentation-mode body.home-page .hero__copy {
    width: min(calc(100vw - (var(--mobile-form-side-gap) * 2)), 520px) !important;
    margin: auto !important;
  }

  html.presentation-mode body.home-page .about .section-copy,
  html.presentation-mode body.home-page .services__header,
  html.presentation-mode body.home-page .engineering .section-copy,
  html.presentation-mode body.home-page .design-section__intro,
  html.presentation-mode body.home-page .advantages__header,
  html.presentation-mode body.home-page .projects__header,
  html.presentation-mode body.home-page .partners .section-copy,
  html.presentation-mode body.home-page .contact-copy,
  html.presentation-mode body.home-page .callback-form {
    box-sizing: border-box !important;
    width: min(calc(100vw - (var(--mobile-form-side-gap) * 2)), 100%) !important;
    max-width: calc(100vw - (var(--mobile-form-side-gap) * 2)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  html.presentation-mode body.home-page .service-cards,
  html.presentation-mode body.home-page .process-list,
  html.presentation-mode body.home-page .design-section__features,
  html.presentation-mode body.home-page .advantage-strip,
  html.presentation-mode body.home-page .project-carousel {
    box-sizing: border-box !important;
    width: min(calc(100vw - (var(--mobile-form-side-gap) * 2)), 100%) !important;
    max-width: calc(100vw - (var(--mobile-form-side-gap) * 2)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  html.presentation-mode body.home-page .hero-proof,
  .hero .hero-proof {
    display: none !important;
  }

  html.presentation-mode body.home-page .services__grid,
  html.presentation-mode body.home-page .process-list,
  html.presentation-mode body.home-page .design-section__features,
  html.presentation-mode body.home-page .advantage-strip,
  html.presentation-mode body.home-page .project-carousel {
    margin-top: var(--mobile-gallery-gap) !important;
  }

  html.presentation-mode body.home-page .projects .project-card {
    flex-basis: min(86vw, 380px) !important;
    min-height: clamp(292px, 38svh, 350px) !important;
    max-height: clamp(292px, 38svh, 350px) !important;
    grid-template-rows: calc(100% - 98px) 98px !important;
  }

  html.presentation-mode body.home-page .projects .project-card img {
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
  }

  html.presentation-mode body.home-page .projects .project-card div {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    padding: 10px 13px 11px !important;
  }

  html.presentation-mode body.home-page .projects .project-card h3 {
    overflow: hidden !important;
    font-size: clamp(14px, 4vw, 17px) !important;
    line-height: 1.08 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html.presentation-mode body.home-page .projects .project-card p {
    display: -webkit-box !important;
    margin-top: 5px !important;
    overflow: hidden !important;
    font-size: 12.2px !important;
    line-height: 1.25 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
  }

  html.presentation-mode body.home-page .projects .project-card span {
    display: -webkit-box !important;
    margin-top: auto !important;
    overflow: hidden !important;
    font-size: 10.4px !important;
    line-height: 1.2 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
  }

  html.presentation-mode body.home-page .project-carousel .project-arrow {
    /* Center arrows on the whole mobile project card, not only on the image area. */
    top: clamp(150px, calc(19svh + 4px), 179px) !important;
    transform: translateY(-50%) !important;
  }

  html.presentation-mode body.home-page .project-carousel .project-arrow:hover {
    transform: translateY(-50%) !important;
  }

  html.presentation-mode body.home-page #projects .projects__header,
  html.presentation-mode body.home-page #projects .project-carousel,
  html.presentation-mode body.home-page #projects .projects__actions {
    translate: 0 var(--projects-mobile-lift);
  }
}

@media (max-width: 380px), (max-width: 430px) and (max-height: 740px) {
  :root {
    --mobile-form-side-gap: clamp(10px, 3.75vw, 14px);
    --mobile-gallery-gap: clamp(14px, 4svh, 26px);
    --projects-mobile-lift: clamp(-52px, -7svh, -34px);
  }

  html.presentation-mode body.home-page .hero.section-with-bg {
    padding-top: calc(66px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html.presentation-mode body.home-page .projects .project-card {
    min-height: clamp(220px, 35svh, 272px) !important;
    max-height: clamp(220px, 35svh, 272px) !important;
    grid-template-rows: calc(100% - 82px) 82px !important;
  }

  html.presentation-mode body.home-page .projects .project-card div {
    padding: 9px 11px 10px !important;
  }

  html.presentation-mode body.home-page .projects .project-card h3 {
    font-size: 13px !important;
    line-height: 1.08 !important;
  }

  html.presentation-mode body.home-page .projects .project-card p {
    margin-top: 4px !important;
    font-size: 11.4px !important;
    line-height: 1.22 !important;
  }

  html.presentation-mode body.home-page .projects .project-card span {
    font-size: 9.9px !important;
    line-height: 1.18 !important;
  }

  html.presentation-mode body.home-page .project-carousel .project-arrow {
    top: clamp(114px, calc(17.5svh + 4px), 140px) !important;
  }
}

@media (max-width: 340px) and (max-height: 620px) {
  :root {
    --mobile-form-side-gap: 10px;
    --mobile-gallery-gap: 8px;
    --projects-mobile-lift: -34px;
  }

  html.presentation-mode body.home-page .hero.section-with-bg {
    padding-top: calc(60px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html.presentation-mode body.home-page .projects .project-card {
    min-height: 198px !important;
    max-height: 198px !important;
    grid-template-rows: calc(100% - 70px) 70px !important;
  }

  html.presentation-mode body.home-page .projects .project-card div {
    padding: 8px 10px !important;
  }

  html.presentation-mode body.home-page .projects .project-card h3 {
    font-size: 12px !important;
  }

  html.presentation-mode body.home-page .projects .project-card p {
    margin-top: 3px !important;
    font-size: 10.8px !important;
  }

  html.presentation-mode body.home-page .projects .project-card span {
    font-size: 9.4px !important;
  }

  html.presentation-mode body.home-page .project-carousel .project-arrow {
    top: 103px !important;
  }
}

/* Keep mobile browsers from zooming into feedback fields on focus. */
@media (max-width: 760px) {
  .callback-form input,
  .callback-form select,
  .callback-form textarea,
  html.presentation-mode body.home-page .callback-form input,
  html.presentation-mode body.home-page .callback-form select,
  html.presentation-mode body.home-page .callback-form textarea {
    font-size: 16px !important;
    line-height: 1.25 !important;
  }
}

/* Keep the MChS licence visually distinct from the Engineering partner overview. */
.engineering .section-copy .engineering__license {
  margin-top: 12px !important;
}
