﻿:root {
  --bg: #f3f5f0;
  --paper: #ffffff;
  --ink: #20251f;
  --muted: #647066;
  --line: #d6ded2;
  --accent: #496f68;
  --olive: #5c6651;
  --rose: #6f7b58;
  --deep: #1d2b27;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(41, 38, 34, 0.1);
  border-radius: 0 0 22px 22px;
  background: rgba(243, 245, 240, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
}

.brand-wordmark {
  width: 148px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--accent);
}

.header-phone {
  justify-self: end;
  font-size: 15px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

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

.hero {
  position: relative;
  margin-top: -22px;
  min-height: calc(100vh - 54px);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(29, 43, 39, 0.86), rgba(29, 43, 39, 0.3) 48%, rgba(29, 43, 39, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
}

.hero-slide {
  position: absolute;
  inset: -22px 0 0;
  z-index: -2;
  opacity: 0;
  transition: opacity 520ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.09) translate3d(-1.8%, 1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide img {
    animation: none;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 54px);
  max-width: 720px;
  padding: calc(8vh + 22px) clamp(20px, 6vw, 86px) 13vh;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 12vw, 164px);
  font-weight: 400;
  line-height: 0.92;
}

.hero p:not(.eyebrow) {
  max-width: 580px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2.4vw, 25px);
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
}

.button-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.hero .button-primary {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--ink);
}

.button-ghost {
  color: #ffffff;
}

.hero-control {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: clamp(22px, 5vw, 58px);
  display: flex;
  gap: 10px;
}

.hero-control button {
  width: 44px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-control button.is-active {
  background: #ffffff;
}

.section,
.services-band,
.find-us {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) clamp(20px, 4vw, 40px);
}

.intro {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
}

.intro h2,
.section-head h2,
.find-us h2,
.contacts h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.03;
}

.intro p,
.find-us p,
.contacts p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.text-link {
  color: var(--muted);
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
}

.catalog-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin: -8px 0 28px;
}

.catalog-search {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.catalog-search label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-search input {
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
}

.catalog-search input:focus {
  border-color: var(--accent);
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.catalog-filters button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.catalog-filters button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.catalog-overview {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}

.category {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: var(--paper);
}

.category-large {
  grid-row: span 1;
}

.category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.category:hover img {
  transform: scale(1.04);
}

.category div {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(29, 43, 39, 0.78), rgba(29, 43, 39, 0));
}

.category span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.category h3,
.project h3,
.services h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.16;
}

.category p,
.project p,
.services p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.price {
  color: var(--ink);
}

.category.is-hidden {
  display: none;
}

.catalog-empty {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}


.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
  background: var(--paper);
  transition: background 180ms ease, color 180ms ease;
}

.article-card img {
  width: calc(100% + 48px);
  height: 170px;
  margin: -24px -24px 22px;
  object-fit: cover;
}

.article-card:hover {
  background: var(--deep);
  color: #ffffff;
}

.article-card-featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 521px;
  background: var(--deep);
  color: #ffffff;
}

.article-card-featured img {
  height: 310px;
}

.article-card span {
  color: var(--rose);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-card-featured span,
.article-card:hover span {
  color: #d7b574;
}

.article-card h3 {
  margin: auto 0 0;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.08;
}

.article-card-featured h3 {
  max-width: 560px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 400;
}

.article-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.article-card-featured p,
.article-card:hover p {
  color: rgba(255, 255, 255, 0.74);
}

.article-page {
  background: var(--bg);
}

.article-header {
  position: sticky;
}

.article-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 88px) clamp(20px, 4vw, 40px);
}

.article-main-full {
  max-width: 1440px;
}

.article-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--muted);
  border-bottom: 1px solid currentColor;
}

.article-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.article-detail-full {
  grid-template-columns: minmax(360px, 0.74fr) minmax(420px, 1.26fr);
}

.article-detail h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 400;
  line-height: 0.98;
}

.article-lead {
  margin: 28px 0;
  color: var(--ink);
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.32;
}

.article-detail-text p:not(.article-lead) {
  color: var(--muted);
  font-size: 18px;
}

.article-extracted h2 {
  margin: 18px 0 6px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.article-extracted .price {
  margin: 8px 0 20px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.article-detail-media {
  display: grid;
  gap: 16px;
}

.article-source-pages {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding-right: 8px;
}

.article-source-pages img {
  width: 100%;
  background: var(--paper);
  box-shadow: 0 10px 34px rgba(29, 43, 39, 0.14);
}

.article-hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.article-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.article-embedded-section {
  margin-top: clamp(60px, 8vw, 110px);
}

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

.article-embedded-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--paper);
}

.article-layout-main {
  max-width: 1180px;
}

.article-layout-intro {
  max-width: 920px;
  margin-bottom: clamp(32px, 5vw, 60px);
}

.article-layout-intro h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 400;
  line-height: 0.98;
}

.article-layout-intro p {
  max-width: 740px;
  color: var(--muted);
  font-size: 20px;
}

.archive-layout-stack {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
}

.archive-layout-page {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / var(--page-ratio);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(29, 43, 39, 0.14);
}

.archive-page-label {
  position: absolute;
  right: 14px;
  top: 12px;
  z-index: 4;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 12px;
}

.archive-image-block,
.archive-text-block {
  position: absolute;
}

