/* Премиум видът (09.11.2026): общата основа за премиум нишите (строители, клиники ...).
   Върви с рамката kits/site/build.py: стилизира нейния хедър, мобилно меню, футър, .phead, .prose.
   Цветовете и шрифтовете са в :root на демото (site/css/10-<име>.css), тук са само стойности по подразбиране.
   Правила на Николай: без капсули (никакви напълно заоблени етикети и бутони), рамки поне .16,
   нищо по-светло от #E8E8EC не се брои за „сиво“ на неговия екран. */

:root{
  --accent:#b08a3e; --accent-ink:#6f5418; --accent-tint:rgba(176,138,62,.16); --accent-line:rgba(176,138,62,.45);
  --bg:#ffffff; --bg-alt:#ece7df; --bg-alt-2:#e2dcd2;
  --ink:#141517; --ink-2:#3b3d42; --ink-3:#5b5e64;
  --line:rgba(20,21,23,.18); --line-2:rgba(20,21,23,.12);
  --island:#111214; --island-2:#1b1d20; --on-island:#f2efe9; --on-island-2:#bdb8ae; --accent-on-island:#e0c773;
  --ok:#2f7d32; --ok-tint:rgba(47,125,50,.14); --hold:#b26a00; --hold-tint:rgba(178,106,0,.15); --sold:#7a7d83; --sold-tint:rgba(122,125,131,.16);
  --sun:var(--accent); --sun-ink:var(--accent-ink); --sun-tint:var(--accent-tint);
  --font:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-d:"Inter Tight", var(--font);
  --t-hero:clamp(2.7rem,6.2vw,5.6rem); --t-h2:clamp(2rem,3.9vw,3.4rem); --t-h3:clamp(1.25rem,1.7vw,1.55rem);
  --t-lead:clamp(1.06rem,1.3vw,1.24rem);
  --r-sm:2px; --r:3px; --r-lg:4px; --r-full:4px;
  --gutter:clamp(18px,4.5vw,48px); --content:1360px;
  --sh-1:0 1px 2px rgba(0,0,0,.10), 0 4px 14px rgba(0,0,0,.08);
  --sh-2:0 2px 6px rgba(0,0,0,.10), 0 22px 44px -14px rgba(0,0,0,.28);
  --ease:cubic-bezier(.22,.61,.36,1);
  --header:78px;
}

/* ---------- основа ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:calc(var(--header) + 12px); }
body{ font:400 1rem/1.62 var(--font); color:var(--ink); background:var(--bg); -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; overflow-x:hidden; }
img,svg,video{ display:block; max-width:100%; }
img{ height:auto; }
a{ color:inherit; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
h1,h2,h3,h4{ font-family:var(--font-d); font-weight:600; line-height:1.06; letter-spacing:-.025em; color:var(--ink); }
h1{ font-size:var(--t-hero); }
h2{ font-size:var(--t-h2); }
h3{ font-size:var(--t-h3); line-height:1.2; letter-spacing:-.015em; }
p{ text-wrap:pretty; }
.wrap{ width:min(100% - 2*var(--gutter), var(--content)); margin-inline:auto; }
.ico{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:none; }
[hidden]{ display:none !important; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
::selection{ background:var(--accent-tint); }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }

/* надпис над заглавие: само текст и линия, без капсула */
.eyebrow{ display:inline-flex; align-items:center; gap:12px; font:600 .78rem/1 var(--font); letter-spacing:.16em; text-transform:uppercase; color:var(--accent-ink); margin-bottom:22px; }
.eyebrow::before{ content:""; width:32px; height:1px; background:currentColor; }
.island .eyebrow, .on-dark .eyebrow{ color:var(--accent-on-island); }
.lead{ font-size:var(--t-lead); line-height:1.55; color:var(--ink-2); max-width:60ch; }
.island .lead{ color:var(--on-island-2); }
.muted{ color:var(--ink-3); }

