.remont-page {
  --remont-green: #195c5b;
  --remont-warm: #e8e4db;
  --remont-ink: #212020;
  --remont-muted: #5a5e60;
  --remont-line: rgba(33, 32, 32, 0.18);
  --remont-font-display: Georgia, "Times New Roman", serif;
  --remont-font-text: "Jost", "Segoe UI", Arial, sans-serif;
  color: var(--remont-muted);
  background: #fff;
  font-family: var(--remont-font-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  overflow: clip;
}

.remont-page,
.remont-page * {
  box-sizing: border-box;
}

.remont-page img,
.remont-page video {
  display: block;
  width: 100%;
}

.remont-page button {
  font-family: inherit;
}

.remont-page section[id] {
  scroll-margin-top: 92px;
}

.remont-page [data-remont-section][data-remont-custom-height="1"] {
  height: var(--remont-section-height-desktop, auto);
  min-height: 0 !important;
  overflow: hidden;
}

.remont-shell {
  width: min(calc(100% - 64px), 1376px);
  margin-inline: auto;
}

.remont-contours {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.remont-contours::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.44;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 700'%3E%3Cg fill='none' stroke='%23c8c2b7' stroke-width='1.2' opacity='.62'%3E%3Cpath d='M-60 120C120 8 226 38 368 150s300 126 532 10'/%3E%3Cpath d='M-60 188C120 76 226 106 368 218s300 126 532 10'/%3E%3Cpath d='M-60 256C120 144 226 174 368 286s300 126 532 10'/%3E%3Cpath d='M-60 324C120 212 226 242 368 354s300 126 532 10'/%3E%3Cpath d='M-60 392C120 280 226 310 368 422s300 126 532 10'/%3E%3C/g%3E%3C/svg%3E");
  background-position: left center;
  background-size: 900px 700px;
}

.remont-hero {
  min-height: 580px;
  background: var(--remont-warm);
}

.remont-hero__grid {
  display: grid;
  min-height: 580px;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 1.08fr);
  gap: 48px;
  align-items: center;
}

.remont-hero__copy {
  max-width: 650px;
  padding-block: 64px;
}

.remont-kicker {
  display: inline-block;
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--remont-green);
  color: var(--remont-ink);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.25;
}

.remont-hero h1,
.remont-page h2,
.remont-page h3,
.remont-page p {
  margin-top: 0;
}

.remont-hero h1,
.remont-page h2,
.remont-page h3 {
  color: var(--remont-ink);
  font-family: var(--remont-font-display);
  font-kerning: normal;
}

.remont-hero h1 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(44px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.06;
  white-space: pre-line;
}

.remont-hero__lead {
  max-width: 590px;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.55;
  white-space: pre-line;
}

.remont-hero__price {
  margin: 20px 0 0;
  color: var(--remont-ink);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.remont-actions {
  display: flex;
  margin-top: 30px;
  gap: 14px;
  flex-wrap: wrap;
}

.remont-button {
  display: inline-flex;
  min-height: 50px;
  padding: 13px 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--remont-green);
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.012em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.remont-button:hover,
.remont-button:focus-visible {
  transform: translateY(-1px);
}

.remont-button:focus-visible,
.remont-video-card:focus-visible,
.remont-dialog__close:focus-visible {
  outline: 3px solid rgba(25, 92, 91, 0.28);
  outline-offset: 3px;
}

.remont-button--primary {
  color: #fff !important;
  background: var(--remont-green);
}

.remont-button--primary:hover,
.remont-button--primary:focus-visible {
  color: #fff !important;
  background: #104c4b;
}

.remont-button--secondary {
  color: var(--remont-ink) !important;
  border-color: rgba(33, 32, 32, 0.72);
  background: transparent;
}

.remont-button--secondary:hover,
.remont-button--secondary:focus-visible {
  color: #fff !important;
  border-color: var(--remont-green);
  background: var(--remont-green);
}

.remont-hero__media {
  min-width: 0;
}

.remont-hero__video {
  height: var(--remont-hero-media-height, 500px);
  border-radius: 4px;
  background: #d8d3c9;
  object-fit: cover;
}

.remont-section {
  padding-block: 92px;
}

.remont-section__heading {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  margin-bottom: 52px;
}

.remont-section__number {
  display: inline-block;
  color: var(--remont-green);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.remont-section__heading h2,
.remont-proof h2,
.remont-price h2,
.remont-contact h2,
.remont-custom h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.07;
}

.remont-section__heading p,
.remont-proof p,
.remont-price p,
.remont-contact p,
.remont-custom p {
  max-width: 670px;
  margin-bottom: 0;
  font-size: 18px;
  white-space: pre-line;
}

.remont-service-list {
  border-top: 1px solid var(--remont-line);
}

.remont-service-row {
  display: grid;
  min-height: 124px;
  padding: 26px 0;
  grid-template-columns: 64px minmax(270px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: start;
  border-bottom: 1px solid var(--remont-line);
}

.remont-service-row > span {
  color: var(--remont-green);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.remont-service-row h3 {
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.22;
}

.remont-service-row p {
  max-width: 620px;
  margin-bottom: 0;
}

.remont-portfolio {
  background: var(--remont-warm);
}

.remont-project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
}

.remont-project {
  grid-column: span var(--remont-span, 6);
  min-width: 0;
}

.remont-project__stage {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  touch-action: pan-y;
}

.remont-project__open {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: #d8d3c9;
  cursor: zoom-in;
  touch-action: pan-y;
  will-change: transform;
}

.remont-project__drag-image {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: var(--remont-card-height, 500px);
  border-radius: 4px;
  object-fit: cover;
  pointer-events: none;
  will-change: transform;
}

.remont-project__stage.is-sliding .remont-project__open,
.remont-project__stage.is-sliding .remont-project__drag-image {
  transition: transform 380ms cubic-bezier(0.22, 0.74, 0.24, 1);
}

.remont-project__open:focus-visible {
  outline: 3px solid rgba(25, 92, 91, 0.32);
  outline-offset: 4px;
}

.remont-project__open > img {
  display: block;
  width: 100%;
  max-width: none;
  height: var(--remont-card-height, 500px);
  border-radius: 4px;
  object-fit: cover;
  transition: transform 400ms ease;
}

.remont-project__open:hover > img {
  transform: scale(1.018);
}

.remont-project__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 24, 23, 0.52);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
  transition: background-color 180ms ease, transform 180ms ease;
}

