* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

:root {
  --copy-black: #050505;
  --copy-white: #ffffff;
  --copy-page: #f6f6f6;
  --copy-muted: #6d6d6d;
  --copy-line: #e7e7e7;
  --copy-blue: #176fa8;
  --copy-blue-dark: #0d4c78;
  --copy-blue-soft: #e8f3fb;
  --copy-yellow: var(--copy-blue);
  --copy-yellow-dark: var(--copy-blue-dark);
  --copy-card: #f7f7f7;
  --copy-font: "Manrope", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--copy-page);
  color: #111111;
  font-family: var(--copy-font);
  font-size: 17px;
  line-height: 1.35;
}

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

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

.copy-container {
  width: min(100% - 72px, 1320px);
  margin: 0 auto;
}

.copy-container-narrow {
  width: min(100% - 72px, 1200px);
}

.copy-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  min-height: 92px;
  padding: 16px max(36px, calc((100vw - 1320px) / 2));
  color: var(--copy-white);
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
}

.copy-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.copy-brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.copy-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 34px);
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.copy-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.copy-nav a,
.copy-phone a {
  transition: color 180ms ease;
}

.copy-nav a:hover,
.copy-phone a:hover {
  color: #bfe5ff;
}

.copy-phone {
  display: grid;
  justify-items: end;
  gap: 3px;
  font-weight: 700;
  white-space: nowrap;
}

.copy-phone span {
  position: relative;
  font-size: 14px;
}

.copy-phone span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #ffffff;
  vertical-align: middle;
}

.copy-phone a {
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.copy-hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 118px 0 72px;
  color: var(--copy-white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0.34) 46%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.08) 46%, rgba(0, 0, 0, 0.45) 100%),
    url("../images/hero/hero-main.jpg") center 48% / cover no-repeat;
}

