/* PREVIEW v18 — каждая правка включается классом на <html> */
/* 1. Бегущая метка над главным заголовком */
html.fx-eyebrow .hero .eyebrow{display:none}
/* 2. Названия разделов: без моно/капса/разрядки */
html.fx-caps .sheet .sh,html.fx-caps .tocl,html.fx-caps .tl .tag,html.fx-caps .mg .k,html.fx-caps .ph figcaption,html.fx-caps .mc .trio figcaption,html.fx-caps .sheet dt{
  font-family:var(--f-body);text-transform:none;letter-spacing:0;font-weight:600}
html.fx-caps .sheet .sh{font-size:1.05rem;color:var(--ink);margin-bottom:8px}
html.fx-caps .tocl{font-size:.95rem}
/* 3. Контраст и размер мелких подписей */
html.fx-contrast .svc .spec,html.fx-contrast .tl .dl,html.fx-contrast .tl .tag,html.fx-contrast .mg .k,html.fx-contrast .ph figcaption,html.fx-contrast .mc .trio figcaption,html.fx-contrast .sheet dt,html.fx-contrast .tocl,html.fx-contrast .topbar{font-size:.88rem;color:#3A4B57}
html.fx-contrast .lang button{font-size:.82rem}
/* 4. Цветные полосы на карточках → тонкая рамка */
html.fx-stripe .aud article{border-top:1px solid var(--line)}
html.fx-stripe .after{border-left:1px solid var(--line);background:var(--soft)}
/* 5. Цифры в кружках у областей на главной */
html.fx-numbers .areas .pb li{padding-left:0}
html.fx-numbers .areas .pb li:before{display:none}
/* 6. Стрелки у каждой ссылки */
html.fx-arrows .pb a.q::after,html.fx-arrows .pb .a:before{content:none}
/* 7. Иерархия радиусов: фото острые, карточки 4px, кнопки 6px */
html.fx-radius .aud article,html.fx-radius .mc,html.fx-radius .svc,html.fx-radius .sheet,html.fx-radius .after{border-radius:3px}
html.fx-radius img,html.fx-radius .ph,html.fx-radius figure{border-radius:0}
html.fx-radius .btn{border-radius:6px}
/* 9. Типографика статей: резче контраст размеров */
html.fx-type .blk h2{font-size:clamp(1.9rem,3.4vw,2.6rem);font-weight:700;letter-spacing:-.02em}
html.fx-type .blk .sec-lead{font-size:1.1rem;font-weight:400}
html.fx-type .hero .lead{font-weight:400}
html.fx-stripe .sheet{border-top:1px solid var(--line)}
/* ===== v18.2 ===== */
.ax-a,.ax-b{display:none}
html.fx-areasA .ax-a{display:block}html.fx-areasB .ax-b{display:block}
html.fx-areasA .ax-o,html.fx-areasB .ax-o{display:none}
.axl{list-style:none;margin:0;padding:0}
.dd{display:block}.dd>span{display:none}
html[lang^="pt"] .dd>[data-l="pt"],html[lang="en"] .dd>[data-l="en"],html[lang="ru"] .dd>[data-l="ru"]{display:block}
/* A: тёмная полоса, 5 колонок */
.ax-a{background:var(--ink);color:#fff;padding:56px 0 64px;margin-top:8px}
.ax-a h2{color:#fff;font-size:clamp(1.5rem,2.6vw,2rem);margin-bottom:34px}
.ax-a .axl{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:34px 32px}
.axi{display:block;text-decoration:none;color:#fff;border-top:1px solid rgba(255,255,255,.4);padding-top:18px}
.axi b{display:block;font:600 1.1rem/1.25 var(--f-display);margin-bottom:10px}
.axi .dd{color:rgba(255,255,255,.86);font-size:.95rem;line-height:1.5}
.axi:hover b,.axi:focus-visible b{text-decoration:underline;text-underline-offset:4px}
/* B: каталог строк */
.ax-b{padding:64px 0 72px}
.axb-g{display:grid;grid-template-columns:minmax(200px,300px) 1fr;gap:40px 64px;align-items:start}
.ax-b h2{font-size:clamp(1.5rem,2.6vw,2rem);position:sticky;top:120px}
.axr{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;text-decoration:none;color:var(--ink);padding:24px 0;border-top:1px solid var(--line)}
.ax-b li:last-child .axr{border-bottom:1px solid var(--line)}
.axr b{font:600 clamp(1.2rem,2vw,1.55rem)/1.2 var(--f-display)}
.axr .dd{color:var(--muted);font-size:1rem;max-width:34em}
.axr:hover b,.axr:focus-visible b{color:var(--accent)}
@media(max-width:760px){.axb-g{grid-template-columns:1fr}.ax-b h2{position:static}.ax-a{padding:44px 0 48px}}
/* Лицензия: место для документов */
.lic{margin-top:44px;padding:26px 0 0;border-top:1px solid var(--line)}
.lic-h{font:600 1.15rem var(--f-display);color:var(--ink);margin-bottom:16px}
.lic-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.lic-s{border:2px dashed #8aa0b0;min-height:150px;display:grid;place-items:center;text-align:center;padding:18px;color:var(--muted);font-weight:500;background:repeating-linear-gradient(135deg,#fff 0 10px,#f4f7f9 10px 20px)}
.lic-n{margin:14px 0 0;color:#8A4B00;font-size:.92rem;font-weight:500}
.lic .art,.fic .art{margin:0;max-width:none}
.fic{margin:8px 0 0;font-size:.9rem}.fic a{color:inherit}
/* 10. Ширина строки до 75 знаков */
html.fx-measure .art p,html.fx-measure .art li,html.fx-measure .sec-lead,html.fx-measure .about p.t,html.fx-measure .hero .lead{max-width:72ch}
/* 11. Моно-шрифт только для норм/кодов */
html.fx-mono{--f-mono:var(--f-body)}
html.fx-mono .svc .spec{font-family:"JetBrains Mono",ui-monospace,Menlo,monospace}
html.fx-mono .bt small{letter-spacing:.06em}
/* 12. Отступы вместо рамок */
html.fx-space .aud article,html.fx-space .mc,html.fx-space .svc,html.fx-space .after{border:0;box-shadow:none;background:transparent}
html.fx-space .aud article{padding-inline:0}
html.fx-space .sheet{box-shadow:none}
html.fx-space .pb li{border-bottom:0}
/* 13. Заголовок главной обычным регистром */
html.fx-h1case .hero h1.up{text-transform:none;letter-spacing:-.01em}
/* 14. Ассимметрия блоков */
html.fx-asym .aud{grid-template-columns:1.4fr 1fr}
/* ===== v18.3: светлые варианты областей ===== */
.ax-c,.ax-d{display:none}
html.fx-areasC .ax-c{display:block}html.fx-areasD .ax-d{display:block}
html.fx-areasC .ax-o,html.fx-areasD .ax-o{display:none}
.ax-c{padding:56px 0 68px;background:var(--soft)}
.ax-c h2,.ax-d h2{font-size:clamp(1.5rem,2.6vw,2rem);margin-bottom:28px}
.cg{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;align-items:stretch}
.cbig,.ct{display:flex;flex-direction:column;text-decoration:none;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:3px;overflow:hidden}
.cbig img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.ct img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.tb{display:block;padding:18px 20px 22px}
.tb b{display:block;font:600 1.1rem/1.25 var(--f-display);margin-bottom:6px}
.cbig .tb b{font-size:clamp(1.3rem,2vw,1.6rem)}
.tb .dd{color:var(--muted);font-size:.95rem;line-height:1.5}
.csm{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.cbig:hover b,.ct:hover b,.cbig:focus-visible b,.ct:focus-visible b{color:var(--accent)}
@media(max-width:900px){.cg{grid-template-columns:1fr}}
@media(max-width:520px){.csm{grid-template-columns:1fr}}
.ax-d{background:var(--tint);padding:52px 0 60px}
.ax-d .axl{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.axdi{display:block;text-decoration:none;color:var(--ink);padding:4px 24px 6px;border-left:1px solid #b7cbd9;height:100%}
.ax-d li:first-child .axdi{border-left:0;padding-left:0}
.axdi b{display:block;font:600 1.12rem/1.25 var(--f-display);margin-bottom:10px}
.axdi .dd{color:#34464F;font-size:.95rem;line-height:1.5}
.axdi:hover b,.axdi:focus-visible b{color:var(--accent)}
@media(max-width:900px){.ax-d .axl{gap:26px 0}.axdi{border-left:0;border-top:1px solid #b7cbd9;padding:18px 0 4px}.ax-d li:first-child .axdi{padding-left:0}}
.cbig img{aspect-ratio:auto;flex:1 1 auto;min-height:300px}.cbig .tb{flex:none}@media(max-width:900px){.cbig img{flex:none;aspect-ratio:16/10;min-height:0}}
/* ===== v18.4: 9Г финал — без подписей, заголовок с линией ===== */
.ax-d{padding:60px 0 64px}
.ax-d .dd{display:none!important}
.ax-d h2{display:flex;align-items:center;gap:26px;margin-bottom:34px;font:600 clamp(1.35rem,2.2vw,1.7rem)/1.1 var(--f-display);letter-spacing:-.005em;color:var(--ink)}
.ax-d h2::after{content:"";flex:1;height:1px;background:#b7cbd9}
.axdi{padding:6px 26px 8px}
.axdi b{font:600 clamp(1.15rem,1.7vw,1.3rem)/1.25 var(--f-display);margin:0}
.ax-d .axl{row-gap:28px}
.ax-d li{display:flex}
.ax-d .axdi{flex:1;min-width:0}
@media(max-width:900px){.ax-d .axdi{padding:16px 0 4px}.ax-d li:first-child .axdi{border-top:0;padding-top:0}.ax-d h2::after{display:block}}
/* ===== v18.5: без заголовка, равномерные ячейки ===== */
.ax-d h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);margin:0;white-space:nowrap}
.ax-d{padding:34px 0}
.ax-d .axl{grid-template-columns:repeat(5,minmax(0,1fr));row-gap:0}
.ax-d li{display:block}
.ax-d .axdi{display:flex;align-items:center;justify-content:center;text-align:center;min-height:104px;padding:14px 22px;border-left:1px solid #b7cbd9;height:100%}
.ax-d li:first-child .axdi{border-left:0;padding-left:22px}
.ax-d .axdi b{text-wrap:balance}
@media(max-width:900px){.ax-d .axl{grid-template-columns:1fr}.ax-d .axdi{min-height:0;padding:18px 0;border-left:0;border-top:1px solid #b7cbd9}.ax-d li:first-child .axdi{border-top:0;padding-left:0;padding-top:4px}}

/* ===== логотипы ===== */







/* ===== логотипы из присланного листа ===== */



html[data-logo="10"] .mark{clip-path:none;background:url("img/lg10.png") center/contain no-repeat;width:58px;height:58px;border-radius:0}html[data-logo="10"] .mark::after{display:none}






@media(max-width:900px){}@media(max-width:560px){}

/* ===== палитры ===== */
html[data-pal="1"]{--ink:#3A2A1E;--blue:#8A5A3C;--accent:#A8481F;--soft:#F9F5EF;--tint:#F1E7DA;--ls:#D9C7B0;--ov:40,28,18;--line:#D9C7B055}
html[data-pal="2"]{--ink:#7A2E18;--blue:#B5532B;--accent:#A64B22;--soft:#FBF5F1;--tint:#F5E4D9;--ls:#E3C3AF;--ov:70,26,14;--line:#E3C3AF55}
html[data-pal="3"]{--ink:#12474A;--blue:#2F8F92;--accent:#A8541A;--soft:#F5F6F1;--tint:#E4EFEC;--ls:#BCD3CE;--ov:10,40,42;--line:#BCD3CE55}
html[data-pal="4"]{--ink:#2B2A27;--blue:#7A6A4F;--accent:#8F6210;--soft:#F7F5F0;--tint:#EEE8DB;--ls:#D6CCB6;--ov:30,29,26;--line:#D6CCB655}
html[data-pal="5"]{--ink:#2F3B2A;--blue:#6B7A4B;--accent:#9A4E26;--soft:#F6F6EE;--tint:#E8EDD9;--ls:#CAD4B0;--ov:32,42,28;--line:#CAD4B055}
html[data-pal="6"]{--ink:#5A1F2B;--blue:#94525C;--accent:#9A5A22;--soft:#FAF4F1;--tint:#F1E1DC;--ls:#DDBFB8;--ov:52,16,24;--line:#DDBFB855}
html[data-pal="7"]{--ink:#1E3F4A;--blue:#3E8C94;--accent:#A85A22;--soft:#F5F7F4;--tint:#E5EEEA;--ls:#BFD2CC;--ov:18,44,54;--line:#BFD2CC55}
html[data-pal="8"]{--ink:#4B3B2A;--blue:#A9835A;--accent:#8A5518;--soft:#FBF8F1;--tint:#F2E9D8;--ls:#DDCFB4;--ov:44,34,22;--line:#DDCFB455}
html[data-pal="9"]{--ink:#35393F;--blue:#7F7466;--accent:#A9502A;--soft:#F6F5F2;--tint:#EAE6DF;--ls:#D1CAC0;--ov:34,36,42;--line:#D1CAC055}
html[data-pal="10"]{--ink:#123B5C;--blue:#2A6F9E;--accent:#A95A24;--soft:#F7F5F1;--tint:#ECE6DB;--ls:#D5CCBC;--ov:9,27,43;--line:#D5CCBC55}
html[data-pal] .hero.home{background:linear-gradient(180deg,var(--tint) 0%,#fff 100%)}
html[data-pal] .hero:not(.home)::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(var(--ov),.9) 0%,rgba(var(--ov),.72) 45%,rgba(var(--ov),.25) 100%);pointer-events:none;z-index:0}
html[data-pal] .hero:not(.home)>.wrap{position:relative;z-index:1}
html[data-pal] .sheet,html[data-pal] .aud article,html[data-pal] .mc{border-color:var(--ls)}
.ax-d .axdi{border-left-color:var(--ls,#b7cbd9)}
@media(max-width:900px){.ax-d .axdi{border-top-color:var(--ls,#b7cbd9)}}
.ax-d h2::after{background:var(--ls,#b7cbd9)}
/* ===== бренд: большой знак, подпись под PERMIAN ===== */
.brand{align-items:center}
.mark{grid-row:1/3}
.bt b{align-self:end}
.bt small{grid-column:2;grid-row:2;align-self:start;margin-top:8px}
html[data-logo="10"] .mark{width:92px;height:92px;background-position:left center}
@media(max-width:900px){html[data-logo="10"] .mark{width:64px;height:64px}}
@media(max-width:560px){html[data-logo="10"] .mark{width:46px;height:46px}.bt small{margin-top:4px}}
@media(max-width:380px){html[data-logo="10"] .mark{width:40px;height:40px}}
@media (max-width:560px){html[data-logo="10"] .mark{width:40px;height:40px}.brand{gap:8px}.bt small{font-size:9px;line-height:1.2}.hdr-in,.nav-in{gap:6px}}

#thsw{position:relative;margin-right:14px}
#thsw .thb{width:26px;height:26px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 2px var(--accent);cursor:pointer;padding:0}
#thsw .thp{position:absolute;right:0;top:calc(100% + 14px);background:#fff;border:1px solid var(--ls);border-radius:8px;box-shadow:0 8px 28px rgba(0,0,0,.14);padding:6px;min-width:220px;z-index:60}
#thsw .thp[hidden]{display:none}
#thsw .thi{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;padding:8px 10px;border-radius:6px;font:500 14px/1.2 inherit;font-family:inherit;color:var(--ink);cursor:pointer;text-align:left}
#thsw .thi:hover{background:var(--soft)}
#thsw .thi[aria-current="true"]{background:var(--tint);font-weight:700}
#thsw .thi i{width:20px;height:20px;border-radius:50%;flex:none;box-shadow:0 0 0 1px var(--ls)}
@media(max-width:560px){#thsw{margin-right:2px}#thsw .thb{width:22px;height:22px}#thsw .thp{position:fixed;left:16px;right:16px;top:70px;min-width:0}}
@media (max-width:560px){html[data-logo="10"] .mark{width:40px;height:40px}.brand{gap:8px}.bt small{font-size:9px;line-height:1.2}.hdr-in,.nav-in{gap:6px}}

#thsw{display:flex;gap:8px;align-items:center;margin-right:14px}
#thsw button{width:22px;height:22px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px var(--ls,#ccc);cursor:pointer;padding:0}
#thsw button[aria-pressed="true"]{box-shadow:0 0 0 2px var(--accent)}
@media(max-width:560px){#thsw{margin-right:4px;gap:5px}#thsw button{width:18px;height:18px}}
@media (max-width:560px){.bar{gap:6px}.bar .brand{min-width:0;flex:1 1 auto}.bt b,.bt strong{font-size:19px;letter-spacing:.06em}.lang{gap:4px}.lang a,.lang button{width:26px}.wa-ico{width:36px;height:36px}}
#thsw .thi{border:0!important;box-shadow:none!important;height:auto!important;width:100%!important;padding:9px 10px!important;border-radius:6px!important}
#thsw .thi span{font-size:14px;color:var(--ink)}
html[data-pal] body{background:var(--tint)}
html[data-pal] .soft,html[data-pal] .services,html[data-pal] .methods,html[data-pal] .cta-band,html[data-pal] .topbar{background:var(--soft)}
html[data-pal] footer{background:var(--ls);color:var(--ink)}
html[data-pal] header{background:rgba(255,255,255,.96)}
html[data-pal] .contact{background:var(--ls)}
.bt small{display:block;width:0;min-width:100%;white-space:nowrap}
