:root {
  --green-950: #071912;
  --green-900: #0b2b1f;
  --green-800: #064d35;
  --green-700: #0d694a;
  --gold: #d7ad23;
  --gold-2: #e6c75e;
  --paper: #ffffff;
  --milk: #f4f2ea;
  --warm: #ebe7dc;
  --ink: #14231c;
  --muted: #66736c;
  --line: rgba(20, 35, 28, 0.13);
  --shadow: 0 22px 70px rgba(7, 25, 18, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--milk);
  font-family: Manrope, Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body.is-modal-open {
  overflow: hidden;
}

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

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

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

.page {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 242, 234, 0.96);
  border-bottom: 1px solid rgba(20, 35, 28, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: 100%;
  max-width: 1240px;
  min-height: 76px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 198px;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.site-menu,
.page-switch {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--green-950);
  font-size: 15px;
  font-weight: 700;
}

.site-menu {
  flex: 1;
  justify-content: center;
}

.site-menu a,
.page-switch a {
  padding: 26px 0 24px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.site-menu a:hover,
.page-switch a:hover,
.page-switch a[aria-current="page"] {
  border-color: var(--gold);
  color: var(--green-800);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  font-weight: 800;
  color: var(--green-950);
}

.page-switch {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  overflow-x: auto;
  scrollbar-width: thin;
  border-top: 1px solid rgba(20, 35, 28, 0.06);
  font-size: 14px;
}

.page-switch a {
  padding: 13px 0 11px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-950);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 46px;
  padding: 0 22px;
  font-size: 14px;
}

.button-wide {
  width: 100%;
}

.button-gold {
  background: var(--gold);
  color: var(--green-950);
  box-shadow: 0 16px 34px rgba(215, 173, 35, 0.23);
}

.button-dark {
  background: var(--green-800);
  color: var(--paper);
}

.button-light {
  background: var(--paper);
  color: var(--green-950);
}

.button-ghost-light {
  border-color: rgba(255, 255, 255, 0.56);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page[data-page="remont"] .hero-media {
  object-position: center center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 25, 18, 0.78) 0, rgba(7, 25, 18, 0.58) 34%, rgba(7, 25, 18, 0.28) 62%, rgba(7, 25, 18, 0.08) 100%),
    linear-gradient(180deg, rgba(7, 25, 18, 0.1), rgba(7, 25, 18, 0.28));
}

.hero::before {
  content: none;
}

.hero-content {
  min-height: 700px;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 860px;
  padding: 82px 0 92px;
}

.eyebrow,
.section-index {
  margin: 0 0 26px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 30px;
  font-size: 78px;
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

::highlight(hero-city) {
  color: var(--gold-2);
}

.hero-city-accent {
  color: var(--gold-2);
}

.hero-lead {
  width: min(760px, 100%);
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 20px;
  line-height: 1.72;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.quick-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: -56px;
}

.quick-card {
  min-height: 156px;
  padding: 24px;
  border: 0;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.quick-card span,
.quick-card small {
  display: block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-card span {
  margin-bottom: 14px;
  color: var(--gold);
}

.quick-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.quick-card small {
  color: inherit;
  opacity: 0.68;
  line-height: 1.45;
}

.quick-card-green {
  background: var(--green-800);
  color: var(--paper);
}

.quick-card-paper {
  background: var(--paper);
  color: var(--green-950);
}

.quick-card-dark {
  background: var(--green-950);
  color: var(--paper);
}

.section {
  padding: 78px 0;
}

.section-intro,
.projects-section,
.faq-section {
  background: var(--milk);
}

.formats-section,
.team-section,
.before-after-section {
  background: var(--warm);
}

.section-dark {
  background: var(--green-950);
  color: var(--paper);
}

#process {
  padding-top: 56px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(310px, 0.46fr) minmax(0, 0.7fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 36px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  margin-bottom: 36px;
}

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

.section-heading-centered {
  display: block;
  max-width: 720px;
  text-align: center;
}

.section-heading-centered > div,
.section-heading-centered h2,
.section-heading-centered > p {
  max-width: none;
}

.section-heading-centered > p {
  width: min(620px, 100%);
  margin: 12px auto 0;
}

.section-heading > p,
.section-lead {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.section-heading-light > p {
  color: rgba(255, 255, 255, 0.72);
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--green-950);
  font-size: 48px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.section-dark h2 {
  color: var(--paper);
}

h3 {
  margin-bottom: 14px;
  color: inherit;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.repair-story {
  position: relative;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 8px;
  height: clamp(420px, 42vw, 560px);
  background: transparent;
  box-shadow: var(--shadow);
}

.container.repair-story {
  padding: 0;
}

.repair-story img {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin-left: 0;
  object-fit: cover;
  object-position: center top;
}

.page[data-page="remont"] .repair-story img {
  object-position: center top;
}

.repair-story-caption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 520px;
  padding: 22px 24px;
  border-radius: 8px;
  background: rgba(7, 25, 18, 0.82);
  color: var(--paper);
  backdrop-filter: blur(12px);
}

.repair-story-caption span,
.project-card-meta span,
.calculator-result span,
.team-card span,
.package-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.repair-story-caption strong {
  display: block;
  font-size: 24px;
  line-height: 1.22;
}

.advantage-grid,
.package-grid,
.process-grid,
.team-grid {
  display: grid;
  gap: 18px;
}

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

.advantage-card,
.package-card,
.process-card,
.team-card,
.review,
.rating-box,
.ba-copy,
.lead-form,
.calculator-copy,
details {
  border-radius: 8px;
}

.advantage-card {
  min-height: 420px;
  padding: 18px;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}

.advantage-card-image,
.package-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  border-radius: 8px;
  object-fit: cover;
}

.advantage-card > span,
.process-card > span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-weight: 900;
}

.advantage-card p,
.package-card p,
.process-card p,
.team-card p,
.review p,
details p {
  color: var(--muted);
  line-height: 1.5;
}

.advantage-card-accent {
  background: var(--green-800);
  color: var(--paper);
}

.advantage-card-accent p {
  color: rgba(255, 255, 255, 0.72);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green-800);
  font-weight: 900;
  cursor: pointer;
}

.text-link:hover {
  color: var(--green-950);
}

.advantage-card-accent .text-link,
.section-dark .text-link {
  color: var(--gold-2);
}

.process-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  gap: 18px;
  margin-bottom: 26px;
}