.remont-project__arrow:hover,
.remont-project__arrow:focus-visible {
  background: rgba(25, 92, 91, 0.9);
  transform: translateY(-50%) scale(1.04);
}

.remont-project__arrow:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: 2px;
}

.remont-project__arrow[hidden] {
  display: none !important;
}

.remont-project__arrow span {
  margin-top: -3px;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.remont-project__arrow--prev {
  left: 18px;
}

.remont-project__arrow--next {
  right: 18px;
}

.remont-project__thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding-top: 10px;
}

.remont-project__thumb {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 3px;
  background: #d8d3c9;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.remont-project__thumb:hover {
  opacity: 0.82;
}

.remont-project__thumb:focus-visible {
  outline: 3px solid rgba(25, 92, 91, 0.28);
  outline-offset: 2px;
}

.remont-project__thumb.is-active {
  border-color: var(--remont-green);
}

.remont-project__thumb.is-empty {
  display: none;
}

.remont-project__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1px;
  object-fit: cover;
}

.remont-project__thumb.is-empty img {
  opacity: 0;
}

.remont-project__thumb-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  padding: 4px;
  color: var(--remont-green);
  font-family: var(--remont-font-text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  place-items: center;
}

.remont-editor-active .remont-project__thumb.is-empty {
  display: block;
  border-style: dashed;
  border-color: rgba(25, 92, 91, 0.48);
  background: rgba(255, 255, 255, 0.58);
}

.remont-project__meta {
  display: flex;
  padding-top: 16px;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.remont-project__meta h3 {
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.008em;
  line-height: 1.24;
}

.remont-project__meta span {
  color: var(--remont-muted);
  white-space: nowrap;
}

.remont-videos {
  color: rgba(255, 255, 255, 0.76);
  background: var(--remont-green);
}

.remont-section__heading--light h2,
.remont-section__heading--light .remont-section__number {
  color: #fff;
}

.remont-video-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.remont-video-card {
  position: relative;
  grid-column: span var(--remont-span, 4);
  min-height: var(--remont-card-height, 340px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #123f3f;
  cursor: pointer;
  text-align: left;
}

.remont-video-card--featured {
  grid-column: span var(--remont-span, 8);
  min-height: var(--remont-card-height, 520px);
}

.remont-video-card img {
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 400ms ease;
}

.remont-video-card:hover img {
  transform: scale(1.025);
}

.remont-video-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.68) 100%);
}

