/* The Level — лендинг. Основа — черновик владельца (The-Level-landing.zip); стили вынесены из страницы ради строгой CSP. */
:root {
  --ink: #222520; --muted: #5d6058; --sand: #eee9df; --paper: #f9f7f2; --terra: #a65e43; --terra-dark: #854b37;
  --line: #d9d3c7; --green: #36423a; --error: #9b2c1e; --ok: #2f5d3a;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; }
button, input { font: inherit; }
img { display: block; width: 100%; height: auto; }
::selection { background: #c89b81; color: #fff; }
.wrap { width: min(1260px, calc(100% - 80px)); margin: auto; }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: #fff; color: var(--ink); padding: 10px 14px; }
.skip:focus { left: 8px; }

/* Шапка */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; height: 82px; color: #fff; border-bottom: 1px solid #ffffff44; padding: 0 max(40px, calc((100vw - 1260px) / 2)); }
.brand { font-size: 23px; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.brand span { font-weight: 400; font-size: 10px; letter-spacing: .14em; margin-left: 12px; vertical-align: middle; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }
.nav-cta { padding: 12px 18px; border: 1px solid #ffffff99; border-radius: 2px; }

/* Обложка */
.hero { min-height: 640px; height: 92svh; max-height: 880px; position: relative; color: #fff; overflow: hidden; background: #3a3631; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 70% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(19, 22, 25, .72) 0%, rgba(21, 24, 26, .5) 38%, rgba(21, 24, 26, .05) 72%), linear-gradient(0deg, rgba(17, 20, 23, .55), transparent 42%); }
.hero-copy { position: relative; z-index: 2; padding-top: clamp(130px, 17vh, 190px); padding-bottom: 80px; }
.hero h1 { font-family: var(--serif); font-size: clamp(42px, 4.6vw, 68px); font-weight: 400; line-height: 1.04; letter-spacing: -.025em; max-width: 720px; margin: 18px 0 20px; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero p { max-width: 560px; font-size: 17px; line-height: 1.55; color: #f8f5ee; margin: 0 0 22px; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.hero-points { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 980px; }
.hero-points li { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(18, 21, 24, .55); border: 1px solid #ffffff38; font-size: 14px; font-weight: 600; line-height: 1.3; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-points li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--terra); transform: rotate(45deg); }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 24px; background: var(--terra); color: #fff; border: 1px solid var(--terra); font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.button:hover { background: var(--terra-dark); border-color: var(--terra-dark); }
.button.ghost { background: transparent; border-color: #ffffff99; }
.button.ghost:hover { background: #ffffff22; }
.button:disabled { opacity: .6; cursor: default; }
.hero-bottom { position: absolute; z-index: 2; bottom: 24px; left: 0; right: 0; display: flex; justify-content: flex-end; align-items: end; gap: 16px; font-size: 12px; letter-spacing: .04em; color: #fff; }
.hero-bottom .rule { width: 130px; border-top: 1px solid #ffffff9c; margin-bottom: 12px; }

/* Ключевые факты */
.strip { background: #ded6c7; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 29px 22px; border-right: 1px solid #bdb4a7; }
.strip-item:first-child { padding-left: 0; }
.strip-item:last-child { border: 0; }
.strip-item strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -.025em; margin-bottom: 6px; }
.strip-item span { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #4f524a; }

/* Разделы */
section { scroll-margin-top: 30px; }
.section-pad { padding: 110px 0; }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.section-title { font: 400 clamp(42px, 5vw, 78px)/1.03 var(--serif); letter-spacing: -.052em; margin: 23px 0 0; }
.copy { font-size: 17px; line-height: 1.75; color: #4f524a; max-width: 610px; }
.copy p { margin: 0 0 22px; }
.section-num { color: var(--terra); font-size: 12px; letter-spacing: .17em; }
.facts { margin: 6px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; font-size: 15px; color: #3f4239; }
.facts li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.image-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-top: 72px; }
.image-grid figure { margin: 0; position: relative; height: 560px; overflow: hidden; background: #c5c0b8; }
.image-grid figure:nth-child(2) { height: 440px; align-self: end; }
.image-grid img { height: 100%; object-fit: cover; }
.image-grid figure:first-child img { object-position: center 72%; }
.image-grid figcaption, .full-image figcaption { position: absolute; bottom: 0; left: 0; color: #fff; background: linear-gradient(transparent, #0009); width: 100%; padding: 50px 25px 23px; font-size: 12px; letter-spacing: .11em; text-transform: uppercase; }
.developer { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.developer h3 { font: 400 28px var(--serif); margin: 0; }
.developer p { margin: 0; font-size: 15px; line-height: 1.7; color: #4f524a; }

.dark { background: var(--green); color: #f7f3eb; }
.dark .copy { color: #dbdcd2; }
.amenity-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.amenity-list { margin: 65px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #ffffff4d; border-left: 1px solid #ffffff4d; }
.amenity { min-height: 156px; padding: 25px; border-right: 1px solid #ffffff4d; border-bottom: 1px solid #ffffff4d; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.amenity b { font: 400 30px var(--serif); color: #d9a084; }
.amenity span { font-size: 14px; line-height: 1.45; }
.full-image { position: relative; height: 560px; overflow: hidden; margin: 0; }
.full-image img { height: 100%; object-fit: cover; object-position: center 60%; }

.residences { background: #e9e3d9; }
.unit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 55px; }
.unit { background: var(--paper); padding: 38px 34px 35px; min-height: 270px; display: flex; flex-direction: column; }
.unit .unit-name { font: 400 40px var(--serif); margin: 18px 0 20px; letter-spacing: -.045em; }
.unit p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0 0 16px; }
.unit .size { font: 400 24px var(--serif); margin-top: auto; }
.unit .size small { font: 12px var(--sans); color: var(--muted); }
.plans { margin: 35px 0 0; }
.plans img { border: 1px solid var(--line); background: #fff; }
.fine { font-size: 12px; line-height: 1.55; color: var(--muted); }

.payment-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.plan-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.plan-table th, .plan-table td { padding: 15px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.plan-table th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.plan-table td:first-child { font: 400 26px var(--serif); color: var(--terra); width: 34%; }
.plan-table caption { caption-side: top; text-align: left; padding-bottom: 12px; }
.plan-note { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid var(--terra); background: #00000008; }
.plan-table tfoot td { border-bottom: 0; font-size: 13px; color: var(--muted); }
.plan-table tfoot td:first-child { font: 700 13px var(--sans); color: var(--ink); }

.location { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.times { border-top: 1px solid var(--line); margin: 40px 0 0; padding: 0; list-style: none; }
.time { display: grid; grid-template-columns: 90px 1fr; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.time strong { font: 400 29px var(--serif); color: var(--terra); }
.time span { font-size: 15px; }
.nearby { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.nearby li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: #3f4239; }
.location-image { margin: 0; height: 670px; overflow: hidden; }
.location-image img { height: 100%; object-fit: cover; }
.location-note { margin-top: 16px; font-size: 12px; color: var(--muted); }

/* Заявка */
.contact { background: #c4ad98; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact .lead-text { line-height: 1.65; color: #2f342d; font-size: 17px; max-width: 520px; }
.contact-card { background: #f6f3ec; padding: 48px; }
.contact-card h3 { font: 400 34px var(--serif); margin: 0 0 10px; }
.contact-card > p { font-size: 15px; color: var(--muted); margin: 0 0 26px; line-height: 1.55; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.field input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #b9b0a2; border-radius: 2px; background: #fff; color: var(--ink); font-size: 16px; }
.field input:focus { outline: 2px solid var(--terra); outline-offset: 1px; border-color: var(--terra); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field .hint { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.field .err { margin: 6px 0 0; font-size: 13px; color: var(--error); font-weight: 700; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 6px 0 20px; font-size: 13px; line-height: 1.5; color: #3f4239; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--terra); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0 0 16px; padding: 12px 14px; background: #f6e4df; border-left: 3px solid var(--error); font-size: 14px; line-height: 1.5; color: #4a1a12; }
.form-error a { font-weight: 700; text-decoration: underline; }
.contact-card .button { width: 100%; }
.done h3 { color: var(--ok); }
.done p { font-size: 15px; line-height: 1.6; color: #3f4239; margin: 0 0 18px; }
.done .note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

.footer { background: #292f29; color: #d6d7cf; padding: 44px 0; font-size: 13px; line-height: 1.6; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; }
.footer h2 { font: 400 20px var(--serif); color: #fff; margin: 0 0 8px; }
.footer p { margin: 0 0 10px; }
.footer a { text-decoration: underline; text-underline-offset: 3px; display: inline-block; min-height: 24px; }
.footer .bottom { margin-top: 26px; padding-top: 20px; border-top: 1px solid #ffffff2b; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Политика */
.policy-page { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; font-size: 16px; line-height: 1.7; }
.policy-page h1 { font: 400 clamp(34px, 6vw, 48px)/1.1 var(--serif); margin: 18px 0 14px; }
.policy-page h2 { font: 400 24px var(--serif); margin: 34px 0 8px; }
.policy-page a { text-decoration: underline; }

@media (max-width: 850px) {
  .wrap { width: min(100% - 32px, 680px); }
  .nav { height: 66px; padding: 0 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .brand span { display: none; }
  .hero { height: auto; min-height: 680px; }
  .hero-img { object-position: 80% center; }
  .hero::before { background: linear-gradient(90deg, #15181abd, #15181a66 75%), linear-gradient(0deg, #15181a88, transparent 55%); }
  .hero-copy { padding-top: 112px; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(36px, 7vw, 54px); }
  .hero-bottom { bottom: 18px; font-size: 11px; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item { padding: 20px 12px; border-bottom: 1px solid #bdb4a7; }
  .strip-item:first-child { padding-left: 12px; }
  .strip-item:nth-child(2) { border-right: 0; }
  .section-pad { padding: 72px 0; }
  .intro-grid, .amenity-head, .location, .contact-grid, .payment-grid, .developer, .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .section-title { font-size: clamp(42px, 10vw, 64px); }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .image-grid { margin-top: 42px; grid-template-columns: 1fr 1fr; gap: 10px; }
  .image-grid figure { height: 360px; }
  .image-grid figure:nth-child(2) { height: 280px; }
  .amenity-list { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .amenity { min-height: 128px; padding: 18px; }
  .full-image { height: 340px; }
  .unit-grid { grid-template-columns: 1fr; gap: 10px; }
  .unit { min-height: 0; }
  .location-image { height: 420px; }
  .contact-grid { gap: 34px; }
  .contact-card { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .nav-cta { font-size: 12px; padding: 10px 12px; }
  .hero { min-height: 0; }
  .hero h1 { font-size: 34px; margin: 14px 0 14px; }
  .hero-points { flex-direction: column; gap: 8px; margin-bottom: 24px; }
  .hero-points li { padding: 9px 14px; font-size: 14px; }
  .hero .buttons .button { flex: 1 1 100%; }
  .hero p { font-size: 15px; }
  .hero-bottom span { white-space: nowrap; }
  .strip-item strong { font-size: 21px; }
  .strip-item span { font-size: 9px; }
  .image-grid { grid-template-columns: 1fr; }
  .image-grid figure, .image-grid figure:nth-child(2) { height: 330px; }
  .amenity span { font-size: 13px; }
  .full-image { height: 260px; }
  .plans { overflow-x: auto; }
  .plans img { min-width: 640px; }
  .plan-table td:first-child { font-size: 22px; }
  .location-image { height: 320px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