.process-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  min-height: 340px;
  background: #10251c;
}

.process-gallery img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  opacity: 0.86;
}

.process-gallery figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(7, 25, 18, 0.82);
}

.process-gallery span,
.process-gallery strong {
  display: block;
}

.process-gallery span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.process-gallery strong {
  margin-top: 6px;
  font-size: 20px;
  line-height: 1.25;
}

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

.process-card {
  min-height: 190px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.process-card p {
  color: rgba(255, 255, 255, 0.72);
}

.package-card {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  padding: 18px;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}

.package-card-featured {
  background: var(--green-800);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.package-card-featured p,
.package-card-featured li {
  color: rgba(255, 255, 255, 0.78);
}

.package-card ul {
  margin: 14px 0 24px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.package-card .button,
.package-card .text-link {
  margin-top: auto;
}

.before-after-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: stretch;
}

.ba {
  position: relative;
  width: 100%;
  aspect-ratio: 2.6 / 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-950);
  box-shadow: var(--shadow);
  --ba-pos: 45%;
}

.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before {
  clip-path: inset(0 55% 0 0);
}

.ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 3px;
  background: var(--gold);
}

.ba input {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  width: calc(100% - 36px);
  accent-color: var(--gold);
}

.ba-labels {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  color: var(--paper);
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.44);
}

.ba-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: var(--green-800);
  color: var(--paper);
}

.ba-copy span {
  color: var(--gold-2);
  font-weight: 900;
  text-transform: uppercase;
}

.ba-copy strong {
  display: block;
  margin: 14px 0 26px;
  font-size: 24px;
  line-height: 1.28;
}

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

.portfolio-grid-common .project-card:nth-child(5) {
  grid-column: span 2;
}

.portfolio-grid-design {
  gap: 24px;
}

.project-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-950);
}

.portfolio-grid-design .project-card {
  min-height: 520px;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 25, 18, 0.08), rgba(7, 25, 18, 0.86));
}

.project-card-meta {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: var(--paper);
}

.project-card-meta strong,
.project-card-meta small {
  display: block;
}

.project-card-meta strong {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.project-card-meta small {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
}

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

.team-card {
  min-height: 520px;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}

.team-photo {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center;
}

.team-card span {
  margin: 24px 28px 8px;
}

.team-card p {
  margin: 0 28px 28px;
}

.avatar {
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--paper);
  font-weight: 900;
}

.reviews-section {
  background: var(--green-950);
  color: var(--paper);
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 20px;
}

.rating-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  background: var(--paper);
  color: var(--green-950);
}

.rating-box h2 {
  font-size: 36px;
}

.rating-proof {
  width: 100%;
  margin: 24px 0 22px;
  padding: 18px;
  border: 1px dashed rgba(1, 41, 29, 0.18);
  background: rgba(1, 41, 29, 0.035);
}

.rating-proof-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.rating-proof-score {
  width: 132px;
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(217, 176, 29, 0.92), rgba(238, 207, 82, 0.7));
}

.rating-proof-mark,
.review-source-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--gold);
  color: var(--green-950);
  font-weight: 900;
}

.rating-proof-mark {
  width: 42px;
  height: 42px;
  font-size: 20px;
}

.rating-proof-stars,
.review-stars {
  color: var(--gold);
  letter-spacing: 3px;
  line-height: 1;
}