.remont-video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 62px;
  height: 62px;
  transform: translate(-50%, -50%);
  place-items: center;
  border-radius: 50%;
  background: var(--remont-green);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.remont-video-card__play svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.remont-video-card__title {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  font-family: var(--remont-font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.006em;
  line-height: 1.25;
}

.remont-proof {
  padding-block: 58px;
  background: #f3f1ec;
}

.remont-proof__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.remont-proof h2 {
  max-width: 600px;
  margin-top: 0;
}

.remont-proof__action {
  max-width: 500px;
  padding-top: 7px;
}

.remont-button--proof {
  min-width: 224px;
  margin-top: 18px;
}

.remont-proof-form {
  width: min(100%, 620px);
  margin-top: 18px;
}

.remont-proof-form__row {
  display: grid;
  padding: 4px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(25, 92, 91, 0.3);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 34px rgba(31, 42, 40, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.remont-proof-form__row:focus-within {
  border-color: var(--remont-green);
  box-shadow: 0 12px 34px rgba(25, 92, 91, 0.13), 0 0 0 3px rgba(25, 92, 91, 0.1);
}

.remont-proof-form__field {
  display: flex;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 0 10px 0 14px;
  align-items: center;
  gap: 10px;
  cursor: text;
}

.remont-proof-form__country {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--remont-green);
}

.remont-proof-form__country svg {
  display: block;
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.remont-proof-form__phone {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  height: 42px;
}

.remont-proof-form__field input {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--remont-ink);
  background: transparent;
  box-shadow: none;
  font-family: var(--remont-font-text);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1;
}

.remont-proof-form__phone-example {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 29px;
  display: flex;
  align-items: center;
  color: rgba(33, 32, 32, 0.38);
  font-family: var(--remont-font-text);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.remont-proof-form__phone-example.is-hidden,
.remont-proof-form__phone:focus-within .remont-proof-form__phone-example {
  display: none;
}

.remont-proof-form__field input::placeholder {
  color: rgba(33, 32, 32, 0.46);
}

.remont-proof-form__submit {
  display: inline-flex;
  min-width: 194px;
  min-height: 42px;
  margin: 0;
  padding: 9px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--remont-green);
  border-radius: 99px;
  color: #fff;
  background: var(--remont-green);
  box-shadow: none;
  font-family: var(--remont-font-text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.012em;
  line-height: 1.2;
  text-align: center;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.remont-proof-form__submit:hover,
.remont-proof-form__submit:focus-visible {
  border-color: #104c4b;
  color: #fff;
  background: #104c4b;
  outline: 0;
  transform: translateY(-1px);
}

.remont-proof-form__submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.remont-proof-form__consent {
  position: relative;
  display: grid;
  margin: 11px 8px 0;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--remont-muted);
  cursor: pointer;
  font-family: var(--remont-font-text);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
}

.remont-proof-form__consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.remont-proof-form__check {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 1px solid rgba(25, 92, 91, 0.66);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.7);
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.remont-proof-form__consent input:checked + .remont-proof-form__check {
  border-color: var(--remont-green);
  background: var(--remont-green);
}

.remont-proof-form__consent input:checked + .remont-proof-form__check::after {
  position: absolute;
  top: 4px;
  left: 8px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.remont-proof-form__consent input:focus-visible + .remont-proof-form__check {
  box-shadow: 0 0 0 3px rgba(25, 92, 91, 0.15);
}

.remont-proof-form__consent a {
  color: var(--remont-green) !important;
  border-bottom: 1px solid currentColor;
  text-decoration: none !important;
}

.remont-proof-form .remont-form-status {
  margin-bottom: 12px;
}

.remont-proof-form .has-error input,
.remont-proof-form__field.is-error input {
  color: #8a241f;
}

.remont-link {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--remont-green) !important;
  font-weight: 500;
  text-decoration: none !important;
}

.remont-process-list {
  margin-bottom: 0;
  padding: 0;
  border-top: 1px solid var(--remont-line);
  list-style: none;
}

.remont-process-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.remont-process-list li {
  display: grid;
  min-height: 132px;
  padding: 24px 0;
  grid-template-columns: 142px minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid var(--remont-line);
}

.remont-process-list__visual {
  display: flex;
  width: 132px;
  height: 84px;
  align-items: center;
  justify-content: center;
  color: var(--remont-ink);
}

.remont-process-list__visual svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
  vector-effect: non-scaling-stroke;
}

.remont-process-list h3 {
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.22;
}

.remont-process-list p {
  max-width: 720px;
  margin-bottom: 0;
}

.remont-price {
  padding-block: 88px;
  background: var(--remont-warm);
}

.remont-price__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.remont-price__content {
  display: grid;
  grid-template-columns: minmax(370px, 0.9fr) minmax(320px, 1.1fr);
  gap: 64px;
  align-items: start;
}

.remont-price h2 {
  max-width: 610px;
  margin-top: 0;
}

.remont-price p {
  max-width: 600px;
  padding-top: 7px;
}

.remont-contact {
  padding-block: 86px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--remont-green);
}

.remont-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 28px;
  align-items: center;
}

.remont-contact .remont-section__number,
.remont-contact h2 {
  color: #fff;
}

.remont-contact h2 {
  max-width: 720px;
  margin-top: 0;
}

.remont-contact__copy p {
  max-width: 650px;
}

.remont-contact__actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
}

