/* Первый экран главной v2: чертёж + уведомления, два слайда на телефоне, кнопки соцсетей (стекло). */
/* Текущий экран andmas.ru 1:1; вместо ленты постов — планировка, которая прорисовывается золотом; кнопки соцсетей короткие, в стиле «Мой TG-канал» */
/* Рамку ленты убрал: за портретом прямо по фону рисуется чертёж, как в варианте 2 */
.tg-frame{background:none!important;box-shadow:none!important;border:0!important;overflow:visible!important;animation:none!important}
.tg-glass{display:none}
.hero-frame .hero-face-visual{overflow:visible!important}
.tg-face-collage::before{content:"";position:absolute;inset:-24% -75% -8%;background:radial-gradient(closest-side,rgba(10,15,27,.92),rgba(10,15,27,.75) 55%,rgba(10,15,27,0));z-index:0;pointer-events:none}
.plan{position:absolute;left:50%;top:2%;height:98%;width:auto;translate:-50% 0;max-width:none;overflow:visible;opacity:.95;z-index:1;transform-origin:50% 50%;will-change:transform}
@media (max-width:768px){.plan{top:6%;height:90%}}
.plan path{fill:none;stroke:#b8a47a;stroke-width:1;stroke-linecap:square}
.plan .thin{stroke:rgba(184,164,122,.45);animation-delay:.6s}
.plan text{fill:#b8a47a;font:400 12px Roboto,sans-serif;letter-spacing:.12em;opacity:0}



.notes{opacity:.95;position:absolute;left:50%;top:-16%;height:132%;width:auto;translate:-50% 0;max-width:none;overflow:visible;z-index:4;pointer-events:none}
@media (max-width:768px){.notes{top:-6%;height:118%}}
.notes .card{fill:rgba(10,15,27,0);stroke:#b8a47a;stroke-width:1;vector-effect:non-scaling-stroke;transition:fill .6s}
.notes .card.filled{fill:rgba(10,15,27,.32)}
.notes .ic{fill:none;stroke:#b8a47a;stroke-width:1;vector-effect:non-scaling-stroke}
.notes .ring{fill:none;stroke:rgba(184,164,122,.45);stroke-width:1;vector-effect:non-scaling-stroke;opacity:0}
.notes .app{fill:#b8a47a;font:400 10px Roboto,sans-serif;letter-spacing:.12em}
.notes .when{fill:#b8a47a;font:400 10px Roboto,sans-serif;letter-spacing:.12em;opacity:.7}
.notes .msg{fill:#b8a47a;font:400 12.5px Roboto,sans-serif;letter-spacing:.04em}
.notes g.n{transition:transform .9s cubic-bezier(.2,.9,.25,1.15),opacity .5s,filter .6s}

@media (min-width:769px){.tg-face-portrait{width:auto!important;height:88%!important;max-width:none!important}}
/* Соцсети: три круга с тонкой обводкой и белыми знаками, при наведении/нажатии — золото */
.soc-c{display:flex;gap:14px;justify-content:center}
.soc-c a{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.35);background:rgba(10,15,27,.35);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;transition:background .3s,border-color .3s,color .3s,transform .3s}
.soc-c svg{width:19px;height:19px;fill:currentColor}
.soc-c a[data-net="max"] svg{fill-rule:evenodd}
.soc-c a:hover,.soc-c a:active{background:#9e8b63;border-color:#9e8b63;color:#0c1220;transform:translateY(-2px)}
.soc-c a:focus-visible{outline:1px solid #b8a47a;outline-offset:3px}
.under{display:none}
@media (min-width:769px){
 .hero-face-actions .soc-c{display:none}
 .under{display:block;position:absolute;left:50%;bottom:1%;transform:translateX(-50%);z-index:6}
 .tg-face-collage::after{content:"";position:absolute;left:-14%;right:-14%;bottom:-3%;height:20%;background:linear-gradient(rgba(10,15,27,0),rgba(10,15,27,.9) 70%);z-index:5;pointer-events:none}
}
/* Телефон: раскладка живой главной — текст, фото в рамке во всю ширину, две кнопки во всю ширину; всё в один экран */
.soc-row{display:none}
@media (max-width:768px){
 .hero-face-actions .soc-c{display:none!important}
 .hero-frame{height:100svh!important;min-height:0!important;padding:calc(var(--header-h) + 8px) 14px 14px!important}
 .hero-frame .hero{height:100%!important;min-height:0!important}
 .hero-face-overlay{background:linear-gradient(180deg,rgba(12,18,32,.93) 0%,rgba(12,18,32,.8) 45%,rgba(12,18,32,.5) 100%)!important}
 .hero-frame .hero-face-grid{display:flex!important;flex-direction:column;height:100%!important;min-height:0!important}
 .hero-frame .hero-face-text{flex:none;padding:18px 20px 0!important}
 .hero-frame .hero-face-sub{margin-bottom:0!important}
 .hero-frame .hero-face-visual{flex:1 1 auto;align-self:stretch;width:100%;min-height:0;margin-top:14px;padding:0!important;position:relative;overflow:hidden!important}
 .hero-frame .tg-face-collage{position:absolute!important;inset:0;width:auto!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;padding:0!important}
 .hero-frame .tg-face-collage::before{display:none}
 .hero-frame .tg-frame{position:absolute!important;inset:0!important;background:none!important;border-top:1.5px solid rgba(158,139,99,.55)!important;box-shadow:0 0 0 1px rgba(255,255,255,.07)!important;overflow:hidden!important}
 .hero-frame .plan{top:7%;height:88%}
 .hero-frame .tg-face-portrait{position:absolute!important;height:94%!important;width:auto!important;max-width:none!important;left:50%!important;bottom:0!important;top:auto!important;transform:translateX(-50%)!important;margin:0!important}
 .hero-face-grid>.hero-face-actions{flex:none;padding:14px 20px 0!important;gap:10px!important}
 .hero-face-grid>.hero-face-note{flex:none;padding:10px 20px 0!important}
 .hero-face-scroll{display:none!important}
 .notes.mob{position:absolute;inset:0;left:0;top:0;width:100%;height:100%;translate:none;z-index:6}
 /* Вместо «Мой TG-канал» — та же белая обводка, поделённая на три */
 .soc-row{display:grid;grid-template-columns:1.3fr 1fr 1fr;border:1px solid rgba(255,255,255,.6)}
 .soc-row a{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 0;font-family:var(--font-serif);font-size:.8rem;letter-spacing:1.5px;text-transform:uppercase;color:#fff;white-space:nowrap;transition:background var(--dur) var(--ease),color var(--dur) var(--ease)}
 .soc-row a+a{border-left:1px solid rgba(255,255,255,.28)}
 .soc-row svg{width:15px;height:15px;fill:currentColor;flex:none}
 .soc-row a[data-net="max"] svg{fill-rule:evenodd}
 .soc-row a:hover,.soc-row a:active{background:#fff;color:var(--dark)}
}
/* Невысокие экраны (телефон с панелями браузера): уплотняем текст, чтобы фото оставалось крупным */
@media (max-width:768px) and (max-height:780px){
 .hero-frame .hero-face-text{padding:14px 18px 0!important}
 .hero-frame .hero-face-visual{margin-top:12px}
 .hero-face-grid>.hero-face-actions{padding:12px 18px 0!important;gap:8px!important}
 .hero-face-grid>.hero-face-actions .btn,.soc-row a{padding-top:12px!important;padding-bottom:12px!important}
 .hero-face-grid>.hero-face-note{display:none!important}
}

/* Компьютер: фото заканчивается мягко, кнопка Telegram | MAX | ВК — строго под ним */
@media (min-width:769px){
 .tg-face-collage::after{display:none!important}
 .hero-frame .tg-face-portrait{height:calc(93% - 64px)!important;bottom:calc(8% + 64px)!important;-webkit-mask-image:linear-gradient(#000 90%,transparent);mask-image:linear-gradient(#000 90%,transparent)}
 .under{bottom:8%!important;width:min(380px,100%)}
 .under .soc-row{display:grid;grid-template-columns:1.3fr 1fr 1fr;border:1px solid rgba(255,255,255,.6);background:rgba(10,15,27,.6);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
 .under .soc-row a{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 0;font-family:var(--font-serif);font-size:.8rem;letter-spacing:1.5px;text-transform:uppercase;color:#fff;white-space:nowrap;transition:background var(--dur) var(--ease),color var(--dur) var(--ease)}
 .under .soc-row a+a{border-left:1px solid rgba(255,255,255,.28)}
 .under .soc-row svg{width:15px;height:15px;fill:currentColor;flex:none}
 .under .soc-row a[data-net="max"] svg{fill-rule:evenodd}
 .under .soc-row a:hover{background:#fff;color:var(--dark)}
 .hero-face-actions .soc-row{display:none}
}
/* без затемнения за чертежом */
.hero-frame .tg-face-collage::before{display:none!important}

/* ===== Два слайда (телефон): фото одно; 1 — чертёж + «Подобрать квартиру», 2 — уведомления + Telegram | MAX | ВК ===== */
.sl-bars{display:none}
.sub-stack{display:grid}.sub-stack>p{grid-area:1/1;transition:opacity .6s,transform .7s cubic-bezier(.2,.8,.2,1)}
.sub-stack .s-b{opacity:0;transform:translateY(8px);pointer-events:none}
.cta-stack{display:grid}.cta-stack>*{grid-area:1/1}
@media (min-width:769px){.sub-stack .s-b{display:none}.cta-stack{justify-items:start}}
@media (max-width:768px){
 .hero-frame.s2 .sub-stack .s-a{opacity:0;transform:translateY(-8px)}
 .hero-frame.s2 .sub-stack .s-b{opacity:1;transform:none}
 .cta-stack .btn--gold{transition:opacity .45s,transform .6s cubic-bezier(.2,.8,.2,1),clip-path .6s cubic-bezier(.6,0,.2,1);clip-path:inset(0)}
 .hero-frame.s2 .cta-stack .btn--gold{opacity:0;transform:translateY(-6px);clip-path:inset(0 0 0 100%);pointer-events:none}
 .cta-stack .soc-row{border-color:transparent;transition:border-color .5s .15s;pointer-events:none}
 .cta-stack .soc-row a{opacity:0;transform:translateY(14px);transition:opacity .45s,transform .6s cubic-bezier(.2,.9,.25,1.2),background var(--dur),color var(--dur)}
 .cta-stack .soc-row a+a{border-left-color:transparent}
 .hero-frame.s2 .cta-stack .soc-row{border-color:rgba(255,255,255,.6);pointer-events:auto}
 .hero-frame.s2 .cta-stack .soc-row a{opacity:1;transform:none}
 .hero-frame.s2 .cta-stack .soc-row a+a{border-left-color:rgba(255,255,255,.28)}
 .hero-frame.s2 .cta-stack .soc-row a:nth-child(1){transition-delay:.15s}
 .hero-frame.s2 .cta-stack .soc-row a:nth-child(2){transition-delay:.27s}
 .hero-frame.s2 .cta-stack .soc-row a:nth-child(3){transition-delay:.39s}
 .sl-bars{display:flex;gap:6px;position:absolute;left:14px;right:14px;top:10px;z-index:8}
 .sl-bars button{flex:1;height:14px;padding:6px 0;background:none;border:0;cursor:pointer}
 .sl-bars i{display:block;height:2px;background:rgba(255,255,255,.22);position:relative;overflow:hidden}
 .sl-bars i::after{content:"";position:absolute;inset:0;background:#b8a47a;transform:scaleX(var(--p,0));transform-origin:left;transition:transform var(--t,0s) linear}
 .hero-face-visual{touch-action:pan-y}
}

/* Соцсети в духе рамки фото: тёмное стекло, золотая линия сверху, золотые знаки, короткие золотые разделители */
.hero-frame .soc-row{border:1px solid rgba(255,255,255,.16)!important;border-top:1.5px solid rgba(184,164,122,.7)!important;background:linear-gradient(180deg,rgba(158,139,99,.10),rgba(12,18,32,.55) 60%)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.hero-frame .soc-row a{position:relative;font-size:.74rem!important;letter-spacing:2px!important;color:#eef0f4!important;gap:9px!important;border-left:0!important}
.hero-frame .soc-row a+a::before{content:"";position:absolute;left:0;top:30%;bottom:30%;width:1px;background:rgba(184,164,122,.55)}
.hero-frame .soc-row svg{color:#b8a47a;width:16px!important;height:16px!important;transition:color .3s,transform .3s}
.hero-frame .soc-row a:hover,.hero-frame .soc-row a:active{background:rgba(158,139,99,.2)!important;color:#fff!important}
.hero-frame .soc-row a:hover svg,.hero-frame .soc-row a:active svg{color:#fff;transform:translateY(-1px)}
@media (max-width:768px){
 .hero-frame:not(.s2) .cta-stack .soc-row{border-color:transparent!important;background:none!important}
 .hero-frame .cta-stack .soc-row{transition:border-color .5s .15s,background .5s .15s}
}

/* ===== v14.2: отдельные кнопки соцсетей, понятные полоски, тап как в сторис ===== */
.hero-frame .soc-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border:0!important;background:none!important;-webkit-backdrop-filter:none;backdrop-filter:none}
.hero-frame .soc-row a{flex-direction:column;gap:6px!important;padding:11px 0 10px!important;font-size:.66rem!important;letter-spacing:2px!important;
  border:1px solid rgba(255,255,255,.18)!important;border-top:1.5px solid rgba(184,164,122,.75)!important;
  background:linear-gradient(180deg,rgba(158,139,99,.14),rgba(12,18,32,.62) 55%)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.hero-frame .soc-row a+a::before{display:none}
.hero-frame .soc-row svg{width:18px!important;height:18px!important}
.hero-frame .soc-row a:hover,.hero-frame .soc-row a:active{background:#9e8b63!important;border-color:#9e8b63!important;color:#0c1220!important}
.hero-frame .soc-row a:hover svg,.hero-frame .soc-row a:active svg{color:#0c1220}
@media (min-width:769px){.under{width:min(400px,100%)}}
@media (max-width:768px){
 .hero-frame:not(.s2) .cta-stack .soc-row a{border-color:transparent!important;background:none!important}
 .hero-frame .cta-stack .soc-row a{transition:opacity .45s,transform .6s cubic-bezier(.2,.9,.25,1.2),border-color .4s,background .4s,color .3s}
 .sl-bars{top:8px;left:12px;right:12px;gap:8px}
 .sl-bars button{height:auto;padding:4px 0 6px;display:flex;flex-direction:column;gap:6px;text-align:left}
 .sl-bars i{height:3px;border-radius:2px;background:rgba(255,255,255,.28)}
 .sl-bars i::after{border-radius:2px}
 .sl-bars span{font:500 9px/1 Roboto,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.45);transition:color .4s}
 .sl-bars button.on span{color:#b8a47a}
 .hero-face-visual{cursor:pointer;-webkit-tap-highlight-color:transparent}
 .tapz{position:absolute;top:0;bottom:0;width:30px;z-index:7;display:grid;place-items:center;color:rgba(255,255,255,.55);font:300 26px/1 Roboto,sans-serif;pointer-events:none;opacity:0;transition:opacity .3s}
 .tapz.l{left:2px}.tapz.r{right:2px}
 .hint .tapz{opacity:1}
 .tapz.flash{opacity:1;transition:none}
}
@media (min-width:769px){.hero-frame .hero-face-actions .soc-row{display:none!important}}
@media (min-width:769px){.plan{translate:-64% 0!important}.notes{translate:-55% 0!important}}
/* полоски-сторис убраны: листание тапом/свайпом остаётся */
.hero-frame .sl-bars,.hero-frame .tapz{display:none!important}

@media (max-width:768px){
 .sl-nav{position:absolute;top:12px;z-index:9;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;padding:0;cursor:pointer;
  border:1px solid rgba(255,255,255,.28);background:rgba(12,18,32,.5);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#b8a47a;transition:background .3s,color .3s,border-color .3s}
 .sl-nav svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4}
 .sl-nav.l{left:10px}.sl-nav.r{right:10px}
 .sl-nav:active{background:#9e8b63;border-color:#9e8b63;color:#0c1220}
}
@media (min-width:769px){.sl-nav{display:none}}

/* кружки-стрелки: тихие, по краю той, куда пойдёт смена, медленно набегает золотое кольцо */
@media (max-width:768px){
 .hero-frame .sl-nav{border-color:rgba(255,255,255,.14);background:rgba(12,18,32,.28);color:rgba(184,164,122,.75)}
 .sl-nav .ring{position:absolute;inset:-1px;width:calc(100% + 2px);height:calc(100% + 2px);transform:rotate(-90deg);pointer-events:none}
 .sl-nav .ring circle{fill:none;stroke:#b8a47a;stroke-width:1.2;stroke-dasharray:119.4;stroke-dashoffset:var(--o,119.4);opacity:.85;transition:stroke-dashoffset var(--t,0s) linear}
}

/* Текст сверху масштабируется по высоте экрана: на высоких телефонах — как в оригинале, на невысоких чуть меньше, место уходит фото */
@media (max-width:768px){
 .hero-frame .hero-face-text{padding-top:clamp(10px,2.2svh,18px)!important}
 .hero-frame .hero-face-pretitle{margin-bottom:clamp(8px,1.6svh,14px)!important}
 .hero-frame .hero-face-title{font-size:clamp(26px,4.4svh,32px)!important;margin-bottom:clamp(8px,1.8svh,20px)!important}
 .hero-frame .hero-face-sub{font-size:clamp(13.5px,2.1svh,15px)!important;line-height:1.6!important}
}
/* без золотой линии между текстом и фото */
@media (max-width:768px){.hero-frame .tg-frame{border-top:0!important;box-shadow:none!important}}

/* Фото крупнее: низ уходит под край рамки, голова не доходит до текста */
@media (max-width:768px){.hero-frame .tg-face-portrait{height:106%!important;bottom:-8%!important}}
/* ===== Варианты кнопок соцсетей (?btn=a…f) ===== */
.hero-frame:not(.s2) .cta-stack .soc-row{opacity:0}
.cta-stack .soc-row{transition:opacity .4s}
.hero-frame[class*="btn-"] .soc-row a{background:none!important;border:0!important;-webkit-backdrop-filter:none;backdrop-filter:none}
.hero-frame[class*="btn-"] .soc-row a:hover,.hero-frame[class*="btn-"] .soc-row a:active{background:none!important;color:#fff!important}
/* A — круги со значком, подпись под ними */
.hero-frame.btn-a .soc-row{display:flex!important;justify-content:center;gap:30px}
.hero-frame.btn-a .soc-row a{flex-direction:column;gap:7px!important;padding:0!important;font:400 10px/1 Roboto,sans-serif!important;letter-spacing:.16em!important;color:rgba(255,255,255,.72)!important}
.hero-frame.btn-a .soc-row svg{box-sizing:content-box;width:19px!important;height:19px!important;padding:14px;border:1px solid rgba(255,255,255,.4);border-radius:50%;color:#fff;background:rgba(12,18,32,.45);transition:background .3s,border-color .3s,color .3s}
.hero-frame.btn-a .soc-row a:active svg,.hero-frame.btn-a .soc-row a:hover svg{background:#9e8b63;border-color:#9e8b63;color:#0c1220}
/* B — просто ссылки текстом, между ними золотые ромбики */
.hero-frame.btn-b .soc-row{display:flex!important;justify-content:center;align-items:center;padding:15px 0}
.hero-frame.btn-b .soc-row a{padding:0 16px!important;font-size:.84rem!important;letter-spacing:1.5px!important;text-decoration:underline;text-decoration-color:rgba(184,164,122,.6);text-underline-offset:7px;text-decoration-thickness:1px}
.hero-frame.btn-b .soc-row svg{display:none}
.hero-frame.btn-b .soc-row a+a::before{content:""!important;display:block!important;position:absolute;left:0;top:50%;bottom:auto;width:4px;height:4px;background:#b8a47a;transform:translate(-50%,-50%) rotate(45deg)}
/* C — три белые контурные кнопки, как «Мой TG-канал» */
.hero-frame.btn-c .soc-row a{flex-direction:row;gap:8px!important;padding:14px 0!important;border:1px solid rgba(255,255,255,.6)!important;font-size:.74rem!important}
.hero-frame.btn-c .soc-row svg{color:#fff;width:15px!important;height:15px!important}
.hero-frame.btn-c .soc-row a:active,.hero-frame.btn-c .soc-row a:hover{background:#fff!important;color:#0c1220!important}
/* D — значки в цветах сетей на графите */
.hero-frame.btn-d .soc-row a{flex-direction:row;gap:9px!important;padding:14px 0!important;border:1px solid rgba(255,255,255,.12)!important;background:rgba(12,18,32,.72)!important;font-size:.74rem!important}
.hero-frame.btn-d .soc-row a[data-net="tg"] svg{color:#2AABEE}.hero-frame.btn-d .soc-row a[data-net="max"] svg{color:#7B61FF}.hero-frame.btn-d .soc-row a[data-net="vk"] svg{color:#0077FF}
/* E — одна полоса «Мои каналы» и три маленьких круга справа */
.hero-frame.btn-e .soc-row{display:flex!important;align-items:center;gap:8px;padding:6px 6px 6px 18px;border:1px solid rgba(255,255,255,.6)!important;background:rgba(12,18,32,.35)!important}
.hero-frame.btn-e .soc-row::before{content:"Мои каналы";flex:1;font:400 .8rem Prata,serif;letter-spacing:1.5px;text-transform:uppercase;color:#fff}
.hero-frame.btn-e .soc-row a{flex:none;width:40px;height:40px;padding:0!important;font-size:0!important;gap:0!important;border-radius:50%;border:1px solid rgba(184,164,122,.6)!important}
.hero-frame.btn-e .soc-row svg{color:#b8a47a;width:16px!important;height:16px!important}
.hero-frame.btn-e .soc-row a:active,.hero-frame.btn-e .soc-row a:hover{background:#9e8b63!important}.hero-frame.btn-e .soc-row a:active svg{color:#0c1220}
/* F — без коробок: строка между двумя тонкими линиями */
.hero-frame.btn-f .soc-row{display:flex!important;justify-content:space-around;padding:15px 4px;border-top:1px solid rgba(255,255,255,.28)!important;border-bottom:1px solid rgba(255,255,255,.28)!important}
.hero-frame.btn-f .soc-row a{flex-direction:row;gap:8px!important;padding:0!important;font:400 12px/1 Roboto,sans-serif!important;letter-spacing:.14em!important;color:rgba(255,255,255,.88)!important}
.hero-frame.btn-f .soc-row svg{color:#b8a47a;width:16px!important;height:16px!important}

/* ===== Кнопки в стиле сайта, прозрачные (?btn=g…j; по умолчанию g) ===== */
.hero-frame.btn-g .soc-row,.hero-frame.btn-h .soc-row,.hero-frame.btn-i .soc-row,.hero-frame.btn-j .soc-row{display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px}
.hero-frame.btn-g .soc-row a,.hero-frame.btn-h .soc-row a,.hero-frame.btn-i .soc-row a,.hero-frame.btn-j .soc-row a{flex-direction:row;gap:9px!important;padding:14px 0!important;font-family:var(--font-serif);font-size:.8rem!important;letter-spacing:1.5px!important;text-transform:uppercase;background:transparent!important;border:1px solid rgba(255,255,255,.6)!important;color:#fff!important;transition:background .3s,color .3s,border-color .3s,opacity .45s,transform .6s cubic-bezier(.2,.9,.25,1.2)}
.hero-frame.btn-h .soc-row a,.hero-frame.btn-j .soc-row a{border-color:#9e8b63!important;color:#b8a47a!important}
.hero-frame.btn-g .soc-row svg,.hero-frame.btn-h .soc-row svg{display:none}
.hero-frame.btn-i .soc-row a,.hero-frame.btn-j .soc-row a{font-size:0!important;letter-spacing:0!important}
.hero-frame.btn-i .soc-row a::after,.hero-frame.btn-j .soc-row a::after{content:attr(data-s);font-size:.8rem;letter-spacing:1.5px}
.hero-frame.btn-i .soc-row svg,.hero-frame.btn-j .soc-row svg{color:currentColor;width:15px!important;height:15px!important}
.hero-frame.btn-g .soc-row a:hover,.hero-frame.btn-g .soc-row a:active,.hero-frame.btn-i .soc-row a:hover,.hero-frame.btn-i .soc-row a:active{background:#fff!important;border-color:#fff!important;color:#0c1220!important}
.hero-frame.btn-h .soc-row a:hover,.hero-frame.btn-h .soc-row a:active,.hero-frame.btn-j .soc-row a:hover,.hero-frame.btn-j .soc-row a:active{background:#9e8b63!important;color:#0c1220!important}
.hero-frame.btn-g .soc-row a,.hero-frame.btn-h .soc-row a{font-size:.72rem!important;letter-spacing:1px!important}
/* 5 — белый контур, внутри еле заметный цвет сети (?btn=k) */
.hero-frame.btn-k .soc-row{display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px}
.hero-frame.btn-k .soc-row a{flex-direction:row;gap:9px!important;padding:14px 0!important;font-family:var(--font-serif);font-size:.72rem!important;letter-spacing:1px!important;text-transform:uppercase;border:1px solid rgba(255,255,255,.6)!important;color:#fff!important;transition:background .4s,border-color .3s,opacity .45s,transform .6s cubic-bezier(.2,.9,.25,1.2)}
.hero-frame.btn-k .soc-row svg{display:none}
.hero-frame.btn-k .soc-row a[data-net="tg"]{background:linear-gradient(160deg,rgba(42,171,238,.28),rgba(42,171,238,.10))!important}
.hero-frame.btn-k .soc-row a[data-net="max"]{background:linear-gradient(160deg,rgba(150,60,255,.20),rgba(230,70,200,.08))!important}
.hero-frame.btn-k .soc-row a[data-net="vk"]{background:linear-gradient(160deg,rgba(0,119,255,.28),rgba(0,119,255,.10))!important}
.hero-frame.btn-k .soc-row a[data-net="tg"]:hover,.hero-frame.btn-k .soc-row a[data-net="tg"]:active{background:rgba(42,171,238,.45)!important;border-color:#fff!important}
.hero-frame.btn-k .soc-row a[data-net="max"]:hover,.hero-frame.btn-k .soc-row a[data-net="max"]:active{background:linear-gradient(160deg,rgba(150,60,255,.5),rgba(230,70,200,.35))!important;border-color:#fff!important}
.hero-frame.btn-k .soc-row a[data-net="vk"]:hover,.hero-frame.btn-k .soc-row a[data-net="vk"]:active{background:rgba(0,119,255,.48)!important;border-color:#fff!important}
/* 6–8: доработки белого контура (?btn=l|m|n) */
.hero-frame.btn-l .soc-row,.hero-frame.btn-m .soc-row,.hero-frame.btn-n .soc-row{display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px}
.hero-frame.btn-l .soc-row a,.hero-frame.btn-m .soc-row a,.hero-frame.btn-n .soc-row a{flex-direction:row;gap:8px!important;padding:14px 0!important;font-family:var(--font-serif);font-size:.72rem!important;letter-spacing:1px!important;text-transform:uppercase;border:1px solid rgba(255,255,255,.6)!important;color:#fff!important;transition:background .3s,color .3s,border-color .3s,opacity .45s,transform .6s cubic-bezier(.2,.9,.25,1.2)}
.hero-frame.btn-l .soc-row svg,.hero-frame.btn-m .soc-row svg,.hero-frame.btn-n .soc-row svg{display:none}
/* 6 — матовое стекло: фон за кнопкой размыт и чуть светлее */
.hero-frame.btn-l .soc-row a{background:rgba(255,255,255,.06)!important;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border-color:rgba(255,255,255,.55)!important}
/* 7 — чертёжные уголки: золотые засечки по углам, как на планировке */
.hero-frame.btn-m .soc-row a{border-color:rgba(255,255,255,.3)!important;background-color:transparent!important;background-image:linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a)!important;background-size:12px 1.5px,1.5px 12px,12px 1.5px,1.5px 12px,12px 1.5px,1.5px 12px,12px 1.5px,1.5px 12px!important;background-position:left top,left top,right top,right top,left bottom,left bottom,right bottom,right bottom!important;background-repeat:no-repeat!important;background-origin:border-box!important;background-clip:border-box!important}
/* 8 — стрелка ↗: сразу понятно, что это переход в канал */
.hero-frame.btn-n .soc-row a::after{content:"↗";font:300 13px/1 Roboto,sans-serif;color:#b8a47a;margin-left:1px;transition:transform .3s}
.hero-frame.btn-n .soc-row a:hover::after,.hero-frame.btn-n .soc-row a:active::after{transform:translate(2px,-2px);color:#0c1220}
.hero-frame.btn-l .soc-row a:hover,.hero-frame.btn-l .soc-row a:active,.hero-frame.btn-n .soc-row a:hover,.hero-frame.btn-n .soc-row a:active{background:#fff!important;border-color:#fff!important;color:#0c1220!important}
.hero-frame.btn-m .soc-row a:hover,.hero-frame.btn-m .soc-row a:active{background-color:#fff!important;color:#0c1220!important}

/* 7а–7в: уголки, но другое наведение (вместо белой заливки) */
.hero-frame.btn-m.btn-p .soc-row a,.hero-frame.btn-m.btn-q .soc-row a,.hero-frame.btn-m.btn-r .soc-row a{transition:background-size .5s cubic-bezier(.6,0,.2,1),background-position .4s cubic-bezier(.2,.8,.2,1),background-color .4s,color .35s,letter-spacing .4s,opacity .45s,transform .6s cubic-bezier(.2,.9,.25,1.2)!important}
/* 7а — уголки дорисовываются в золотую рамку, как стена на чертеже */
.hero-frame.btn-m.btn-p .soc-row a:hover,.hero-frame.btn-m.btn-p .soc-row a:active{background-image:linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a)!important;background-repeat:no-repeat!important;background-origin:border-box!important;background-position:left top,left top,right top,right top,left bottom,left bottom,right bottom,right bottom!important;background-size:100% 1px,1px 100%,100% 1px,1px 100%,100% 1px,1px 100%,100% 1px,1px 100%!important;background-color:rgba(158,139,99,.12)!important;color:#fff!important}
/* 7б — текст становится золотым и чуть «вдыхает» (шире разрядка) */
.hero-frame.btn-m.btn-q .soc-row a:hover,.hero-frame.btn-m.btn-q .soc-row a:active{background-image:linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a)!important;background-repeat:no-repeat!important;background-origin:border-box!important;background-position:left top,left top,right top,right top,left bottom,left bottom,right bottom,right bottom!important;background-size:12px 1.5px,1.5px 12px,12px 1.5px,1.5px 12px,12px 1.5px,1.5px 12px,12px 1.5px,1.5px 12px!important;background-color:transparent!important;color:#b8a47a!important;letter-spacing:2.2px!important}
/* 7в — уголки сходятся внутрь, под кнопкой лёгкое стекло */
.hero-frame.btn-m.btn-r .soc-row a:hover,.hero-frame.btn-m.btn-r .soc-row a:active{background-image:linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a),linear-gradient(#b8a47a,#b8a47a)!important;background-repeat:no-repeat!important;background-origin:border-box!important;background-position:left 5px top 5px,left 5px top 5px,right 5px top 5px,right 5px top 5px,left 5px bottom 5px,left 5px bottom 5px,right 5px bottom 5px,right 5px bottom 5px!important;background-size:12px 1.5px,1.5px 12px,12px 1.5px,1.5px 12px,12px 1.5px,1.5px 12px,12px 1.5px,1.5px 12px!important;background-color:rgba(255,255,255,.08)!important;color:#fff!important}

/* 6а–6б: матовое стекло, другое наведение */
.hero-frame.btn-l.btn-s .soc-row a,.hero-frame.btn-l.btn-t .soc-row a{transition:background-color .4s,border-color .4s,color .35s,letter-spacing .4s,opacity .45s,transform .6s cubic-bezier(.2,.9,.25,1.2)!important}
/* 6а — стекло светлеет, рамка становится сплошной белой */
.hero-frame.btn-l.btn-s .soc-row a:hover,.hero-frame.btn-l.btn-s .soc-row a:active{background:rgba(255,255,255,.18)!important;border-color:#fff!important;color:#fff!important}
/* 6б — рамка и текст становятся золотыми, стекло чуть теплее */
.hero-frame.btn-l.btn-t .soc-row a:hover,.hero-frame.btn-l.btn-t .soc-row a:active{background:rgba(158,139,99,.16)!important;border-color:#b8a47a!important;color:#d9c9a2!important;letter-spacing:1.6px!important}

/* Заголовок меняется со слайдом: 1 — про подбор, 2 — «Вся правда…» (слоган каналов). На компьютере — всегда «Вся правда…» */
.t-stack{display:grid}.t-stack>.hero-face-title{grid-area:1/1;transition:opacity .6s,transform .7s cubic-bezier(.2,.8,.2,1)}
@media (min-width:769px){.t-stack .t-a{display:none}}
@media (max-width:768px){
 .t-stack .t-b{opacity:0;transform:translateY(10px);pointer-events:none}
 .hero-frame.s2 .t-stack .t-a{opacity:0;transform:translateY(-10px)}
 .hero-frame.s2 .t-stack .t-b{opacity:1;transform:none}
}
/* наведение и нажатие — сразу, без паузы от анимации появления */
.hero-frame .soc-row a:hover,.hero-frame .soc-row a:active,.hero-frame .soc-row a:focus-visible{transition-delay:0s!important;transition-duration:.15s!important}
/* компьютер: кнопки соцсетей того же размера, что кнопки сайта (14px, высота 52px) */
@media (min-width:769px){.under{width:min(460px,100%)!important}.hero-frame .under .soc-row a{font-size:.8125rem!important;letter-spacing:1.5px!important;padding:14.5px 0!important}}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}



/* ===== Компьютер, v2.2: слайды как на телефоне. Слева текст и кнопка: «Подобрать квартиру» ↔ Telegram / MAX / VK; справа крупное фото ===== */
@media (min-width:769px){
 .t-stack .t-a{display:block!important}
 .sub-stack .s-b{display:block!important}
 .t-stack>*,.sub-stack>*{transition:opacity .6s,transform .7s cubic-bezier(.2,.8,.2,1)}
 .t-stack .t-b,.sub-stack .s-b{opacity:0;transform:translateY(10px);pointer-events:none}
 .hero-frame.s2 .t-stack .t-a,.hero-frame.s2 .sub-stack .s-a{opacity:0;transform:translateY(-10px);pointer-events:none}
 .hero-frame.s2 .t-stack .t-b,.hero-frame.s2 .sub-stack .s-b{opacity:1;transform:none;pointer-events:auto}
 /* кнопки: одно место, сменяются со слайдом */
 .hero-frame .under{display:none!important}
 .hero-frame .hero-face-actions{display:block!important;width:min(440px,100%)}
 .hero-frame .hero-face-actions .cta-stack{width:100%}
 .hero-frame .hero-face-actions .soc-row{width:100%}
 .hero-frame .hero-face-actions .cta-stack{display:grid!important;justify-items:stretch!important}
 .hero-frame .hero-face-actions .cta-stack>*{grid-area:1/1}
 .hero-frame .cta-stack .btn--gold{width:100%;transition:opacity .45s,transform .6s cubic-bezier(.2,.8,.2,1)}
 .hero-frame.s2 .cta-stack .btn--gold{opacity:0;transform:translateY(-6px);pointer-events:none}
 .hero-frame .hero-face-actions .soc-row{display:grid!important;grid-template-columns:repeat(3,1fr);gap:10px;opacity:1!important}
 .hero-frame:not(.s2) .hero-face-actions .soc-row{pointer-events:none}
 .hero-frame .hero-face-actions .soc-row a{display:flex!important;align-items:center;justify-content:center;padding:14.5px 0!important;font-size:.8125rem!important;letter-spacing:1.5px!important;color:#fff!important;border:1px solid rgba(255,255,255,.55)!important;background:rgba(255,255,255,.06)!important;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);opacity:0;transform:translateY(12px)}
 .hero-frame.s2 .hero-face-actions .soc-row a{opacity:1;transform:none}
 .hero-frame .hero-face-actions .soc-row a{transition:opacity .45s,transform .6s cubic-bezier(.2,.9,.25,1.2),background .15s,color .15s,border-color .15s!important}
 .hero-frame.s2 .hero-face-actions .soc-row a:nth-child(2){transition-delay:.12s,.12s,0s,0s,0s!important}
 .hero-frame.s2 .hero-face-actions .soc-row a:nth-child(3){transition-delay:.24s,.24s,0s,0s,0s!important}
 .hero-frame .hero-face-actions .soc-row a:hover,.hero-frame .hero-face-actions .soc-row a:focus-visible{background:#fff!important;border-color:#fff!important;color:#0c1220!important}
 .hero-frame .hero-face-actions .soc-row svg{display:none}
 /* фото крупное, стоит на нижнем крае */
 /* фото стоит на нижнем крае карточки; макушка — на уровне начала текста слева */
 .hero-frame .hero-face-visual{align-items:flex-end!important;justify-content:center!important;padding-top:0!important;padding-bottom:0!important;align-self:stretch}
 .hero-frame .tg-face-collage{height:84%!important;max-height:none!important;width:auto!important;aspect-ratio:2/3}
 .hero-frame .tg-face-portrait{height:100%!important;bottom:0!important;-webkit-mask-image:none!important;mask-image:none!important}
 .hero-frame .plan{top:0!important;height:96%!important}
 .hero-frame .notes{width:600px!important;height:560px!important;top:6%!important;translate:-66% 0!important}
 /* стрелки слайдов по бокам от фото, с набегающим золотым кольцом */
 .sl-nav{display:grid!important;position:absolute;top:30%;z-index:9;width:44px;height:44px;border-radius:50%;place-items:center;padding:0;cursor:pointer;border:1px solid rgba(255,255,255,.18);background:rgba(12,18,32,.3);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:rgba(184,164,122,.85);transition:background .2s,color .2s}
 .sl-nav:hover{background:#9e8b63;color:#0c1220}
 .sl-nav svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4}
 .sl-nav.l{left:-58px}.sl-nav.r{right:-58px}
 .sl-nav .ring{position:absolute;inset:-1px;width:calc(100% + 2px);height:calc(100% + 2px);transform:rotate(-90deg);pointer-events:none}
 .sl-nav .ring circle{fill:none;stroke:#b8a47a;stroke-width:1.2;stroke-dasharray:119.4;stroke-dashoffset:var(--o,119.4);opacity:.85;transition:stroke-dashoffset var(--t,0s) linear}
}
@media (min-width:769px) and (max-height:820px){.hero-frame .hero-face-scroll{display:none!important}}
/* смена текста без «наложения»: старый уходит, потом приходит новый */
.hero-frame .t-stack>*,.hero-frame .sub-stack>*{transition:opacity .35s ease,transform .5s cubic-bezier(.2,.8,.2,1)!important}
.hero-frame.s2 .t-stack .t-b,.hero-frame.s2 .sub-stack .s-b,.hero-frame:not(.s2) .t-stack .t-a,.hero-frame:not(.s2) .sub-stack .s-a{transition-delay:.3s!important}
/* большие мониторы: уведомления крупнее */
@media (min-width:1600px){.hero-frame .notes{width:720px!important;height:672px!important;top:2%!important}}
/* фото чуть ближе к центру экрана, справа остаётся воздух */
@media (min-width:769px){.hero-frame .hero-face-visual{padding-right:clamp(24px,7vw,160px)!important;padding-left:0!important}}

/* компьютер: стрелки слайдов — в левой колонке под кнопками, не на картинке */
@media (min-width:769px){
 .sl-ctl{display:flex;gap:12px;margin-top:28px}
 .sl-ctl .sl-nav{position:relative!important;top:auto!important;left:auto!important;right:auto!important}
}
@media (min-width:769px) and (max-height:760px){.sl-ctl{margin-top:14px}.hero-frame .hero-face-note{display:none!important}.hero-frame .hero-face-text{padding-top:16px!important;padding-bottom:16px!important}}

/* компьютер: уведомления в координатах вокруг фото; одно — за фото */
@media (min-width:769px){
 .hero-frame .notes.desk{left:-340px!important;right:-340px!important;top:0!important;bottom:0!important;width:auto!important;height:auto!important;translate:none!important;z-index:4}
 .hero-frame .notes.desk.back{z-index:2}
}

/* планировка — по центру за фото и чуть выше */
@media (min-width:769px){.hero-frame .plan{translate:-50% 0!important;top:-8%!important;height:96%!important}}

@media (max-width:768px){.hero-frame .notes.mob.back{z-index:2!important}}