.rating-proof-stars {
  margin: 18px 0 14px;
  font-size: 20px;
}

.rating-proof-line,
.review-placeholder-lines span,
.review-placeholder-meta span {
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(1, 41, 29, 0.16), rgba(217, 176, 29, 0.32), rgba(1, 41, 29, 0.1));
}

.rating-proof-line {
  height: 12px;
}

.rating-proof-line + .rating-proof-line {
  margin-top: 10px;
}

.rating-proof-line-wide {
  width: 92%;
}

.rating-proof-line-short {
  width: 58%;
}

.reviews-list {
  display: grid;
  gap: 14px;
}

.review {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 170px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.review-placeholder-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-placeholder-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.review-placeholder-meta {
  display: grid;
  flex: 1;
  gap: 9px;
}

.review-placeholder-meta span {
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
}

.review-placeholder-meta span:first-child {
  width: 42%;
}

.review-placeholder-meta span:last-child {
  width: 26%;
  opacity: 0.72;
}

.review-source-mark {
  width: 34px;
  height: 34px;
  font-size: 17px;
}

.review-stars {
  font-size: 15px;
}

.review-placeholder-lines {
  display: grid;
  gap: 10px;
}

.review-placeholder-lines span {
  height: 11px;
  background: rgba(255, 255, 255, 0.18);
}

.review-placeholder-lines .line-92 {
  width: 92%;
}

.review-placeholder-lines .line-96 {
  width: 96%;
}

.review-placeholder-lines .line-88 {
  width: 88%;
}

.review-placeholder-lines .line-84 {
  width: 84%;
}

.review-placeholder-lines .line-78 {
  width: 78%;
}

.review-placeholder-lines .line-74 {
  width: 74%;
}

.review-placeholder-lines .line-58 {
  width: 58%;
}

.review-placeholder-lines .line-52 {
  width: 52%;
}

.review-placeholder-lines .line-46 {
  width: 46%;
}
.calculator-section {
  background: var(--warm);
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  align-items: stretch;
}

.calculator-copy,
.lead-form {
  padding: 34px;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}

.calculator-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.calculator-copy {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.calculator-copy > p {
  margin-bottom: 0;
}

.calculator-context {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.calculator-context p {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
}

.calculator-copy .calculator-result {
  margin-top: auto;
}

.calculator-result {
  margin-top: 34px;
  padding: 28px;
  border-radius: 8px;
  background: var(--green-800);
  color: var(--paper);
}

.calculator-result strong {
  display: block;
  color: var(--gold-2);
  font-size: 34px;
  line-height: 1.1;
}

.calculator-result small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.lead-form {
  display: grid;
  gap: 16px;
  align-content: start;
}

.lead-form-media {
  margin: -34px -34px 8px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--green-950);
}

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

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--green-950);
  font-weight: 800;
}

.lead-form .form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form .form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}

.lead-form .form-consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--green-800);
}

.lead-form .form-consent a {
  color: var(--green-800);
  text-decoration: underline;
  text-decoration-color: rgba(6, 77, 53, 0.35);
  text-underline-offset: 3px;
}

.lead-form .form-consent a:hover {
  color: var(--green-950);
  text-decoration-color: var(--gold);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
  color: var(--ink);
  padding: 12px 14px;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input[type="range"] {
  padding: 0;
  accent-color: var(--gold);
}

.range-label,
.range-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.range-scale {
  color: var(--muted);
  font-weight: 700;
}

.form-note {
  min-height: 22px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: 48px;
}

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

details {
  padding: 24px 26px;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}

summary {
  cursor: pointer;
  color: var(--green-950);
  font-size: 20px;
  font-weight: 900;
}

details p {
  margin: 16px 0 0;
}

.request-section {
  background: var(--green-800);
  color: var(--paper);
}

.crosslink-content {
  max-width: 900px;
}

.crosslink-content h2 {
  color: var(--paper);
}

.crosslink-content p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.7;
}

.site-footer {
  padding: 58px 0 28px;
  background: var(--green-950);
  color: var(--paper);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.55fr) minmax(260px, 0.85fr);
  gap: 34px;
  align-items: start;
}

.footer-brand p {
  max-width: 360px;
}

.brand-footer {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--paper);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-nav {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
}

.footer-label {
  display: block;
  color: var(--gold-2);
  font-weight: 900;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
}

.footer-links-pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

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

.footer-contact span {
  color: var(--gold-2);
  font-weight: 900;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 25, 18, 0.72);
}

.modal-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: 34px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.modal-panel h2 {
  font-size: 34px;
}

.modal-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--green-950);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1120px) {
  .site-menu {
    gap: 18px;
    font-size: 14px;
  }

  h1 {
    font-size: 66px;
  }

  h2 {
    font-size: 42px;
  }

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

  .project-card,
  .portfolio-grid-design .project-card {
    min-height: 390px;
  }
}