.remont-contact__phone {
  color: #fff !important;
  font-family: var(--remont-font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.12;
  text-decoration: none !important;
}

.remont-button--light {
  min-width: 240px;
  color: var(--remont-green) !important;
  border-color: #fff;
  background: #fff;
}

.remont-button--light:hover,
.remont-button--light:focus-visible {
  color: #fff !important;
  border-color: #fff;
  background: transparent;
}

.remont-contact__telegram {
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none !important;
}

.remont-custom {
  min-height: var(--remont-card-height, 420px);
  padding: 64px 0;
  background-color: #f4f1e9;
}

.remont-custom__grid {
  display: grid;
  min-height: calc(var(--remont-card-height, 420px) - 128px);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.remont-custom__copy {
  max-width: 620px;
}

.remont-custom__copy h2 {
  margin: 0 0 20px;
}

.remont-custom__copy p {
  margin: 0;
}

.remont-custom__media {
  min-width: 0;
  height: calc(var(--remont-card-height, 420px) - 128px);
  min-height: 260px;
}

.remont-custom__media img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.remont-custom--text .remont-custom__grid {
  grid-template-columns: minmax(0, 760px);
}

.remont-custom--text .remont-custom__media,
.remont-custom--image .remont-custom__copy {
  display: none;
}

.remont-custom--image .remont-custom__grid {
  grid-template-columns: minmax(0, 1fr);
}

.remont-custom--image .remont-custom__media {
  height: calc(var(--remont-card-height, 420px) - 128px);
}

.remont-dialog {
  width: min(1040px, calc(100vw - 40px));
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: #111;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.remont-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.remont-dialog__bar {
  display: flex;
  min-height: 66px;
  padding: 14px 18px 14px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  background: #111;
}

.remont-dialog__bar h2 {
  margin: 0;
  color: #fff;
  font-family: var(--remont-font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.006em;
}

.remont-dialog__close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.remont-dialog__close svg {
  display: block;
  width: 20px;
  height: 20px;
}

.remont-dialog video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 120px);
  background: #000;
}

.remont-dialog__gallery {
  position: relative;
  width: 100%;
  height: min(78vh, 860px);
  overflow: hidden;
  background: #111;
  touch-action: pan-y;
}

.remont-dialog__track {
  display: flex;
  width: 300%;
  height: 100%;
  transform: translate3d(-33.333333%, 0, 0);
  will-change: transform;
}

.remont-dialog__track.is-animating {
  transition: transform 380ms cubic-bezier(0.22, 0.74, 0.24, 1);
}

.remont-dialog__slide {
  display: grid;
  width: 33.333333%;
  min-width: 33.333333%;
  height: 100%;
  place-items: center;
}

.remont-dialog__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.remont-dialog__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  color: #fff;
  background: rgba(15, 18, 18, 0.58);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
  transition: background-color 180ms ease, transform 180ms ease;
}

.remont-dialog__arrow:hover,
.remont-dialog__arrow:focus-visible {
  background: rgba(25, 92, 91, 0.94);
  transform: translateY(-50%) scale(1.04);
}

.remont-dialog__arrow:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: 2px;
}

.remont-dialog__arrow span {
  margin-top: -3px;
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.remont-dialog__arrow--prev {
  left: 18px;
}

.remont-dialog__arrow--next {
  right: 18px;
}

.remont-dialog__arrow[hidden] {
  display: none !important;
}

.remont-dialog [hidden] {
  display: none !important;
}

.remont-page section[data-remont-tone="dark"] {
  color: rgba(255, 255, 255, 0.78);
}

.remont-page section[data-remont-tone="dark"] h1,
.remont-page section[data-remont-tone="dark"] h2,
.remont-page section[data-remont-tone="dark"] h3,
.remont-page section[data-remont-tone="dark"] .remont-section__number,
.remont-page section[data-remont-tone="dark"] .remont-kicker,
.remont-page section[data-remont-tone="dark"] .remont-hero__price,
.remont-page section[data-remont-tone="dark"] .remont-project__meta span,
.remont-page section[data-remont-tone="dark"] .remont-process-list__visual {
  color: #fff;
}

.remont-page section[data-remont-tone="dark"] .remont-button--primary {
  color: var(--remont-green) !important;
  border-color: #fff;
  background: #fff;
}

.remont-page section[data-remont-tone="dark"] .remont-button--primary:hover,
.remont-page section[data-remont-tone="dark"] .remont-button--primary:focus-visible,
.remont-page section[data-remont-tone="dark"] .remont-button--secondary {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.76);
  background: transparent;
}

.remont-page section[data-remont-tone="dark"] .remont-button--secondary:hover,
.remont-page section[data-remont-tone="dark"] .remont-button--secondary:focus-visible {
  color: var(--remont-green) !important;
  border-color: #fff;
  background: #fff;
}

.remont-page section[data-remont-tone="dark"] .remont-process-list,
.remont-page section[data-remont-tone="dark"] .remont-process-list li,
.remont-page section[data-remont-tone="dark"] .remont-service-row {
  border-color: rgba(255, 255, 255, 0.24);
}

.remont-page section[data-remont-tone="light"] {
  color: var(--remont-muted);
}