.copy-hero h1 {
  max-width: 982px;
  margin: 0;
  font-size: clamp(58px, 5.8vw, 79px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.copy-hero h1::first-line {
  font-weight: 400;
}

.copy-hero h1 strong {
  font-weight: 700;
}

.copy-hero p {
  max-width: 791px;
  margin: 28px 0 0;
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 260px;
  min-height: 58px;
  margin-top: 54px;
  padding: 18px 40px 18px 78px;
  border-radius: 4px;
  border: 0;
  background: var(--copy-blue);
  color: #ffffff;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

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

.copy-catalog {
  background: var(--copy-page);
  color: #111111;
  padding: 72px 0 70px;
}

.copy-catalog h2,
.copy-works h2 {
  margin: 0 0 30px;
  text-align: center;
  font-size: clamp(46px, 4.35vw, 58px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.copy-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-bottom: 32px;
}

.copy-tabs button {
  min-height: 36px;
  border: 0;
  background: #f3f3f3;
  color: #656565;
  font: inherit;
  font-size: 19px;
  cursor: pointer;
}

.copy-tabs button.is-active {
  background: var(--copy-blue);
  color: #ffffff;
}

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

.copy-project-card {
  position: relative;
  overflow: hidden;
  background: var(--copy-white);
  color: #222222;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.copy-project-card::before {
  content: "Строительство домов";
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 0;
  padding: 5px 12px;
  background: var(--copy-blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.copy-project-media {
  position: relative;
}

.copy-project-media img,
.copy-project-card > img {
  width: 100%;
  aspect-ratio: 1.34;
  object-fit: cover;
}

.copy-project-body {
  padding: 13px 14px 15px;
}

.copy-project-body strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.copy-project-body > span {
  display: block;
  margin-top: 2px;
  color: var(--copy-muted);
  font-size: 13px;
}

.copy-project-body dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 12px 0 15px;
}

.copy-project-body dt {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--copy-blue);
  font-size: 15px;
  font-weight: 800;
}

.copy-project-body dt svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.copy-project-body dt span {
  color: #333333;
  white-space: nowrap;
}

.copy-project-body dd {
  margin: 1px 0 0;
  color: var(--copy-muted);
  font-size: 12px;
}

.copy-project-body footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 -14px -15px;
}

.copy-project-body footer a,
.copy-project-body footer button,
.copy-admin-add {
  min-width: 108px;
  padding: 12px 15px;
  border: 0;
  background: var(--copy-blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
}

.copy-project-body footer b {
  padding-right: 14px;
  font-size: 14px;
  white-space: nowrap;
}

.copy-admin-add {
  display: inline-flex;
  justify-content: center;
  min-width: 190px;
  margin: 0 0 22px;
  font-family: inherit;
  font-size: 15px;
}

.project-load-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 34px;
  background: #ffffff;
  color: #555555;
  text-align: center;
  font-size: 18px;
}

.project-card-arrow,
.detail-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--copy-blue-dark);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.project-card-arrow.prev,
.detail-arrow.prev {
  left: 10px;
}

.project-card-arrow.next,
.detail-arrow.next {
  right: 10px;
}

.copy-project-card:hover .project-card-arrow,
.project-detail-gallery:hover .detail-arrow {
  opacity: 1;
}

.project-admin-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.project-admin-actions button,
.admin-head button,
.admin-actions button,
.admin-list-row button,
.admin-login-form button {
  min-height: 38px;
  border: 0;
  padding: 9px 14px;
  background: var(--copy-blue);
  color: #ffffff;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.project-admin-actions .danger,
.admin-list-row .danger {
  background: #b33636;
}

.copy-works {
  background: var(--copy-white);
  color: #080808;
  padding: 68px 0 76px;
}

.copy-works h2 {
  margin-bottom: 24px;
}

.copy-works h3 {
  margin: 30px 0 14px;
  font-size: clamp(26px, 2.55vw, 32px);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}

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

.copy-materials-grid article,
.copy-small-grid article {
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background: #d8d8d8;
}

.copy-materials-grid article::after,
.copy-small-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.copy-materials-grid img,
.copy-small-grid img,
.copy-wide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.copy-materials-grid img,
.copy-small-grid img {
  position: absolute;
  inset: 0;
  filter: saturate(1.04) contrast(1.03);
}

.copy-small-grid .retouched-card img {
  filter: saturate(1.16) contrast(1.08) brightness(1.05);
  transform: scale(1.015);
}

.copy-small-grid .retouched-card::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.52)),
    rgba(0, 0, 0, 0.18);
}

.copy-materials-grid span,
.copy-small-grid span {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  color: var(--copy-white);
  text-align: center;
  font-size: clamp(16px, 1.95vw, 22px);
  font-weight: 800;
  line-height: 1.14;
}

.copy-wide-image {
  height: 245px;
  border-radius: 2px;
}

.copy-small-grid {
  display: grid;
  gap: 12px;
}

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

.copy-small-grid article {
  min-height: 0;
}

.copy-small-grid span {
  font-size: clamp(15px, 1.65vw, 18px);
}

.copy-object-section {
  background: var(--copy-white);
  color: #111111;
  padding: 72px 0 86px;
}

.copy-object-section .copy-section-title {
  margin-bottom: 30px;
}

.copy-object-shell {
  display: grid;
  grid-template-columns: 58px minmax(0, 920px) 58px;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.copy-object-frame {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #07131d;
  box-shadow: 0 20px 44px rgba(7, 19, 29, 0.16);
}

.copy-object-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.copy-object-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.copy-object-arrow {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--copy-blue);
  color: #ffffff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.copy-object-arrow:disabled {
  opacity: 0.42;
  cursor: default;
}

.copy-mortgage {
  background: var(--copy-white);
  color: #111111;
  padding: 72px 0 96px;
}

.copy-mortgage .copy-section-title {
  margin-bottom: 30px;
}