@media (max-width: 920px) {
  .container,
  .header-inner,
  .page-switch {
    padding-left: 22px;
    padding-right: 22px;
  }

  .header-inner {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand-logo {
    width: 168px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-menu {
    display: none;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 10px 0;
  }

  .site-menu[data-open] {
    display: flex;
  }

  .site-menu a {
    padding: 8px 0;
  }

  .header-contact {
    flex-basis: 100%;
    justify-content: flex-start;
    font-size: 14px;
  }

  .hero,
  .hero-content {
    min-height: 660px;
  }

  h1 {
    max-width: 760px;
    font-size: 54px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .quick-grid,
  .advantage-grid,
  .package-grid,
  .process-grid,
  .calculator,
  .reviews-layout,
  .faq-layout,
  .footer-top,
  .before-after-wrap,
  .section-heading,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .quick-grid {
    margin-top: 0;
    padding-top: 22px;
  }

  .process-gallery {
    grid-template-columns: 1fr;
  }

  .ba-copy {
    min-height: 240px;
  }

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

@media (max-width: 640px) {
  .container,
  .header-inner,
  .page-switch {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-contact .button {
    width: auto;
    min-height: 42px;
    padding: 0 16px;
  }

  .page-switch {
    gap: 18px;
    scrollbar-width: none;
  }

  .page-switch::-webkit-scrollbar {
    display: none;
  }

  .header-contact {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
  }

  .header-contact .button {
    width: 100%;
  }

  .hero,
  .hero-content {
    min-height: 620px;
  }

  .hero::before {
    width: 78%;
  }

  .hero-content {
    align-items: flex-end;
  }

  .hero-copy {
    padding: 148px 0 44px;
  }

  h1 {
    margin-bottom: 20px;
    font-size: 38px;
    line-height: 1.04;
  }

  h2 {
    font-size: 31px;
    line-height: 1.1;
  }

  h3,
  .project-card-meta strong,
  .repair-story-caption strong,
  .ba-copy strong {
    font-size: 21px;
  }

  .hero-lead,
  .section-heading > p,
  .section-lead,
  .crosslink-content p {
    font-size: 16px;
    line-height: 1.62;
  }

  .hero-actions,
  .section-actions,
  .form-row,
  .footer-bottom {
    flex-direction: column;
    display: flex;
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .section {
    padding: 68px 0;
  }

  #process {
    padding-top: 48px;
  }

  .quick-card,
  .advantage-card,
  .package-card,
  .process-card,
  .review,
  .rating-box,
  .calculator-copy,
  .lead-form,
  .ba-copy,
  details,
  .modal-panel {
    padding: 22px;
  }

  .repair-story img,
  .project-card,
  .project-card img {
    min-height: 320px;
  }

  .ba {
    aspect-ratio: 16 / 10;
    width: min(100%, calc(100vw - 32px));
    max-width: 100%;
    min-height: 260px;
  }

  .repair-story {
    height: 360px;
  }

  .repair-story-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .portfolio-grid,
  .footer-nav,
  .footer-links-pages {
    grid-template-columns: 1fr;
  }

  .portfolio-grid-common .project-card:nth-child(5),
  .project-card-wide {
    grid-column: span 1;
  }

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

  .team-card {
    min-height: 0;
  }

  .lead-form-media {
    margin: -22px -22px 4px;
    aspect-ratio: 16 / 10;
  }

  .rating {
    font-size: 56px;
  }
}

@media (max-width: 520px) {
  .container,
  .header-inner,
  .page-switch {
    width: 390px;
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
  }

  .hero-copy,
  .hero-lead,
  .hero-actions,
  .section-heading,
  .split-heading,
  .quick-grid {
    width: 100%;
    max-width: 358px;
  }
}

/* Актуальные правки для фокусных лендингов */
.quick-card {
  position: relative;
  display: flex;
  min-height: 176px;
  flex-direction: column;
  justify-content: flex-end;
  cursor: default;
  overflow: hidden;
}

.quick-card::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold-2);
}

.quick-card strong {
  margin-bottom: 10px;
}

.quick-card small {
  display: block;
  color: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  opacity: 0.78;
  text-transform: none;
}

.advantage-card .text-link {
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(0, 53, 27, 0.12);
  border-radius: 8px;
  background: var(--gold-2);
  box-shadow: 0 8px 20px rgba(204, 158, 29, 0.18);
  color: var(--green-950);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.advantage-card .text-link:hover {
  transform: translateY(-2px);
  background: var(--gold);
  box-shadow: 0 12px 26px rgba(204, 158, 29, 0.26);
  color: var(--green-950);
}

.advantage-card-accent .text-link {
  color: var(--green-950);
}

.brand-footer {
  padding: 0;
  background: transparent;
}

.brand-footer .brand-logo {
  width: 221px;
  max-width: 100%;
  height: auto;
}

.footer-bottom {
  justify-content: flex-start;
}



/* 2026-07-29 · правки раунд 2 */
.hero .eyebrow { display: none; }
.hero-copy h1 { margin-top: 0; }
.quick-card { justify-content: center; align-items: center; text-align: center; }
.quick-card::before { display: none; content: none; }
.quick-card strong, .quick-card small { text-align: center; }
.ba { aspect-ratio: 1.72 / 1; }
.ba img { object-position: center center; }
.team-grid { align-items: stretch; }
.team-card { display: flex; flex-direction: column; min-height: 0; }
.team-photo { aspect-ratio: 4 / 3; object-position: center top; }
.team-card span { margin: 20px 24px 8px; color: var(--gold-2); }
.team-card p { margin: 0 24px 24px; color: var(--muted); }


/* 2026-07-30 · общие правки всех лендингов */
.section-index,
.section-lead,
.section-heading > p {
  display: none !important;
}

.split-heading {
  display: block;
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.split-heading > div {
  max-width: none;
}

.split-heading h2,
.section-heading h2 {
  margin-bottom: 0;
}

.section-heading-centered {
  margin-right: auto;
  margin-left: auto;
}

/* Карточки подхода: одинаковая геометрия заголовков и кнопок */
.advantage-grid {
  align-items: stretch;
}

.advantage-card {
  display: flex;
  height: 100%;
  min-height: 450px;
  flex-direction: column;
}

.advantage-card h3 {
  min-height: 2.5em;
  margin-bottom: 12px;
}

.advantage-card p {
  margin-bottom: 0;
}

.advantage-card .text-link {
  align-self: flex-start;
  margin-top: 24px;
}

/* Фотография внутри формы без отрицательных отступов и перекосов */
.lead-form-media {
  width: 100%;
  margin: 0 0 8px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
}

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

/* Новый статичный блок «До / После» */
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.before-after-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--green-950);
  box-shadow: var(--shadow);
}

.before-after-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s ease;
}

.before-after-card:hover img {
  transform: scale(1.02);
}

.before-after-card figcaption {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  min-width: 72px;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 53, 27, 0.9);
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.before-after-card-after figcaption {
  background: rgba(204, 158, 29, 0.94);
  color: var(--green-950);
}

.process-seo-copy {
  display: block;
  max-width: 980px;
  margin: 34px auto 0;
  padding: 0 40px;
  text-align: center;
}

.process-seo-copy p {
  max-width: 900px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.before-after-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.before-after-copy {
  padding: 24px 26px 26px;
  border: 1px solid rgba(1, 41, 29, 0.1);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(1, 41, 29, 0.06);
}

.before-after-copy span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.before-after-copy h3 {
  margin: 0 0 10px;
  color: var(--green-950);
  font-size: 22px;
}

.before-after-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* Карточки команды */
.team-grid {
  align-items: stretch;
}

.team-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

.team-photo-manager {
  object-fit: contain;
  object-position: center center;
  background: #353432;
  transform: none;
  box-shadow: none;
}

.team-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 24px 24px;
}

.team-title {
  display: block;
  margin: 0 0 8px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}

.team-card .team-meta p {
  margin: 0;
  color: var(--muted);
}

.team-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

@media (max-width: 640px) {
  .team-actions .button {
    width: 100%;
  }
}

/* Кириллический логотип для светлой шапки */
.site-header .brand {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.site-header .brand-logo {
  width: 210px;
  height: auto;
}

.repair-story img {
  object-position: center 56%;
}

.page[data-page="remont"] .repair-story img {
  object-position: center 82%;
}

.brand-footer {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-footer .brand-logo {
  width: 270px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .before-after-copy-grid {
    grid-template-columns: 1fr;
  }

  .process-seo-copy {
    max-width: 100%;
    padding: 0 22px;
  }

  .before-after-copy {
    padding: 22px;
  }

  .advantage-card {
    min-height: 0;
  }

  .advantage-card h3 {
    min-height: 0;
  }

  .site-header .brand-logo {
    width: 176px;
  }
}


/* 2026-07-30 · якоря */
.section { scroll-margin-top: 130px; }

/* 2026-08-04 · подвал и социальные сети */
.footer-top {
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 1fr) minmax(260px, 0.9fr);
}

.footer-nav {
  display: block;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 24px;
}

.footer-social-label {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-link {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--paper);
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

.footer-social-link img {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-social-link-telegram {
  font-size: 11px;
}

.footer-social-link-max {
  font-size: 9px;
}

.footer-bottom {
  justify-content: space-between;
  align-items: center;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: var(--paper);
  text-decoration-color: var(--gold-2);
}

@media (max-width: 920px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* PROG-8402 · Sherlock Chat */
#sherlockWidget .externalChatIcon {
  background-color: #F28D3E;
}

#sherlockWidget img {
  position: absolute;
  top: 11px;
  left: 32px;
}

/* 2026-08-05 · компактная шапка и меню разделов */
.mobile-utility,
.header-actions {
  display: none;
}

.site-menu-cta {
  display: none;
}

.site-header .site-menu a[aria-current="page"] {
  border-color: var(--gold);
  color: var(--green-800);
}

.site-header .brand picture {
  display: block;
}

@media (max-width: 920px) {
  .site-header {
    overflow: visible;
    background: var(--green-800);
    border-bottom: 0;
    backdrop-filter: none;
  }

  .mobile-utility {
    position: relative;
    z-index: 3;
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 5px 22px;
    color: var(--green-950);
    background: var(--milk);
    border-bottom: 1px solid rgba(20, 35, 28, 0.08);
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-phone {
    white-space: nowrap;
  }

  .city-picker,
  .contact-picker {
    position: relative;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .city-picker summary,
  .contact-picker summary {
    list-style: none;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    cursor: pointer;
  }

  .city-picker summary::-webkit-details-marker,
  .contact-picker summary::-webkit-details-marker {
    display: none;
  }

  .city-picker summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }

  .city-picker-arrow {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
  }

  .city-picker[open] .city-picker-arrow {
    transform: translateY(2px) rotate(225deg);
  }

  .city-picker-menu,
  .contact-picker-menu {
    position: absolute;
    z-index: 5;
    top: calc(100% + 9px);
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 18px 45px rgba(7, 25, 18, 0.22);
  }

  .city-picker-menu {
    left: 0;
    display: grid;
    width: max-content;
    min-width: 210px;
    max-height: min(360px, 70vh);
    overflow-y: auto;
  }

  .city-picker-menu a,
  .contact-picker-menu a,
  .contact-picker-menu button {
    min-height: 42px;
    padding: 10px 12px;
    border: 0;
    border-radius: 6px;
    color: var(--green-950);
    background: transparent;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
  }

  .city-picker-menu a:hover,
  .contact-picker-menu a:hover,
  .contact-picker-menu button:hover {
    background: var(--milk);
  }

  .header-inner {
    position: relative;
    min-height: 64px;
    flex-wrap: nowrap;
    gap: 14px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-header .brand-logo {
    width: 158px;
  }

  .header-contact {
    display: none;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .contact-picker summary,
  .menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
  }

  .contact-picker summary img {
    filter: brightness(0) invert(1);
  }

  .contact-picker-menu {
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: 220px;
  }

  .contact-picker-menu a,
  .contact-picker-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .contact-picker-menu a img {
    filter: brightness(0) saturate(100%) invert(22%) sepia(20%) saturate(1259%) hue-rotate(103deg) brightness(91%) contrast(97%);
  }

  .contact-picker-menu button {
    color: var(--green-800);
  }

  .contact-picker-phone {
    flex: 0 0 auto;
  }

  .menu-toggle {
    flex-direction: column;
    margin-left: 0;
  }

  .menu-toggle span {
    width: 19px;
    height: 2px;
    margin: 2px auto;
    background: var(--paper);
  }

  .site-menu {
    position: absolute;
    top: 100%;
    right: 22px;
    left: 22px;
    z-index: 4;
    display: none;
    padding: 8px;
    overflow: visible;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    color: var(--green-950);
    background: var(--paper);
    box-shadow: 0 20px 45px rgba(7, 25, 18, 0.22);
  }

  .site-menu[data-open] {
    display: flex;
  }

  .site-menu a {
    padding: 13px 12px;
    border: 0;
    border-radius: 6px;
  }

  .site-menu a:hover,
  .site-header .site-menu a[aria-current="page"] {
    border-color: transparent;
    color: var(--green-800);
    background: var(--milk);
  }

  .site-menu .site-menu-cta {
    display: inline-flex;
    width: 100%;
    min-height: 52px;
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .mobile-utility {
    padding-right: 16px;
    padding-left: 16px;
  }

  .header-inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-header .brand-logo {
    width: 148px;
  }

  .site-menu {
    right: 16px;
    left: 16px;
  }
}

@media (max-width: 390px) {
  .mobile-utility {
    gap: 10px;
  }

  .site-header .brand-logo {
    width: 132px;
  }

  .header-actions {
    gap: 6px;
  }

  .contact-picker summary,
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
}

#sherlockWidget .operatorPhoto__normalPhoto {
  border: none;
}

#sherlockWidget .message-in > .message-border {
  background-color: #0E3F18;
  color: #FFF;
}

#sherlockWidget .message-in > .message-triangle {
  border-top: 12px solid #0E3F18;
}

#sherlockWidget .message-out > .message-border {
  background-color: #BF9D30;
  color: #FFF;
}

#sherlockWidget .message-out > .message-triangle {
  border-top: 12px solid #BF9D30;
}

@keyframes remontSherlockAnimationContent {
  50% {
    transform: scale(1, 1);
    opacity: 1;
    border: 1px #F28D3E solid;
  }

  100% {
    transform: scale(3, 3);
    opacity: 0;
    border: 1px #F28D3E solid;
  }
}

#sherlockWidget .animationContent {
  position: absolute;
  width: 48px;
  height: 48px;
  margin-left: 20px;
  border: 1px #F28D3E solid;
  border-radius: 100%;
  background-color: transparent;
  cursor: pointer;
  -webkit-animation-name: remontSherlockAnimationContent;
  -webkit-animation-duration: 4s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-name: remontSherlockAnimationContent;
  -moz-animation-duration: 4s;
  -moz-animation-iteration-count: infinite;
  animation-name: remontSherlockAnimationContent;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

@media (max-width: 992px) {
  #sherlockWidget .sherlock-widget {
    right: -10px;
    bottom: -30px;
    margin-bottom: 0;
  }

  #sherlockWidget .widget_channels {
    right: -35px;
    bottom: 120px;
  }
}

