html.cottage-project-page {
  --cottage-ink: #172b38;
  --cottage-muted: #667986;
  --cottage-blue: #15679a;
  --cottage-blue-dark: #0c466b;
  --cottage-sky: #eaf5fc;
  --cottage-paper: #f4f7f9;
  --cottage-line: #d9e5ec;
  --cottage-radius: 22px;
}

html.cottage-project-page .page-top-wrapper {
  position: relative;
  display: flex;
  min-height: clamp(500px, 56vw, 680px);
  align-items: flex-end;
  overflow: hidden;
  background: #102733 url('/site/cottage/media/cottage/turnkey/exterior-03.png') center 54% / cover no-repeat;
}

html.cottage-project-page .page-top-wrapper::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: '';
  background:
    linear-gradient(180deg, rgba(7, 24, 34, 0.18) 0%, rgba(7, 24, 34, 0.08) 38%, rgba(7, 24, 34, 0.86) 100%),
    linear-gradient(90deg, rgba(7, 24, 34, 0.52) 0%, transparent 62%);
}

html.cottage-project-page .page-top-wrapper .page-top {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 68px;
}

html.cottage-project-page .page-top-wrapper .topic,
html.cottage-project-page .page-top-wrapper .topic__inner,
html.cottage-project-page .page-top-wrapper .topic__heading {
  overflow: visible;
}

html.cottage-project-page .page-top-wrapper #pagetitle {
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-align: left;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.35);
}

html.cottage-project-page .page-top-wrapper .breadcrumbs,
html.cottage-project-page .page-top-wrapper .breadcrumbs a,
html.cottage-project-page .page-top-wrapper .breadcrumbs span,
html.cottage-project-page .page-top-wrapper .breadcrumb,
html.cottage-project-page .page-top-wrapper .breadcrumb a,
html.cottage-project-page .page-top-wrapper .breadcrumb span {
  color: rgba(255, 255, 255, 0.82) !important;
}

html.cottage-project-page .page-top-wrapper svg path {
  fill: #fff;
}

html.cottage-project-page .top_section_filter {
  position: relative;
  z-index: 4;
}

html.cottage-project-page .top_section_filter_content {
  margin-top: -42px;
}

html.cottage-project-page .top-info {
  position: relative;
  z-index: 4;
  margin-top: -42px;
  overflow: hidden;
  border: 0;
  border-radius: var(--cottage-radius);
  background: #fff;
  box-shadow: 0 26px 64px rgba(6, 31, 45, 0.24);
}

html.cottage-project-page .top-info__picture,
html.cottage-project-page .top-info__text {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
}

html.cottage-project-page .top-info > .flexbox {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(350px, 0.82fr);
  align-items: stretch;
}

html.cottage-project-page .top-info__picture,
html.cottage-project-page .top-info__picture .owl-carousel,
html.cottage-project-page .top-info__picture .owl-stage-outer,
html.cottage-project-page .top-info__picture .owl-stage,
html.cottage-project-page .top-info__picture .owl-item,
html.cottage-project-page .top-info__picture-item,
html.cottage-project-page .top-info__link,
html.cottage-project-page .top-info__img {
  min-height: 600px;
  height: 100%;
}

html.cottage-project-page .top-info__img {
  display: block;
  background-position: center;
  background-size: cover;
}

html.cottage-project-page .top-info__text {
  min-width: 0;
  background: var(--cottage-paper);
  color: var(--cottage-ink);
}

html.cottage-project-page .top-info__text-inner {
  display: flex;
  height: 100%;
  padding: 48px 44px;
  align-items: stretch;
}

html.cottage-project-page .top-info__task,
html.cottage-project-page .top-info__task-value,
html.cottage-project-page .cottage-project-summary {
  width: 100%;
}

html.cottage-project-page .top-info__task-value {
  color: var(--cottage-ink) !important;
  font-size: 16px;
  line-height: 1.45;
}

html.cottage-project-page .top-info__bottom,
html.cottage-project-page .top-meta,
html.cottage-project-page .top-info__task > .font_13.color_999,
html.cottage-project-page .detail-block.ordered-block.desc .introtext {
  display: none !important;
}