.copy-mortgage-frame {
  overflow: hidden;
  border: 1px solid var(--copy-line);
  border-radius: 6px;
  background: var(--copy-white);
}

.copy-mortgage-frame iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: 0;
}

.copy-dark {
  background: var(--copy-page);
  color: #111111;
  padding: 84px 0 100px;
}

.copy-section-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: clamp(46px, 4.35vw, 58px);
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
}

.copy-section-title-compact {
  margin-bottom: 28px;
}

.copy-dark-intro {
  margin: 0 0 56px;
  color: #777777;
  font-size: 16px;
  text-align: center;
}

.copy-about-text {
  max-width: 980px;
  margin: 0 auto 50px;
  color: #222222;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
}

.copy-about-text p {
  margin: 0;
}

.copy-about-text p + p {
  margin-top: 18px;
}

.copy-gallery-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 76px;
}

.copy-gallery-row button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  border-radius: 7px;
  background: transparent;
  cursor: zoom-in;
}

.copy-gallery-row img {
  width: 100%;
  aspect-ratio: 1.38;
  border-radius: 7px;
  object-fit: contain;
  background: #ffffff;
}

.certificate-modal-card {
  width: min(96vw, 1040px);
  max-height: 92vh;
  padding: 18px;
  overflow: auto;
}

.certificate-modal-card img {
  width: 100%;
  height: auto;
  max-height: calc(92vh - 36px);
  object-fit: contain;
}

.copy-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 78px;
}

.copy-benefits article {
  min-height: 104px;
  padding: 18px 20px;
  border-radius: 6px;
  background: var(--copy-white);
  border-top: 4px solid var(--copy-blue);
  color: #111111;
}

.copy-benefits h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
}

.copy-benefits p,
.copy-faq p {
  margin: 0;
  color: #555555;
  font-size: 15px;
}

.copy-partners {
  margin-bottom: 78px;
}

.copy-partners .copy-section-title {
  margin-bottom: 28px;
}

.copy-partners h3 {
  margin: 42px 0 22px;
  color: #111111;
  font-size: clamp(26px, 2.65vw, 34px);
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
}

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

.copy-logo-grid article {
  display: flex;
  align-items: center;
  justify-content: center;
  place-self: stretch;
  min-height: 118px;
  padding: 24px 30px;
  border: 1px solid rgba(23, 111, 168, 0.14);
  border-radius: 6px;
  background: #ffffff;
}

.copy-logo-grid img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  margin: auto;
}

.copy-logo-grid img.copy-logo-large {
  max-height: 82px;
}

.copy-bank-grid {
  max-width: 880px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.copy-bank-grid article {
  min-height: 124px;
}

.copy-bank-grid img {
  max-height: 64px;
}

.copy-faq {
  display: grid;
  gap: 16px;
  margin-bottom: 76px;
}

.copy-faq .copy-section-title {
  margin-bottom: 8px;
}

.copy-faq-lead {
  margin: 0 0 18px;
  color: #777777;
  text-align: center;
}

.copy-faq details {
  border-radius: 6px;
  background: var(--copy-white);
  color: #111111;
}

.copy-faq summary {
  position: relative;
  padding: 20px 58px 20px 24px;
  color: var(--copy-blue-dark);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.copy-faq summary::-webkit-details-marker {
  display: none;
}

.copy-faq summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--copy-blue);
  color: #ffffff;
  text-align: center;
  line-height: 24px;
}

.copy-faq details[open] summary::after {
  content: "-";
}

.copy-faq details p {
  padding: 0 24px 22px;
}

.copy-contact-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 32px;
  align-items: stretch;
  margin: 26px 0 92px;
}

.copy-contact-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 34px;
  background: var(--copy-white);
  border-left: 6px solid var(--copy-blue);
}

.copy-contact-label {
  color: #777777;
  font-size: 15px;
}

.copy-contact-card strong {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.1;
}

.copy-contact-card > a {
  font-size: 22px;
  font-weight: 700;
}