/* PROG-8986 · отступ панели каналов от основной кнопки */
#sherlockWidget .widget_channels {
  bottom: 225px;
}

/* 2026-08-10 · слово основателя */
.founder-message {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  margin-top: 24px;
  margin-bottom: 36px;
  padding-inline: 0;
  overflow: hidden;
  border: 1px solid rgba(1, 41, 29, 0.12);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.founder-message-media {
  min-height: 520px;
  overflow: hidden;
  background: #d8d1c6;
}

.founder-message-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 50% 30%;
}

.founder-message-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 76px);
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 100% 0, rgba(217, 176, 29, 0.18), transparent 40%),
    var(--green-800);
}

.founder-message-copy::after {
  position: absolute;
  right: -34px;
  bottom: -88px;
  color: rgba(255, 255, 255, 0.055);
  font-size: 260px;
  font-weight: 900;
  line-height: 1;
  content: "“";
  pointer-events: none;
}

.founder-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.founder-kicker::before {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold-2);
  content: "";
}

.founder-message h3 {
  position: relative;
  z-index: 1;
  max-width: 10ch;
  margin: 0;
  color: var(--paper);
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.founder-message blockquote {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.36;
}

.founder-message-copy > p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.founder-signature {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.founder-signature strong {
  color: var(--paper);
  font-size: 18px;
}

.founder-signature span {
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .founder-message {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  }

  .founder-message-copy {
    padding: 38px;
  }
}

@media (max-width: 760px) {
  .founder-message {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .founder-message-media,
  .founder-message-media img {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .founder-message-copy {
    padding: 34px 24px 38px;
  }

  .founder-message h3 {
    max-width: 100%;
  }
}

/* 2026-08-10 · отзывы клиентов */
.static-reviews-section {
  background: var(--warm);
}

.static-reviews-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.68fr);
  padding-inline: 0;
  overflow: hidden;
  border: 1px solid rgba(1, 41, 29, 0.1);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.static-reviews-summary {
  display: flex;
  min-height: 620px;
  flex-direction: column;
  padding: clamp(34px, 3.4vw, 50px);
  background:
    radial-gradient(circle at 0 100%, rgba(217, 176, 29, 0.16), transparent 300px),
    var(--paper);
}

.static-reviews-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.static-reviews-kicker::before {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold-2);
  content: "";
}

.static-reviews-summary h2 {
  max-width: 14ch;
  margin: 0;
  color: var(--green-950);
  font-size: clamp(32px, 2.8vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.static-reviews-summary > p {
  max-width: 42ch;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.static-reviews-rating {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  align-items: center;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.static-reviews-rating strong {
  grid-row: 1 / span 2;
  color: var(--green-950);
  font-size: 52px;
  line-height: 1;
}

.static-reviews-rating span {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
}

.static-reviews-rating small {
  color: var(--muted);
  line-height: 1.4;
}

.static-reviews-stage {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 38px);
  color: var(--paper);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 204, 0, 0.2), transparent 360px),
    radial-gradient(circle at 0 100%, rgba(35, 112, 84, 0.24), transparent 400px),
    var(--green-950);
}

.static-reviews-platform {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.static-reviews-platform-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 12px;
  color: #171717;
  background: #ffcc00;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-size: 21px;
  font-weight: 900;
}

.static-reviews-platform-copy strong,
.static-reviews-platform-copy small {
  display: block;
}

.static-reviews-platform-copy strong {
  color: var(--paper);
  font-size: 16px;
}

.static-reviews-platform-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.static-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 1;
  gap: 14px;
}

.static-review-card {
  display: flex;
  min-width: 0;
  min-height: 500px;
  flex-direction: column;
  padding: 22px 20px;
  border: 1px solid rgba(1, 41, 29, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.static-review-card:nth-child(3) {
  grid-column: auto;
}

.static-review-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
}

.static-review-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid rgba(1, 41, 29, 0.08);
  border-radius: 50%;
  color: var(--paper);
  background: linear-gradient(145deg, #2d7c62, #0b2d23);
  font-size: 15px;
  font-weight: 900;
}

.static-review-card:nth-child(2) .static-review-avatar {
  background: linear-gradient(145deg, #ad8721, #665014);
}

.static-review-card:nth-child(3) .static-review-avatar {
  background: linear-gradient(145deg, #526d62, #17372c);
}

.static-review-person {
  min-width: 0;
}

.static-review-person strong,
.static-review-person small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.static-review-person strong {
  color: var(--green-950);
  font-size: 15px;
}

.static-review-person small {
  margin-top: 4px;
  color: #7a7a7a;
  font-size: 11px;
}

.static-review-source {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #171717;
  background: #ffcc00;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  font-weight: 900;
}

.static-review-stars {
  margin-top: 22px;
  color: #f5ad00;
  font-size: 15px;
  letter-spacing: 2px;
}

.static-review-card blockquote {
  margin: 16px 0 0;
  color: #242424;
  font-size: 15px;
  line-height: 1.58;
}

@media (max-width: 1040px) {
  .static-reviews-shell {
    grid-template-columns: 1fr;
  }

  .static-reviews-summary {
    min-height: 0;
  }

  .static-reviews-summary h2 {
    max-width: 18ch;
  }

  .static-reviews-rating {
    margin-top: 38px;
  }
}

@media (max-width: 760px) {
  .static-reviews-grid {
    grid-template-columns: 1fr;
  }

  .static-reviews-summary,
  .static-reviews-stage {
    padding: 30px 22px;
  }

  .static-reviews-summary h2 {
    font-size: 34px;
  }

  .static-reviews-rating strong {
    font-size: 44px;
  }

  .static-review-card,
  .static-review-card:nth-child(3) {
    grid-column: auto;
    min-height: 0;
    padding: 22px;
  }
}

/* Контакты */
.contacts-section {
  background: var(--paper);
}

.contacts-section .section-heading {
  margin-bottom: 34px;
  text-align: left;
}

.contacts-section .section-heading h2 {
  margin: 0;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.42fr);
  gap: 48px;
  align-items: stretch;
}

.contacts-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contacts-kicker {
  margin-bottom: 10px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contacts-city {
  margin: 0 0 24px;
  color: var(--green-950);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.05;
}

.contacts-list {
  display: grid;
  width: 100%;
  gap: 16px;
}

.contact-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--green-950);
  font-size: 18px;
  line-height: 1.55;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--gold-2);
}

.contact-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(204, 158, 29, 0.13);
  color: var(--green-800);
  font-size: 17px;
  font-weight: 900;
}

.contacts-actions {
  display: flex;
  width: min(312px, 100%);
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}

.contacts-actions .button {
  width: 100%;
}

.office-live-button {
  gap: 9px;
}

.office-live-dot {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 50%;
  background: #49d37d;
  box-shadow: 0 0 0 4px rgba(73, 211, 125, 0.14);
}

.ivideon-camera-block {
  position: fixed;
  z-index: 10002;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 445px));
  gap: 8px;
  width: min(914px, calc(100vw - 36px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.ivideon-camera-block[hidden] {
  display: none;
}

.ivideon-close-camera {
  position: absolute;
  top: -17px;
  right: -17px;
  z-index: 1;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--green-950);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 31, 21, 0.24);
}