.archive-image-block {
  object-fit: fill;
}

.archive-text-block {
  z-index: 2;
  overflow: visible;
  color: var(--ink);
  line-height: 1.16;
}

.archive-text-block div {
  white-space: nowrap;
}

.archive-text-block span {
  font-size: calc(var(--base-size) * 1.36);
}

.archive-price span {
  color: var(--ink) !important;
  font-weight: 800 !important;
}

.article-raw-text {
  margin-top: clamp(36px, 6vw, 72px);
  padding: 24px;
  background: var(--paper);
}

.article-raw-text summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
}

.article-raw-text div {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.services-band {
  max-width: none;
  background: var(--deep);
  color: #ffffff;
}

.services-band > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.services article {
  min-height: 250px;
  padding: 28px;
  background: var(--deep);
}

.services span {
  color: var(--rose);
  font-size: 13px;
}

.services h3 {
  margin-top: 58px;
}

.services p {
  color: rgba(255, 255, 255, 0.68);
}

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

.project {
  background: var(--paper);
}

.project img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project div {
  padding: 20px 0 0;
  background: var(--bg);
}

.project p {
  color: var(--rose);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project h3 {
  max-width: 560px;
  margin-top: 8px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
}

.reviews {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.reviews-score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 420px;
  padding: clamp(26px, 4vw, 42px);
  background: var(--deep);
  color: #ffffff;
}

.score-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(82px, 12vw, 142px);
  line-height: 0.9;
}

.score-stars {
  margin-top: 18px;
  color: #d7b574;
  font-size: 24px;
  letter-spacing: 0.12em;
}

.reviews-score p {
  margin: 14px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.reviews-score .button-primary {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--ink);
}

.reviews-content {
  display: grid;
  align-content: center;
  gap: 30px;
}

.reviews-content h2 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.03;
}

.review-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.review-points article {
  min-height: 220px;
  padding: 24px;
  background: var(--paper);
}

.review-points span {
  color: var(--rose);
  font-size: 13px;
  font-weight: 700;
}

.review-points h3 {
  margin: 46px 0 0;
  font-size: 22px;
  line-height: 1.16;
}

.review-points p {
  margin: 10px 0 0;
  color: var(--muted);
}

.find-us {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.find-us-info {
  padding: clamp(26px, 4vw, 46px);
  background: var(--paper);
}

.find-details {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.find-details p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.find-details strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.map-embed {
  min-height: 520px;
  overflow: hidden;
  background: var(--line);
}

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

.contacts {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.contact-actions {
  display: grid;
  align-content: start;
  gap: 12px;
  font-size: clamp(22px, 3vw, 34px);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer img {
  width: 132px;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-docs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  color: var(--muted);
  font-size: 14px;
}

.footer-docs a {
  border-bottom: 1px solid transparent;
}

.footer-docs a:hover {
  color: var(--accent);
  border-color: currentColor;
}

.legal-main {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 90px) clamp(20px, 4vw, 40px);
}

.legal-main h1 {
  margin: 0 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 400;
  line-height: 1;
}

.legal-main h2 {
  margin: 38px 0 12px;
  font-size: 24px;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
  font-size: 18px;
}

.legal-main a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}

.legal-note,
.legal-table {
  margin: 26px 0;
  padding: 22px;
  background: var(--paper);
}

.legal-table {
  display: grid;
  gap: 1px;
  padding: 0;
  background: var(--line);
}

.legal-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 18px;
  background: var(--paper);
}

.legal-row strong {
  color: var(--ink);
}

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

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-phone {
    display: none;
  }

  .site-header.is-open .site-nav {
    display: grid;
    grid-column: 1 / -1;
    justify-content: start;
    gap: 16px;
    padding: 12px 0 10px;
    font-size: 18px;
    text-transform: none;
    letter-spacing: 0;
  }

  .hero-content {
    min-height: calc(92vh - 54px);
    padding-top: calc(6vh + 22px);
  }

  .intro,
  .find-us,
  .article-detail,
  .article-detail-full,
  .reviews,
  .contacts {
    grid-template-columns: 1fr;
    display: grid;
  }

  .article-source-pages {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .catalog-overview,
  .article-grid,
  .services,
  .review-points,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .catalog-filters {
    justify-content: flex-start;
  }

  .article-card-featured {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 360px;
  }

  .article-card-featured img {
    height: 230px;
  }

  .find-us {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand-wordmark {
    width: 124px;
  }

  .hero {
    min-height: 782px;
  }

  .hero-content {
    min-height: 782px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(29, 43, 39, 0.86), rgba(29, 43, 39, 0.36));
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .catalog-overview,
  .article-grid,
  .services,
  .review-points,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .category,
  .category-large {
    grid-column: auto;
    min-height: 330px;
  }

  .article-card,
  .article-card-featured {
    grid-column: auto;
    min-height: 250px;
  }

  .article-card img,
  .article-card-featured img {
    height: 190px;
  }

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

  .article-embedded-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services article {
    min-height: auto;
  }

  .services h3 {
    margin-top: 34px;
  }

  .reviews-score {
    min-height: 320px;
  }

  .review-points h3 {
    margin-top: 30px;
  }

  .contact-actions {
    font-size: 24px;
  }

  .site-footer {
    display: grid;
  }

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

  .legal-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