/* бутони: правоъгълни */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:50px; padding:0 24px; border-radius:var(--r); font:600 .95rem/1 var(--font); letter-spacing:.01em; text-decoration:none; border:1px solid transparent; transition:background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease); white-space:nowrap; }
.btn:active{ transform:translateY(1px); }
.btn-p{ background:var(--ink); color:#fff; }
.btn-p:hover{ background:#2a2c30; }
.btn-s{ background:transparent; color:var(--ink); border-color:rgba(20,21,23,.35); }
.btn-s:hover{ border-color:var(--ink); }
.btn-g{ background:var(--accent-on-island); color:#15140f; }
.btn-g:hover{ background:#ead89a; }
.btn-xl{ min-height:58px; padding:0 30px; font-size:1rem; }
.btn .ico{ width:17px; height:17px; }
.island .btn-s, .on-dark .btn-s, .hero .btn-s, .pj-head .btn-s{ color:#fff; border-color:rgba(255,255,255,.45); }
.island .btn-p{ background:var(--accent-on-island); color:#15140f; }
.island .btn-p:hover{ background:#ead89a; }
.island .btn-s:hover, .on-dark .btn-s:hover, .hero .btn-s:hover{ border-color:#fff; }
.link{ display:inline-flex; align-items:center; gap:8px; font-weight:600; text-decoration:none; border-bottom:1px solid currentColor; padding-bottom:3px; }
.link:hover{ color:var(--accent-ink); }

/* секции */
.sec{ padding:clamp(72px,10vw,140px) 0; position:relative; }
.sec-tight{ padding:clamp(48px,6vw,84px) 0; }
.alt{ background:var(--bg-alt); }
.island{ background:var(--island); color:var(--on-island); }
.island h1,.island h2,.island h3{ color:#fff; }
.sec-head{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:clamp(24px,5vw,90px); align-items:end; margin-bottom:clamp(40px,5vw,72px); }
.sec-head h2{ max-width:16ch; }
.sec-head .lead{ justify-self:end; }
@media (max-width:900px){ .sec-head{ grid-template-columns:1fr; } .sec-head .lead{ justify-self:start; } }

/* поява при скрол (само ако има JS) */
.js [data-r]{ opacity:0; transform:translateY(26px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-r].in{ opacity:1; transform:none; }
.js [data-r="2"]{ transition-delay:.12s; } .js [data-r="3"]{ transition-delay:.24s; } .js [data-r="4"]{ transition-delay:.36s; }
@media (prefers-reduced-motion:reduce){ .js [data-r]{ opacity:1; transform:none; transition:none; } html{ scroll-behavior:auto; } }

/* ---------- хедърът на рамката ---------- */
#hd{ position:fixed; inset:0 0 auto; z-index:50; height:var(--header); background:rgba(17,18,20,.97); color:#fff; transition:background .35s var(--ease), box-shadow .35s; }
#hd .wrap{ height:100%; display:flex; align-items:center; gap:28px; width:min(100% - 2*var(--gutter), 1480px); }
#hd .logo{ flex:none; display:flex; align-items:center; }
#hd .logo img{ height:calc(var(--header) - 18px); width:auto; }
#hd nav{ display:flex; gap:4px; margin-left:auto; align-items:center; }
#hd nav > a, #hd .dd > a{ position:relative; display:flex; align-items:center; gap:6px; height:var(--header); padding:0 12px; font:500 .9rem/1 var(--font); color:rgba(255,255,255,.86); text-decoration:none; letter-spacing:.01em; }
#hd nav > a::after, #hd .dd > a::after{ content:""; position:absolute; left:12px; right:12px; bottom:22px; height:1px; background:var(--accent-on-island); transform:scaleX(0); transform-origin:left; transition:transform .3s var(--ease); }
#hd nav > a:hover, #hd nav > a[aria-current], #hd .dd > a.on{ color:#fff; }
#hd nav > a:hover::after, #hd nav > a[aria-current]::after, #hd .dd > a.on::after{ transform:scaleX(1); }
#hd .dd{ position:relative; }
#hd .dd .ico{ width:14px; height:14px; }
#hd .ddm{ position:absolute; top:calc(100% - 8px); left:0; min-width:300px; background:#fff; color:var(--ink); border:1px solid var(--line); box-shadow:var(--sh-2); padding:8px; display:grid; opacity:0; visibility:hidden; transform:translateY(6px); transition:all .25s var(--ease); }
#hd .dd:hover .ddm, #hd .dd:focus-within .ddm{ opacity:1; visibility:visible; transform:none; }
#hd .ddm a{ padding:12px 14px; text-decoration:none; font-weight:600; border-radius:var(--r-sm); display:grid; gap:2px; }
#hd .ddm a small{ font-weight:400; color:var(--ink-3); font-size:.82rem; }
#hd .ddm a:hover{ background:var(--bg-alt); }
#hd .tel{ display:flex; align-items:center; gap:8px; font:600 .92rem/1 var(--font); text-decoration:none; color:#fff; padding-left:20px; border-left:1px solid rgba(255,255,255,.22); white-space:nowrap; }
#hd .tel .ico{ color:var(--accent-on-island); }
#hd > .wrap > .btn{ min-height:44px; padding:0 18px; background:var(--accent-on-island); color:#15140f; font-size:.88rem; }
#hd > .wrap > .btn:hover{ background:#ead89a; }
.burger{ display:none; width:46px; height:46px; margin-left:auto; position:relative; }
.burger i{ position:absolute; left:11px; right:11px; height:1.5px; background:#fff; transition:transform .3s var(--ease), top .3s; }
.burger i:first-child{ top:18px; } .burger i:last-child{ top:27px; }
.burger[aria-expanded="true"] i:first-child{ top:22px; transform:rotate(45deg); }
.burger[aria-expanded="true"] i:last-child{ top:22px; transform:rotate(-45deg); }
/* прозрачен над голямата снимка на началната страница */
body.hero-top #hd:not(.solid){ background:linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,0)); }
#hd.solid{ box-shadow:0 1px 0 rgba(255,255,255,.08), 0 10px 30px -10px rgba(0,0,0,.5); }

#mm{ position:fixed; inset:var(--header) 0 0; z-index:49; background:var(--island); color:#fff; padding:24px var(--gutter) 40px; display:flex; flex-direction:column; gap:2px; overflow-y:auto; opacity:0; visibility:hidden; transform:translateY(-8px); transition:all .3s var(--ease); }
#mm.open{ opacity:1; visibility:visible; transform:none; }
#mm a{ padding:15px 0; border-bottom:1px solid rgba(255,255,255,.12); text-decoration:none; font:600 1.18rem/1.2 var(--font-d); }
#mm a[aria-current]{ color:var(--accent-on-island); }
#mm .btn{ margin-top:22px; border:1px solid rgba(255,255,255,.4); font:600 1rem/1 var(--font); color:#fff; }
@media (max-width:1180px){ #hd nav > a, #hd .dd > a{ padding:0 8px; font-size:.86rem; } #hd .tel span{ display:none; } #hd .tel{ padding-left:14px; } }
@media (max-width:1020px){ #hd nav, #hd > .wrap > .btn{ display:none; } .burger{ display:block; } #hd .tel{ margin-left:auto; border:0; } #hd .tel span{ display:inline; } }
@media (max-width:520px){ :root{ --header:66px; } #hd .tel span{ display:none; } #hd .tel{ width:44px; height:44px; justify-content:center; border:1px solid rgba(255,255,255,.3); padding:0; } }

/* ---------- футърът на рамката ---------- */
footer{ background:var(--island); color:var(--on-island-2); padding:clamp(64px,8vw,110px) 0 28px; font-size:.95rem; }
footer .fgrid{ display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:clamp(28px,4vw,64px); padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.14); }
footer .fbrand img{ width:150px; height:auto; margin-bottom:18px; }
footer .fbrand p{ max-width:38ch; margin-bottom:16px; }
footer b{ display:block; color:#fff; font:600 .78rem/1 var(--font); letter-spacing:.14em; text-transform:uppercase; margin-bottom:18px; }
footer nav, footer .fgrid > div{ display:grid; align-content:start; gap:10px; }
footer a{ text-decoration:none; color:var(--on-island); }
footer a:hover{ color:var(--accent-on-island); }
footer .fb{ display:inline-flex; align-items:center; gap:10px; margin-right:18px; }
footer .fbot{ display:flex; flex-wrap:wrap; gap:10px 28px; justify-content:space-between; padding-top:24px; font-size:.85rem; }
@media (max-width:900px){ footer .fgrid{ grid-template-columns:1fr 1fr; } footer .fbrand{ grid-column:1/-1; } }
@media (max-width:520px){ footer .fgrid{ grid-template-columns:1fr; } }

/* ---------- вътрешни страници (класовете от kits/site/css/00-base.css) ---------- */
.phead{ background:var(--island); color:var(--on-island); padding:calc(var(--header) + clamp(40px,6vw,88px)) 0 clamp(48px,6vw,88px); }
.phead h1{ color:#fff; font-size:clamp(2.4rem,5vw,4.4rem); max-width:20ch; }
.phead .lead{ color:var(--on-island-2); margin-top:20px; }
.phead .eyebrow{ color:var(--accent-on-island); }
.phead .crumbs a{ color:var(--on-island-2); }
.phead .crumbs li[aria-current]{ color:var(--on-island); }
.crumbs ol{ list-style:none; display:flex; flex-wrap:wrap; gap:8px; font-size:.85rem; margin-bottom:26px; }
.crumbs li + li::before{ content:"/"; margin-right:8px; opacity:.5; }
.crumbs a{ text-decoration:none; }
.prose{ max-width:72ch; font-size:1.05rem; color:var(--ink-2); }
.prose > * + *{ margin-top:1em; }
.prose h2{ font-size:clamp(1.5rem,2.3vw,1.95rem); margin-top:2em; }
.prose h3{ font-size:1.2rem; margin-top:1.6em; }
.prose ul,.prose ol{ padding-left:1.25em; }
.prose li + li{ margin-top:.45em; }
.prose li::marker{ color:var(--accent-ink); }
.prose a{ color:var(--accent-ink); text-underline-offset:3px; }
.prose img{ margin:1.6em 0; border-radius:var(--r); }
.prose strong{ color:var(--ink); }

/* ---------- общи блокове ---------- */
/* голям първи екран със снимка */
.hero{ position:relative; min-height:min(100svh, 980px); display:flex; align-items:flex-end; color:#fff; background:var(--island); overflow:hidden; }
.hero > picture, .hero > img{ position:absolute; inset:0; }
.hero > picture img, .hero > img{ width:100%; height:100%; object-fit:cover; }
.hero::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(8,8,10,.82) 0%, rgba(8,8,10,.62) 38%, rgba(8,8,10,.18) 68%, rgba(8,8,10,0) 85%), linear-gradient(180deg, rgba(8,8,10,.45) 0%, rgba(8,8,10,0) 22%, rgba(8,8,10,0) 60%, rgba(8,8,10,.85) 100%); }
.hero .wrap{ position:relative; z-index:2; padding:calc(var(--header) + 60px) 0 clamp(36px,5vw,64px); }
.hero h1{ color:#fff; max-width:15ch; }
.hero .lead{ color:rgba(255,255,255,.86); margin-top:24px; max-width:56ch; }
.hero .ctas{ display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }
.hero .eyebrow{ color:var(--accent-on-island); }
.hero-facts{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:clamp(44px,6vw,80px); border-top:1px solid rgba(255,255,255,.28); }
.hero-facts > div{ padding:22px 24px 0 0; }
.hero-facts > div + div{ padding-left:24px; border-left:1px solid rgba(255,255,255,.2); }
.hero-facts b{ display:block; font:600 clamp(1.5rem,2.4vw,2.2rem)/1 var(--font-d); letter-spacing:-.02em; color:#fff; }
.hero-facts span{ display:block; margin-top:8px; font-size:.88rem; color:rgba(255,255,255,.78); }
@media (max-width:800px){ .hero::after{ background:linear-gradient(180deg, rgba(8,8,10,.6) 0%, rgba(8,8,10,.55) 50%, rgba(8,8,10,.88) 100%); } .hero-facts{ grid-template-columns:1fr 1fr; } .hero-facts > div:nth-child(3){ padding-left:0; border-left:0; } .hero-facts > div{ padding-bottom:18px; } }

/* числа в ред */
.stats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); border-top:1px solid var(--line); }
.stats > div{ padding:26px 26px 0 0; }
.stats > div + div{ padding-left:26px; border-left:1px solid var(--line); }
.stats b{ display:block; font:600 clamp(2rem,3.6vw,3rem)/1 var(--font-d); letter-spacing:-.03em; }
.stats span{ display:block; margin-top:10px; color:var(--ink-2); font-size:.93rem; }
.island .stats{ border-color:rgba(255,255,255,.2); } .island .stats > div + div{ border-color:rgba(255,255,255,.16); } .island .stats span{ color:var(--on-island-2); }

/* текст + снимка */
.split{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(32px,6vw,110px); align-items:center; }
.split.rev > :first-child{ order:2; }
.split .ph{ position:relative; overflow:hidden; border-radius:var(--r); aspect-ratio:4/5; background:var(--bg-alt-2); }
.split .ph img{ width:100%; height:100%; object-fit:cover; }
.split h2{ margin-bottom:22px; }
.split .lead + .lead{ margin-top:16px; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; } .split.rev > :first-child{ order:0; } .split .ph{ aspect-ratio:4/3; } }

/* списък с отметки */
.ticks{ list-style:none; display:grid; gap:14px; margin-top:26px; }
.ticks li{ position:relative; padding-left:30px; color:var(--ink-2); }
.ticks li::before{ content:""; position:absolute; left:0; top:.55em; width:16px; height:1.5px; background:var(--accent-ink); }
.island .ticks li{ color:var(--on-island-2); } .island .ticks li::before{ background:var(--accent-on-island); }

/* въпроси и отговори */
.faq{ border-top:1px solid var(--line); }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; gap:24px; padding:26px 0; font:600 clamp(1.08rem,1.5vw,1.3rem)/1.3 var(--font-d); letter-spacing:-.01em; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font:300 1.8rem/1 var(--font); color:var(--accent-ink); transition:transform .3s var(--ease); }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq .ans{ padding:0 0 28px; max-width:72ch; color:var(--ink-2); }
.faq .ans > * + *{ margin-top:.8em; }

/* лента за действие (маркировката е от рамката: надпис, h2, увод, бутони) */
.cta-band .wrap{ display:grid; grid-template-columns:minmax(0,1.3fr) auto; grid-template-areas:"e c" "h c" "l c"; column-gap:48px; align-items:end; }
.cta-band .eyebrow{ grid-area:e; }
.cta-band h2{ grid-area:h; max-width:18ch; }
.cta-band .lead{ grid-area:l; margin-top:18px; }
.cta-band .ctas{ grid-area:c; display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end; align-self:end; }
.cta-band .glow{ display:none; }
@media (max-width:900px){ .cta-band .wrap{ grid-template-columns:1fr; grid-template-areas:"e" "h" "l" "c"; } .cta-band .ctas{ justify-content:flex-start; margin-top:28px; } }

/* галерия */
.gal{ display:grid; grid-template-columns:repeat(12,1fr); gap:10px; }
.gal button{ position:relative; overflow:hidden; border-radius:var(--r-sm); background:var(--bg-alt-2); grid-column:span 4; aspect-ratio:4/3; }
.gal button img{ position:absolute; inset:0; }
.gal button:nth-child(5n+1){ grid-column:span 8; grid-row:span 2; aspect-ratio:auto; }
.gal img{ width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease); }
.gal button:hover img{ transform:scale(1.04); }
@media (max-width:760px){ .gal{ grid-template-columns:1fr 1fr; } .gal button, .gal button:nth-child(5n+1){ grid-column:span 1; grid-row:auto; aspect-ratio:4/3; } .gal button:nth-child(3n+1){ grid-column:span 2; } }

/* голям екран за снимки */
.lb{ position:fixed; inset:0; z-index:90; background:rgba(8,8,10,.94); display:none; align-items:center; justify-content:center; padding:56px 64px; }
.lb.open{ display:flex; }
.lb img{ max-width:100%; max-height:100%; object-fit:contain; }
.lb .x, .lb .pv, .lb .nx{ position:absolute; width:52px; height:52px; display:flex; align-items:center; justify-content:center; color:#fff; border:1px solid rgba(255,255,255,.35); border-radius:var(--r); background:rgba(0,0,0,.35); }
.lb .x{ top:16px; right:16px; } .lb .pv{ left:16px; top:50%; } .lb .nx{ right:16px; top:50%; }
.lb .cap{ position:absolute; left:0; right:0; bottom:16px; text-align:center; color:rgba(255,255,255,.8); font-size:.9rem; }
@media (max-width:700px){ .lb{ padding:64px 8px; } .lb .pv, .lb .nx{ top:auto; bottom:12px; } }

/* форма */
.form{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form label{ display:grid; gap:8px; font-size:.86rem; font-weight:600; color:var(--ink-2); }
.form .full{ grid-column:1/-1; }
.form input, .form select, .form textarea{ font:400 1rem/1.4 var(--font); color:var(--ink); background:#fff; border:1px solid rgba(20,21,23,.3); border-radius:var(--r); padding:14px 16px; min-height:52px; width:100%; }
.form textarea{ min-height:130px; resize:vertical; }
.form input:focus, .form select:focus, .form textarea:focus{ outline:none; border-color:var(--ink); box-shadow:0 0 0 3px var(--accent-tint); }
.form .note{ font-size:.85rem; color:var(--ink-3); font-weight:400; }
.form .btn{ justify-self:start; }
@media (max-width:640px){ .form{ grid-template-columns:1fr; } }

/* контакти */
.cl{ display:grid; gap:0; border-top:1px solid var(--line); }
.cl a, .cl div{ display:flex; gap:16px; align-items:flex-start; padding:20px 0; border-bottom:1px solid var(--line); text-decoration:none; }
.cl .ico{ margin-top:3px; color:var(--accent-ink); }
.cl b{ display:block; font-weight:600; }
.cl small{ color:var(--ink-3); }

/* Премиум строители v2: структурата и общите части (върху pr.css). Видът е в темата st-<a|b|c>.css:
   шрифтове, цветове, първият екран и отличителният ефект. HTML-ът е един и същ за всички теми (gen.py).
   Правила: без капсули, рамки поне .18, „сиво“ не по-светло от #E8E8EC, на телефон редът от таблицата става карта. */

:root{ --mono:var(--font); --signal:var(--accent); --signal-ink:#15140f; --card:#fff; --hair:rgba(20,21,23,.2); }
.mono{ font-family:var(--mono); font-variant-numeric:tabular-nums; }
.more{ margin-top:30px; }
.h-sm{ font-size:var(--t-h3); margin-bottom:24px; }
.narrow{ max-width:980px; }
.sec-head.one{ grid-template-columns:1fr; }
.sec-head.one h2{ max-width:22ch; }
.split.top{ align-items:start; }
.split.no-ph{ grid-template-columns:minmax(0,1fr); max-width:860px; }
.ph-43{ aspect-ratio:4/3; overflow:hidden; border-radius:var(--r); }
.ph-43 img{ width:100%; height:100%; object-fit:cover; }
.ticks.first{ margin-top:0; margin-bottom:36px; }
.phead .ctas{ display:flex; gap:12px; flex-wrap:wrap; margin-top:28px; }
.phead .btn-s{ color:#fff; border-color:rgba(255,255,255,.45); }
.print-only{ display:none; }
.note-box{ border-left:3px solid var(--signal); background:var(--bg-alt); padding:18px 22px; color:var(--ink-2); font-size:.95rem; margin-top:1.4em; }
.price-note{ color:var(--ink-2); max-width:80ch; font-size:.95rem; }

/* статус: един и същ цвят върху сградата, в плана, в таблицата и на страницата на апартамента */
.st{ display:inline-flex; align-items:center; gap:8px; font-size:.84rem; font-weight:600; white-space:nowrap; }
.st::before{ content:""; width:9px; height:9px; border-radius:1px; background:currentColor; flex:none; }
.st.free{ color:var(--ok); } .st.reserved{ color:var(--hold); } .st.sold{ color:var(--sold); font-weight:500; }
.legend{ display:flex; flex-wrap:wrap; gap:8px 22px; margin-top:16px; font-size:.86rem; }

/* ---------- първи екран (основата: снимка от край до край; темата го пренарежда) ---------- */
.st-hero{ position:relative; min-height:min(100svh,980px); display:grid; grid-template-rows:1fr auto; background:var(--island); color:#fff; overflow:hidden; }
.st-hero-sub{ min-height:min(86svh,860px); }
.st-hero .hero-word{ display:none; }
.st-hero .hero-img{ position:absolute; inset:0; }
.st-hero .hero-img img{ width:100%; height:100%; object-fit:cover; }
.st-hero .hero-img picture{ position:absolute; inset:0; display:block; }   /* image_wide: широкият кадър на компютър */
.st-hero .hero-vid{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .5s ease; pointer-events:none; }
.st-hero .hero-vid.on{ opacity:1; }   /* видеото в началото (gen.py b_hero video): върху снимката, под тъмния преход за текста */
.st-hero .hero-img::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(8,8,10,.8) 0%, rgba(8,8,10,.55) 40%, rgba(8,8,10,.08) 75%), linear-gradient(180deg, rgba(8,8,10,.5) 0%, rgba(8,8,10,0) 24%, rgba(8,8,10,0) 55%, rgba(8,8,10,.9) 100%); }
.st-hero .hero-tx{ position:relative; z-index:2; align-self:end; padding:calc(var(--header) + 56px) 0 clamp(28px,4vw,48px); }
.st-hero h1{ color:#fff; max-width:15ch; }
.st-hero .lead{ color:rgba(255,255,255,.86); margin-top:22px; max-width:54ch; }
.st-hero .eyebrow{ color:var(--accent-on-island); }
.st-hero .ctas{ display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.st-hero .btn-s{ color:#fff; border-color:rgba(255,255,255,.45); }
.st-hero .btn-s:hover{ border-color:#fff; }
.st-hero .crumbs a, .st-hero .crumbs li{ color:rgba(255,255,255,.78); }
.hfacts{ position:relative; z-index:2; border-top:1px solid rgba(255,255,255,.28); }
.hfacts dl{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); }
.hfacts dl > div{ display:flex; flex-direction:column-reverse; justify-content:flex-end; gap:8px; padding:22px 20px 26px 0; }
.hfacts dl > div + div{ padding-left:22px; border-left:1px solid rgba(255,255,255,.2); }
.hfacts dd{ font:600 clamp(1.35rem,2.2vw,2rem)/1.05 var(--mono); letter-spacing:-.02em; color:#fff; overflow-wrap:anywhere; }
.hfacts dt{ font-size:.85rem; color:rgba(255,255,255,.76); }
@media (max-width:800px){
  .st-hero .hero-img::after{ background:linear-gradient(180deg, rgba(8,8,10,.6) 0%, rgba(8,8,10,.5) 50%, rgba(8,8,10,.9) 100%); }
  .hfacts dl{ grid-template-columns:1fr 1fr; }
  .hfacts dl > div{ padding:16px 12px 16px 0; }
  .hfacts dl > div:nth-child(odd){ padding-left:0; border-left:0; }
  .hfacts dl > div:nth-child(n+3){ border-top:1px solid rgba(255,255,255,.2); }
  .hfacts dd{ font-size:1.25rem; }
}

/* ---------- подменю на проект ---------- */
.subnav{ position:sticky; top:var(--header); z-index:30; background:var(--bg); border-bottom:1px solid var(--hair); }
.subnav .wrap{ display:flex; gap:4px; overflow-x:auto; scrollbar-width:none; align-items:center; }
.subnav .wrap::-webkit-scrollbar{ display:none; }
.subnav a{ flex:none; padding:18px 14px; font:600 .9rem/1 var(--font); text-decoration:none; color:var(--ink-3); border-bottom:2px solid transparent; }
.subnav a.on, .subnav a:hover{ color:var(--ink); border-bottom-color:var(--signal); }
.subnav .btn{ margin-left:auto; min-height:40px; padding:0 16px; flex:none; color:#fff; border-bottom:0; }
.subnav .btn:hover{ color:#fff; }
.subnav-tabs a{ display:grid; gap:5px; padding:14px 18px; }
.subnav-tabs a small{ font:500 .78rem/1 var(--font); color:var(--ok); }
.specs{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); column-gap:24px; border-top:1px solid var(--hair); }
.specs > div{ padding:22px 18px 22px 0; border-bottom:1px solid var(--hair); }
.specs dt{ font-size:.8rem; color:var(--ink-3); }
.specs dd{ font:600 1.3rem/1.15 var(--font-d); margin-top:8px; letter-spacing:-.015em; }
.specs dd small{ display:block; font:400 .85rem var(--font); color:var(--ink-3); margin-top:4px; letter-spacing:0; }
@media (max-width:760px){ .specs{ grid-template-columns:1fr 1fr; } }

/* ---------- проектите в продажба ---------- */
.projects{ display:grid; gap:clamp(56px,8vw,120px); }
.proj{ display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:clamp(28px,5vw,80px); align-items:center; }
.proj:nth-child(even) .proj-ph{ order:2; }
.proj-ph{ position:relative; overflow:hidden; border-radius:var(--r); aspect-ratio:5/4; background:var(--bg-alt-2); display:block; }
.proj-ph img{ width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease); }
.proj-ph:hover img{ transform:scale(1.035); }
.proj-ph .tag{ position:absolute; left:0; top:18px; background:var(--island); color:#fff; font:600 .74rem/1 var(--font); letter-spacing:.12em; text-transform:uppercase; padding:11px 14px; }
.proj-ph .tag b{ color:var(--accent-on-island); font-weight:600; }
.proj h3{ font-size:clamp(2rem,3.4vw,3rem); line-height:1; }
.proj h3 a{ text-decoration:none; }
.proj .where{ margin-top:14px; color:var(--ink-2); }
.proj dl{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:30px 0; border-top:1px solid var(--hair); }
.proj dl > div{ padding:18px 12px 18px 0; border-bottom:1px solid var(--hair); }
.proj dl > div:not(:nth-child(3n+1)){ padding-left:16px; border-left:1px solid var(--hair); }
.proj dt{ font-size:.8rem; color:var(--ink-3); }
.proj dd{ font:600 1.35rem/1.1 var(--mono); margin-top:6px; letter-spacing:-.02em; }
.proj dd small{ font:500 .85rem var(--font); color:var(--ink-3); letter-spacing:0; }
.proj .free dd{ color:var(--ok); }
.proj .ctas{ display:flex; gap:12px; flex-wrap:wrap; }
@media (max-width:900px){ .proj{ grid-template-columns:1fr; } .proj:nth-child(even) .proj-ph{ order:0; } }
@media (max-width:520px){ .proj dl{ grid-template-columns:1fr 1fr; } .proj dl > div:not(:nth-child(3n+1)){ padding-left:0; border-left:0; } .proj dl > div:nth-child(even){ padding-left:14px; border-left:1px solid var(--hair); } .proj dd{ font-size:1.15rem; } }

/* ---------- изборът на апартамент ---------- */
.sel{ display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:clamp(24px,4vw,64px); align-items:start; }
.sel-list{ grid-template-columns:minmax(0,1fr); }
.sel-list .seg{ display:none; }
.sel-side{ position:sticky; top:calc(var(--header) + 76px); min-width:0; }
.home .sel-side{ top:calc(var(--header) + 20px); }
.sel-tabs{ display:flex; border-bottom:1px solid var(--hair); margin-bottom:18px; }
.sel-tabs button{ display:grid; gap:5px; text-align:left; padding:12px 22px 14px 0; margin-right:22px; font:600 1.02rem/1 var(--font-d); color:var(--ink-3); border-bottom:2px solid transparent; margin-bottom:-1px; }
.sel-tabs button small{ font:500 .78rem/1 var(--font); color:var(--ok); }
.sel-tabs button.on{ color:var(--ink); border-bottom-color:var(--ink); }
.js .sel-bld[hidden]{ display:none; }
.sel-bld.has-fac{ display:grid; grid-template-columns:minmax(0,1fr) 150px; gap:10px; align-items:stretch; }
.sel-hint{ grid-column:1/-1; order:3; display:flex; gap:10px; align-items:center; margin-top:4px; font-size:.86rem; color:var(--ink-3); }
.sel-hint .ico{ color:var(--accent-ink); }

/* сградата: зоните на етажите са оцветени по статус и в покой */
.fac{ position:relative; overflow:hidden; border-radius:var(--r); background:var(--bg-alt-2); user-select:none; align-self:start; }
.fac > img{ width:100%; display:block; }
.fac-map{ position:absolute; inset:0; }
.zone{ position:absolute; display:block; cursor:pointer; color:var(--sold); }
.zone.z-free{ color:var(--ok); } .zone.z-res{ color:var(--hold); }
.zone i, .zone:not(:has(i))::before{ content:""; position:absolute; left:0; right:0; bottom:0; background:currentColor; opacity:.22; transition:opacity .2s; -webkit-mask-size:100% 100%; mask-size:100% 100%; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; pointer-events:none; }
.zone:not(:has(i))::before{ top:0; }
.zone:hover i, .zone:focus-visible i, .zone:hover::before{ opacity:.55; }
.zone.on i, .zone.on::before{ opacity:.9; background:var(--signal); }
.zone .tip{ position:absolute; right:8px; top:50%; transform:translateY(-50%); background:var(--island); color:#fff; font:600 .76rem/1 var(--font); padding:8px 10px; white-space:nowrap; opacity:0; pointer-events:none; transition:opacity .2s; z-index:3; }
.zone:hover .tip, .zone.on .tip{ opacity:1; }
.fac-mark .zone{ cursor:default; }

/* изборът с няколко сгради: 1. сградата (карти), 2. етажът и апартаментът на избраната */
.step{ font:600 .74rem/1 var(--font); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-2); margin:0 0 14px; padding-bottom:12px; border-bottom:1px solid var(--hair); }
.bpick + .step{ margin-top:44px; }
.bpick{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.bp{ display:grid; grid-template-columns:96px minmax(0,1fr); gap:18px; align-items:center; padding:10px 18px 10px 10px; text-align:left; border:1px solid var(--line, var(--hair)); background:var(--card); color:var(--ink); cursor:pointer; transition:background .2s, border-color .2s, color .2s; }
.bp:hover{ border-color:var(--ink); }
.bp-ph{ display:block; width:96px; aspect-ratio:1; overflow:hidden; background:var(--bg-alt-2); }
.bp-ph img{ width:100%; height:100%; object-fit:cover; }
.bp b{ display:block; font:500 1.35rem/1.1 var(--font-d); }
.bp small{ display:block; margin-top:5px; font-size:.82rem; color:var(--ink-3); }
.bp em{ display:block; margin-top:8px; font-style:normal; font-size:.86rem; font-weight:600; color:var(--ok); }
.bp[aria-selected="true"]{ background:var(--island); border-color:var(--island); color:#fff; }
.bp[aria-selected="true"] small{ color:rgba(255,255,255,.75); } .bp[aria-selected="true"] em{ color:#fff; }
.js .bp-pane[hidden]{ display:none; }
.sel-proj{ font:500 clamp(1.05rem,1.4vw,1.25rem)/1.2 var(--font-d); color:var(--accent-ink, var(--ink-2)); margin-bottom:4px; }
@media (max-width:900px){ .bpick{ grid-template-columns:1fr; gap:8px; } .bp{ grid-template-columns:72px minmax(0,1fr); gap:14px; } .bp-ph{ width:72px; } .bp b{ font-size:1.2rem; } }

/* етажите като бутони */
/* един списък с линии между редовете (не 12 отделни кутии); жилищните етажи горе, гаражите и паркоместата в своя група */
.floors{ display:grid; gap:0; align-content:start; }
.floors button{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:center; text-align:left; padding:13px 14px; border:0; border-bottom:1px solid var(--hair); border-radius:0; background:transparent; transition:background .2s, color .2s; }
.floors button:first-child{ border-top:1px solid var(--hair); }
.floors button:hover{ background:var(--card); }
.floors button.on{ background:var(--ink); color:#fff; }
.floors-h{ font:600 .7rem/1 var(--font); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3); padding:26px 14px 10px; border-bottom:1px solid var(--hair); }
.floors .dots{ display:none; }
.floors b{ font:600 .92rem/1 var(--font-d); white-space:nowrap; }
.floors .dots{ display:flex; flex-wrap:wrap; gap:3px; }
.floors .dots i{ width:11px; height:11px; border-radius:1px; background:var(--sold-tint); border:1px solid rgba(20,21,23,.25); }
.floors .dots i.free{ background:var(--ok); border-color:var(--ok); }
.floors .dots i.reserved{ background:var(--hold); border-color:var(--hold); }
.floors button.on .dots i:not(.free):not(.reserved){ background:rgba(255,255,255,.2); border-color:rgba(255,255,255,.35); }
.floors .cnt{ font-size:.8rem; color:var(--ink-3); white-space:nowrap; }
.floors .cnt em{ font:600 .86rem var(--mono); font-style:normal; color:var(--ok); }
.floors .cnt em.n{ color:var(--ink-3); }
.floors button.on .cnt em{ color:#fff; }
.floors button.on .cnt{ color:rgba(255,255,255,.82); }
.has-fac .floors{ gap:0; grid-auto-rows:1fr; border:1px solid var(--hair); border-radius:var(--r-sm); overflow:hidden; background:var(--card); }
.has-fac .floors button{ grid-template-columns:1fr auto; gap:6px; padding:0 10px; min-height:26px; border:0; border-bottom:1px solid var(--line-2); border-radius:0; }
.has-fac .floors button:last-child{ border-bottom:0; }
.has-fac .floors .dots{ display:none; }
.has-fac .floors b{ font-size:.8rem; min-width:0; overflow:hidden; text-overflow:ellipsis; }
.has-fac .floors button{ grid-template-columns:minmax(0,1fr) auto; }
.has-fac .floors .cnt span{ display:none; }

/* лентата с изгледа и филтрите */
.sel-main{ min-width:0; }
.sel-tools{ display:flex; flex-wrap:wrap; gap:12px 22px; align-items:center; padding-bottom:16px; border-bottom:1px solid var(--hair); }
.seg{ display:inline-flex; border:1px solid rgba(20,21,23,.35); border-radius:var(--r); overflow:hidden; }
.seg button{ padding:11px 15px; font:600 .86rem/1 var(--font); color:var(--ink-2); background:var(--card); }
.seg button + button{ border-left:1px solid rgba(20,21,23,.35); }
.seg button.on{ background:var(--ink); color:#fff; }
.seg button[hidden] + button{ border-left:0; }
.filt{ display:flex; flex-wrap:wrap; gap:10px 18px; align-items:center; }
.filt-head, .filt-done, .filt-open{ display:none; }
.chips{ display:flex; flex-wrap:wrap; gap:6px; }
.chips button{ padding:9px 12px; font:500 .86rem/1 var(--font); color:var(--ink-2); border:1px solid var(--hair); border-radius:var(--r-sm); background:var(--card); }
.chips button:hover{ border-color:var(--ink); }
.chips button.on{ border-color:var(--ink); color:var(--ink); font-weight:600; box-shadow:inset 0 -2px 0 var(--signal); }
.chk{ display:inline-flex; align-items:center; gap:8px; font-size:.88rem; font-weight:500; cursor:pointer; white-space:nowrap; }
.chk input{ width:18px; height:18px; accent-color:var(--ink); }
.rng{ display:inline-flex; align-items:center; gap:6px; font-size:.86rem; color:var(--ink-2); }
.rng input{ width:84px; min-height:38px; padding:6px 8px; font:500 .88rem var(--mono); border:1px solid rgba(20,21,23,.3); border-radius:var(--r-sm); background:var(--card); color:var(--ink); }
.sel-head{ display:flex; align-items:center; gap:14px; justify-content:space-between; padding:20px 0 16px; }
.sel-head h3{ font-size:clamp(1.5rem,2.4vw,2.1rem); }
.sel-head .sum{ font-size:.92rem; color:var(--ink-2); margin-top:6px; }
.sel-head .sum b{ color:var(--ok); }
.sel-nav{ display:flex; gap:6px; }
.sel-nav button{ width:46px; height:46px; display:flex; align-items:center; justify-content:center; border:1px solid rgba(20,21,23,.3); border-radius:var(--r); background:var(--card); }
.sel-nav button:hover{ border-color:var(--ink); }
.sel-nav button:disabled{ opacity:.35; cursor:default; }
.sel-nav[hidden]{ display:none; }
.floorplan{ margin:0 0 18px; }
.floorplan[hidden]{ display:none; }
.floorplan button{ display:block; width:100%; border:1px solid var(--hair); border-radius:var(--r); overflow:hidden; background:#fff; cursor:zoom-in; }
.floorplan img{ width:100%; max-height:560px; object-fit:contain; }
.floorplan figcaption{ font-size:.82rem; color:var(--ink-3); margin-top:8px; }
.floorplan button{ position:relative; } .floorplan img, .unit-plan img{ display:block; }
.floorplan .fp-zoom{ position:absolute; right:10px; bottom:10px; display:inline-flex; align-items:center; gap:8px; background:var(--island); color:#fff; font:600 .76rem/1 var(--font); padding:9px 11px; }
/* очертанията на обектите върху плана (outlines.py → gen.py outline_svg) */
.fp{ position:relative; }
.fp-map{ position:absolute; left:1px; top:1px; width:calc(100% - 2px); height:calc(100% - 2px); pointer-events:none; overflow:visible; }
.fp-map[hidden]{ display:none; }
.fp-map .u{ --c:var(--island); pointer-events:all; cursor:pointer; outline:none; }
.fp-map .u.free{ --c:var(--ok); } .fp-map .u.reserved{ --c:var(--hold); } .fp-map .u.sold{ --c:var(--sold); }
.fp-map path{ fill:transparent; stroke:transparent; stroke-width:3px; stroke-linejoin:round; vector-effect:non-scaling-stroke; transition:fill .15s, stroke .15s; }
@media (hover:hover){      /* мишката над плана: всички обекти леко очертани, за да се види, че се посочват (на телефон залепва) */
  .fp:hover .fp-map .u path{ fill:color-mix(in srgb, var(--c) 10%, transparent); stroke:color-mix(in srgb, var(--c) 45%, transparent); stroke-width:1.5px; }
}
/* при филтър (вид, площ, само свободни, любими): отговарящите са очертани, останалите сиви и със знак „не може“ */
.sel.filtered .fp-map .u path{ fill:color-mix(in srgb, var(--c) 14%, transparent); stroke:var(--c); stroke-width:2px; }
.fp-map .u.hl path, .fp:hover .fp-map .u.hl path, .sel.filtered .fp-map .u.hl path, .fp-map .u:focus-visible path{ fill:color-mix(in srgb, var(--c) 45%, transparent); stroke:var(--c); stroke-width:4px; }
.fp-map .u.dim{ cursor:not-allowed; }
.fp-map .u.dim path, .sel.filtered .fp-map .u.dim path, .fp:hover .fp-map .u.dim path{ fill:rgba(62,64,66,.55); stroke:rgba(62,64,66,.75); stroke-width:1px; }
.sel.filtered .fp-map .u.dim.hl path, .fp:hover .fp-map .u.dim.hl path{ fill:rgba(62,64,66,.7); }
.fp-map.one .u{ pointer-events:none; } .fp-map.one .u path{ fill:color-mix(in srgb, var(--c) 30%, transparent); stroke:var(--c); stroke-width:3px; }
.fp-tip{ position:absolute; z-index:3; transform:translate(-50%,-100%); background:var(--island); color:#fff; font:500 .8rem/1.4 var(--font); padding:8px 12px; text-align:center; white-space:nowrap; pointer-events:none; box-shadow:0 8px 22px rgba(0,0,0,.22); }
.fp-tip.off{ background:#3e4042; }
.fp-tip[hidden]{ display:none; }
.fp-tip b{ font-weight:700; font-size:.92rem; }
/* маркираният ред: плътен, като избрания етаж (бледото не се вижда на всеки екран) */
.units tbody tr.hl td, .th-a .units tbody tr.hl td, .units tbody tr.hl:hover td, .th-a .units tbody tr.hl:hover td{ background:var(--island); color:#fff; }   /* и с мишката върху самия ред: светлият фон на темата при :hover иначе бие тъмния, а текстът остава бял */
.units tbody tr.hl a, .units tbody tr.hl .na, .units tbody tr.hl small, .units tbody tr.hl .st, .units tbody tr.hl .fav, .units tbody tr.hl .go{ color:#fff; }
.units tbody tr.hl .c-no a{ border-bottom-color:rgba(255,255,255,.6); }
.units tbody tr.hl .ask{ color:#fff; }
/* „Запитай“ в реда (обект без своя страница): тих текст, не рамкиран бутон до всяка стрелка */
.units .c-x .ask{ border:0; background:none; padding:0 6px 0 10px; color:var(--ink-2); text-decoration:underline; text-underline-offset:4px; }
.units .c-x .ask:hover{ background:none; color:var(--ink); }
/* „Увеличи“ върху плана на етажа: само знакът, за да не закрива надписа на чертежа */
.floorplan .fp-zoom{ font-size:0; gap:0; padding:9px; }
.units tbody tr.rowlink{ cursor:pointer; }

/* таблицата с обектите */
.tbl{ overflow-x:auto; position:relative; }   /* relative: скритият надпис .sr в заглавието не излиза извън кутията, ако таблицата е по-широка */
@media (min-width:1001px) and (max-width:1280px){ .sel{ grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); } .units th, .units td{ padding-right:8px; } .units{ font-size:.9rem; } }
.units{ width:100%; border-collapse:collapse; font-size:.94rem; }
.units th{ text-align:left; font:600 .72rem/1 var(--font); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); padding:12px 12px 12px 0; border-bottom:1px solid var(--ink); white-space:nowrap; }
.units th[data-sort]{ cursor:pointer; user-select:none; }
.units th[data-sort]::after{ content:"↕"; margin-left:6px; opacity:0; font-size:.9em; transition:opacity .15s; }   /* стрелките за подреждане - само при посочване */
.units th[data-sort]:hover::after, .units th[data-sort]:focus-visible::after{ opacity:.5; }
.units th[aria-sort="ascending"]::after{ content:"↑"; opacity:1; color:var(--ink); }
.units th[aria-sort="descending"]::after{ content:"↓"; opacity:1; color:var(--ink); }
.units td{ padding:16px 12px 16px 0; border-bottom:1px solid var(--hair); vertical-align:middle; }
.units td:first-child{ padding-left:12px; } .units th:first-child{ padding-left:12px; }
.units tbody tr:hover td{ background:rgba(20,21,23,.035); }
.units .c-no{ font-weight:600; white-space:nowrap; }
.units .c-no a{ text-decoration:none; border-bottom:1px solid var(--accent-line); }
.units tr.rowlink .c-no a{ border-bottom:0; }      /* целият ред е линк: без подчертаване на всеки номер */
.units .c-no a:hover{ border-bottom-color:var(--ink); }
.units .num{ font-family:var(--mono); font-variant-numeric:tabular-nums; white-space:nowrap; }
.units .c-a small{ font-family:var(--font); color:var(--ink-3); }
.units .c-p{ white-space:normal; } .units .c-p b{ font-weight:600; white-space:nowrap; } .units .c-p small{ display:block; font-size:.78rem; color:var(--ink-3); margin-top:2px; }
.units .na{ font-family:var(--font); color:var(--ink-3); font-size:.86rem; white-space:normal; }
.units .c-f{ white-space:nowrap; color:var(--ink-2); }
@media (min-width:761px){ .sel[data-view="floor"] .units .c-f, .sel[data-view="floor"] .units th[data-sort="n"]{ display:none; } }
.units .c-x{ text-align:right; padding-right:0; white-space:nowrap; }
.units tr.sold td{ color:var(--ink-3); }
.js .units tbody tr[hidden]{ display:none; }
.fav{ display:inline-flex; align-items:center; justify-content:center; gap:8px; width:40px; height:40px; vertical-align:middle; border:1px solid var(--hair); border-radius:var(--r); color:var(--ink-3); background:var(--card); }
.fav:hover{ border-color:var(--ink); color:var(--ink); }
.fav[aria-pressed="true"]{ color:#b3261e; border-color:#b3261e; }
.fav[aria-pressed="true"] .ico{ fill:currentColor; }
.units .fav{ border-color:transparent; background:transparent; }
.units .fav:hover{ border-color:transparent; color:var(--ink); }
.units .go{ display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; vertical-align:middle; color:var(--ink-2); text-decoration:none; transition:transform .2s, color .2s; }
.units .go span{ display:none; }
.units tr.rowlink:hover .go{ color:var(--ink); transform:translateX(3px); }
.ask{ display:inline-flex; align-items:center; gap:6px; height:40px; vertical-align:middle; margin-left:6px; font:600 .86rem/1 var(--font); text-decoration:none; padding:0 14px; border:1px solid rgba(20,21,23,.35); border-radius:var(--r); white-space:nowrap; background:var(--card); }
.ask:hover{ border-color:var(--ink); background:var(--ink); color:#fff; }
.units-empty{ padding:28px 0; color:var(--ink-2); }
.more-rows{ display:flex; flex-wrap:wrap; gap:12px 18px; align-items:center; margin-top:22px; font-size:.9rem; color:var(--ink-2); }
.more-rows[hidden]{ display:none; }
.list-head{ display:flex; flex-wrap:wrap; gap:16px 28px; align-items:end; justify-content:space-between; margin-bottom:26px; }
.list-head h2{ font-size:clamp(1.8rem,3vw,2.6rem); }
.list-head h2 a{ text-decoration:none; }
.list-head p{ color:var(--ink-2); margin-top:10px; font-size:.95rem; }

@media (max-width:1000px){
  .sel{ grid-template-columns:minmax(0,1fr); }
  .sel-side{ position:static; }
  .sel-bld.has-fac{ grid-template-columns:minmax(0,1fr); }
  .sel-bld.has-fac .fac{ max-width:520px; }
  /* на телефон етаж не се уцелва с пръст върху фасадата: първи са бутоните, в лента с плъзгане */
  .floors, .has-fac .floors{ position:relative; display:flex; gap:6px; overflow-x:auto; padding-bottom:6px; border:0; background:none; border-radius:0; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  .floors::-webkit-scrollbar{ display:none; }
  /* в HTML-а етажите са отгоре надолу (като сграда); в лентата на телефон вървят отдолу нагоре, отляво надясно */
  .floors button, .has-fac .floors button{ order:var(--o); flex:none; display:grid; grid-template-columns:auto; gap:5px; padding:10px 12px; min-height:52px; border:1px solid var(--hair); border-radius:var(--r-sm); }
  .floors .dots{ display:none; }
  .has-fac .floors .cnt span{ display:inline; }
  .has-fac .floors b, .floors b{ font-size:.86rem; }
  .sel-hint{ display:none; }
  .zone .tip{ display:none; }
}
@media (max-width:760px){
  .filt-open{ display:inline-flex; align-items:center; gap:8px; margin-left:auto; height:42px; padding:0 14px; font:600 .88rem/1 var(--font); border:1px solid rgba(20,21,23,.35); border-radius:var(--r); background:var(--card); }
  .filt-open b{ background:var(--ink); color:#fff; font-size:.72rem; min-width:20px; height:20px; display:inline-flex; align-items:center; justify-content:center; border-radius:2px; }
  .js .filt{ position:fixed; left:0; right:0; bottom:0; z-index:80; background:var(--bg); padding:18px var(--gutter) calc(18px + env(safe-area-inset-bottom)); border-top:2px solid var(--ink); display:grid; gap:18px; transform:translateY(105%); transition:transform .3s var(--ease); max-height:82vh; overflow-y:auto; visibility:hidden; }
  .js .filt.open{ transform:none; visibility:visible; box-shadow:0 -20px 60px rgba(0,0,0,.35); }
  .js .filt-head{ display:flex; justify-content:space-between; align-items:center; font:600 1.15rem var(--font-d); }
  .js .filt-head button{ width:44px; height:44px; display:flex; align-items:center; justify-content:center; border:1px solid var(--hair); border-radius:var(--r); }
  .js .filt-done{ display:inline-flex; width:100%; }
  .chips button{ padding:12px 14px; font-size:.92rem; }
  .rng input{ width:110px; min-height:46px; }
  .units thead{ display:none; }
  .units, .units tbody{ display:block; }
  /* обектите като компактни карти: номер · цена / вид · площ / етаж (в списъка „Всички“) / статус; цялата карта се докосва */
  .units tr{ display:grid; grid-template-columns:minmax(0,1fr) auto 40px; grid-template-areas:"no p x" "t a x" "f f x" "s s x"; gap:3px 14px; align-items:center; padding:14px 12px 14px 16px; margin-bottom:8px; border:1px solid var(--hair); border-radius:var(--r); background:var(--card); }
  .units td{ grid-column:auto; grid-row:auto; display:block; padding:0; border:0; margin:0; font-size:.92rem; }
  .units td::before{ content:none; }
  .units tbody tr:hover td{ background:none; }
  .units tbody tr.hl, .th-a .units tbody tr.hl{ background:var(--island); border-color:var(--island); } .units tbody tr.hl td, .th-a .units tbody tr.hl td{ background:none; color:#fff; }
  .units td:first-child{ padding-left:0; }
  .units .c-no{ grid-area:no; font:600 1.15rem/1.2 var(--font-d); }
  .units .c-p{ grid-area:p; justify-self:end; text-align:right; }
  .units .c-p small{ display:block; margin-top:1px; }
  .units .c-t{ grid-area:t; color:var(--ink-2); }
  .units .c-a{ grid-area:a; justify-self:end; color:var(--ink-2); }
  .units .c-an, .units .c-e{ display:none; }      /* застроената площ и изложението - на страницата на обекта */
  .units .c-f{ grid-area:f; font-size:.84rem; color:var(--ink-3); }
  .sel[data-view="floor"] .units .c-f{ display:none; }      /* по етажи етажът е в заглавието */
  .units .c-s{ grid-area:s; justify-self:start; margin-top:4px; }
  .units .c-x{ grid-area:x; display:flex; flex-direction:column; align-items:center; gap:2px; padding:0; }
  .units .c-x:empty{ display:none; }
  .units .c-x .go{ display:none; }
  .units .c-x .fav{ width:40px; height:40px; border-color:transparent; background:none; }
  .units .c-x .ask{ flex:none; height:auto; margin:0; padding:2px 0; background:none; border:0; color:var(--ink); font-size:.78rem; text-decoration:underline; }
  .units tbody tr.hl .c-x .ask, .units tbody tr.hl .c-f{ color:#fff; }
  .list-head .btn{ width:100%; }
}

/* ---------- страницата на апартамента ---------- */
.uhead{ background:var(--island); padding:calc(var(--header) + 22px) 0 18px; }
.uhead .crumbs ol{ margin:0; }
.uhead .crumbs a{ color:var(--on-island-2); } .uhead .crumbs li{ color:var(--on-island); }
.unit-grid{ display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr); gap:clamp(28px,4vw,64px); padding-top:clamp(28px,4vw,52px); padding-bottom:clamp(40px,5vw,72px); align-items:start; }
.unit-plan{ position:relative; display:block; width:100%; background:#fff; border:1px solid var(--hair); border-radius:var(--r); cursor:zoom-in; overflow:hidden; }
.unit-plan img{ width:100%; max-height:74vh; object-fit:contain; }
.unit-plan span{ position:absolute; right:12px; bottom:12px; display:inline-flex; align-items:center; gap:8px; background:var(--island); color:#fff; font:600 .8rem/1 var(--font); padding:10px 12px; }
.unit-plan.none{ cursor:default; padding:60px 24px; text-align:center; color:var(--ink-2); background:var(--bg-alt); }
.unit-plan-note{ font-size:.86rem; color:var(--ink-3); margin-top:10px; }
.unit-thumbs{ display:flex; gap:10px; margin-top:12px; }
.unit-thumbs button{ width:150px; border:1px solid var(--hair); border-radius:var(--r-sm); background:#fff; overflow:hidden; cursor:zoom-in; text-align:left; }
.unit-thumbs img{ width:100%; height:96px; object-fit:contain; }
.unit-thumbs small{ display:block; padding:7px 10px; font-size:.78rem; color:var(--ink-2); border-top:1px solid var(--line-2); }
.unit-info{ position:sticky; top:calc(var(--header) + 20px); }
.unit-info h1{ font-size:clamp(2.4rem,4.4vw,3.8rem); margin-top:14px; }
.unit-info h1 small{ display:block; font:500 1.05rem/1.3 var(--font); letter-spacing:0; color:var(--ink-2); margin-top:12px; }
.unit-info .where{ color:var(--ink-3); font-size:.92rem; margin-top:8px; }
.unit-price{ margin-top:24px; padding:18px 0; border-top:1px solid var(--ink); border-bottom:1px solid var(--hair); }
.unit-price b{ display:block; font:600 clamp(1.8rem,3vw,2.5rem)/1 var(--mono); letter-spacing:-.02em; }
.unit-price.na b{ font:600 1.25rem/1.2 var(--font-d); }
.unit-price small{ display:block; margin-top:8px; color:var(--ink-2); font-size:.9rem; }
.unit-facts{ display:grid; grid-template-columns:1fr 1fr; column-gap:20px; }
.unit-facts > div{ padding:14px 0; border-bottom:1px solid var(--hair); }
.unit-facts dt{ font-size:.78rem; color:var(--ink-3); }
.unit-facts dd{ font-weight:600; margin-top:4px; }
.unit-cta{ display:grid; gap:10px; margin-top:24px; }
.unit-cta .btn{ width:100%; }
.unit-mini{ display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:6px; }
.unit-mini button{ display:inline-flex; align-items:center; gap:8px; width:auto; height:auto; padding:8px 0; border:0; background:none; font:600 .86rem/1 var(--font); color:var(--ink-2); }
.unit-mini button:hover{ color:var(--ink); }
.unit-mini .fav[aria-pressed="true"]{ color:#b3261e; }
.unit-pay{ margin-top:18px; font-size:.88rem; color:var(--ink-2); padding-left:14px; border-left:2px solid var(--signal); }
.unit-sold{ color:var(--ink-2); }
.unit-pos{ display:grid; grid-template-columns:minmax(0,380px) minmax(0,1fr); gap:clamp(24px,4vw,56px); align-items:start; }
.unit-pos.no-fac{ grid-template-columns:minmax(0,1fr); }
.unit-pos-t{ color:var(--ink-2); margin-bottom:12px; }
.unit-pos-t b{ color:var(--ink); }
.same{ list-style:none; border-top:1px solid var(--hair); columns:2; column-gap:36px; }
.same li{ display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:baseline; padding:11px 0; border-bottom:1px solid var(--hair); break-inside:avoid; }
.same li > a, .same li > span:first-child{ font-weight:600; text-decoration:none; }
.same li > a{ border-bottom:1px solid var(--accent-line); }
.same small{ color:var(--ink-3); font-size:.84rem; }
.same li.sold{ color:var(--ink-3); }
.ucards{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(12px,1.6vw,22px); }
.ucard{ display:grid; grid-template-columns:1fr auto; gap:6px 10px; align-content:start; padding:14px; border:1px solid var(--hair); border-radius:var(--r); background:var(--card); text-decoration:none; transition:border-color .2s; }
.ucard:hover{ border-color:var(--ink); }
.ucard .ph{ grid-column:1/-1; aspect-ratio:4/3; background:#fff; border-bottom:1px solid var(--line-2); margin:-14px -14px 6px; overflow:hidden; }
.ucard .ph img{ width:100%; height:100%; object-fit:contain; }
.ucard .t{ grid-column:1/-1; display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px 10px; align-items:center; }
.ucard .t b{ font:600 1.15rem/1 var(--font-d); }
.ucard .m{ grid-column:1/-1; font-size:.84rem; color:var(--ink-3); }
.ucard .a{ font-weight:600; font-size:1.05rem; margin-top:8px; } .ucard .p{ grid-column:1/-1; font-size:.84rem; color:var(--ink-2); }
.ucard:not(:has(.ph)){ border-top:2px solid var(--ink); }
@media (max-width:1000px){
  .unit-grid{ grid-template-columns:minmax(0,1fr); }
  .unit-info{ position:static; order:-1; }
  .ucards{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .unit-pos{ grid-template-columns:minmax(0,1fr); } .unit-pos .fac{ max-width:420px; }
}
@media (max-width:560px){ .same{ columns:1; } .unit-thumbs button{ width:50%; } .unit-facts > div{ padding:12px 0; } }

/* ---------- схемата на плащане ---------- */
.pay{ list-style:none; display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); border-top:1px solid rgba(255,255,255,.26); }
.pay > li{ padding:30px 28px 0 0; }
.pay > li + li{ padding-left:28px; border-left:1px solid rgba(255,255,255,.18); }
.pay .step{ font:600 .74rem/1 var(--font); letter-spacing:.14em; text-transform:uppercase; color:var(--accent-on-island); }
.pay b{ display:block; font:600 clamp(2.2rem,4.6vw,4rem)/1 var(--mono); letter-spacing:-.04em; color:#fff; margin:18px 0 14px; }
.pay p{ color:var(--on-island-2); max-width:36ch; }
.pay-bar{ display:flex; margin-top:clamp(36px,5vw,60px); border:1px solid rgba(255,255,255,.4); min-height:64px; }
.pay-bar span{ display:flex; flex-direction:column; justify-content:center; gap:5px; padding:10px 16px; min-width:118px; }
.pay-bar span:first-child{ background:var(--signal); color:var(--signal-ink); }
.pay-bar span + span{ border-left:1px solid rgba(255,255,255,.4); }
.pay-bar b{ font:600 1.15rem/1 var(--mono); }
.pay-bar small{ font-size:.78rem; opacity:.9; }
.pay-note{ margin-top:12px; font-size:.86rem; color:var(--on-island-2); }
.pay-more{ margin-top:28px; }
.island .link:hover{ color:var(--accent-on-island); }
@media (max-width:800px){ .pay{ grid-template-columns:1fr; } .pay > li + li{ padding-left:0; border-left:0; border-top:1px solid rgba(255,255,255,.18); margin-top:26px; } }

/* ---------- времевата линия на строежа ---------- */
.tl{ list-style:none; display:grid; grid-template-columns:repeat(var(--n),minmax(0,1fr)); }
.tl li{ position:relative; padding:26px 18px 0 0; border-top:2px solid var(--hair); display:grid; grid-template-columns:minmax(0,1fr); gap:6px; align-content:start; }   /* колоната изрично: .done е и блокът със завършените сгради */
.tl li i{ position:absolute; left:0; top:-8px; width:14px; height:14px; background:var(--bg); border:2px solid var(--ink-3); }
.alt .tl li i{ background:var(--bg-alt); }
.tl li.done{ border-top-color:var(--ink); } .tl li.done i{ background:var(--ink); border-color:var(--ink); }
.tl li.now{ border-top-color:var(--hair); } .tl li.now i{ background:var(--signal); border-color:var(--ink); box-shadow:0 0 0 5px var(--accent-tint); }
.tl b{ font:600 1.1rem/1.2 var(--font-d); }
.tl span{ font:500 .9rem var(--mono); color:var(--ink-2); }
.tl em{ font-style:normal; font:600 .72rem/1 var(--font); letter-spacing:.12em; text-transform:uppercase; color:var(--accent-ink); margin-top:4px; }
.tl li.next b{ color:var(--ink-3); }
.tl-note{ margin-top:26px; color:var(--ink-2); font-size:.92rem; max-width:80ch; }
@media (max-width:760px){
  .tl{ grid-template-columns:1fr; }
  .tl li{ border-top:0; border-left:2px solid var(--hair); padding:0 0 26px 26px; }
  .tl li.done{ border-left-color:var(--ink); }
  .tl li i{ left:-8px; top:2px; }
  .tl li:last-child{ padding-bottom:0; }
}

/* ---------- едри числа, локация, карти, отличие, завършени, новини ---------- */
.nums{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); border-top:1px solid var(--ink); }
.nums > div{ padding:26px 22px 0 0; }
.nums > div + div{ padding-left:24px; border-left:1px solid var(--hair); }
.nums b{ display:block; font:500 clamp(2.8rem,6.4vw,6rem)/.95 var(--mono); letter-spacing:-.05em; }
.nums span{ display:block; margin-top:14px; color:var(--ink-2); max-width:24ch; }
@media (max-width:760px){ .nums{ grid-template-columns:1fr 1fr; } .nums > div{ padding:20px 12px 20px 0; } .nums > div + div{ padding-left:0; border-left:0; } .nums > div:nth-child(even){ padding-left:16px; border-left:1px solid var(--hair); } .nums > div:nth-child(n+3){ border-top:1px solid var(--hair); } .nums b{ font-size:2.6rem; } }
.loc{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(28px,5vw,80px); align-items:center; }
.loc h2{ margin-bottom:20px; }
.loc-pts{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); border-top:1px solid var(--ink); margin-top:30px; }
.loc-pts > div{ padding:18px 16px 18px 0; border-bottom:1px solid var(--hair); }
.loc-pts > div + div{ padding-left:18px; border-left:1px solid var(--hair); }
.loc-pts b{ display:block; font:500 clamp(1.8rem,3vw,2.6rem)/1 var(--mono); letter-spacing:-.03em; }
.loc-pts span{ display:block; margin-top:8px; font-size:.9rem; color:var(--ink-2); }
.loc-ph{ aspect-ratio:4/3; overflow:hidden; border-radius:var(--r); background:var(--bg-alt-2); }
.loc-ph img{ width:100%; height:100%; object-fit:cover; }
@media (max-width:900px){ .loc{ grid-template-columns:1fr; } }
.cards{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(16px,2vw,28px); }
.cards.n3{ grid-template-columns:repeat(3,minmax(0,1fr)); } .cards.n2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.card{ display:grid; align-content:start; gap:14px; text-decoration:none; }
.card .ph{ aspect-ratio:4/5; overflow:hidden; border-radius:var(--r); background:var(--bg-alt-2); }
.card .ph img{ width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease); }
a.card:hover .ph img{ transform:scale(1.04); }
.card h3{ font-size:1.18rem; }
.card p{ color:var(--ink-2); font-size:.95rem; }
@media (max-width:1000px){ .cards, .cards.n3{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .cards, .cards.n3, .cards.n2{ grid-template-columns:1fr; } .card .ph{ aspect-ratio:4/3; } }
.feature{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(28px,5vw,80px); align-items:center; }
.feature .ph{ border-radius:var(--r); overflow:hidden; }
.feature blockquote{ font:500 clamp(1.4rem,2.4vw,2rem)/1.3 var(--font-d); letter-spacing:-.015em; color:var(--ink); }
.feature .lead{ margin-top:22px; }
@media (max-width:900px){ .feature{ grid-template-columns:1fr; } }
.done{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(12px,1.6vw,22px); }
.done a{ display:grid; gap:12px; text-decoration:none; align-content:start; }
.done .ph{ aspect-ratio:3/4; overflow:hidden; border-radius:var(--r-sm); background:var(--bg-alt-2); }
.done .ph img{ width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease); }
.done a:hover .ph img{ transform:scale(1.04); }
.done b{ display:block; font:600 1.05rem/1.2 var(--font-d); }
.done small{ display:block; color:var(--ink-3); font-size:.85rem; margin-top:4px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
@media (max-width:900px){ .done{ grid-template-columns:1fr 1fr; } }
/* завършените сгради (Бомини, 17.11.2026): снимките с леко заоблени ъгли и в тема с прави ъгли;
   страницата „Завършени“: двете най-нови големи отгоре, останалите по три на ред */
.done .ph, .done-intro .ph, .gal-m button{ border-radius:var(--r-ph, 14px); }
.done-all{ grid-template-columns:repeat(6,minmax(0,1fr)); gap:clamp(26px,3vw,40px) clamp(14px,1.8vw,24px); }
.done-all > a{ grid-column:span 2; }
.done-all > a .ph{ aspect-ratio:4/5; }
.done-all > a:nth-child(-n+2){ grid-column:span 3; }
.done-all > a:nth-child(-n+2) .ph{ aspect-ratio:5/4; }
.done-all > a:nth-child(-n+2) b{ font-size:clamp(1.5rem,2.2vw,2rem); }
@media (max-width:900px){ .done-all{ grid-template-columns:1fr 1fr; } .done-all > a{ grid-column:span 1; } .done-all > a:nth-child(-n+2){ grid-column:span 2; } }
/* галерията: колони (зидария) - всяка снимка в своите пропорции, нищо не се изрязва и няма дупки
   (шаблонът 1 голяма + 4 малки в pr.css оставяше празни места в редовете) */
.gal.gal-m{ display:block; columns:3 260px; column-gap:12px; }      /* само галериите на завършените сгради; „Визуализации“ на проектите остават 1 голяма + малки */
.gal.gal-m button, .gal.gal-m button:nth-child(5n+1), .gal.gal-m button:nth-child(3n+1){ display:block; width:100%; margin:0 0 12px; break-inside:avoid; aspect-ratio:auto; grid-column:auto; grid-row:auto; }
.gal.gal-m button img{ position:static; display:block; width:100%; height:auto; }
@media (max-width:760px){ .gal.gal-m{ columns:2; column-gap:8px; } .gal.gal-m button, .gal.gal-m button:nth-child(5n+1), .gal.gal-m button:nth-child(3n+1){ margin-bottom:8px; } }
/* сградата: снимката стои до текста, докато се чете */
@media (min-width:901px){ .done-intro .split > div:last-child{ align-self:stretch; } .done-intro .ph{ position:sticky; top:calc(var(--header, 84px) + 24px); } }
.news{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(24px,3vw,44px) clamp(20px,3vw,40px); }
.news a{ display:grid; gap:12px; align-content:start; text-decoration:none; }
.news .ph{ aspect-ratio:3/2; overflow:hidden; border-radius:var(--r-sm); background:var(--bg-alt-2); }
.news .ph.none{ display:flex; align-items:flex-end; padding:16px 18px; background:var(--bg-alt); border-top:2px solid var(--ink); }
.news .ph.none::after{ content:attr(data-t); font:500 .74rem/1.3 var(--mono); letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); }
.news .ph img{ width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease); }
.news a:hover .ph img{ transform:scale(1.04); }
.news h3{ font-size:1.15rem; line-height:1.28; }
.news time, .prose > time{ font:500 .82rem var(--mono); color:var(--ink-3); }
@media (max-width:900px){ .news{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .news{ grid-template-columns:1fr; } }
.gal-tall{ grid-template-columns:1fr 1fr; }
.gal-tall button, .gal-tall button:nth-child(5n+1){ grid-column:span 1; grid-row:auto; aspect-ratio:3/4; }

/* ---------- сцената с приближаване: без тема е обикновена секция ---------- */
.scene{ background:var(--island); color:var(--on-island); }
.scene-pin{ position:relative; }
.scene-img{ aspect-ratio:21/9; overflow:hidden; }
.scene-img img{ width:100%; height:100%; object-fit:cover; }
.scene-tx{ padding:clamp(40px,6vw,80px) 0; }
.scene h2{ color:#fff; max-width:18ch; margin-bottom:36px; }
.scene-steps{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:28px; }
.scene-step b{ display:block; font:500 clamp(2.4rem,5vw,4.4rem)/1 var(--mono); letter-spacing:-.04em; color:#fff; }
.scene-step h3{ color:#fff; margin-top:14px; }
.scene-step p{ color:var(--on-island-2); margin-top:8px; max-width:38ch; }
.scene-bar{ display:none; }

/* ---------- долната лента на телефон ---------- */
.bar{ display:none; }
@media (max-width:760px){
  .bar{ display:grid; grid-template-columns:1fr 1fr 1.25fr; position:fixed; left:0; right:0; bottom:0; z-index:60; background:var(--island); border-top:1px solid rgba(255,255,255,.2); padding-bottom:env(safe-area-inset-bottom); transition:transform .3s var(--ease); }
  .bar a{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; min-height:58px; font:600 .74rem/1 var(--font); color:#fff; text-decoration:none; }
  .bar a + a{ border-left:1px solid rgba(255,255,255,.18); }
  .bar a.go{ background:var(--signal); color:var(--signal-ink); }
  .bar .ico{ width:19px; height:19px; }
  body{ padding-bottom:calc(58px + env(safe-area-inset-bottom)); }
  body.sheet .bar{ transform:translateY(110%); }
}

/* ---------- печат: страницата на апартамента става карта (PDF) ---------- */
@media print{
  #hd, #mm, footer, .bar, .no-print, .cta-band, .uhead, .lb{ display:none !important; }
  body{ padding:0; background:#fff; color:#000; }
  .print-only{ display:block; }
  .unit-grid{ grid-template-columns:1.2fr .8fr; padding:0; gap:24px; }
  .unit-info{ position:static; order:0; }
  .unit-plan{ border:0; } .unit-plan span{ display:none; }
  .unit-plan img{ max-height:150mm; }
  .unit-print{ margin-top:18px; padding-top:12px; border-top:1px solid #000; font-size:10pt; }
  .js [data-r]{ opacity:1 !important; transform:none !important; }
  @page{ margin:12mm; }
}

/* ---------- статус „Попитайте“ (unk; не .ask - това е бутонът „Запитай“): в данните няма статус (status_missing: ask) - празна точка, не сиво като продаден ---------- */
.st.unk{ color:var(--ink-2); }
.st.unk::before{ background:transparent; border:1.5px solid currentColor; box-sizing:border-box; }
.zone.z-unk{ color:var(--ink-3); }
.floors .dots i.unk{ background:transparent; border-color:var(--ink-2); }

/* Тема А „Тих лукс“ (по Nieuw Zuid, Chelsea Barracks, Archicom M7).
   Топъл крем, дълбоко зелено за тъмните блокове и футъра, един акцент (теракотата на клиента) само за действията.
   Cormorant Garamond за заглавията (едро, тегло 500, курсив за малкия надпис над заглавието) + Golos Text за текста.
   Първият екран: снимка от край до край, заглавие на три къси реда долу вляво, тънък ред с фактите.
   Отличителният ефект: бавно разкриване - снимката се отваря с clip-path при скрол, а зелен блок с фактите
   я застъпва и се движи с друга скорост (блокът scene). Снимките в секциите се отварят отдолу нагоре.
   Секциите се делят с тънки линии и тъмнозелени блокове, не с нюанси на бежово (на монитора на Николай кремът е бял).
   Логото: тъмната версия на клиента; над снимката и във футъра се показва изсветлено с филтър. */

@font-face{ font-family:"Cormorant Garamond"; font-style:normal; font-weight:400 600; font-display:swap; src:url(/fonts/cormorant-cyr.woff2) format("woff2"); unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face{ font-family:"Cormorant Garamond"; font-style:normal; font-weight:400 600; font-display:swap; src:url(/fonts/cormorant-lat.woff2) format("woff2"); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:"Cormorant Garamond"; font-style:italic; font-weight:400 600; font-display:swap; src:url(/fonts/cormorant-it-cyr.woff2) format("woff2"); unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face{ font-family:"Cormorant Garamond"; font-style:italic; font-weight:400 600; font-display:swap; src:url(/fonts/cormorant-it-lat.woff2) format("woff2"); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:"Golos Text"; font-style:normal; font-weight:400 700; font-display:swap; src:url(/fonts/golos-cyr.woff2) format("woff2"); unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face{ font-family:"Golos Text"; font-style:normal; font-weight:400 700; font-display:swap; src:url(/fonts/golos-lat.woff2) format("woff2"); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root{
  --bg:#f4efe6; --bg-alt:#e6dccb; --bg-alt-2:#ddd1bd; --card:#fbf8f2;
  --ink:#1c2a22; --ink-2:#3a473f; --ink-3:#56625a;
  --line:rgba(28,42,34,.24); --line-2:rgba(28,42,34,.16); --hair:rgba(28,42,34,.24);
  --island:#1f3a2c; --island-2:#294737; --on-island:#f2ede3; --on-island-2:#c9c4b6;
  --ok:#2e7a46; --hold:#a8660a; --sold:#857f73; --sold-tint:rgba(133,127,115,.2);
  --font:"Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-d:"Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --mono:"Golos Text", -apple-system, Arial, sans-serif;
  --t-hero:clamp(3rem,6.2vw,6.4rem); --t-h2:clamp(2.3rem,4.1vw,3.9rem); --t-h3:clamp(1.45rem,2vw,1.8rem);
  --r-sm:0px; --r:0px; --r-lg:0px; --r-full:0px;
  --header:84px;
}
body{ background:var(--bg); }
/* обикновената кирилица (без българските ръкописни форми на Cormorant) и числа на реда, не „старинни“.
   !important, защото шорткътът font: по елементите нулира font-feature-settings */
*, *::before, *::after{ font-feature-settings:"locl" 0, "lnum" 1 !important; }
h1, h2, h3{ font-weight:500; letter-spacing:-.012em; line-height:1.02; }
h3{ line-height:1.12; }
.eyebrow{ font:italic 500 1.32rem/1.1 var(--font-d); letter-spacing:0; text-transform:none; color:var(--accent-ink); }
.eyebrow::before{ display:none; }
.lead{ line-height:1.6; }
.btn{ font:600 .78rem/1 var(--font); letter-spacing:.16em; text-transform:uppercase; min-height:52px; padding:0 26px; }
.btn-xl{ min-height:58px; padding:0 32px; font-size:.8rem; }
.btn-p{ background:var(--island); color:var(--on-island); }
.btn-p:hover{ background:var(--island-2); }
.btn-s{ border-color:rgba(28,42,34,.45); }
.btn-g, .island .btn-p{ background:var(--signal); color:var(--signal-ink); }
.btn-g:hover, .island .btn-p:hover{ background:var(--signal); filter:brightness(1.08); }
.link{ font-weight:600; letter-spacing:.02em; }
.sec{ padding:clamp(80px,11vw,160px) 0; }
.sec-head h2, .sec-head.one h2{ max-width:16ch; }
.sec-head{ align-items:end; }

/* ---------- хедър: крем с тънка линия; прозрачен и бял над голямата снимка ---------- */
#hd{ background:rgba(244,239,230,.97); color:var(--ink); box-shadow:0 1px 0 var(--line); }
#hd.solid{ box-shadow:0 1px 0 var(--line), 0 14px 30px -18px rgba(28,42,34,.35); }
#hd nav > a, #hd .dd > a{ font:500 .76rem/1 var(--font); letter-spacing:.16em; text-transform:uppercase; color:var(--ink-2); }
#hd nav > a:hover, #hd nav > a[aria-current], #hd .dd > a.on{ color:var(--ink); }
#hd nav > a::after, #hd .dd > a::after{ background:var(--signal); bottom:26px; }
#hd .tel{ color:var(--ink); border-left-color:var(--line); }
#hd .tel .ico{ color:var(--accent-ink); }
#hd > .wrap > .btn{ background:var(--island); color:var(--on-island); font-size:.74rem; min-height:46px; padding:0 20px; }
#hd > .wrap > .btn:hover{ background:var(--island-2); }
.burger i{ background:var(--ink); }
body.hero-top #hd:not(.solid){ background:linear-gradient(rgba(14,22,17,.55), rgba(14,22,17,0)); box-shadow:none; color:#fff; }
body.hero-top #hd:not(.solid) nav > a, body.hero-top #hd:not(.solid) .dd > a{ color:rgba(255,255,255,.9); }
body.hero-top #hd:not(.solid) .tel{ color:#fff; border-left-color:rgba(255,255,255,.3); }
body.hero-top #hd:not(.solid) .tel .ico{ color:#fff; }
body.hero-top #hd:not(.solid) .burger i{ background:#fff; }
body.hero-top #hd:not(.solid) > .wrap > .btn{ background:var(--on-island); color:var(--island); }
body.hero-top #hd:not(.solid) .logo img, footer .fbrand img{ filter:brightness(0) invert(1); }
footer .fbrand img{ opacity:.92; }
#hd .ddm{ background:var(--card); border-color:var(--line); }
@media (max-width:520px){ #hd .tel{ border-color:var(--line); } body.hero-top #hd:not(.solid) .tel{ border-color:rgba(255,255,255,.4); } }
#mm a{ font:500 1.7rem/1.15 var(--font-d); }

/* ---------- заглавие на вътрешна страница: крем, не тъмно ---------- */
.phead{ background:var(--bg); color:var(--ink); border-bottom:1px solid var(--line); padding-bottom:clamp(44px,5vw,72px); }
.phead h1{ color:var(--ink); font-size:clamp(2.8rem,5.6vw,5.4rem); max-width:18ch; }
.phead .lead{ color:var(--ink-2); }
.phead .eyebrow{ color:var(--accent-ink); }
.phead .crumbs a{ color:var(--ink-3); } .phead .crumbs li[aria-current]{ color:var(--ink); }
.phead .btn-s{ color:var(--ink); border-color:rgba(28,42,34,.45); }
.uhead{ background:var(--bg); border-bottom:1px solid var(--line); }
.uhead .crumbs a{ color:var(--ink-3); } .uhead .crumbs li{ color:var(--ink); }

/* ---------- първият екран: снимка от край до край, три къси реда долу вляво ---------- */
.th-a .st-hero{ min-height:max(100svh,640px); grid-template-rows:1fr auto; }
.th-a .st-hero .hero-img img{ animation:a-settle 2.6s var(--ease) both; transform-origin:60% 40%; }
.th-a .st-hero.has-vid .hero-img img{ animation:none; }   /* с видео снимката не се приближава: видеото тръгва веднага, без подскок при смяната */
@keyframes a-settle{ from{ transform:scale(1.07); } to{ transform:none; } }
.th-a .st-hero .hero-img::after{ background:linear-gradient(90deg, rgba(12,20,15,.62) 0%, rgba(12,20,15,.3) 38%, rgba(12,20,15,0) 66%), linear-gradient(180deg, rgba(12,20,15,.42) 0%, rgba(12,20,15,0) 22%, rgba(12,20,15,0) 46%, rgba(12,20,15,.82) 100%); }
.th-a .st-hero .hero-tx{ padding-bottom:clamp(30px,4vw,52px); }
.th-a .st-hero h1{ font-size:var(--t-hero); line-height:.98; max-width:none; letter-spacing:-.018em; }
.th-a .st-hero .eyebrow{ color:#fff; font-size:clamp(1.25rem,1.6vw,1.55rem); margin-bottom:18px; }
.th-a .st-hero .lead{ font-size:1.04rem; max-width:46ch; color:rgba(255,255,255,.9); }
.th-a .st-hero .btn-s{ border-color:rgba(255,255,255,.6); }
.th-a .hfacts{ border-top-color:rgba(255,255,255,.4); }
.th-a .hfacts dl > div{ padding-top:20px; padding-bottom:24px; }
.th-a .hfacts dl > div + div{ border-left-color:rgba(255,255,255,.28); }
.th-a .hfacts dd{ font:500 clamp(1.6rem,2.3vw,2.2rem)/1 var(--font-d); letter-spacing:-.01em; }
.th-a .hfacts dt{ font:500 .7rem/1.3 var(--font); letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.8); }
.th-a .st-hero-sub{ min-height:max(88svh,600px); }
.th-a .st-hero-sub h1{ font-size:clamp(2.9rem,5.6vw,5.6rem); }
@media (max-width:800px){
  .th-a .st-hero{ min-height:max(92svh,600px); }
  .th-a .st-hero .hero-img::after{ background:linear-gradient(180deg, rgba(12,20,15,.5) 0%, rgba(12,20,15,.1) 26%, rgba(12,20,15,.35) 52%, rgba(12,20,15,.9) 100%); }
  .th-a .st-hero h1{ font-size:clamp(2.3rem,9.6vw,3.2rem); }
  .th-a .hfacts dd{ font-size:1.55rem; }
  .th-a .hfacts dl > div:nth-child(n+3){ border-top-color:rgba(255,255,255,.28); }
}

/* ---------- бавното разкриване: снимките в секциите се отварят отдолу нагоре ---------- */
.js .th-a .proj[data-r] .proj-ph, .js .th-a .ph[data-r], .js .th-a .card[data-r] .ph, .js .th-a .done a[data-r] .ph{ clip-path:inset(100% 0 0 0); transition:clip-path 1.5s var(--ease) .08s; }
.js .th-a .proj[data-r].in .proj-ph, .js .th-a .ph[data-r].in, .js .th-a .card[data-r].in .ph, .js .th-a .done a[data-r].in .ph{ clip-path:inset(0); }
.js .th-a .proj[data-r] .proj-ph img, .js .th-a .ph[data-r] img{ transform:scale(1.12); transition:transform 2.2s var(--ease); }
.js .th-a .proj[data-r].in .proj-ph img, .js .th-a .ph[data-r].in img{ transform:none; }
.js .th-a .proj[data-r].in .proj-ph:hover img{ transform:scale(1.03); }
@media (prefers-reduced-motion:reduce){ .js .th-a [data-r], .js .th-a [data-r] .ph, .js .th-a [data-r] .proj-ph, .js .th-a [data-r] img{ clip-path:none !important; transform:none !important; } }

/* ---------- отличителният ефект: снимката се отваря, зеленият блок я застъпва и се плъзга по-бързо ---------- */
.th-a .scene{ background:var(--bg); color:var(--ink); }
.th-a .scene.live{ height:calc(100svh * (1.1 + var(--steps) * .45)); }
.th-a .scene.live .scene-pin{ position:sticky; top:0; height:100svh; overflow:hidden; }
.th-a .scene.live{ --q:min(1, calc(var(--p, 0) * 2.6)); }
.th-a .scene.live .scene-img{ position:absolute; inset:0; aspect-ratio:auto;
  clip-path:inset(calc((1 - var(--q)) * 15%) calc((1 - var(--q)) * 6%) calc((1 - var(--q)) * 12%) calc((1 - var(--q)) * 44%)); will-change:clip-path; }
.th-a .scene.live .scene-img img{ transform:scale(calc(1.16 - var(--q) * .16)); transform-origin:60% 50%; will-change:transform; }
.th-a .scene.live .scene-img::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(12,20,15,.38) 0%, rgba(12,20,15,0) 48%); opacity:var(--q); }
.th-a .scene.live .scene-tx{ position:absolute; left:max(var(--gutter), calc((100vw - var(--content)) / 2)); bottom:clamp(28px,7vh,80px); z-index:2; width:min(560px, 46vw);
  padding:clamp(28px,3.4vw,52px); background:var(--island); color:var(--on-island);
  transform:translateY(calc((.5 - var(--p, 0)) * 22vh)); will-change:transform; box-shadow:0 30px 60px -30px rgba(12,20,15,.55); }
.th-a .scene.live .scene-tx .eyebrow{ color:var(--accent-on-island); }
.th-a .scene.live h2{ font-size:clamp(1.9rem,3vw,2.8rem); color:var(--on-island); margin-bottom:26px; max-width:14ch; }
.th-a .scene.live .scene-steps{ display:grid; grid-template-columns:minmax(0,1fr); gap:0; }
.th-a .scene.live .scene-step{ grid-area:1/1; opacity:0; transform:translateY(22px); transition:opacity .6s var(--ease), transform .7s var(--ease); pointer-events:none; }
.th-a .scene.live .scene-step.was{ transform:translateY(-22px); }
.th-a .scene.live .scene-step.on{ opacity:1; transform:none; pointer-events:auto; }
.th-a .scene.live .scene-step b{ font:500 clamp(4rem,8vw,7.6rem)/.9 var(--font-d); letter-spacing:-.03em; color:#fff; }
.th-a .scene.live .scene-step h3{ font:600 .78rem/1.4 var(--font); letter-spacing:.16em; text-transform:uppercase; color:var(--on-island); margin-top:18px; }
.th-a .scene.live .scene-step p{ color:var(--on-island-2); font-size:1rem; margin-top:10px; }
.th-a .scene.live .scene-bar{ display:block; height:1px; background:rgba(255,255,255,.3); margin-top:30px; }
.th-a .scene.live .scene-bar i{ display:block; height:100%; background:var(--accent-on-island); width:calc(var(--p, 0) * 100%); }
@media (max-width:760px){
  .th-a .scene.live{ height:calc(100svh * (1.15 + var(--steps) * .45)); }
  .th-a .scene.live .scene-img{ clip-path:inset(calc((1 - var(--q)) * 10%) calc((1 - var(--q)) * 7%) calc((1 - var(--q)) * 42%) calc((1 - var(--q)) * 7%)); }
  .th-a .scene.live .scene-tx{ left:var(--gutter); right:var(--gutter); width:auto; bottom:calc(74px + 2vh); padding:24px 22px; transform:translateY(calc((.5 - var(--p, 0)) * 10vh)); }
  .th-a .scene.live h2{ font-size:1.7rem; margin-bottom:16px; }
  .th-a .scene.live .scene-step b{ font-size:3.6rem; }
}

/* ---------- цитатът: едър серифен курсив на цял ред ---------- */
.th-a .sec-feature.alt, .th-a .sec-gal.alt, .th-a .sec-sel.alt, .th-a .sec-tight.alt, .th-a .sec.alt{ background:var(--bg); border-top:1px solid var(--line); }
.th-a .feature{ grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); align-items:end; }
.th-a .feature .ph{ aspect-ratio:4/5; }
.th-a .feature .ph img{ width:100%; height:100%; object-fit:cover; }
.th-a .feature blockquote{ font:italic 500 clamp(2rem,3.5vw,3.4rem)/1.12 var(--font-d); letter-spacing:-.01em; position:relative; padding-top:.5em; }
.th-a .feature blockquote{ border-top:1px solid var(--ink); }
.th-a .feature .lead{ font-size:1rem; max-width:52ch; }

/* ---------- проектите: снимка и тънки линии ---------- */
.th-a .proj h3{ font-size:clamp(2.4rem,4vw,3.8rem); }
.th-a .proj-ph{ aspect-ratio:4/5; }
.th-a .proj-ph .tag{ background:var(--bg); color:var(--ink); font:500 .7rem/1 var(--font); letter-spacing:.16em; left:18px; top:18px; }
.th-a .proj-ph .tag b{ color:var(--accent-ink); }
.th-a .proj dd{ font:500 1.7rem/1.05 var(--font-d); letter-spacing:0; }
.th-a .proj dd small{ font-family:var(--font); }
.th-a .proj dl, .th-a .specs, .th-a .nums, .th-a .loc-pts{ border-top-color:var(--ink); }
.th-a .specs dd{ font:500 1.6rem/1.1 var(--font-d); }
.th-a .specs dt, .th-a .proj dt, .th-a .unit-facts dt{ font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; }
.th-a .nums b, .th-a .loc-pts b{ font-family:var(--font-d); font-weight:500; letter-spacing:-.02em; }
.th-a .nums b{ font-size:clamp(3.4rem,7vw,6.4rem); }
.th-a .card h3, .th-a .news h3{ font-size:1.55rem; }
.th-a .done b{ font:500 1.45rem/1.15 var(--font-d); }
.th-a .faq summary{ font:500 clamp(1.4rem,2vw,1.75rem)/1.2 var(--font-d); }
.th-a .pay b{ font:500 clamp(3rem,5.6vw,5rem)/1 var(--font-d); letter-spacing:-.02em; }
.th-a .tl b{ font:500 1.35rem/1.2 var(--font-d); }
.th-a .cta-band h2{ font-size:clamp(2.4rem,4.4vw,4rem); }

/* ---------- изборът: кремави карти с тънки линии, статусът е малка точка ---------- */
.th-a .st::before{ width:8px; height:8px; border-radius:50%; }
.th-a .st{ font-weight:500; }
.th-a .floors button{ background:var(--card); border-color:var(--line); border-left:1px solid var(--line); border-right:1px solid var(--line); }
.th-a .floors button:hover{ background:#fff; }
.th-a .floors button.on{ background:var(--island); border-color:var(--island); color:var(--on-island); }
.th-a .floors button{ grid-template-columns:minmax(0,1fr) auto; }
.th-a .floors-h{ border-bottom:0; } .floors-h + button{ border-top:1px solid var(--hair); } .th-a .floors-h + button{ border-top-color:var(--line); }
.th-a .floors b{ font:500 1.08rem/1.05 var(--font-d); white-space:normal; }
.th-a .has-fac .floors b{ font-size:.95rem; }
.th-a .floors .dots i{ border-radius:50%; }
.th-a .sel-head h3{ font-size:clamp(2rem,3vw,2.8rem); }
.th-a .sel-tabs button{ font:500 1.3rem/1 var(--font-d); }
.th-a .seg{ border-color:var(--line); }
.th-a .seg button + button{ border-left-color:var(--line); }
.th-a .seg button.on, .th-a .floors button.on{ background:var(--island); }
.th-a .chips button.on{ box-shadow:inset 0 -2px 0 var(--signal); }
.th-a .units th{ font:600 .68rem/1 var(--font); letter-spacing:.12em; border-bottom-color:var(--ink); }
@media (min-width:1001px){ .th-a .sel{ grid-template-columns:minmax(0,.74fr) minmax(0,1.26fr); } .th-a .units{ font-size:.9rem; } .th-a .units th, .th-a .units td{ padding-right:9px; } .th-a .ask{ padding:0 11px; } }
.th-a .units .c-no{ font:500 1.2rem/1.1 var(--font-d); }
.th-a .units .c-no a{ border-bottom-color:var(--accent-line); }
.th-a .units tbody tr:hover td{ background:rgba(194,180,150,.18); }
.th-a .ask{ font:600 .82rem/1 var(--font); border-color:rgba(28,42,34,.4); }
.th-a .ask:hover{ background:var(--island); border-color:var(--island); }
.th-a .unit-info h1{ font-size:clamp(3rem,5vw,4.6rem); }
.th-a .unit-price b{ font:500 clamp(2.2rem,3.4vw,3rem)/1 var(--font-d); }
.th-a .ucard .t b{ font:500 1.45rem/1 var(--font-d); }
.th-a .subnav{ background:var(--bg); }
.th-a .subnav a{ font:600 .74rem/1 var(--font); letter-spacing:.14em; text-transform:uppercase; }
.th-a .subnav .btn{ background:var(--island); }
@media (max-width:760px){
  .th-a .units tr{ background:var(--card); border-color:var(--line); }
  .th-a .units .c-no{ font-size:1.35rem; }
}

/* разделителите „/“ в трохите: p.css ги оцветява с --line, което на тъмен фон не се вижда */
.st-hero .crumbs li + li::before, .uhead .crumbs li + li::before, .phead .crumbs li + li::before{ color:inherit; }

/* поправки, намерени на Крис (11.11.2026): „.th-a .sel“ (две колони) биеше „.sel-list“ и списъкът на „Цени“ се свиваше
   в лявата трета; „.th-a .feature“ държеше двете колони и на телефон (снимката с цитата ставаше 130 px) */
@media (min-width:1001px){ .th-a .sel.sel-list{ grid-template-columns:minmax(0,1fr); } }
@media (max-width:900px){ .th-a .feature{ grid-template-columns:minmax(0,1fr); } .th-a .feature .ph{ aspect-ratio:4/3; } }

:root{ --accent:#C2500A; --accent-ink:#883807; --accent-tint:rgba(194,80,10,0.18); --accent-line:rgba(194,80,10,0.5); --accent-on-island:#f8ab7c; --signal:#C2500A; --signal-ink:#ffffff; }