.ivideon-close-camera:hover,
.ivideon-close-camera:focus-visible {
  background: var(--gold-2);
  outline: none;
}

.ivideon-camera-load {
  display: contents;
}

.ivideon-frame {
  overflow: hidden;
  border-radius: 6px;
  background: #07100d;
  aspect-ratio: 16 / 9;
}

.ivideon-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contacts-map {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e9ece6;
  box-shadow: var(--shadow);
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.requisites-panel {
  width: min(700px, 100%);
}

.requisites-panel h2 {
  margin: 0 48px 24px 0;
}

.requisites-list {
  display: grid;
  gap: 13px;
}

.requisites-list p {
  margin: 0;
  color: var(--green-950);
}

@media (max-width: 900px) {
  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contacts-map,
  .contacts-map iframe {
    min-height: 390px;
  }

  .ivideon-camera-block {
    grid-template-columns: 1fr;
    width: min(520px, calc(100vw - 36px));
  }
}

@media (max-width: 640px) {
  .contacts-section .section-heading {
    margin-bottom: 26px;
  }

  .contacts-city {
    margin-bottom: 20px;
  }

  .contact-item {
    font-size: 16px;
  }

  .contacts-map,
  .contacts-map iframe {
    min-height: 320px;
  }

  .ivideon-camera-block {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
  }

  .ivideon-close-camera {
    top: -14px;
    right: -4px;
  }
}