.cottage-project-summary {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.cottage-project-summary__eyebrow,
.cottage-section__eyebrow {
  margin-bottom: 16px;
  color: var(--cottage-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cottage-project-summary__price {
  margin-bottom: 10px;
  color: var(--cottage-ink);
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.cottage-project-summary__status {
  display: flex;
  margin-bottom: 28px;
  align-items: center;
  gap: 9px;
  color: #4a6575;
  font-size: 14px;
  font-weight: 650;
}

.cottage-project-summary__status::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #33a56e;
  box-shadow: 0 0 0 5px rgba(51, 165, 110, 0.13);
  content: '';
}

.cottage-project-summary__technology {
  margin-bottom: 28px;
  color: var(--cottage-ink);
  font-size: 22px;
  font-weight: 750;
  line-height: 1.18;
}

.cottage-project-summary__facts {
  display: grid;
  margin-bottom: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--cottage-line);
  border-left: 1px solid var(--cottage-line);
}

.cottage-project-summary__fact {
  min-width: 0;
  padding: 16px 12px 15px 0;
  border-right: 1px solid var(--cottage-line);
  border-bottom: 1px solid var(--cottage-line);
}

.cottage-project-summary__fact:nth-child(odd) {
  padding-left: 0;
}

.cottage-project-summary__fact:nth-child(even) {
  padding-left: 16px;
}

.cottage-project-summary__fact strong,
.cottage-project-summary__fact span {
  display: block;
}

.cottage-project-summary__fact strong {
  margin-bottom: 3px;
  color: var(--cottage-ink);
  font-size: 19px;
  font-weight: 800;
}

.cottage-project-summary__fact span {
  color: var(--cottage-muted);
  font-size: 12px;
  line-height: 1.25;
}

.cottage-project-summary__actions {
  display: grid;
  margin-top: auto;
  gap: 10px;
}

.cottage-project-btn {
  display: inline-flex;
  min-height: 54px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cottage-blue);
  border-radius: 10px;
  background: var(--cottage-blue);
  color: #fff !important;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.cottage-project-btn:hover {
  border-color: var(--cottage-blue-dark);
  background: var(--cottage-blue-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.cottage-project-btn--quiet {
  border-color: var(--cottage-line);
  background: transparent;
  color: var(--cottage-blue-dark) !important;
}

.cottage-project-btn--quiet:hover {
  border-color: var(--cottage-blue-dark);
  background: #fff;
  color: var(--cottage-blue-dark) !important;
}

.cottage-project-btn:focus-visible,
.cottage-project-content a:focus-visible {
  outline: 3px solid rgba(33, 150, 224, 0.5);
  outline-offset: 3px;
}

html.cottage-project-page .services-detail__bottom-info {
  padding-top: 42px;
}

html.cottage-project-page .detail-block.ordered-block.desc {
  margin-top: 0;
}

html.cottage-project-page .detail-block.ordered-block.desc > .maxwidth-theme,
html.cottage-project-page .detail-block.ordered-block.desc .content {
  max-width: none;
}

.cottage-project-content {
  position: relative;
  padding: 88px 0 24px;
  background: #132a37;
  box-shadow: 0 0 0 100vmax #132a37;
  clip-path: inset(0 -100vmax);
  color: var(--cottage-ink);
}

.cottage-project-content section {
  margin: 0 0 88px;
}

.cottage-project-content h2,
.cottage-project-content h3,
.cottage-project-content p {
  margin-top: 0;
}

.cottage-project-content h2 {
  max-width: 820px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(34px, 4.1vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.cottage-project-content h3 {
  color: var(--cottage-ink);
  font-size: 23px;
  line-height: 1.15;
}

.cottage-project-content p {
  color: #b8c4cb;
  font-size: 18px;
  line-height: 1.65;
}

.cottage-project-content .cottage-section__lead {
  max-width: 780px;
  margin-bottom: 34px;
}

.cottage-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 64px;
  align-items: start;
}

.cottage-overview__copy p {
  max-width: 66ch;
}

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

.cottage-fact {
  min-height: 132px;
  padding: 24px;
  border: 1px solid rgba(217, 229, 236, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.cottage-fact strong,
.cottage-fact span {
  display: block;
}

.cottage-fact strong {
  margin-bottom: 8px;
  color: #fff;
  font-size: 23px;
  line-height: 1.08;
}

.cottage-fact span {
  color: #9eafb9;
  font-size: 13px;
  line-height: 1.4;
}

.cottage-technology {
  display: grid;
  padding: 44px 48px;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
  border-radius: var(--cottage-radius);
  background: var(--cottage-sky);
}

.cottage-technology h2,
.cottage-technology p {
  color: var(--cottage-ink);
}

.cottage-technology p:last-child {
  margin-bottom: 0;
}

.cottage-media-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 210px;
  grid-auto-flow: dense;
  gap: 12px;
}

.cottage-media-card {
  position: relative;
  display: block;
  overflow: hidden;
  grid-column: span 4;
  border-radius: 14px;
  background: #18313f;
}

.cottage-media-grid > .cottage-media-card:nth-child(1) {
  grid-column: span 8;
  grid-row: span 2;
}

.cottage-media-grid > .cottage-media-card:nth-child(7),
.cottage-media-grid > .cottage-media-card:nth-child(8) {
  grid-column: span 6;
}

.cottage-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.cottage-media-card:hover img {
  transform: scale(1.015);
}

.cottage-media-card__label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8, 28, 40, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.cottage-turnkey-note {
  display: grid;
  max-width: 920px;
  margin: 0 0 28px;
  padding: 22px 24px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(117, 194, 235, 0.28);
  border-radius: 14px;
  background: rgba(31, 111, 158, 0.15);
}

.cottage-turnkey-note::before {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cottage-sky);
  color: var(--cottage-blue-dark);
  content: '✓';
  font-size: 18px;
  font-weight: 900;
}

.cottage-turnkey-note strong,
.cottage-turnkey-note span {
  display: block;
}

.cottage-turnkey-note strong {
  margin: 1px 0 4px;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}

.cottage-turnkey-note span {
  color: #b8cbd6;
  font-size: 14px;
  line-height: 1.5;
}

.cottage-interior-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 205px;
  grid-auto-flow: dense;
  gap: 12px;
}

.cottage-interior-grid > .cottage-media-card {
  grid-column: span 4;
}

.cottage-interior-grid > .cottage-media-card:nth-child(1) {
  grid-column: span 6;
  grid-row: span 2;
}

.cottage-interior-grid > .cottage-media-card:nth-child(2),
.cottage-interior-grid > .cottage-media-card:nth-child(3),
.cottage-interior-grid > .cottage-media-card:nth-child(7),
.cottage-interior-grid > .cottage-media-card:nth-child(8) {
  grid-column: span 3;
  grid-row: span 2;
}

.cottage-interior-grid > .cottage-media-card:nth-child(9),
.cottage-interior-grid > .cottage-media-card:nth-child(10) {
  grid-column: span 6;
}

.cottage-location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cottage-location-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  background: #18313f;
}

.cottage-location-card__label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.cottage-location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.cottage-location-card:hover img {
  transform: scale(1.015);
}

.cottage-schemes {
  padding: 72px max(24px, calc((100vw - 1248px) / 2));
  border-radius: 28px;
  background: var(--cottage-paper);
}

.cottage-schemes h2,
.cottage-schemes p {
  color: var(--cottage-ink);
}

.cottage-schemes .cottage-section__lead p {
  color: var(--cottage-muted);
}

.cottage-plan-grid {
  display: grid;
  margin-bottom: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cottage-facade-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cottage-scheme-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--cottage-line);
  border-radius: 16px;
  background: #fff;
  color: var(--cottage-ink) !important;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.cottage-scheme-card:hover {
  border-color: #b9d5e5;
  color: var(--cottage-ink) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(18, 59, 82, 0.11);
}

.cottage-scheme-card__media {
  display: flex;
  min-height: 0;
  aspect-ratio: 0.73 / 1;
  padding: 12px;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.cottage-scheme-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cottage-scheme-card__caption {
  padding: 17px 18px;
  border-top: 1px solid var(--cottage-line);
  color: var(--cottage-ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
}

.cottage-engineering {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 60px;
}

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

.cottage-engineering__item {
  padding: 22px;
  border-left: 3px solid var(--cottage-blue);
  background: rgba(255, 255, 255, 0.045);
}

.cottage-engineering__item strong,
.cottage-engineering__item span {
  display: block;
}

.cottage-engineering__item strong {
  margin-bottom: 6px;
  color: #fff;
  font-size: 17px;
}

.cottage-engineering__item span {
  color: #a6b6bf;
  font-size: 13px;
  line-height: 1.45;
}

.cottage-project-cta {
  display: grid;
  padding: 52px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  border-radius: var(--cottage-radius);
  background: var(--cottage-blue-dark);
}

.cottage-project-cta h2,
.cottage-project-cta p {
  color: #fff;
}

.cottage-project-cta p {
  max-width: 62ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.cottage-project-cta .cottage-project-btn {
  min-width: 220px;
  border-color: #fff;
  background: #fff;
  color: var(--cottage-blue-dark) !important;
}

.cottage-project-cta .cottage-project-btn:hover {
  border-color: var(--cottage-sky);
  background: var(--cottage-sky);
}

html.cottage-project-page .bottom-links-block {
  margin-top: 16px;
}

@media (max-width: 991px) {
  html.cottage-project-page .page-top-wrapper {
    min-height: 560px;
  }

  html.cottage-project-page .top-info > .flexbox {
    grid-template-columns: 1fr;
  }

  html.cottage-project-page .top-info__picture,
  html.cottage-project-page .top-info__picture .owl-carousel,
  html.cottage-project-page .top-info__picture .owl-stage-outer,
  html.cottage-project-page .top-info__picture .owl-stage,
  html.cottage-project-page .top-info__picture .owl-item,
  html.cottage-project-page .top-info__picture-item,
  html.cottage-project-page .top-info__link,
  html.cottage-project-page .top-info__img {
    min-height: 470px;
  }

  .cottage-overview,
  .cottage-technology,
  .cottage-engineering {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cottage-media-grid {
    grid-auto-rows: 180px;
  }

  .cottage-interior-grid {
    grid-auto-rows: 175px;
  }

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

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

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

@media (max-width: 767px) {
  html.cottage-project-page .page-top-wrapper {
    min-height: 430px;
    background-position: 54% center;
  }

  html.cottage-project-page .page-top-wrapper .page-top {
    padding-top: 92px;
    padding-bottom: 36px;
  }

  html.cottage-project-page .page-top-wrapper .breadcrumbs,
  html.cottage-project-page .page-top-wrapper .breadcrumb {
    display: -webkit-box;
    max-height: 42px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  html.cottage-project-page .page-top-wrapper #pagetitle {
    font-size: clamp(31px, 9.1vw, 40px);
    line-height: 1.02;
  }

  html.cottage-project-page .top_section_filter_content {
    margin-top: -18px;
  }

  html.cottage-project-page .top-info {
    margin-top: -18px;
  }

  html.cottage-project-page .top-info {
    border-radius: 16px;
  }

  html.cottage-project-page .top-info__picture,
  html.cottage-project-page .top-info__picture .owl-carousel,
  html.cottage-project-page .top-info__picture .owl-stage-outer,
  html.cottage-project-page .top-info__picture .owl-stage,
  html.cottage-project-page .top-info__picture .owl-item,
  html.cottage-project-page .top-info__picture-item,
  html.cottage-project-page .top-info__link,
  html.cottage-project-page .top-info__img {
    min-height: 310px;
  }

  html.cottage-project-page .top-info__text-inner {
    padding: 30px 24px;
  }

  .cottage-project-summary__technology {
    font-size: 20px;
  }

  html.cottage-project-page .services-detail__bottom-info {
    padding-top: 28px;
  }

  .cottage-project-content section {
    margin-bottom: 64px;
  }

  .cottage-project-content {
    padding-top: 64px;
  }

  .cottage-project-content h2 {
    font-size: 32px;
  }

  .cottage-project-content p {
    font-size: 16px;
  }

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

  .cottage-fact {
    min-height: 118px;
    padding: 18px;
  }

  .cottage-technology {
    padding: 30px 24px;
    border-radius: 16px;
  }

  .cottage-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 172px;
    gap: 8px;
  }

  .cottage-media-card,
  .cottage-media-grid > .cottage-media-card:nth-child(7),
  .cottage-media-grid > .cottage-media-card:nth-child(8) {
    grid-column: span 1;
  }

  .cottage-media-grid > .cottage-media-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .cottage-media-grid > .cottage-media-card:nth-child(6) {
    grid-column: span 2;
  }

  .cottage-interior-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 172px;
    gap: 8px;
  }

  .cottage-interior-grid > .cottage-media-card,
  .cottage-interior-grid > .cottage-media-card:nth-child(2),
  .cottage-interior-grid > .cottage-media-card:nth-child(3),
  .cottage-interior-grid > .cottage-media-card:nth-child(7),
  .cottage-interior-grid > .cottage-media-card:nth-child(8),
  .cottage-interior-grid > .cottage-media-card:nth-child(9),
  .cottage-interior-grid > .cottage-media-card:nth-child(10) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .cottage-interior-grid > .cottage-media-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .cottage-interior-grid > .cottage-media-card:nth-child(5),
  .cottage-interior-grid > .cottage-media-card:nth-child(8) {
    grid-column: span 2;
  }

  .cottage-turnkey-note {
    padding: 18px;
    grid-template-columns: 1fr;
  }

  .cottage-turnkey-note::before {
    width: 34px;
    height: 34px;
  }

  .cottage-location-grid,
  .cottage-plan-grid,
  .cottage-facade-grid {
    grid-template-columns: 1fr;
  }

  .cottage-location-grid {
    gap: 8px;
  }

  .cottage-schemes {
    margin-right: -16px;
    margin-left: -16px;
    padding: 48px 16px;
    border-radius: 18px;
  }

  .cottage-scheme-card__media {
    max-height: 590px;
  }

  .cottage-project-cta {
    padding: 34px 24px;
    grid-template-columns: 1fr;
    gap: 24px;
    border-radius: 16px;
  }

  .cottage-project-cta .cottage-project-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cottage-project-btn,
  .cottage-media-card img,
  .cottage-interior-grid .cottage-media-card img,
  .cottage-location-card img,
  .cottage-scheme-card {
    transition: none;
  }
}
