/* ---------- Страница проекта ---------- */
  .p-hero { background: var(--dark-bg); color: var(--dark-text); padding: 130px var(--gutter) 56px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: end; position: relative; overflow: hidden; }
  .p-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 78% 20%, rgba(201,146,78,0.14), transparent 70%), radial-gradient(40% 60% at 10% 90%, rgba(74,106,88,0.28), transparent 70%); pointer-events: none; }
  .p-hero > * { position: relative; }
  .p-hero .eyebrow { color: var(--dark-text-3); }
  .p-hero h1 { font-family: var(--font-display); font-size: clamp(3.4rem, 2rem + 8vw, 11rem); line-height: 0.9; letter-spacing: -0.035em; margin: 18px 0 0 -0.05em; }
  .p-hero__lede { margin-top: 26px; max-width: 34ch; font-size: clamp(1.05rem, 1rem + 0.5vw, 1.35rem); line-height: 1.4; color: var(--dark-text-2); }
  .p-hero__price { margin-top: 28px; display: grid; grid-template-columns: auto auto; gap: 8px 40px; width: fit-content; padding-top: 22px; border-top: 1px solid var(--dark-line); }
  .p-hero__price b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; display: block; }
  .p-hero__price span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark-text-3); display: block; margin-top: 8px; }
  .p-hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
  .p-hero__cta .hero__cta { margin: 0; }
  .p-hero__figure { aspect-ratio: 4 / 3; border: 1px solid var(--dark-line); background: rgba(236,233,223,0.04); position: relative; overflow: hidden; }
  .p-hero__figure svg { width: 100%; height: 100%; }
  .p-hero__figure .ground { fill: transparent; }
  .p-hero__figure .wall { fill: none; stroke: var(--dark-text); stroke-width: 1.4; }
  .p-hero__figure .roof { fill: #2b3f34; }
  .p-hero__figure .wood { fill: var(--larch); opacity: 0.9; }
  .p-hero__figure .glass { fill: var(--moss); opacity: 0.7; }
  .p-hero__figure .tree { stroke: var(--dark-text-3); stroke-width: 1.2; fill: none; }
  .p-hero__figure figcaption { position: absolute; left: 16px; bottom: 14px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark-text-3); }
  @media (max-width: 900px) { .p-hero { grid-template-columns: 1fr; padding-top: 110px; } }

  .p-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 32px var(--gutter); border-bottom: 1px solid var(--line); }
  .p-facts .fact span { color: var(--text-2); max-width: none; }
  .p-facts .fact b sup { color: var(--text-2); }
  @media (max-width: 760px) { .p-facts { grid-template-columns: 1fr 1fr; } }

  .renders { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
  .render { position: relative; aspect-ratio: 4 / 3; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
  .render:nth-child(1) { grid-column: 1 / span 8; aspect-ratio: 16 / 10; }
  .render:nth-child(2) { grid-column: 9 / span 4; aspect-ratio: auto; }
  .render:nth-child(3) { grid-column: 1 / span 5; }
  .render:nth-child(4) { grid-column: 6 / span 7; aspect-ratio: 16 / 9; }
  .render img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .render svg { width: 100%; height: 100%; }
  .render .ground { fill: var(--bg-2); } .render .wall { fill: none; stroke: var(--text); stroke-width: 1.4; } .render .roof { fill: var(--pine-deep); } .render .wood { fill: var(--larch); opacity: 0.9; } .render .glass { fill: var(--moss); opacity: 0.55; } .render .tree { stroke: var(--text-3); stroke-width: 1.2; fill: none; }
  .render--dusk .ground { fill: #2a3a31; } .render--dusk .wall { stroke: #ece9df; } .render--dusk .roof { fill: #17241d; } .render--dusk .glass { fill: #e0b97f; opacity: 0.85; } .render--dusk .tree { stroke: rgba(236,233,223,0.4); }
  .render figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); background: var(--bg); padding: 5px 8px; }
  .render--dusk figcaption { background: rgba(20,32,26,0.7); color: rgba(236,233,223,0.7); }
  @media (max-width: 760px) { .render, .render:nth-child(n) { grid-column: 1 / -1; aspect-ratio: 4 / 3; } }

  .video { position: relative; aspect-ratio: 16 / 9; background: var(--pine-night); color: var(--dark-text); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
  .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .video__ph { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 24px; }
  .video__play { width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(236,233,223,0.4); display: grid; place-items: center; }
  .video__play i { display: block; width: 0; height: 0; border-left: 16px solid var(--larch-soft); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
  .video__ph p { color: var(--dark-text-2); max-width: 36ch; font-size: 0.95rem; }
  .video__ph b { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }

  .plan { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
  .plan__figure { background: var(--pine-night); padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line); }
  .plan__figure svg { width: 100%; height: auto; }
  .plan__figure .room { fill: none; stroke: rgba(236,233,223,0.85); stroke-width: 1.2; }
  .plan__figure .terrace { fill: rgba(201,146,78,0.25); stroke: rgba(201,146,78,0.9); stroke-width: 1; stroke-dasharray: 3 3; }
  .plan__figure .door { stroke: var(--larch); stroke-width: 1.4; }
  .plan__figure text { font-family: var(--font-mono); font-size: 5.6px; letter-spacing: 0.06em; text-transform: uppercase; fill: rgba(236,233,223,0.7); }
  .plan__figure .area { font-family: var(--font-display); font-size: 11px; fill: #ece9df; letter-spacing: 0; text-transform: none; }
  .plan__rooms { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
  .plan__rooms li { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .plan__rooms li i { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--accent-ink); font-style: normal; padding-top: 4px; }
  .plan__note { margin-top: 22px; color: var(--text-2); font-size: 0.92rem; max-width: 40ch; }
  @media (max-width: 900px) { .plan { grid-template-columns: 1fr; } }

  .spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
  .spec table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
  .spec th, .spec td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
  .spec th { font-weight: 500; color: var(--text); width: 38%; }
  .spec td { color: var(--text-2); }
  .spec thead th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); font-weight: 400; padding-top: 0; }
  .spec h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 18px; }
  .spec caption { text-align: left; caption-side: bottom; padding-top: 12px; font-size: 0.8rem; color: var(--text-3); }
  @media (max-width: 900px) { .spec { grid-template-columns: 1fr; } }

  .p-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .p-nav a { padding: 28px var(--gutter); display: grid; gap: 6px; }
  .p-nav a:last-child { text-align: right; border-left: 1px solid var(--line); }
  .p-nav a b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem); letter-spacing: -0.015em; }
  .p-nav a span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }

  /* ---------- Фото отделки ---------- */
  .interior { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 22px); }
  .interior figure { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--line); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
  .interior figure:nth-child(6n+1) { grid-column: span 7; aspect-ratio: 16 / 10; }
  .interior figure:nth-child(6n+2) { grid-column: span 5; aspect-ratio: auto; }
  .interior figure:nth-child(6n+3), .interior figure:nth-child(6n+4), .interior figure:nth-child(6n+5) { grid-column: span 4; }
  .interior figure:nth-child(6n+6) { grid-column: span 12; aspect-ratio: 21 / 9; }
  .interior img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease-out-quart); }
  @media (hover: hover) and (pointer: fine) { .interior figure:hover img { transform: scale(1.03); } }
  .interior figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); background: var(--bg); padding: 5px 8px; }
  .interior--empty figure { cursor: default; display: grid; place-items: center; }
  .interior--empty figure span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
  @media (max-width: 760px) { .interior figure, .interior figure:nth-child(n) { grid-column: span 6; aspect-ratio: 4 / 3; } .interior figure:nth-child(6n+6) { grid-column: span 12; } }
  .lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20,32,26,0.94); display: none; place-items: center; padding: 24px; }
  .lightbox.is-open { display: grid; }
  .lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; }
  .lightbox button { position: absolute; top: 20px; right: var(--gutter); background: none; border: 1px solid rgba(236,233,223,0.4); color: #ece9df; font: inherit; font-size: 0.85rem; padding: 10px 16px; cursor: pointer; }
  .lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #ece9df; font-size: 2rem; cursor: pointer; padding: 20px; }
  .lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; top: 50%; }
  .p-hero__figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .plan__figure img { width: 100%; height: auto; display: block; }