.remont-page section[data-remont-tone="light"] h1,
.remont-page section[data-remont-tone="light"] h2,
.remont-page section[data-remont-tone="light"] h3,
.remont-page section[data-remont-tone="light"] .remont-kicker,
.remont-page section[data-remont-tone="light"] .remont-hero__price {
  color: var(--remont-ink);
}

.remont-page section[data-remont-tone="light"] .remont-section__number,
.remont-page section[data-remont-tone="light"] .remont-process-list__visual {
  color: var(--remont-ink);
}

.remont-page section[data-remont-tone="light"] .remont-contact__phone {
  color: var(--remont-ink) !important;
}

.remont-page section[data-remont-tone="light"] .remont-contact__telegram {
  color: var(--remont-green) !important;
}

.remont-page section[data-remont-tone="light"] .remont-button--light {
  color: #fff !important;
  border-color: var(--remont-green);
  background: var(--remont-green);
}

.remont-page section[data-remont-tone="light"] .remont-button--light:hover,
.remont-page section[data-remont-tone="light"] .remont-button--light:focus-visible {
  color: var(--remont-green) !important;
  background: transparent;
}

.remont-editor-active section[data-remont-section] {
  position: relative;
  outline: 1px dashed rgba(25, 92, 91, 0.42);
  outline-offset: -1px;
}

.remont-editor-active [data-remont-image-field],
.remont-editor-active [data-remont-video-field] {
  transition: outline-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.remont-editor-active [data-remont-drop-state="ready"] {
  outline: 4px solid #1b7d7a !important;
  outline-offset: -4px;
  box-shadow: inset 0 0 0 999px rgba(25, 92, 91, 0.16) !important;
}

.remont-editor-active [data-remont-drop-state="uploading"] {
  cursor: progress !important;
  filter: saturate(0.55) brightness(0.82);
  outline: 4px solid #ffffff !important;
  outline-offset: -4px;
}

.remont-editor-active [data-remont-drop-state="error"] {
  outline: 4px solid #c83e36 !important;
  outline-offset: -4px;
}

.remont-editor-active [data-remont-field][contenteditable="true"] {
  border-radius: 3px;
  cursor: text;
  outline: 1px dashed transparent;
  outline-offset: 4px;
  transition: outline-color 160ms ease, background-color 160ms ease;
}

.remont-editor-active [data-remont-field][contenteditable="true"]:not(.remont-button):hover,
.remont-editor-active [data-remont-field][contenteditable="true"]:not(.remont-button):focus {
  outline-color: #1b7d7a;
  background: rgba(255, 255, 255, 0.72);
}

.remont-editor-active [data-remont-field][contenteditable="true"][data-remont-empty="true"] {
  min-width: 96px;
  min-height: 1.4em;
  outline-color: rgba(27, 125, 122, 0.76);
  background: rgba(255, 255, 255, 0.42);
}

.remont-editor-active [data-remont-field][contenteditable="true"][data-remont-empty="true"]::before {
  color: currentColor;
  content: attr(data-remont-placeholder);
  font-family: var(--remont-font-text);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  opacity: 0.58;
  pointer-events: none;
}

.remont-editor-active .remont-videos [data-remont-field][contenteditable="true"]:hover,
.remont-editor-active .remont-videos [data-remont-field][contenteditable="true"]:focus,
.remont-editor-active .remont-contact [data-remont-field][contenteditable="true"]:hover,
.remont-editor-active .remont-contact [data-remont-field][contenteditable="true"]:focus {
  background: rgba(255, 255, 255, 0.14);
}

.remont-editor-active [data-remont-editor-selected="true"] {
  outline: 3px solid #1b7d7a !important;
  outline-offset: 3px !important;
}

.remont-editor-section-tools {
  position: absolute;
  z-index: 20;
  top: 12px;
  right: 12px;
  display: flex;
  min-height: 34px;
  padding: 6px 10px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  color: #fff;
  background: #195c5b;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: grab;
  user-select: none;
}

.remont-editor-section-tools:active {
  cursor: grabbing;
}

.remont-editor-section-tools::before {
  content: "⋮⋮";
  font-size: 16px;
  letter-spacing: -3px;
}

.remont-editor-active [data-remont-resize] {
  position: relative;
}

.remont-editor-resize-handle {
  position: absolute;
  z-index: 24;
  right: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 6px;
  background: #195c5b;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.24);
  cursor: nwse-resize;
}

.remont-editor-resize-handle::before,
.remont-editor-resize-handle::after {
  position: absolute;
  right: 5px;
  bottom: 6px;
  width: 11px;
  height: 2px;
  content: "";
  transform: rotate(-45deg);
  transform-origin: right center;
  background: #fff;
}

.remont-editor-resize-handle::after {
  right: 5px;
  bottom: 10px;
  width: 7px;
}

.remont-editor-active.remont-editor-resizing,
.remont-editor-active.remont-editor-resizing * {
  cursor: nwse-resize !important;
  user-select: none !important;
}

.remont-engineering {
  padding-block: 88px 76px;
  color: rgba(255, 255, 255, 0.76);
  background: #242424;
}

.remont-engineering__heading {
  display: grid;
  margin-bottom: 42px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: 56px;
  align-items: end;
}

.remont-engineering__heading h2 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 4.2vw, 64px);
  font-weight: 400;
  letter-spacing: -0.026em;
  line-height: 1.02;
}