.copy-contact-card > .copy-contact-phone {
  color: var(--copy-blue);
}

.copy-contact-card p {
  margin: 8px 0 6px;
  font-size: 17px;
  line-height: 1.35;
}

.copy-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.copy-domrf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--copy-blue);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.copy-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--copy-blue);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(23, 111, 168, 0.2);
}

.copy-social-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.copy-contact-card > .copy-map-link {
  justify-self: start;
  margin-top: 8px;
  color: var(--copy-blue);
  font-size: 17px;
  font-weight: 800;
}

.copy-domrf-link {
  justify-self: start;
  margin-top: 8px;
  background: var(--copy-blue-soft);
  color: var(--copy-blue-dark);
}

.copy-map {
  min-height: 430px;
  overflow: hidden;
  border-radius: 6px;
  background: #dce8f0;
}

.copy-map iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  filter: grayscale(0.1);
}

.copy-stats {
  padding: clamp(26px, 4vw, 46px);
  border-radius: 28px;
  background: var(--copy-white);
  color: #202231;
  box-shadow: 0 18px 52px rgba(31, 54, 70, 0.08);
}

.copy-stats-head {
  margin-bottom: 30px;
}

.copy-stats-head h2 {
  margin: 0;
  font-family: var(--copy-font);
  font-size: clamp(20px, 1.65vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  text-transform: none;
}

.copy-stats-body {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(420px, 1.25fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
}

.copy-stat-counters {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: clamp(22px, 4vw, 46px);
}

.copy-counter {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.copy-counter-ring {
  width: min(100%, 250px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 12px solid var(--copy-blue);
  border-radius: 50%;
}

.copy-counter-progress .copy-counter-ring {
  border-color: var(--copy-blue);
  background: var(--copy-white);
}

.copy-counter-ring strong,
.copy-counter-ring span,
.copy-counter p {
  display: block;
  text-align: center;
}

.copy-counter-ring strong {
  color: #1f2130;
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 600;
  line-height: 0.95;
}

.copy-counter-ring span {
  margin-top: 4px;
  color: #a7acbf;
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 500;
}

.copy-counter p {
  margin: 0;
  color: #8e94a8;
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 500;
}

.copy-stats-list {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3vw, 42px);
  border-radius: 22px;
  background: #f4f5fa;
}

.copy-stats-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 14px;
  color: #72788b;
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 500;
}

.copy-stats-list span {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.copy-stats-list span::after {
  content: "";
  min-width: 30px;
  border-bottom: 3px dotted #c5cadb;
  transform: translateY(-6px);
}

.copy-stats-list strong {
  color: #202231;
  font-weight: 700;
  white-space: nowrap;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.62);
}

.modal-card {
  position: relative;
  width: min(100%, 980px);
  max-height: min(90vh, 900px);
  overflow: auto;
  padding: 34px;
  background: #ffffff;
  color: #111111;
}

.modal-card-small {
  width: min(100%, 430px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--copy-blue);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-card h2,
.admin-head h2 {
  margin: 0 0 22px;
  font-size: 34px;
  text-transform: uppercase;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

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

.admin-form,
.admin-login-form {
  display: grid;
  gap: 14px;
}

.admin-form label,
.admin-login-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-login-form input {
  width: 100%;
  border: 1px solid #d6d6d6;
  padding: 12px;
  font: inherit;
}

.admin-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.admin-gallery figure {
  position: relative;
  margin: 0;
}

.admin-gallery img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
}

.admin-gallery button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  border: 0;
  background: #b33636;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

.admin-stats-panel,
.admin-object-panel {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid #d8d8d8;
}

.admin-stats-panel h3,
.admin-object-panel h3 {
  margin: 0 0 16px;
  font-size: 24px;
  text-transform: uppercase;
}

.admin-object-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.admin-object-card {
  overflow: hidden;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #d8d8d8;
}

.admin-object-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.admin-object-card .admin-list-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
  padding: 10px;
}

.admin-object-card .admin-list-actions button {
  width: 100%;
  min-width: 0;
}

.admin-actions,
.admin-list-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.admin-list-row {
  justify-content: space-between;
  padding: 14px;
  background: var(--copy-blue-soft);
}

.admin-list-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-list-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-list-row strong,
.admin-list-row span {
  display: block;
}

.admin-error {
  margin: 0;
  color: #b33636;
  font-weight: 700;
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
}

.project-detail-gallery {
  position: relative;
}

.project-detail-gallery img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.project-detail-info h2 {
  margin: 0 0 18px;
  font-size: 34px;
  text-transform: uppercase;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.detail-specs div {
  padding: 12px;
  background: var(--copy-blue-soft);
}

.detail-specs dt {
  color: #666666;
  font-size: 14px;
}

.detail-specs dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.project-detail-info p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 1120px) {
  .copy-header {
    grid-template-columns: auto 1fr;
    gap: 18px;
    min-height: 78px;
  }

  .copy-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    font-size: 14px;
  }

  .copy-nav::-webkit-scrollbar {
    display: none;
  }

  .copy-phone a {
    font-size: 21px;
  }

  .copy-hero {
    padding-top: 150px;
  }

  .copy-project-grid,
  .copy-materials-grid,
  .copy-benefits,
  .copy-logo-grid,
  .project-detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .copy-contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .copy-container,
  .copy-container-narrow {
    width: min(100% - 28px, 1180px);
  }

  .copy-header {
    position: absolute;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 14px;
  }

  .copy-brand {
    font-size: 21px;
  }

  .copy-brand img {
    width: 50px;
    height: 50px;
  }

  .copy-phone span {
    display: none;
  }

  .copy-phone a {
    font-size: 18px;
  }

  .copy-nav {
    width: 100%;
    gap: 18px;
    font-size: 12px;
  }

  .copy-hero {
    min-height: 720px;
    padding: 142px 0 46px;
  }

  .copy-hero h1 {
    font-size: 39px;
  }

  .copy-hero p {
    margin-top: 28px;
    font-size: 18px;
  }

  .copy-button {
    min-width: 0;
    width: 100%;
    min-height: 64px;
    margin-top: 46px;
    font-size: 16px;
  }

  .copy-catalog,
  .copy-works,
  .copy-object-section,
  .copy-mortgage,
  .copy-dark {
    padding: 54px 0;
  }

  .copy-catalog h2,
  .copy-works h2 {
    font-size: 38px;
  }

  .copy-tabs,
  .copy-object-shell,
  .copy-project-grid,
  .copy-materials-grid,
  .copy-small-grid.three,
  .copy-gallery-row,
  .copy-benefits,
  .copy-logo-grid,
  .copy-bank-grid,
  .copy-contact-layout,
  .admin-grid,
  .project-detail {
    grid-template-columns: 1fr;
  }

  .copy-object-arrow {
    width: 100%;
    height: 48px;
    border-radius: 4px;
    font-size: 34px;
  }

  .copy-dark-intro {
    margin-bottom: 58px;
  }

  .copy-gallery-row,
  .copy-benefits,
  .copy-partners,
  .copy-faq,
  .copy-contact-layout {
    margin-bottom: 54px;
  }

  .copy-logo-grid article {
    min-height: 104px;
  }

  .copy-map {
    min-height: 320px;
  }

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

  .copy-contact-card {
    padding: 24px;
  }

  .copy-stats {
    border-radius: 18px;
  }

  .copy-stats-body,
  .copy-stat-counters {
    grid-template-columns: 1fr;
  }

  .copy-stat-counters {
    max-width: 260px;
    margin: 0 auto;
  }

  .copy-stats-list div,
  .copy-stats-list span {
    grid-template-columns: 1fr;
  }

  .copy-stats-list span::after {
    display: none;
  }
}