.remont-engineering__heading > p {
  max-width: 580px;
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 17px;
  line-height: 1.55;
}

.remont-engineering__eyebrow {
  margin: 0 0 15px;
  color: #bdb39f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.remont-engineering__viewport {
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.remont-engineering__track {
  display: flex;
  gap: 18px;
  align-items: stretch;
  transform: translate3d(0, 0, 0);
  transition: transform 520ms cubic-bezier(0.22, 0.74, 0.24, 1);
  will-change: transform;
}

.remont-engineering__card {
  min-width: 0;
  flex: 0 0 calc((100% - 36px) / 3);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #2c2b2a;
}

.remont-engineering__open {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 0;
  flex-direction: column;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.remont-engineering__media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #33312f;
}

.remont-engineering__media::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  content: "";
  pointer-events: none;
  transition: border-color 180ms ease;
}

.remont-engineering__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 560ms cubic-bezier(0.22, 0.74, 0.24, 1);
}

.remont-engineering__open:hover .remont-engineering__media img,
.remont-engineering__open:focus-visible .remont-engineering__media img {
  transform: scale(1.025);
}

.remont-engineering__open:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

.remont-engineering__open:hover .remont-engineering__media::after,
.remont-engineering__open:focus-visible .remont-engineering__media::after {
  border-color: rgba(255, 255, 255, 0.46);
}

.remont-engineering__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 24px;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.44);
  color: rgba(255, 255, 255, 0.78);
  background: #33312f;
  font-size: 14px;
}

.remont-engineering__caption {
  display: flex;
  min-height: 118px;
  padding: 22px 22px 24px;
  flex-direction: column;
  gap: 7px;
}

.remont-engineering__caption strong {
  display: block;
  color: #fff;
  font-family: var(--remont-font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.remont-engineering__caption span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.45;
}

.remont-engineering__controls {
  display: flex;
  margin-top: 28px;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.remont-engineering__arrow,
.remont-engineering__pages button {
  display: grid;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.remont-engineering__arrow {
  width: 40px;
}

.remont-engineering__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.remont-engineering__arrow:hover,
.remont-engineering__arrow:focus-visible,
.remont-engineering__pages button:hover,
.remont-engineering__pages button:focus-visible,
.remont-engineering__pages button.is-active {
  border-color: #fff;
  color: #242424;
  background: #fff;
}

.remont-engineering__arrow:disabled {
  opacity: 0.34;
  cursor: default;
}

.remont-engineering__pages {
  display: flex;
  gap: 7px;
}

.remont-engineering__pages button {
  width: 44px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.remont-engineering__thumbs {
  display: none;
}

.remont-dialog__counter {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.remont-editor-active .remont-engineering__viewport {
  overflow: visible;
}

.remont-editor-active .remont-engineering__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  transform: none !important;
}

.remont-editor-active .remont-engineering__card {
  min-width: 0;
}

.remont-editor-active .remont-engineering__controls,
.remont-editor-active .remont-engineering__thumbs {
  display: none !important;
}

@media (max-width: 1024px) {
  .remont-hero__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    gap: 32px;
  }

  .remont-hero h1 {
    font-size: 46px;
  }

  .remont-project-grid,
  .remont-video-grid {
    gap: 20px;
  }

  .remont-service-row,
  .remont-process-list li {
    grid-template-columns: 120px minmax(220px, 0.82fr) minmax(0, 1.18fr);
    gap: 22px;
  }

  .remont-process-list__visual {
    width: 112px;
    height: 72px;
  }

  .remont-proof__grid {
    grid-template-columns: minmax(270px, 0.92fr) minmax(270px, 0.8fr);
    gap: 22px;
  }

  .remont-price__content {
    grid-template-columns: minmax(320px, 0.9fr) minmax(280px, 1.1fr);
    gap: 36px;
  }

  .remont-contact__grid {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 22px;
  }
}

@media (max-width: 767px) {
  .remont-page {
    font-size: 15px;
  }

  .remont-page [data-remont-section][data-remont-custom-height="1"] {
    height: var(--remont-section-height-mobile, auto);
  }

  .remont-shell {
    width: min(calc(100% - 48px), 680px);
  }

  .remont-portfolio .remont-shell {
    width: min(calc(100% - 24px), 704px);
  }

  .remont-hero,
  .remont-hero__grid {
    min-height: 0;
  }

  .remont-hero__grid {
    display: flex;
    padding-block: 24px 54px;
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
  }

  .remont-hero__media {
    order: -1;
  }

  .remont-hero__video {
    height: min(500px, 125vw);
  }

  .remont-hero__copy {
    max-width: none;
    padding: 0;
  }

  .remont-kicker {
    margin-bottom: 16px;
    font-size: 15px;
  }

  .remont-hero h1 {
    font-size: clamp(35px, 10.2vw, 43px);
    line-height: 1.04;
  }

  .remont-hero__lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .remont-hero__price {
    margin-top: 16px;
    font-size: 19px;
  }

  .remont-actions {
    margin-top: 24px;
    flex-direction: column;
    gap: 10px;
  }

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

  .remont-section {
    padding-block: 64px;
  }

  .remont-section__heading {
    display: block;
    margin-bottom: 36px;
  }

  .remont-section__heading > .remont-section__number {
    margin-bottom: 18px;
  }

  .remont-section__heading h2,
  .remont-proof h2,
  .remont-price h2,
  .remont-contact h2,
  .remont-custom h2 {
    margin-bottom: 14px;
    font-size: clamp(34px, 9vw, 42px);
  }

  .remont-section__heading p,
  .remont-proof p,
  .remont-price p,
  .remont-contact p,
  .remont-custom p {
    font-size: 16px;
  }

  .remont-service-row {
    min-height: 0;
    padding: 24px 0;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px 16px;
  }

  .remont-service-row p {
    grid-column: 2;
  }

  .remont-service-row h3,
  .remont-process-list h3 {
    font-size: 21px;
  }

  .remont-project-grid,
  .remont-video-grid {
    display: block;
  }

  .remont-project + .remont-project,
  .remont-video-card + .remont-video-card {
    margin-top: 30px;
  }

  .remont-project__open > img {
    height: min(114vw, 470px);
  }

  .remont-project__drag-image {
    height: min(114vw, 470px);
  }

  .remont-project__arrow {
    width: 40px;
    height: 40px;
  }

  .remont-project__arrow--prev {
    left: 12px;
  }

  .remont-project__arrow--next {
    right: 12px;
  }

  .remont-project__thumbs {
    gap: 3px;
    padding-top: 6px;
  }

  .remont-project__thumb {
    border-width: 1px;
    border-radius: 2px;
  }

  .remont-project__meta {
    padding-top: 12px;
  }

  .remont-project__meta h3 {
    font-size: 18px;
  }

  .remont-video-card,
  .remont-video-card--featured {
    width: 100%;
    min-height: min(112vw, 460px);
  }

  .remont-page:not(.remont-editor-active) .remont-video-card.remont-mobile-hidden {
    display: none;
  }

  .remont-editor-active .remont-video-card.remont-mobile-hidden {
    display: block;
    opacity: 0.46;
  }

  .remont-editor-active .remont-video-card.remont-mobile-hidden::after {
    position: absolute;
    z-index: 6;
    top: 14px;
    right: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(20, 24, 23, 0.84);
    content: "Скрыто на телефоне";
    font-family: var(--remont-font-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
  }

  .remont-video-card__play {
    width: 56px;
    height: 56px;
  }

  .remont-proof,
  .remont-price,
  .remont-contact {
    padding-block: 64px;
  }

  .remont-proof {
    padding-block: 44px;
  }

  .remont-proof__grid,
  .remont-price__grid,
  .remont-contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .remont-proof__copy,
  .remont-price__content,
  .remont-contact__copy,
  .remont-contact__actions {
    grid-column: 1;
  }

  .remont-proof__action,
  .remont-contact__actions {
    grid-column: 1;
    margin-top: 24px;
  }

  .remont-proof-form {
    width: 100%;
    margin-top: 16px;
  }

  .remont-proof-form__row {
    display: grid;
    padding: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .remont-proof-form__row:focus-within {
    border-color: transparent;
    box-shadow: none;
  }

  .remont-proof-form__field {
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(25, 92, 91, 0.36);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.88);
  }

  .remont-proof-form__field:focus-within {
    border-color: var(--remont-green);
    box-shadow: 0 0 0 3px rgba(25, 92, 91, 0.1);
  }

  .remont-proof-form__field input {
    height: 44px;
    font-size: 17px;
  }

  .remont-proof-form__phone {
    height: 44px;
  }

  .remont-proof-form__phone-example {
    left: 28px;
    font-size: 17px;
  }

  .remont-proof-form__submit {
    width: 100%;
    min-height: 46px;
  }

  .remont-proof-form__consent {
    margin: 11px 2px 0;
    font-size: 12px;
  }

  .remont-price__content {
    display: block;
  }

  .remont-price p {
    padding-top: 0;
  }

  .remont-process-list li {
    padding: 24px 0;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 6px 14px;
  }

  .remont-process-list__visual {
    width: 80px;
    height: 58px;
    grid-row: 1 / span 2;
  }

  .remont-process-list h3,
  .remont-process-list p {
    grid-column: 2;
  }

  .remont-process-list p {
    margin-top: 2px;
  }

  .remont-contact__phone {
    font-size: 30px;
  }

  .remont-custom {
    min-height: 0;
    padding-block: 54px;
  }

  .remont-custom__grid,
  .remont-custom--text .remont-custom__grid,
  .remont-custom--image .remont-custom__grid {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .remont-custom__media,
  .remont-custom--image .remont-custom__media {
    height: min(96vw, 520px);
    min-height: 300px;
  }

  .remont-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    inset: 0;
    border-radius: 0;
  }

  .remont-dialog__bar {
    min-height: 58px;
    padding: 10px 12px 10px 16px;
  }

  .remont-dialog__bar h2 {
    font-size: 16px;
  }

  .remont-dialog video,
  .remont-dialog__gallery {
    width: 100vw;
    height: calc(100dvh - 58px);
    max-height: none;
    object-fit: contain;
  }

  .remont-dialog__arrow {
    width: 46px;
    height: 46px;
  }

  .remont-dialog__arrow--prev {
    left: 10px;
  }

  .remont-dialog__arrow--next {
    right: 10px;
  }
}

@media (max-width: 767px) {
  .remont-engineering {
    padding-block: 58px 52px;
  }

  .remont-engineering__heading {
    display: block;
    margin-bottom: 30px;
  }

  .remont-engineering__heading h2 {
    font-size: 39px;
    line-height: 1.04;
  }

  .remont-engineering__heading > p {
    margin-top: 20px;
    font-size: 15px;
  }

  .remont-engineering__track {
    gap: 12px;
  }

  .remont-page:not(.remont-editor-active) .remont-engineering__card {
    flex-basis: 100%;
  }

  .remont-engineering__media {
    aspect-ratio: 4 / 3;
  }

  .remont-engineering__caption {
    min-height: 108px;
    padding: 18px 18px 20px;
  }

  .remont-engineering__caption strong {
    font-size: 21px;
  }

  .remont-engineering__thumbs {
    display: flex;
    margin-top: 10px;
    padding: 2px 0 5px;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .remont-engineering__thumbs::-webkit-scrollbar {
    display: none;
  }

  .remont-engineering__thumb {
    width: 58px;
    height: 44px;
    flex: 0 0 58px;
    padding: 2px;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
  }

  .remont-engineering__thumb.is-active {
    border-color: #fff;
    box-shadow: 0 0 0 1px #fff;
  }

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

  .remont-engineering__thumb span {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #fff;
  }

  .remont-engineering__controls {
    margin-top: 18px;
    justify-content: space-between;
  }

  .remont-engineering__pages button {
    width: 38px;
  }

  .remont-editor-active .remont-engineering__track {
    grid-template-columns: minmax(0, 1fr);
  }

  .remont-dialog__counter {
    font-size: 12px;
  }
}

/*
 * Phones use the same 390 px composition as the mobile editor. The complete
 * inner canvas is scaled, so saved font sizes and line breaks do not change
 * between narrow and wide phones.
 */
@media (max-width: 480px) {
  .remont-page {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .remont-page .remont-shell {
    width: 342px;
    max-width: none;
    zoom: var(--remont-mobile-content-scale, 1);
  }

  .remont-page:not(.remont-editor-active) .remont-contact__title-line {
    display: block;
    white-space: nowrap;
  }

  .remont-page .remont-portfolio .remont-shell {
    width: 366px;
    max-width: none;
    zoom: var(--remont-mobile-portfolio-scale, 1);
  }

  .remont-page .remont-engineering__carousel {
    width: 366px;
    max-width: none;
    zoom: var(--remont-mobile-portfolio-scale, 1);
  }

  .remont-page:not(.remont-editor-active) [data-remont-section][data-remont-custom-height="1"] {
    height: var(--remont-section-height-mobile-scaled, var(--remont-section-height-mobile, auto));
  }
}

.remont-page:not(.remont-editor-active) .remont-video-card.remont-video-deleted {
  display: none !important;
}

.remont-editor-active .remont-video-card.remont-video-deleted {
  opacity: 0.42;
  filter: grayscale(0.72);
  outline: 2px dashed #b63831;
  outline-offset: -2px;
}

.remont-editor-active .remont-video-card.remont-video-deleted::after {
  position: absolute;
  z-index: 7;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #fff;
  background: #8f241e;
  content: "Видео удалено";
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .remont-page *,
  .remont-page *::before,
  .remont-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* The repair landing uses its own social proof, gallery and contact CTA. */
#bottom .grid-row-bottom-2,
#bottom .grid-row-bottom-3,
footer .grid-row-1 {
  display: none !important;
}
