
:root{--green:#159447;--deep:#113c28;--ink:#17251d;--muted:#69786e;--bg:#f5f7f5;--line:#e5ebe6}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;background:white;color:var(--ink)}
#site-shell{background:var(--bg);min-height:100vh}a{text-decoration:none;color:inherit}.wrap{max-width:1180px;margin:auto;padding-left:24px;padding-right:24px}
.header{background:white;position:sticky;top:0;z-index:10;box-shadow:0 2px 20px #152e1910}.nav{min-height:80px;display:flex;align-items:center;gap:36px}
.logo{display:inline-flex;align-items:center;gap:10px;font-size:16px;font-weight:850;white-space:nowrap}.logo-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(140deg,#3ccf73,#0b7f3e);color:white;font-size:24px}
.menu{display:flex;gap:24px;flex:1}.menu a{font-size:14px;font-weight:650;white-space:nowrap}.menu a:hover{color:var(--green)}
button{cursor:pointer;font:inherit}.login{border:0;border-radius:30px;padding:13px 21px;background:#e8f7ed;color:#087c39;font-weight:750}.menu-toggle{display:none}
.hero{margin-top:28px;min-height:350px;border-radius:30px;padding:55px 60px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;overflow:hidden;background:linear-gradient(120deg,#e1f8e9 0%,#eaf9ed 60%,#d6f0e0 100%)}
.eyebrow{color:#138c46;font-size:14px;font-weight:750}.hero h1{font-size:clamp(32px,4vw,52px);letter-spacing:-1.6px;line-height:1.1;margin:16px 0}.hero p{color:#4c6757;max-width:480px;line-height:1.6}
.primary{display:inline-block;margin-top:18px;padding:15px 23px;border-radius:30px;background:var(--green);color:white;font-weight:700}.primary:hover{background:#0a7f3b}
.hero-art{position:relative;min-height:245px}.orb{position:absolute;border-radius:50%;filter:drop-shadow(0 15px 20px #006f3225)}
.orb1{width:230px;height:230px;background:linear-gradient(140deg,#b9ff9c,#2ab76b);right:45px;top:0}.orb2{width:135px;height:135px;background:linear-gradient(140deg,#4fd4a6,#0c8752);right:0;bottom:0}
.art-card{position:absolute;left:30px;top:75px;background:#ffffffdd;backdrop-filter:blur(12px);padding:25px 34px;border-radius:20px;box-shadow:0 18px 40px #1b593126;transform:rotate(-6deg);line-height:1.5}.art-card strong{font-size:28px;color:var(--green)}
.section{padding-top:47px;scroll-margin-top:100px}.grid{display:grid;gap:18px}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{background:white;border:1px solid var(--line);border-radius:23px;min-height:210px;padding:27px;display:flex;flex-direction:column;align-items:flex-start;transition:transform .28s ease,box-shadow .28s ease}
.card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #13381c12}.card:focus-visible{outline:3px solid #149a57;outline-offset:5px}
.card .number{color:#198c4c;font-size:13px;font-weight:800}.card h3{font-size:21px;line-height:1.25;margin:27px 0 10px}.card p{color:var(--muted);line-height:1.5;margin:0}.card-more{color:#128945;font-weight:700;margin-top:auto;padding-top:20px}
.accent{background:linear-gradient(130deg,#d8f6e2,#bff0d0)}.accent-soft{background:#edf8ef}
.tilted-section{padding-top:65px;padding-bottom:20px}.tilted-pair{display:flex;align-items:center;justify-content:center;min-height:310px;padding:22px 38px 30px;isolation:isolate}
.tilted-card{position:relative;width:min(48%,480px);min-height:260px;flex-shrink:0;box-shadow:0 15px 38px #123e2520;cursor:pointer;transition:transform .32s ease,box-shadow .32s ease}
.tilted-left{transform:rotate(-5deg) translateX(18px);z-index:1;background:linear-gradient(145deg,#a1eeaa,#e8f8dc)}
.tilted-right{transform:rotate(5deg) translateX(-18px);z-index:2;background:linear-gradient(145deg,#d7f8e8,#a5e8e6)}
.tilted-left:hover,.tilted-left:focus-visible{transform:rotate(0deg) translateX(18px) scale(1.045);z-index:4;box-shadow:0 22px 50px #123e2533}
.tilted-right:hover,.tilted-right:focus-visible{transform:rotate(0deg) translateX(-18px) scale(1.045);z-index:4;box-shadow:0 22px 50px #123e2533}
/* Третий ряд: наклон в противоположную сторону. */
.tilt-reverse.tilted-left{transform:rotate(5deg) translateX(18px);background:linear-gradient(145deg,#e7f4cf,#bee7ad)}
.tilt-reverse.tilted-right{transform:rotate(-5deg) translateX(-18px);background:linear-gradient(145deg,#b8dfdb,#d9f5f6)}
.tilt-reverse.tilted-left:hover,.tilt-reverse.tilted-left:focus-visible{transform:rotate(0deg) translateX(18px) scale(1.045)}
.tilt-reverse.tilted-right:hover,.tilt-reverse.tilted-right:focus-visible{transform:rotate(0deg) translateX(-18px) scale(1.045)}
/* Пятый ряд: тот же эффект с другой палитрой. */
.tilt-gold.tilted-left{background:linear-gradient(145deg,#f0ecc3,#cff3c8)}.tilt-gold.tilted-right{background:linear-gradient(145deg,#c2efe4,#d4e8ff)}
#row3{padding-bottom:76px}.footer{background:#172a20;color:white;padding-top:50px}.footer-grid{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:22px}
.footer h3{font-size:15px;margin:7px 0 16px}.footer p{color:#b8c9bd;font-size:13px;line-height:1.6}.bottom{border-top:1px solid #ffffff25;margin-top:40px;padding-top:20px;padding-bottom:25px;font-size:13px;color:#b8c9bd}
/* Страница отдельного блока */
.detail-main{padding-top:40px;padding-bottom:90px;min-height:72vh}.detail-back a{font-weight:700;color:#198c4c}.detail-panel{margin-top:30px;padding:clamp(28px,5vw,60px);border-radius:30px;background:#fff;border:1px solid var(--line)}
.detail-panel h1{font-size:clamp(32px,4vw,52px);letter-spacing:-1.2px;line-height:1.13;margin:15px 0 18px}.detail-panel p{color:#52685a;line-height:1.6;max-width:660px}
.detail-preview{margin:36px 0 12px;min-height:250px;padding:38px;border-radius:25px;background:linear-gradient(130deg,#d8f6e2,#dff4f6);display:flex;flex-direction:column;justify-content:center;gap:18px;color:#4c6657}
.detail-preview strong{font-size:clamp(25px,3.5vw,38px);color:var(--ink)}.detail-preview span:last-child{max-width:490px}
/* Поверх страницы появляются осыпающиеся частицы; изображение самого сайта маскируется квадратами. */
#pixel-debris{display:none;position:fixed;inset:0;width:100vw;height:100vh;z-index:9999;pointer-events:none}
html.pixel-transition,html.pixel-transition body{overflow:hidden;scroll-behavior:auto}
html.pixel-transition #site-shell{will-change:mask-image;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}
@media(max-width:900px){.nav{gap:16px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}.menu-toggle{display:block;margin-left:auto;background:#e8f7ed;border:0;border-radius:12px;padding:10px 15px}.menu{display:none;order:5;width:100%;flex-direction:column;gap:0}.menu.open{display:flex}.menu a{padding:12px 0}.login{padding:10px 14px}.hero{padding:40px;grid-template-columns:1fr}.hero-art{display:none}.footer-grid{grid-template-columns:repeat(2,1fr)}.footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:620px){.wrap{padding-left:16px;padding-right:16px}.hero{padding:32px 25px;min-height:300px}.three,.two{grid-template-columns:1fr}.section{padding-top:34px}.card{min-height:170px}.footer-grid{gap:14px}
.tilted-section{padding-top:42px}.tilted-pair{padding:18px 12px 20px;min-height:250px}.tilted-card{width:54%;min-height:220px;padding:17px;border-radius:18px}.tilted-card h3{font-size:16px;margin:18px 0 8px}.tilted-card p{font-size:12px}.tilted-card .card-more{font-size:12px}
.tilted-left{transform:rotate(-5deg) translateX(9px)}.tilted-right{transform:rotate(5deg) translateX(-9px)}.tilt-reverse.tilted-left{transform:rotate(5deg) translateX(9px)}.tilt-reverse.tilted-right{transform:rotate(-5deg) translateX(-9px)}.tilted-left:hover,.tilt-reverse.tilted-left:hover,.tilted-left:focus-visible,.tilt-reverse.tilted-left:focus-visible{transform:rotate(0deg) translateX(9px) scale(1.03)}
.tilted-right:hover,.tilt-reverse.tilted-right:hover,.tilted-right:focus-visible,.tilt-reverse.tilted-right:focus-visible{transform:rotate(0deg) translateX(-9px) scale(1.03)}.detail-preview{padding:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card,.tilted-card{transition:none}}

/* Экран для настоящего послойного осыпания пикселей. */
#pixel-debris{display:none;position:fixed;inset:0;width:100%;height:100%;z-index:99999;pointer-events:none;background:white}
html.pixel-transition,html.pixel-transition body{overflow:hidden;scroll-behavior:auto}

/* ===== ВНУТРЕННЯЯ СТРАНИЦА КАЖДОГО БЛОКА (v6) =====
   Шапка и подвал остаются теми же, что и на главной.
   Всё между ними — редактируемый шаблон содержимого блока. */
.detail-page{
  padding-top:24px;
  padding-bottom:105px;
  background:radial-gradient(circle at 89% 11%,#c6f6e4 0,#daf9e7 22%,transparent 53%),
             linear-gradient(120deg,#e9fbef 0%,#dcfae7 55%,#c8f2e5 100%);
}
.detail-breadcrumb{
  display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;
  min-height:48px;padding:0 0 16px;color:#577768;font-size:13px;
}
.detail-breadcrumb a{transition:color .2s ease}
.detail-breadcrumb a:hover{color:#078341}
.detail-breadcrumb span:last-child{max-width:38vw;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.detail-hero{
  position:relative;isolation:isolate;overflow:hidden;
  min-height:444px;border-radius:40px;
  background:radial-gradient(ellipse at 84% 9%,#27c9b58a 0,transparent 30%),
             radial-gradient(ellipse at 104% 100%,#20a27e 0,transparent 44%),
             linear-gradient(118deg,#061d13 3%,#0b3a26 52%,#126a60 100%);
  display:grid;grid-template-columns:57% 43%;align-items:center;box-shadow:0 25px 45px #164c3210;
}
.detail-hero::after{content:"";position:absolute;inset:auto -6% -77% 29%;height:112%;border:70px solid #a1f9cf0e;transform:rotate(-24deg);border-radius:50%;pointer-events:none}
.detail-hero-content{padding:60px 0 65px 65px;position:relative;z-index:2}
.detail-hero-tag{display:inline-flex;align-items:center;border:1px solid #b9f2d344;color:#bdf6d1;background:#d8f8e910;border-radius:30px;padding:9px 15px;font-size:12px;font-weight:700}
.detail-hero h1{margin:21px 0 16px;color:white;font-size:clamp(35px,4.45vw,57px);line-height:1.11;letter-spacing:-1.5px;max-width:650px}
.detail-hero p{font-size:17px;line-height:1.65;max-width:550px;color:#dbf8e8;margin:0}
.detail-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:31px}
.detail-action{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:13px 22px;border-radius:15px;font-size:15px;font-weight:740;transition:transform .2s ease,background .2s ease}
.detail-action:hover{transform:translateY(-2px)}
.detail-action-primary{color:white;background:#15ad54}
.detail-action-primary:hover{background:#109746}
.detail-action-light{color:#16251c;background:white}
.detail-action-light:hover{background:#eafcf2}
.detail-hero-art{height:100%;min-height:420px;position:relative;perspective:700px}
.detail-light{position:absolute;pointer-events:none;border-radius:50%;filter:blur(12px)}
.detail-light-a{width:380px;height:380px;right:-75px;top:-95px;background:radial-gradient(circle,#51f0d755,transparent 68%)}
.detail-light-b{width:280px;height:280px;right:56px;bottom:-100px;background:radial-gradient(circle,#83f5af70,transparent 68%)}
.floating-stone{position:absolute;border-radius:38px;transform:rotate(-9deg) skew(-3deg,3deg)}
.stone-back{width:240px;height:230px;top:112px;right:85px;background:linear-gradient(105deg,#adcfcd,#5e8684 52%,#244b46);box-shadow:17px 18px 4px #07180e55,24px 40px 50px #040e075c}
.stone-front{width:231px;height:222px;top:99px;right:120px;padding:19px;background:linear-gradient(120deg,#e9fbf5 0%,#a9c9c2 28%,#557971 65%,#e5fdf2 100%);box-shadow:inset 0 0 0 3px #e6f9f1bb,8px 18px 25px #0a301f66}
.stone-inner{height:100%;width:100%;display:flex;align-items:center;justify-content:center;border-radius:24px;background:linear-gradient(130deg,#51ef93,#10ab72 60%,#0a8c6e);box-shadow:inset 6px 6px 12px #d7ffce70,inset -13px -12px 25px #00492b7a}
.stone-symbol{color:#d7ffe3;text-shadow:0 8px 12px #064b277c;font-size:115px;transform:rotate(9deg)}
.floating-orbit{position:absolute;right:75px;top:55px;border:1px solid #bfffe741;height:305px;width:305px;border-radius:50%;transform:rotate(-20deg);z-index:-1}
.detail-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-width:716px;margin:34px auto 0;padding:7px;border-radius:24px;background:#effcf27d;backdrop-filter:blur(8px)}
.detail-shortcuts a{min-width:0;min-height:81px;background:white;border-radius:19px;padding:12px 17px;display:flex;align-items:center;gap:14px;font-size:15px;font-weight:700;box-shadow:0 7px 18px #174d2708;transition:transform .2s ease,background .2s ease}
.detail-shortcuts a:hover{background:#f8fffa;transform:translateY(-2px)}
.shortcut-icon{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:#079b51;font-size:22px;background:#e7faec;font-weight:850}
.shortcut-arrow{margin-left:auto;color:#6b8173;font-size:25px;font-weight:400}
.detail-feature-section{text-align:center;padding-top:128px;scroll-margin-top:110px}
.detail-feature-section h2,.detail-info-section h2,.detail-faq h2,.detail-process h2{margin:0;font-size:clamp(30px,3vw,40px);line-height:1.14;letter-spacing:-1px;color:#092c1d}
.detail-section-subtitle{color:#517666;font-size:15px;margin:16px 0 0;line-height:1.5}
.detail-feature-cards{min-height:535px;margin:42px auto 0;max-width:1000px;display:grid;grid-template-columns:.95fr 1.16fr .95fr;gap:18px;align-items:center;text-align:left}
.detail-feature-card{height:345px;border-radius:30px;overflow:hidden;padding:28px 27px;position:relative;box-shadow:0 25px 42px #267a4b0b;background:#f8fffded}
.detail-feature-card h3{color:#102e21;font-size:25px;letter-spacing:-.5px;margin:0 0 10px;line-height:1.16}
.detail-feature-card p{font-size:16px;color:#547769;line-height:1.48;margin:0}
.feature-left{transform:translateY(35px);background:linear-gradient(130deg,#f8fffc 35%,#c6f5e8)}
.feature-right{transform:translateY(-20px);background:linear-gradient(150deg,#e0fff4,#c7efdf)}
.feature-center{height:435px;background:linear-gradient(160deg,#0d6a59,#008a6c 55%,#053d38);color:white;padding:28px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 32px 65px #016a4d22}
.feature-center::before{content:"";position:absolute;inset:-45% -15% 35% 8%;border:30px solid #9cf0ce18;border-radius:50%;transform:rotate(-27deg)}
.feature-center h3{color:white;font-size:28px;position:relative}
.feature-center p{color:#d9fff0;position:relative}
.feature-overline{position:absolute;top:30px;left:28px;color:#cfffe9;font-size:12px;font-weight:750;letter-spacing:1.2px}
.feature-big-symbol{position:absolute;top:100px;left:50%;transform:translateX(-50%);font-size:142px;line-height:1;color:#adffcb;filter:drop-shadow(0 20px 30px #001f1b)}
.feature-drawing{position:absolute;bottom:20px;right:22px;width:160px;height:110px;pointer-events:none}
.drawing-coins span{width:80px;height:25px;background:linear-gradient(160deg,#d0ded6,#9dbdae);border:4px solid #effff8;border-radius:50%;position:absolute;transform:rotate(-30deg);box-shadow:0 12px 0 #6c9b89,0 17px 12px #084a391b}
.drawing-coins span:nth-child(1){bottom:29px;right:24px}.drawing-coins span:nth-child(2){bottom:5px;right:67px}.drawing-coins span:nth-child(3){bottom:65px;right:11px}
.drawing-blocks span{position:absolute;width:65px;height:65px;background:linear-gradient(135deg,#8cf9c6,#21b995);box-shadow:12px 12px 1px #55b6a8;border-radius:12px;transform:rotate(-13deg)}
.drawing-blocks span:nth-child(1){right:12px;bottom:10px}.drawing-blocks span:nth-child(2){right:68px;bottom:25px;background:linear-gradient(135deg,#c4fff2,#75d8b2)}.drawing-blocks span:nth-child(3){right:40px;bottom:63px;width:44px;height:44px;background:linear-gradient(135deg,#fff,#a1f1b8)}
.detail-info-section{padding-top:100px;scroll-margin-top:115px}
.detail-info-heading{text-align:center;max-width:630px;margin:auto}
.detail-info-heading .eyebrow{display:inline-block;margin-bottom:13px}
.detail-info-heading p{line-height:1.6;color:#517364}
.detail-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:32px}
.detail-info-card{background:#ffffffd9;border:1px solid #ffffff99;border-radius:26px;padding:30px;min-height:205px;box-shadow:0 15px 28px #184f3610}
.detail-info-card .info-count{color:#17995a;font-size:13px;font-weight:850}
.detail-info-card h3{margin:20px 0 10px;font-size:22px;color:#153827}
.detail-info-card p{margin:0;line-height:1.55;color:#58786a;font-size:15px}
.detail-process{padding-top:105px;scroll-margin-top:110px}
.detail-process-banner{border-radius:35px;min-height:310px;padding:52px 60px;display:flex;align-items:center;justify-content:space-between;gap:30px;overflow:hidden;position:relative;background:linear-gradient(115deg,#d4ffdf,#edfdf1 45%,#9af4d3)}
.process-copy{position:relative;z-index:1;max-width:630px}
.detail-process h2{margin:11px 0 14px}.detail-process p{max-width:590px;line-height:1.6;color:#476c59;margin:0}
.process-art{height:230px;min-width:220px;position:relative}
.process-circle{width:220px;height:220px;border-radius:50%;background:linear-gradient(145deg,#a1ffaa,#1dbe86);box-shadow:20px 30px 45px #2b99653a}
.process-chip{position:absolute;width:115px;height:85px;border-radius:22px;background:#fff;box-shadow:0 15px 30px #1e85553a;display:grid;place-items:center;font-size:35px;font-weight:800;color:#12a55a}
.chip-a{left:-10px;top:-15px;transform:rotate(-12deg)}.chip-b{right:-10px;bottom:-15px;transform:rotate(10deg)}
.detail-faq{max-width:850px;padding-top:115px;scroll-margin-top:110px}
.detail-faq h2{text-align:center;margin-bottom:27px}
.detail-faq-items{display:grid;gap:10px}
.detail-faq details{background:white;border-radius:20px;box-shadow:0 10px 20px #184f360d;padding:8px 22px}
.detail-faq summary{cursor:pointer;padding:16px 0;font-size:17px;font-weight:720;color:#173e2a}
.detail-faq details p{margin:0;padding:0 0 18px;color:#547363;line-height:1.6}
.detail-back-link{display:table;margin:34px auto 0;color:#0c8040;font-weight:750}
.detail-breadcrumb a:focus-visible,.detail-shortcuts a:focus-visible,.detail-action:focus-visible,.detail-back-link:focus-visible{outline:3px solid #28bb67;outline-offset:4px}
@media(max-width:900px){
  .detail-hero{grid-template-columns:1fr .52fr;min-height:370px}
  .detail-hero-content{padding:43px 0 48px 38px}
  .detail-hero h1{font-size:clamp(30px,4vw,43px)}
  .detail-hero-art{min-height:330px}
  .stone-back{transform:rotate(-10deg) scale(.72);right:-38px;top:80px}
  .stone-front{transform:rotate(-10deg) scale(.72);right:1px;top:68px}
  .floating-orbit{right:-45px;top:20px;transform:scale(.7)}
  .detail-feature-cards{gap:10px}
  .detail-feature-card{padding:21px 18px}
  .detail-feature-card h3{font-size:21px}
  .feature-center h3{font-size:23px}
  .detail-info-card{padding:23px}
}
@media(max-width:680px){
  .detail-page{padding-top:14px;padding-bottom:55px}
  .detail-breadcrumb{gap:8px;justify-content:flex-start;min-height:42px;font-size:12px}
  .detail-hero{grid-template-columns:1fr;min-height:440px;border-radius:28px}
  .detail-hero-content{padding:35px 28px 30px}
  .detail-hero h1{font-size:clamp(32px,8.3vw,45px)}
  .detail-hero p{font-size:15px;max-width:440px}
  .detail-hero-art{position:absolute;right:-46px;bottom:-100px;opacity:.43;min-height:300px;width:280px;z-index:-1}
  .detail-hero-actions{margin-top:30px}
  .detail-action{min-height:48px;padding:11px 17px;font-size:13px}
  .detail-shortcuts{margin-top:20px;gap:6px}
  .detail-shortcuts a{padding:12px 10px;gap:8px;min-height:70px;font-size:13px}
  .shortcut-icon{width:32px;height:32px;font-size:17px}
  .shortcut-arrow{font-size:20px}
  .detail-feature-section{padding-top:77px}
  .detail-feature-cards{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:34px;min-height:initial;align-items:stretch;gap:12px}
  .detail-feature-card{height:255px;transform:none;padding:19px}
  .detail-feature-card h3{font-size:19px}
  .detail-feature-card p{font-size:14px}
  .detail-feature-card.feature-center{grid-column:1/-1;grid-row:1;min-height:275px;height:275px}
  .feature-big-symbol{top:48px;font-size:115px;left:72%}
  .feature-overline{top:22px;left:20px}
  .feature-drawing{transform:scale(.65);transform-origin:bottom right}
  .detail-info-section{padding-top:75px}
  .detail-info-grid{grid-template-columns:1fr;gap:10px}
  .detail-info-card{min-height:135px}
  .detail-info-card h3{margin:8px 0}
  .detail-process{padding-top:72px}
  .detail-process-banner{padding:37px 29px;min-height:295px;border-radius:25px}
  .process-art{display:none}
  .detail-faq{padding-top:78px}
}
@media(max-width:360px){
 .detail-shortcuts{grid-template-columns:1fr}
 .detail-shortcuts a{min-height:59px}
 .detail-hero-actions{gap:8px}
 .detail-action{font-size:12px}
 .detail-feature-cards{grid-template-columns:1fr}
 .detail-feature-card.feature-center{grid-column:1}
}
@media(prefers-reduced-motion:reduce){.detail-action,.detail-shortcuts a{transition:none}}

/* v9: прозрачные промежутки между осыпающимися пикселями открывают НОВУЮ страницу. */
#pixel-debris { background: transparent !important; }
html.pixel-transition, html.pixel-transition body { overflow: hidden; scroll-behavior: auto; }

/* V10 — portfolio contacts and compact three-row site */
.contact-top{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:12px 20px;border-radius:26px;background:#e8f7ed;color:#067f40;font-size:14px;font-weight:760;white-space:nowrap;transition:background .2s ease}
.contact-top:hover{background:#c9f4d8}
#contacts{scroll-margin-top:90px}
.portfolio-footer{grid-template-columns:1.4fr repeat(3,minmax(0,1fr));gap:17px;align-items:start}
.footer-intro p{max-width:270px;font-size:14px}
.footer-contact{padding:20px 16px;min-height:160px;border:1px solid #ffffff30;border-radius:22px;background:#ffffff0a;min-width:0}
.footer-contact-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:13px;background:#26b978;color:white;font-size:19px}
.footer-contact h3{font-size:16px;margin:14px 0 9px;color:#fff}
.footer-contact-value{font-size:12px;line-height:1.6;color:#b9c9c1;overflow-wrap:anywhere}
.contact-live{font-size:14px;font-weight:700;color:#92ffbc;text-decoration:underline;text-underline-offset:3px}
.contact-enabled:hover{background:#ffffff12}
@media(max-width:900px){.portfolio-footer{grid-template-columns:repeat(3,minmax(0,1fr))}.portfolio-footer .footer-intro{grid-column:1/-1}.contact-top{padding:10px 13px}}
@media(max-width:620px){.portfolio-footer{grid-template-columns:1fr;gap:10px}.footer-contact{min-height:0;display:grid;grid-template-columns:44px 1fr;column-gap:10px;padding:15px;align-items:center}.footer-contact-icon{grid-row:span 2}.footer-contact h3{margin:0}.footer-contact-value{grid-column:2}.contact-top{min-height:40px}}

/* =======================================================
   V11 · Personal projects and live information dashboard
   ======================================================= */
:root{--emerald:#159e54;--mint:#dff8e8;--midnight:#092d20}
html{scroll-padding-top:104px}
.hero-portfolio{min-height:415px;margin-top:25px;padding:60px 62px;position:relative}
.hero-portfolio h1{font-size:clamp(35px,4.6vw,61px);letter-spacing:-2px;line-height:1.09;margin:21px 0 21px}
.hero-portfolio h1 em{font-style:normal;color:#148f49}
.hero-portfolio p{font-size:17px;max-width:555px}
.hero-portfolio .hero-art{min-height:275px}
.hero-portfolio .orb1{right:54px;width:245px;height:245px}
.hero-spark{position:absolute;right:4px;top:4px;color:#159e54;font-size:32px}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-top:16px}
.outline-action{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:1px solid #a5d7b8;color:#146f3c;padding:12px 20px;font-weight:700;border-radius:30px;background:#ffffffb0}
.outline-action:hover{background:white}
.section-label{text-align:center;max-width:740px;margin:77px auto 0;scroll-margin-top:100px}
.section-label h2{font-size:clamp(30px,4vw,43px);letter-spacing:-1px;margin:13px 0}
.section-label p{font-size:16px;color:#607568;line-height:1.5;margin:0 auto}
.mini-tag{display:inline-flex;align-items:center;font-size:11px;letter-spacing:1.35px;font-weight:850;color:#0e9954;text-transform:uppercase}
.card{position:relative;overflow:hidden}
.card .number{display:flex;align-items:center;justify-content:space-between;width:100%;color:#138449}
.card-glyph{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#ffffff80;color:#0c9155;font-size:25px;font-weight:800;line-height:1}
.card h3{margin-top:22px;font-size:clamp(19px,2vw,25px);letter-spacing:-.5px}
.card p{font-size:15px;max-width:330px}
.tilted-section{padding-top:51px;padding-bottom:22px}
.tilted-pair{min-height:335px}
.tilted-card{min-height:290px;padding:32px}
.tilted-card .card-glyph{width:58px;height:58px;font-size:30px}
.tilted-card h3{margin-top:27px}
.row-middle{padding-top:25px}
.row-middle .card{min-height:245px}
.dashboard{padding:5px 0 105px;scroll-margin-top:104px}
.dashboard-head{margin-top:100px;margin-bottom:38px}
.dashboard h3{color:#123225}
.utility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.utility-card{border-radius:28px;padding:30px;background:#fff;border:1px solid #e5ede7;box-shadow:0 9px 34px #3154400b;min-width:0;scroll-margin-top:112px}
.util-caption{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.util-caption h3{font-size:27px;letter-spacing:-.7px;margin:8px 0 0}
.util-icon{display:grid;place-items:center;width:47px;height:47px;background:#e4f9ed;border-radius:14px;color:#0d9650;font-size:24px;flex-shrink:0}
.util-description{color:#65796b;line-height:1.6;margin:14px 0 20px;min-height:49px}
.util-search{display:flex;gap:8px;align-items:stretch}
.util-search input{flex:1;min-width:0;min-height:48px;border:1px solid #dce9df;border-radius:13px;padding:11px 14px;font:inherit;font-size:15px;color:#183d28;background:#f9fcfa;outline:none}
.util-search input:focus-visible{border-color:#169956;box-shadow:0 0 0 3px #35cf8427}
.util-search button{border:none;min-height:48px;border-radius:13px;background:#119d51;color:white;font-weight:750;padding:11px 19px}
.util-search button:hover{background:#0c8445}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.clock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:27px}
.clock-item{padding:19px;border-radius:18px;background:#e9faef;display:flex;flex-direction:column;gap:8px;min-width:0}
.clock-local{background:#e5f7f5}
.clock-item small{color:#526c5c;font-size:12px;font-weight:760;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clock-item strong{font-size:clamp(23px,3vw,34px);font-variant-numeric:tabular-nums;letter-spacing:-1px;line-height:1.3;color:#133b2a}
.clock-item span{font-size:12px;color:#587565}
.status{color:#64816c;font-size:12px;margin:14px 0 0;min-height:16px}
.weather-output{margin-top:27px;min-height:117px;border-radius:20px;background:linear-gradient(130deg,#eafcf0,#e0f8f2);padding:20px;display:flex;flex-direction:column;justify-content:center}
.weather-main{display:flex;gap:19px;align-items:center}
.weather-temp{font-size:59px;line-height:1;font-weight:800;letter-spacing:-2px;color:#0c8b49}
.weather-right{display:flex;flex-direction:column;gap:4px}
.weather-condition{font-size:18px;color:#163e2b}
.weather-city-label{font-size:13px;color:#688375}
.weather-meta{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:15px;font-size:12px;color:#487361}
.util-source{font-size:12px;margin:17px 0 0;color:#84988a}
.util-source a{text-decoration:underline;text-underline-offset:3px}
.loading-dots{color:#738b79;font-size:14px}
.error-text{font-size:14px;color:#7d5e53;margin:0;line-height:1.6}
.news-section,.market-section{margin-top:86px;scroll-margin-top:106px}
.module-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:26px}
.module-title h3{font-size:clamp(28px,3.2vw,36px);letter-spacing:-1px;margin:10px 0}
.module-title p{color:#647c6d;margin:0;line-height:1.55}
.ghost-button{white-space:nowrap;border:1px solid #bddcc5;border-radius:24px;padding:11px 19px;font-weight:750;color:#0c8945;background:#fff;min-height:44px}
.ghost-button:hover{background:#e6f8ed}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.news-panel{background:#fff;border:1px solid #e4ebe6;border-radius:24px;padding:23px 22px;min-height:260px;display:flex;flex-direction:column;min-width:0}
.news-panel-head{display:flex;align-items:center;justify-content:space-between;font-size:20px;letter-spacing:-.3px;font-weight:800;color:#153b29;padding-bottom:13px;border-bottom:1px solid #e9efeb}
.signal-dot{width:9px;height:9px;border-radius:50%;background:#22c778;box-shadow:0 0 0 6px #d9f8e6}
.news-list{margin:17px 0 0;list-style:none;counter-reset:news;padding:0;display:flex;flex-direction:column;gap:16px;flex:1}
.news-list li{counter-increment:news;min-width:0;position:relative;padding-left:24px;line-height:1.38}
.news-list li::before{content:counter(news, decimal-leading-zero);position:absolute;top:2px;left:0;color:#2baa6b;font-size:10px;font-weight:850}
.news-link{font-size:14px;display:block;color:#193b2a;font-weight:660;overflow-wrap:anywhere}
.news-link:hover{color:#0e9e58;text-decoration:underline}
.news-meta{display:block;margin-top:6px;font-size:11px;color:#8a9e90}
.news-source{margin-top:19px;font-size:11px;color:#94a99a}
.news-placeholder,.news-unavailable{color:#708676;font-size:13px;line-height:1.5}
.feed-note{line-height:1.5;font-size:12px;color:#819587;margin:16px 4px 0}
.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.market-panel{background:#fff;border:1px solid #e4ebe6;border-radius:24px;padding:24px;min-width:0}
.market-panel h4{font-size:20px;margin:0 0 10px;color:#153b2a}
.market-panel>small{display:block;color:#8c9e91;font-size:11px;line-height:1.5;margin-top:16px}
.quotes-list{display:flex;flex-direction:column;min-height:132px}
.quote-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #e7eee9}
.quote-row:last-child{border-bottom:0}
.quote-name{color:#4d6857;font-weight:700;font-size:14px;min-width:0}
.quote-val{text-align:right;display:flex;align-items:end;flex-direction:column;gap:4px}
.quote-val strong{white-space:nowrap;font-variant-numeric:tabular-nums;color:#103c29;font-size:17px}
.change-positive{color:#159d53;font-weight:740}.change-negative{color:#cd6262;font-weight:740}
.bottom-note{font-size:12px;color:#bdd6c9}
.footer .bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}
.footer-intro p{max-width:260px}
.project-detail .detail-feature-section{padding-top:105px}
.project-detail .detail-hero{min-height:430px}
.project-detail .detail-hero-art{overflow:hidden}
.project-detail .stone-symbol{font-size:100px;font-weight:760}
.project-detail .detail-faq{padding-bottom:35px}
.case-strip{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:28px auto 0}
.case-strip span{display:inline-block;border:1px solid #bde7cd;background:#ffffffa6;color:#168353;padding:11px 17px;border-radius:30px;font-size:13px;font-weight:700}
.project-screen{padding-top:92px;scroll-margin-top:105px}
.screen-title{text-align:center}
.screen-title h2{font-size:clamp(30px,3vw,40px);letter-spacing:-1px;margin:12px 0}
.screen-title p{color:#527464;line-height:1.5;max-width:630px;margin:0 auto 25px}
.screen-placeholder{border:1px solid #d4efe1;background:#ffffffa1;padding:clamp(10px,2vw,26px);border-radius:28px;box-shadow:0 16px 48px #27855416;max-width:900px;margin:auto;position:relative;overflow:hidden}
.screen-window{background:#f5faf7;border:1px solid #d0e1d6;border-radius:14px;overflow:hidden;min-height:310px}
.screen-bar{background:#e4f5ea;border-bottom:1px solid #d0e1d6;min-height:43px;display:flex;justify-content:space-between;align-items:center;padding:10px 16px;gap:10px;font-size:12px;color:#416b51}
.screen-dots{color:#2bb37b;white-space:nowrap;letter-spacing:3px}
.screen-body{display:grid;grid-template-columns:210px 1fr;min-height:305px}
.screen-sidebar{padding:22px 18px;background:#edf6ef;display:flex;flex-direction:column;gap:22px;color:#729079;font-size:13px;border-right:1px solid #d0e1d6}
.screen-sidebar span:first-child{color:#168751;font-weight:750;font-size:18px}
.screen-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;text-align:center;padding:22px}
.screen-empty>span{font-size:55px;color:#70bc92}
.screen-empty strong{font-size:17px}
.screen-empty p{color:#718f7c;font-size:13px;line-height:1.5;max-width:390px}
.screen-empty code{background:#d8eee1;padding:2px;border-radius:3px}
.real-screenshot{display:none;max-width:100%;height:auto;border-radius:11px;margin:auto}
.screen-placeholder.has-screenshot .screen-window{display:none}
.screen-placeholder.has-screenshot .real-screenshot{display:block}
@media(max-width:1050px){
  .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nav{gap:19px}.menu{gap:14px}
}
@media(max-width:800px){
  .utility-grid{grid-template-columns:1fr}
  .hero-portfolio{padding:44px 37px}
  .hero-portfolio .hero-art{display:none}
  .project-detail .detail-feature-cards{min-height:0}
}
@media(max-width:620px){
  .hero-portfolio{padding:38px 24px;min-height:340px}
  .hero-portfolio h1{letter-spacing:-1.1px}
  .hero-portfolio p{font-size:15px}
  .section-label{margin-top:55px}
  .tilted-pair{min-height:295px}
  .tilted-card{min-height:255px;padding:19px}
  .tilted-card h3{font-size:16px;letter-spacing:-.3px}
  .tilted-card .card-glyph{width:40px;height:40px;font-size:22px}
  .tilted-card p{font-size:12px}
  .row-middle .card{min-height:195px}
  .dashboard{padding-bottom:65px}
  .dashboard-head{margin-top:65px;margin-bottom:25px}
  .utility-card{padding:22px 17px;border-radius:21px}
  .news-grid,.market-grid{grid-template-columns:1fr;gap:11px}
  .news-panel{min-height:210px}
  .news-section,.market-section{margin-top:61px}
  .module-title{align-items:start;flex-direction:column;gap:13px}
  .util-search button{padding:10px 13px}
  .clock-item{padding:13px 12px}
  .clock-item strong{font-size:clamp(21px,6vw,29px)}
  .clock-item small{font-size:11px}
  .footer .bottom{align-items:flex-start;flex-direction:column}
  .screen-body{grid-template-columns:1fr}
  .screen-sidebar{display:none}
}
@media(max-width:345px){.clock-grid{grid-template-columns:1fr}.tilted-card{padding:15px}.tilted-card .card-more{padding-top:10px}}
@media(prefers-reduced-motion:reduce){.hero-portfolio .orb,.news-panel,.market-panel{transition:none}}

/* ===== Version 12: иллюстрации по бокам сайта =====
   Слева — серверная стойка, справа — многоэтажный офис в разрезе.
   Основной контент остаётся в светлой области; иллюстрации не перехватывают клики.
*/
#site-shell{isolation:isolate;position:relative;background:#f5f8f6}
.side-illustration{display:none;pointer-events:none;position:fixed;top:0;bottom:0;z-index:0;background-repeat:no-repeat;background-size:cover;filter:saturate(1.04)}
.side-illustration-left{left:0;background-image:linear-gradient(90deg,rgba(5,20,30,.05) 30%,rgba(10,36,37,.25) 100%),url('assets/datacenter-front.webp');background-position:center center;box-shadow:inset -16px 0 28px -18px #62b19b}
.side-illustration-right{right:0;background-image:linear-gradient(270deg,rgba(4,18,28,.12) 10%,rgba(8,46,43,.08) 95%),url('assets/office-tower-portrait.webp');background-position:center center;box-shadow:inset 16px 0 28px -18px #62b19b}
/* Страница и карточки поверх декоративного фона. Sticky-хедер сохраняет свою роль. */
#site-shell>main{position:relative;z-index:1}
#site-shell>.footer{position:relative;z-index:2}
@media(min-width:1160px){
  :root{--portfolio-side-width:max(135px, calc((100vw - 1180px)/2))}
  .side-illustration{display:block;width:var(--portfolio-side-width)}
  .wrap{max-width:min(1180px,calc(100% - 2 * var(--portfolio-side-width)))}
  #site-shell>main{background:linear-gradient(90deg,#f5f8f6,#f8faf8 15%,#f8faf8 85%,#f5f8f6);box-shadow:0 0 35px 9px #0a332017}
}
@media(max-width:1159px){
  .side-illustration{display:none}
}

/* v13: front-facing photo-realistic vertical panels: width is less than height. */
.side-illustration-left{
  background-image:url('assets/datacenter-front.webp');
  background-color:#e5eaeb;
  background-position: center center;
  background-size: cover;
  box-shadow:inset -14px 0 20px -12px rgba(9,55,52,.45);
}
.side-illustration-right{
  background-image:url('assets/office-tower-portrait.webp');
  background-color:#27353a;
  background-position:center center;
  background-size:cover;
  box-shadow:inset 14px 0 20px -12px rgba(9,55,52,.45);
}
@media(min-width:1160px){
  .side-illustration{filter:none}
}

/* v14: ограничиваем весь футер центральной колонкой между боковыми панелями. */
@media(min-width:1160px){
  #site-shell > .footer {
    width: min(1180px, calc(100% - 2 * var(--portfolio-side-width)));
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  /* Избегаем повторного вычитания ширины боковых панелей для дочерних .wrap. */
  #site-shell > .footer > .wrap {max-width:100%;width:100%;}
}

/* Версия 15 — новый главный баннер и контакты прямо под предложением. */
.hero-portfolio{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:20px;min-height:455px;padding:57px 54px}
.hero-copy{min-width:0;position:relative;z-index:2}
.hero-portfolio .hero-copy h1{font-size:clamp(32px,3.35vw,49px);line-height:1.13;letter-spacing:-1.35px;margin:0 0 25px;max-width:670px;text-wrap:balance}
.hero-portfolio .hero-copy p{font-size:clamp(15px,1.24vw,17px);line-height:1.58;margin:0;max-width:645px}
.hero-portfolio .hero-copy p strong{color:#144e31;font-weight:750}
.hero-contact-actions{margin-top:28px;gap:10px}
.hero-contact-button{display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:48px;min-width:115px;padding:11px 17px;border-radius:15px;border:1px solid #a7dcbc;background:#fff;color:#105c37;font-weight:750;box-shadow:0 4px 10px #1b593109;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.hero-contact-button span{font-size:19px;line-height:1}
.hero-contact-button:hover{transform:translateY(-2px);box-shadow:0 10px 20px #1b59311c;background:#f5fff8}
.hero-contact-button:focus-visible{outline:3px solid #168b4b;outline-offset:3px}
.hero-contact-whatsapp{background:#0fa452;border-color:#0fa452;color:#fff}
.hero-contact-whatsapp:hover{background:#0b9149;color:#fff}
.hero-contact-telegram{background:#e4f5fc;border-color:#b5deee;color:#176c91}
.hero-value-card{left:0;top:75px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:27px 31px;min-width:182px;font-size:20px;font-weight:760;color:#1f5a3c}
.hero-value-card strong{font-size:30px;line-height:1.18}
.hero-portfolio .orb1{right:22px;top:1px}
.hero-portfolio .orb2{right:0;bottom:12px}
@media(max-width:1100px){.hero-portfolio{padding:45px 38px;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr)}.hero-value-card{padding:20px 23px;min-width:150px}}
@media(max-width:900px){.hero-portfolio{grid-template-columns:minmax(0,1fr)}.hero-portfolio .hero-art{display:none}.hero-portfolio .hero-copy h1{max-width:690px}}
@media(max-width:620px){.hero-portfolio{min-height:0;padding:36px 23px}.hero-portfolio .hero-copy h1{font-size:clamp(30px,8vw,39px);letter-spacing:-.85px}.hero-contact-actions{gap:9px}.hero-contact-button{flex:1 1 135px;min-width:0;padding:12px 11px;font-size:14px}.hero-contact-button span{font-size:17px}}
@media(prefers-reduced-motion:reduce){.hero-contact-button{transition:none}}

/* v16: лаконичные зелёные заголовки без служебных подзаголовков. */
#projects h2,
.dashboard-head h2,
#world-news .module-title h3 {
  color: #0e9954;
}


/* Version 18. Hero ONLY: genuine live copy and buttons above a separately cropped visual.
   The side datacenter and office, project cards, tools, details, footer stay as in v16. */
.hero-portfolio.hero-v18 {
  display:flex;
  align-items:center;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:446px;
  padding:46px 48px;
  gap:0;
  border-radius:29px;
  background:linear-gradient(100deg,#061f12 0%,#0a3020 49%,#0c3b28 100%);
  box-shadow:0 14px 38px rgba(5,39,22,.14);
}
.hero-v18::after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  pointer-events:none;
  background:linear-gradient(92deg,rgba(2,19,11,.30),transparent 85%);
}
.hero-v18 .hero-copy {position:relative;z-index:2;width:55%;max-width:570px;flex:none;}
.hero-v18 .hero-copy h1 {
  color:#fff;
  font-size:clamp(29px,2.7vw,43px);
  font-weight:820;
  letter-spacing:-1.1px;
  line-height:1.12;
  text-wrap:pretty;
  max-width:520px;
  margin:0 0 22px;
}
.hero-v18 .hero-copy h1 em {color:#8bf235; font-style:normal;}
.hero-v18 .hero-copy p {color:#f0f8f2; font-size:clamp(14px,1.1vw,16px); line-height:1.44; max-width:505px; margin:0 0 10px;}
.hero-v18 .hero-copy p strong.eco-emphasis {color:#9cfb3e;font-weight:800;}
.hero-v18 .hero-copy p.hero-v18-cta {color:#a0ff43;font-weight:800;margin-top:12px;margin-bottom:0;}
.hero-v18 .hero-contact-actions {margin-top:20px;gap:9px;}
.hero-v18 .hero-contact-button {min-width:106px;min-height:44px;padding:9px 12px;border-radius:12px;box-shadow:0 5px 20px rgba(0,0,0,.22);}
.hero-v18 .hero-art.hero-v18-art {
  display:block;
  position:absolute;
  z-index:0;
  pointer-events:none;
  inset:0 0 0 auto;
  width:56.5%;
  min-height:0;
  background-image:linear-gradient(90deg,#0a3020 0%,rgba(7,34,20,.97) 2%,rgba(7,34,20,.62) 12%,rgba(6,32,22,0) 32%),url('assets/business-analytics-hero.webp');
  background-size:cover,cover;
  background-position:center center,center right;
  background-repeat:no-repeat;
}
@media(max-width:1159px) and (min-width:901px) {
  .hero-v18 .hero-copy{width:56%;}
  .hero-v18 .hero-copy h1{font-size:clamp(28px,3.45vw,42px);}
  .hero-portfolio.hero-v18{padding:43px 35px;}
  .hero-v18 .hero-contact-button {font-size:14px;}
}
@media(max-width:900px) {
  .hero-portfolio.hero-v18{padding:37px 31px;min-height:410px;}
  .hero-v18 .hero-copy{width:100%;max-width:620px;}
  .hero-v18 .hero-copy h1{max-width:550px;font-size:clamp(30px,4.4vw,43px);}
  .hero-v18 .hero-art.hero-v18-art{display:block;opacity:.22;width:100%;background-position:center center,right center;}
  .hero-v18::after{background:linear-gradient(90deg,rgba(3,23,14,.92) 0%,rgba(3,23,14,.78) 65%,rgba(3,23,14,.50));}
}
@media(max-width:620px) {
  .hero-portfolio.hero-v18{padding:32px 22px;min-height:0;border-radius:22px;}
  .hero-v18 .hero-copy h1{font-size:clamp(30px,8.15vw,38px);letter-spacing:-.7px;margin-bottom:19px;}
  .hero-v18 .hero-copy p{font-size:14px;line-height:1.5;}
  .hero-v18 .hero-contact-actions{margin-top:21px;}
  .hero-v18 .hero-contact-button{flex:1 1 126px;min-width:0;}
  .hero-v18 .hero-art.hero-v18-art{opacity:.13;}
}


/* ======================================================
   V20 · Approved warehouse and business planner art inside
   the ORIGINAL rotated, overlapping first-row cards.
   No changes to the card layout, third row, hero or footer.
   ====================================================== */
#row1 .featured-project {
  isolation:isolate;
  position:relative;
  display:block;
  padding:0;
  overflow:hidden;
  border:2px solid #8feb33;
  background:#042918;
  color:#ffffff;
  box-shadow:0 11px 0 -7px #c0ff32, 0 20px 43px rgba(5,42,20,.35);
}
#row1 .featured-project:hover,
#row1 .featured-project:focus-visible {
  box-shadow:0 11px 0 -7px #c0ff32, 0 27px 51px rgba(5,42,20,.4);
}
#row1 .featured-photo,
#row1 .featured-overlay {
  position:absolute;
  display:block;
  z-index:0;
  inset:0;
  pointer-events:none;
}
#row1 .featured-warehouse .featured-photo {
  right:auto;
  width:57%;
  background:url('assets/project-warehouse.webp') left center/cover no-repeat;
}
#row1 .featured-warehouse .featured-overlay {
  background:
    linear-gradient(90deg,rgba(2,22,12,.09) 0%,rgba(3,34,17,.12) 27%,#06331c 46%,#063b1f 100%),
    radial-gradient(ellipse at 100% 7%,rgba(90,205,13,.28),transparent 65%);
}
#row1 .featured-planner .featured-photo {
  left:auto;
  width:62%;
  background:url('assets/project-planner.webp') right center/cover no-repeat;
}
#row1 .featured-planner .featured-overlay {
  background:
    linear-gradient(90deg,#052a1a 0%,#063d21 40%,rgba(4,46,22,.88) 59%,rgba(2,35,19,.10) 82%,rgba(1,32,16,.01) 100%),
    radial-gradient(ellipse at 2% 95%,rgba(93,217,12,.21),transparent 65%);
}
#row1 .featured-copy {
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  width:100%;
  height:100%;
  min-height:290px;
  padding:22px 27px 21px;
  pointer-events:none;
}
#row1 .featured-warehouse .featured-copy {padding-left:40%; padding-right:25px;}
#row1 .featured-planner .featured-copy {padding-left:28px; padding-right:42%;}
#row1 .featured-project .number {color:#b2ff85;font-weight:900;font-size:12px;}
#row1 .featured-project .card-glyph {
  background:linear-gradient(155deg,#13a94b,#075e33);
  color:#f1ffed;
  border:1px solid rgba(189,255,98,.55);
  box-shadow:0 0 12px rgba(83,220,35,.32);
  border-radius:14px;
  width:44px;
  height:44px;
  font-size:24px;
}
#row1 .featured-project h3 {
  color:#ffffff;
  font-size:clamp(18px,1.65vw,23px);
  line-height:1.14;
  margin:14px 0 8px;
  letter-spacing:-.5px;
  text-shadow:0 2px 9px rgba(0,0,0,.32);
}
#row1 .featured-project .featured-green {color:#abff3a;}
#row1 .featured-project p {
  font-size:13.5px;
  line-height:1.38;
  color:#e0f2df;
  text-shadow:0 1px 5px rgba(0,0,0,.25);
}
#row1 .featured-project .card-more {
  color:#b7ff66;
  padding-top:13px;
  font-size:13.5px;
  text-shadow:0 1px 8px rgba(0,0,0,.45);
}
@media(max-width:800px){
 #row1 .featured-copy {min-height:255px; padding-top:17px; padding-bottom:17px;}
 #row1 .featured-warehouse .featured-copy{padding-left:35%; padding-right:13px;}
 #row1 .featured-planner .featured-copy{padding-left:18px; padding-right:35%;}
 #row1 .featured-project .card-glyph{width:35px;height:35px;font-size:20px;border-radius:10px}
 #row1 .featured-project h3 {font-size:clamp(15px,2.2vw,19px);margin:12px 0 7px;}
 #row1 .featured-project p {font-size:12px;line-height:1.35;}
 #row1 .featured-project .card-more {font-size:11.5px;}
}
@media(max-width:620px){
 #row1 .featured-copy {min-height:255px; padding-top:14px; padding-bottom:13px;}
 #row1 .featured-warehouse .featured-copy{padding-left:24%;padding-right:9px;}
 #row1 .featured-planner .featured-copy{padding-left:12px;padding-right:19%;}
 #row1 .featured-warehouse .featured-photo{width:64%; opacity:.55;}
 #row1 .featured-warehouse .featured-overlay{background:linear-gradient(90deg,rgba(1,29,16,.24),#073c20 39%,#052b1a 100%)}
 #row1 .featured-planner .featured-photo{width:66%; opacity:.58;}
 #row1 .featured-planner .featured-overlay{background:linear-gradient(90deg,#063319,rgba(5,43,20,.93) 54%,rgba(3,34,17,.25) 100%)}
 #row1 .featured-project h3{font-size:15px;letter-spacing:-.2px;}
 #row1 .featured-project p{font-size:11.5px;}
 #row1 .featured-project .card-more{font-size:11px;}
}


/* v21. Clean, focused page for warehouse project only. All other pages untouched. */
.warehouse-detail{padding:33px 0 78px;background:linear-gradient(180deg,#f4f9f5 0%,#fff 65%)}
.warehouse-back{display:inline-flex;margin:0 0 24px;color:#167a4b;text-decoration:none;font-size:14px;font-weight:750;align-items:center;gap:7px}
.warehouse-back:hover{text-decoration:underline}
.warehouse-intro{display:flex;align-items:center;gap:26px;padding:40px 42px;margin-bottom:30px;background:linear-gradient(110deg,#07281e,#105a37 75%,#139765);color:#fff;border-radius:30px;box-shadow:0 18px 40px #003c2021}
.warehouse-intro-icon{flex:none;width:88px;height:88px;display:grid;place-items:center;font-size:51px;background:#25bd6430;border-radius:23px;border:1px solid #abffcf56;color:#b1fdcf}
.warehouse-eyebrow{display:block;font-size:12px;font-weight:800;letter-spacing:1.3px;color:#adffd0;margin-bottom:12px}
.warehouse-intro h1{color:#fff;font-size:clamp(30px,3.5vw,48px);letter-spacing:-1.2px;line-height:1.1;margin:0 0 16px}
.warehouse-intro h1 span{color:#89f6af}
.warehouse-intro p{margin:0;max-width:800px;line-height:1.65;font-size:16px;color:#d7f6e3}
.warehouse-shot,.warehouse-functions{padding:31px 34px;border-radius:28px;border:1px solid #e0eee5;background:white;box-shadow:0 10px 32px #16482c0e;margin-bottom:27px}
.warehouse-headline{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:22px}
.warehouse-headline h2{margin:0;font-size:clamp(23px,2.6vw,30px);letter-spacing:-.5px;color:#193027}
.warehouse-status{color:#1e8553;background:#e5f8ed;border-radius:100px;padding:9px 14px;font-size:12px;font-weight:800;white-space:nowrap}
.warehouse-shot-frame{padding:11px;border-radius:19px;background:linear-gradient(135deg,#0d3c2c,#166842);border:1px solid #336f55;overflow:hidden}
.warehouse-shot-frame img{width:100%;height:auto;display:block;aspect-ratio:872/579;object-fit:cover;border-radius:11px}
.warehouse-caption{font-size:12px;color:#6f8278;margin:13px 2px 0;line-height:1.6}
.warehouse-functions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.warehouse-function{padding:24px 22px;background:#f4faf6;border:1px solid #dcefe4;border-radius:19px;min-width:0}
.warehouse-number{color:#12985a;font-size:15px;font-weight:800}
.warehouse-function h3{color:#153c29;margin:12px 0 8px;font-size:20px}
.warehouse-function p{color:#4a6355;font-size:14px;line-height:1.65;margin:0}
.warehouse-functions-note{margin:17px 2px 0;font-size:12px;color:#72847a;line-height:1.65}
.warehouse-contact-footer{padding:36px 0 48px}
.warehouse-contact-heading{color:#fff;margin:0 0 20px;font-size:26px}
.warehouse-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.warehouse-contact-grid .footer-contact{min-height:145px}
@media(max-width:820px){.warehouse-intro{padding:32px 25px}.warehouse-intro-icon{width:65px;height:65px;font-size:36px}.warehouse-functions-grid{grid-template-columns:1fr}.warehouse-contact-grid{grid-template-columns:1fr}.warehouse-contact-grid .footer-contact{min-height:0}}
@media(max-width:620px){.warehouse-detail{padding:19px 0 42px}.warehouse-intro{gap:15px;align-items:flex-start;padding:26px 19px;border-radius:22px}.warehouse-intro-icon{width:48px;height:48px;font-size:25px;border-radius:13px}.warehouse-intro h1{font-size:27px;letter-spacing:-.5px}.warehouse-intro p{font-size:14px}.warehouse-shot,.warehouse-functions{padding:23px 14px;border-radius:22px}.warehouse-headline h2{font-size:23px}.warehouse-status{font-size:11px}.warehouse-shot-frame{padding:5px;border-radius:12px}.warehouse-shot-frame img{border-radius:8px}}


/* V22: Only the first warehouse detail page. Screenshot from official OpenBoxes docs.
   This page intentionally has no shared nav, no project tiles, and no general footer. */
.warehouse-simple-page{background:#f4f8f5;color:#172c21;}
.warehouse-simple-page #site-shell{min-height:100vh;background:linear-gradient(180deg,#f0f8f1 0%,#fff 40%,#f8fcf9 100%);}
.warehouse-simple-container{width:min(1110px,calc(100% - 44px));margin:0 auto;}
.warehouse-simple-header{background:#fff;border-bottom:1px solid #deebe2;padding:17px 0;}
.warehouse-home-link{color:#16864c;display:inline-flex;align-items:center;text-decoration:none;font-size:16px;font-weight:750;gap:6px;}
.warehouse-home-link:hover{text-decoration:underline;}
.warehouse-simple-main{padding:35px 0 65px;}
.warehouse-simple-main h1{font-size:clamp(31px,4vw,48px);margin:0 0 12px;letter-spacing:-1px;line-height:1.15;color:#102b1d;}
.warehouse-simple-main h1 span{color:#108f4e;}
.warehouse-simple-lead{font-size:17px;color:#506b58;line-height:1.6;margin:0 0 30px;}
.warehouse-simple-screen,.warehouse-simple-description,.warehouse-simple-contacts{background:#fff;border:1px solid #e0ebe5;box-shadow:0 14px 42px rgba(12,65,35,.06);border-radius:20px;padding:26px 30px;margin-bottom:22px;}
.warehouse-simple-main h2{font-size:clamp(21px,2.6vw,28px);line-height:1.3;margin:0 0 19px;color:#153827;}
.warehouse-simple-image{min-height:140px;overflow:hidden;border:1px solid #dce6df;border-radius:13px;background:#f6f8f7;}
.warehouse-simple-image img{max-width:100%;width:100%;height:auto;display:block;object-fit:contain;}
.warehouse-image-fallback{padding:45px 20px;text-align:center;color:#52695b;line-height:1.7;}
.warehouse-simple-image-label{font-size:13px;color:#5a7365;line-height:1.6;margin:15px 0 0;}
.warehouse-simple-image-label a,.warehouse-image-fallback a{color:#097c46;}
.warehouse-simple-description p{font-size:16px;color:#476353;line-height:1.75;margin:0 0 15px;}
.warehouse-simple-description ul{list-style:disc;padding-left:26px;margin:8px 0 18px;color:#264334;line-height:1.9;font-size:16px;}
.warehouse-simple-description li{padding-left:5px;margin:4px 0;}
.warehouse-simple-description .warehouse-simple-disclaimer{font-size:13px;color:#687d70;padding:12px 16px;border-left:3px solid #31a765;background:#f3faf5;border-radius:6px;margin-top:15px;}
.warehouse-simple-contacts{background:#eff9f2;}
.warehouse-contact-actions{display:flex;flex-wrap:wrap;gap:12px;}
.warehouse-contact-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 21px;border:1px solid #bce3ca;border-radius:11px;background:#fff;color:#137841;text-decoration:none;font-size:15px;font-weight:800;transition:transform .2s,box-shadow .2s;}
.warehouse-contact-btn:hover{transform:translateY(-2px);box-shadow:0 5px 18px #064e2520;}
.warehouse-contact-btn.whatsapp{background:#0e9f52;color:white;border-color:#0e9f52;}
.warehouse-contact-btn.telegram{background:#e5f5fd;color:#007cae;border-color:#c4e6f8;}
.warehouse-contact-pending{font-size:12px;color:#617a69;margin:14px 0 0;}
@media(max-width:650px){.warehouse-simple-container{width:calc(100% - 24px)}.warehouse-simple-main{padding:23px 0 35px}.warehouse-simple-screen,.warehouse-simple-description,.warehouse-simple-contacts{padding:20px 16px;border-radius:14px}.warehouse-contact-actions{flex-direction:column}.warehouse-contact-btn{width:100%}}


/* v24: two actual PVB Workspace screenshots on the planner project page. */
.planner-simple-page .warehouse-simple-container{width:min(1160px,calc(100% - 44px));}
.planner-figure{margin:0;}
.planner-simple-page .warehouse-simple-screen{padding:24px;}
.planner-simple-page .warehouse-simple-image{background:#eff2f5;border-color:#d7e4dc;}
.planner-simple-page .warehouse-simple-image img{display:block;width:100%;height:auto;}
.planner-simple-page .warehouse-simple-description strong{color:#0b6f49;}
@media(max-width:650px){.planner-simple-page .warehouse-simple-container{width:calc(100% - 24px);}.planner-simple-page .warehouse-simple-screen{padding:15px 12px;}}


/* ================= VERSION 25 · Third row ================= */
/* Only the artwork changes: original size, tilt, overlap and hover transforms remain intact. */
#row3 .service-project{isolation:isolate;position:relative;display:block;padding:0;background:#062a24;color:#fff;border:2px solid #6de59c;box-shadow:0 15px 40px rgba(0,42,34,.33);overflow:hidden;}
#row3 .service-project.service-admin{background:linear-gradient(135deg,#031c2c,#07543f);border-color:#49d6c5;}
#row3 .service-project.service-qa{background:linear-gradient(135deg,#052920,#0a4245);border-color:#abff53;}
#row3 .service-visual,#row3 .service-wash{position:absolute;inset:0;display:block;pointer-events:none;}
#row3 .service-visual{left:auto;width:71%;background-position:center;background-size:cover;background-repeat:no-repeat;}
#row3 .service-admin .service-visual{background-image:url('assets/card-admin.svg');}
#row3 .service-qa .service-visual{background-image:url('assets/card-qa.svg');}
#row3 .service-wash{background:linear-gradient(90deg,rgba(1,23,23,.97) 0%,rgba(2,36,31,.91) 47%,rgba(4,45,40,.21) 89%);}
#row3 .service-qa .service-wash{background:linear-gradient(90deg,rgba(2,34,28,.98) 0%,rgba(1,37,32,.91) 48%,rgba(3,38,36,.18) 95%);}
#row3 .service-body{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;min-height:290px;padding:24px 25px;width:80%;}
#row3 .service-project .number{color:#b5ffce;font-weight:850;font-size:12px;}
#row3 .service-project .card-glyph{width:49px;height:49px;border-radius:13px;font-size:25px;color:#baffc0;background:rgba(15,140,105,.55);border:1px solid rgba(181,250,198,.5);box-shadow:0 0 20px rgba(57,215,160,.18);}
#row3 .service-project h3{font-size:clamp(18px,1.75vw,23px);line-height:1.15;letter-spacing:-.5px;color:white;margin:19px 0 10px;text-shadow:0 2px 8px #041d1d;}
#row3 .service-project p{color:#daf4ed;line-height:1.45;font-size:14px;margin:0;max-width:270px;text-shadow:0 2px 7px #001e18;}
#row3 .service-project .card-more{font-size:13px;color:#b8ff78;padding-top:15px;}
#row3 .service-project:hover,#row3 .service-project:focus-visible{box-shadow:0 24px 53px rgba(0,42,34,.42);}

/* Every project opens with centered text and media; approx 5 cm per side on desktop. */
@media(min-width:1100px){
  .warehouse-simple-page .warehouse-simple-container{width:calc(100% - 10cm);max-width:1120px;}
  .planner-simple-page .warehouse-simple-container{width:calc(100% - 10cm);max-width:1120px;}
  .detail-page .wrap{width:calc(100% - 10cm);max-width:1020px;padding-left:0;padding-right:0;}
  .detail-page .detail-feature-cards{grid-template-columns:1fr 1.18fr 1fr;gap:10px;}
  .detail-page .detail-feature-card{padding:20px 16px;}
  .detail-page .detail-feature-card h3{font-size:clamp(17px,1.6vw,23px);}
  .detail-page .detail-feature-card p{font-size:13.5px;}
  .detail-page .feature-center h3{font-size:23px;}
  .detail-page .detail-info-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
  .detail-page .detail-info-card{padding:20px 15px;}
  .detail-page .detail-process-banner{padding:38px 30px;}
}
@media(min-width:1160px){
  #site-shell>main.detail-page{width:min(1180px,calc(100% - 2 * var(--portfolio-side-width)));max-width:100%;margin-inline:auto;}
}
.warehouse-simple-page .warehouse-simple-screen,.warehouse-simple-page .warehouse-simple-description,.warehouse-simple-page .warehouse-simple-contacts{margin-left:auto;margin-right:auto;}
.warehouse-simple-page .warehouse-simple-image{max-width:100%;margin-left:auto;margin-right:auto;}
.warehouse-simple-page .warehouse-simple-image img{display:block;margin-left:auto;margin-right:auto;}
.project-detail .screen-placeholder{margin-left:auto;margin-right:auto;max-width:100%;}
.project-detail .screen-title{text-align:center;}

/* Third-row service detail pages */
.service-simple-page .warehouse-simple-main{padding-top:32px;}
.service-intro{background:linear-gradient(115deg,#032c24 0%,#0b5942 100%);border:1px solid #3ebd8c;border-radius:23px;color:#fff;padding:clamp(25px,4vw,43px);margin:0 auto 25px;box-shadow:0 13px 35px rgba(6,59,38,.15);}
.admin-service-page .service-intro{background:linear-gradient(115deg,#062537,#0b6657 100%);}
.service-eyebrow{display:block;letter-spacing:1.5px;font-size:11px;font-weight:850;color:#b7ff98;margin-bottom:14px;}
.service-simple-page .service-intro h1{font-size:clamp(30px,3.5vw,46px);color:white;margin:0 0 20px;line-height:1.15;}
.service-intro p{max-width:840px;color:#e5f8ee;font-size:17px;line-height:1.75;margin:0;}
.service-functions .service-list{padding:0;margin:0;display:grid;grid-template-columns:1fr;list-style:none;gap:9px;line-height:1.6;}
.service-functions .service-list li{padding:16px 18px;margin:0;background:#f0faf4;border:1px solid #dbf2e3;border-radius:14px;display:grid;gap:5px;}
.service-functions .service-list strong{color:#105937;font-size:16px;}
.service-functions .service-list span{color:#3b594b;font-size:15px;}
.service-shot-section h2{text-align:center;}
.service-shot-placeholder{min-height:205px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:12px;background:repeating-linear-gradient(135deg,#f6fbf8 0,#f6fbf8 16px,#eff8f2 16px,#eff8f2 32px);border:2px dashed #aed5c2;border-radius:16px;padding:27px;}
.service-shot-placeholder .shot-symbol{font-size:38px;color:#0d8b55;}
.service-shot-placeholder strong{font-size:18px;color:#135037;}
.service-shot-placeholder p{max-width:620px;font-size:14px;color:#537466;line-height:1.6;margin:0;}
@media(max-width:1099px){.warehouse-simple-page .warehouse-simple-container,.planner-simple-page .warehouse-simple-container{width:calc(100% - 48px);max-width:1000px;}.detail-page .wrap{max-width:960px;width:calc(100% - 48px);padding:0;}}
@media(max-width:780px){
 #row3 .service-body{min-height:255px;padding:18px 16px;width:94%;}
 #row3 .service-visual{width:78%;opacity:.8;}
 #row3 .service-wash{background:linear-gradient(90deg,rgba(1,23,23,.98) 0%,rgba(2,36,31,.89) 65%,rgba(4,45,40,.30) 100%);}
 #row3 .service-project h3{font-size:clamp(15px,2.25vw,18px);margin:12px 0 7px;}
 #row3 .service-project p{font-size:12px;}
 #row3 .service-project .card-more{font-size:11px;}
 #row3 .service-project .card-glyph{width:38px;height:38px;font-size:20px;}
 .detail-page .detail-feature-cards{grid-template-columns:1fr 1fr;}
 .detail-page .detail-info-grid{grid-template-columns:1fr;}
}
@media(max-width:650px){
 .warehouse-simple-page .warehouse-simple-container,.planner-simple-page .warehouse-simple-container{width:calc(100% - 24px);}
 .detail-page .wrap{width:calc(100% - 24px);}
 .service-intro{padding:25px 20px;}
 .service-intro p{font-size:15px;}
 .service-functions .service-list li{padding:13px 14px;}
 .service-shot-placeholder{padding:21px;min-height:220px;}
 #row3 .service-body{padding:14px 13px;min-height:255px;}
 #row3 .service-project h3{font-size:15px;}
 #row3 .service-project p{font-size:11.5px;}
}
/* При очень узкой центральной области декоративные карточки подробностей идут в две колонки, чтобы текст не обрезался. */
@media(min-width:1100px) and (max-width:1299px){
 .detail-page .detail-feature-cards{grid-template-columns:repeat(2,minmax(0,1fr));min-height:0;align-items:stretch;}
 .detail-page .detail-feature-card{height:auto;min-height:270px;transform:none;}
 .detail-page .detail-feature-card.feature-center{grid-column:1/-1;grid-row:1;min-height:335px;}
 .detail-page .detail-info-grid{grid-template-columns:1fr;}
 .detail-page .detail-info-card{min-height:130px;}
 .detail-page .process-art{display:none;}
}


/* Version 26: 2013-2022 career experience and scanned reference letter */
.service-simple-page .experience-section {margin-top:0;}
.experience-kicker {font-size:12px;letter-spacing:.11em;font-weight:800;color:#128f52;margin-bottom:10px;}
.experience-section p {font-size:16px;line-height:1.75;color:#324b41;margin:0 0 13px;}
.experience-points{padding-left:23px;margin:14px 0 0;display:grid;gap:10px;}
.experience-points li{font-size:15px;line-height:1.65;color:#334d41;padding-left:4px;}
.experience-points li::marker{color:#13a55a;}
.experience-reference{text-align:center;}
.experience-reference h2{margin-bottom:22px;}
.reference-picture-frame{margin:0 auto;max-width:640px;background:#f4f8f5;border-radius:13px;padding:12px;box-shadow:inset 0 0 0 1px #e1ece7;}
.reference-picture-frame a{display:block;line-height:0;}
.reference-picture-frame img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:5px;box-shadow:0 9px 27px rgba(15,48,30,.12);}
@media(max-width:650px){
  .experience-section p{font-size:15px;}
  .experience-points li{font-size:14px;}
  .reference-picture-frame{padding:5px;}
}

/* ======================================================
   V27 · Second row refresh. ORIGINAL straight three-column layout retained.
   ====================================================== */
#row2 .grid.three{align-items:stretch;gap:18px;}
#row2 .row2-project-card{position:relative;isolation:isolate;display:flex;overflow:hidden;min-height:265px;border:1px solid #72bc3b;background:#053722;color:#f8fff9;box-shadow:0 13px 33px rgba(7,52,29,.2);border-radius:24px;padding:0;transform:none;transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;}
#row2 .row2-project-card:hover,#row2 .row2-project-card:focus-visible{transform:translateY(-5px);box-shadow:0 17px 46px rgba(7,52,29,.3);border-color:#c5fc65;}
#row2 .row2-card-backdrop,#row2 .row2-card-visual{position:absolute;inset:0;z-index:-1;pointer-events:none;}
#row2 .row2-card-backdrop{background:radial-gradient(ellipse at 100% 13%,rgba(150,255,52,.17),transparent 54%),linear-gradient(112deg,#042416 4%,#075332 100%);}
#row2 .row2-crm .row2-card-visual{inset:17% -7% 0 49%;background:url('assets/crm-fields-offline-example.svg') left top/auto 115% no-repeat;opacity:.32;filter:saturate(.4) contrast(1.15);transform:perspective(600px) rotateY(-13deg);border-radius:16px;}
#row2 .row2-vpn .row2-card-backdrop{background:radial-gradient(circle at 85% 70%,rgba(13,232,138,.27),transparent 46%),linear-gradient(130deg,#002319,#044635 60%,#0a6d43);}
#row2 .row2-vpn .row2-card-visual::before{content:'⛨';position:absolute;right:11%;top:21%;font-size:122px;line-height:1;color:rgba(139,255,157,.28);text-shadow:0 0 36px rgba(112,255,177,.23);}
#row2 .row2-converter .row2-card-backdrop{background:radial-gradient(ellipse at 95% 95%,rgba(109,255,61,.16),transparent 65%),linear-gradient(125deg,#04281b,#0c5937);}
#row2 .row2-converter .row2-card-visual{inset:15% -6% 0 51%;background:url('assets/pvb-converter-clean.png') left top/auto 93% no-repeat;opacity:.6;filter:brightness(.9);transform:perspective(700px) rotateY(-15deg);}
#row2 .row2-card-body{position:relative;display:flex;flex-direction:column;align-items:flex-start;width:100%;min-width:0;padding:21px 23px 18px;z-index:1;background:linear-gradient(90deg,rgba(3,33,20,.94) 0%,rgba(4,47,26,.78) 61%,rgba(3,41,25,.35) 100%);}
#row2 .row2-project-card .number{color:#b6ff7b;font-weight:800;font-size:12px;letter-spacing:.7px;}
#row2 .row2-card-icon{margin:13px 0 8px;display:grid;place-items:center;width:48px;height:48px;background:linear-gradient(165deg,#44df30,#008c49);color:white;font-size:30px;border-radius:13px;box-shadow:0 0 0 1px #b0ff6a,0 8px 20px rgba(66,226,47,.16);}
#row2 .row2-project-card h3{max-width:95%;margin:9px 0 8px;color:#f7fff7;font-size:clamp(19px,1.55vw,26px);line-height:1.1;text-shadow:0 2px 9px #001809ad;}
#row2 .row2-project-card p{max-width:86%;font-size:13px;line-height:1.46;color:#d9f5e2;margin:0 0 12px;}
#row2 .row2-project-card .card-more{color:#b7ff75;font-size:13px;font-weight:750;margin-top:auto;padding-top:14px;}
/* Focused internal pages, centred with previously specified desktop margins */
.portfolio-row2-detail .row2-inner-heading{padding:28px 26px 30px;background:linear-gradient(113deg,#063521,#0e6940);border-radius:22px;margin-bottom:21px;color:white;}
.portfolio-row2-detail .row2-kicker{font-size:12px;letter-spacing:1.7px;font-weight:800;color:#bafc95;}
.portfolio-row2-detail .row2-inner-heading h1{color:white;font-size:clamp(28px,3.1vw,43px);line-height:1.12;margin:13px 0;}
.portfolio-row2-detail .row2-inner-heading p{margin:0;color:#e0f6e7;line-height:1.6;font-size:16px;}
.portfolio-row2-detail .row2-feature-panel{margin:0 0 21px;padding:26px 30px;}
.portfolio-row2-detail .row2-feature-panel h2{font-size:clamp(21px,2.1vw,28px);line-height:1.2;margin:0 0 17px;color:#0e402b;}
.portfolio-row2-detail .row2-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:18px 0;}
.portfolio-row2-detail .row2-feature-grid article{min-width:0;border:1px solid #dceee2;background:#f3faf5;padding:18px;border-radius:15px;}
.portfolio-row2-detail .row2-feature-grid h3{color:#117a46;font-size:17px;margin:0 0 8px;}
.portfolio-row2-detail .row2-feature-grid p{margin:0;color:#3d584a;font-size:14px;line-height:1.55;}
.portfolio-row2-detail .row2-screen-frame{max-width:100%;border:1px solid #d8e9dc;overflow:hidden;background:#f8faf9;}
.portfolio-row2-detail .row2-screen-frame img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;}
.portfolio-row2-detail .row2-screen-figure{margin:0;}
.portfolio-row2-detail .warehouse-simple-image-label{line-height:1.6;font-size:12.5px;margin:13px 4px 0;}
.portfolio-row2-detail .row2-honest-note{font-size:13px;color:#61766b;line-height:1.5;margin:16px 0 0;}
.portfolio-row2-detail .row2-contact-strip{margin:0 0 35px;padding:26px 30px;background:linear-gradient(120deg,#e5f8e9,#f8fdfa);}
.portfolio-row2-detail .row2-contact-strip h2{margin:0 0 17px;color:#0f6b40;font-size:25px;}
@media(max-width:800px){#row2 .grid.three{gap:12px;}#row2 .row2-project-card{min-height:215px;}#row2 .row2-card-body{padding:14px;}#row2 .row2-card-icon{width:39px;height:39px;font-size:23px;}#row2 .row2-project-card h3{font-size:18px;}#row2 .row2-project-card p{max-width:94%;font-size:12px;}}
@media(max-width:650px){#row2 .row2-project-card{min-height:220px;}#row2 .row2-card-body{padding:20px;}#row2 .row2-card-icon{margin:12px 0 8px;}#row2 .row2-project-card h3{font-size:21px;}#row2 .row2-project-card p{font-size:13px;} .portfolio-row2-detail .row2-feature-grid{grid-template-columns:1fr;} .portfolio-row2-detail .row2-feature-panel{padding:19px 16px;} .portfolio-row2-detail .row2-inner-heading{padding:24px 19px;} .portfolio-row2-detail .row2-contact-strip{padding:22px 16px;}}


/* V29 · Navigation, market title and footer contact buttons */
html { scroll-padding-top: 0; }
#projects, #world-time, #weather, #world-news, #markets, #contacts {scroll-margin-top:102px;}
#markets .module-title h3 { color: #119a50; }
/* The footer stays within the same central column between the server and office side panels. */
.portfolio-footer {display:flex;justify-content:space-between;align-items:center;gap:28px;flex-wrap:wrap;}
.portfolio-footer .footer-intro {min-width:210px;flex:1 1 245px;}
.portfolio-footer .footer-contact-actions {display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;flex:1 1 340px;margin-top:0;}
.portfolio-footer .footer-contact-actions .hero-contact-button {margin:0;flex:0 1 auto;white-space:nowrap;}
@media(max-width:720px) {
 .portfolio-footer {align-items:flex-start;gap:16px;}
 .portfolio-footer .footer-contact-actions {justify-content:flex-start;flex:1 1 100%;}
 .portfolio-footer .footer-intro {flex:1 1 100%;}
}
@media(max-width:420px) {
 .portfolio-footer .footer-contact-actions .hero-contact-button {min-width:0;padding:10px 12px;font-size:13px;}
}

/* V30 — neutral office photo behind the footer; only the footer background changes. */
#site-shell > .footer {
  background-color: #0b1d1c;
  background-image:
     linear-gradient(90deg, rgba(5,19,19,.93) 0%, rgba(6,27,24,.81) 50%, rgba(5,22,21,.91) 100%),
     url("assets/footer-office-photo.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #f9fffb;
}
#site-shell > .footer .footer-intro p {color: #e0eae4;}
#site-shell > .footer .bottom,
#site-shell > .footer .bottom-note {color: #d9e3de;}
@media(max-width:600px){
  #site-shell > .footer {
    background-image: linear-gradient(90deg, rgba(5,19,19,.90), rgba(5,21,20,.85)), url("assets/footer-office-photo.jpg");
    background-position: 42% center;
  }
}


/* V31 — Three contact actions in the sticky header and technical-glass footer.
   Earlier backgrounds are explicitly overridden to avoid the V30 office photo. */
#site-shell > .header .nav { gap: 12px; }
#site-shell > .header .menu { gap: clamp(9px, 1.2vw, 18px); min-width:0; }
.top-contact-actions.hero-contact-actions {display:flex;align-items:center;gap:6px;margin:0;flex:0 0 auto;}
.top-contact-actions .hero-contact-button {min-width:0;min-height:38px;padding:8px 10px;font-size:12px;font-weight:760;border-radius:11px;gap:5px;white-space:nowrap;box-shadow:none;}
.top-contact-actions .hero-contact-button span {font-size:15px;}
.top-contact-actions .hero-contact-whatsapp {box-shadow:0 3px 14px rgba(16,154,76,.12);}
#site-shell > .footer.footer-v31 {
 position:relative;isolation:isolate;overflow:hidden;
 background:#071d1b;
 background-image: radial-gradient(ellipse at 86% 46%,rgba(32,224,143,.25),transparent 37%),
                   radial-gradient(ellipse at 23% 120%,rgba(14,135,96,.28),transparent 50%),
                   linear-gradient(117deg,#06191a 0%,#092d25 49%,#071d1d 100%);
 background-size:cover; color:#f5fff9; padding-top:0;
}
#site-shell > .footer.footer-v31::before {content:"";position:absolute;z-index:-1;inset:0;opacity:.15;pointer-events:none;
 background-image:linear-gradient(rgba(115,255,184,.34) 1px,transparent 1px),linear-gradient(90deg,rgba(115,255,184,.34) 1px,transparent 1px);
 background-size:37px 37px;mask-image:linear-gradient(90deg,transparent 0%,black 55%,black 100%);
}
#site-shell > .footer.footer-v31::after {content:"";position:absolute;z-index:-1;top:-145px;right:-160px;width:520px;height:520px;border:1px solid rgba(85,253,174,.2);border-radius:50%;box-shadow:0 0 100px rgba(25,245,130,.1),0 0 0 70px rgba(26,225,124,.045),0 0 0 160px rgba(47,190,127,.035);pointer-events:none;}
.footer-v31-stage{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(310px,.96fr);gap:28px;align-items:center;padding-top:46px;padding-bottom:42px;min-height:345px;position:relative;z-index:1;}
.footer-v31-copy{position:relative;z-index:2;min-width:0;}
.footer-v31-kicker {display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:1.1px;font-weight:800;color:#84f0b7;}
.footer-v31-dot{width:8px;height:8px;border-radius:50%;background:#56ff9d;box-shadow:0 0 11px #24ef82;flex:0 0 8px;}
.footer-v31-copy h2 {font-size:clamp(27px,3vw,39px);line-height:1.08;letter-spacing:-.9px;margin:15px 0 14px;max-width:540px;}
.footer-v31-copy h2 em {font-style:normal;color:#73ec92;}
#site-shell>.footer.footer-v31 .footer-v31-copy p{color:#cfebdc;font-size:14px;line-height:1.65;max-width:440px;margin:0 0 22px;}
.footer-v31 .footer-contact-actions.hero-contact-actions{display:flex;gap:9px;margin:0;flex-wrap:wrap;}
.footer-v31 .hero-contact-button{min-height:42px;padding:9px 13px;min-width:90px;border-radius:12px;font-size:13px;white-space:nowrap;}
.footer-v31-visual {position:relative;min-height:270px;max-width:520px;width:100%;margin:0 auto;perspective:1000px;}
.footer-v31-orbit {position:absolute;border:1px solid rgba(109,255,174,.21);width:240px;height:240px;border-radius:50%;left:calc(50% - 105px);top:0;transform:rotateX(65deg) rotateZ(-18deg);box-shadow:0 0 0 30px rgba(92,237,140,.045),0 0 60px rgba(78,241,140,.1);}
.footer-v31-orbit.orbit-two{top:40px;left:50%;width:165px;height:165px;opacity:.8;}
.footer-v31-device{position:absolute;left:11%;top:27px;width:79%;height:220px;border-radius:17px;border:1px solid rgba(130,255,197,.46);overflow:hidden;transform:rotate(-4deg) skew(-2deg);background:linear-gradient(150deg,rgba(10,54,53,.95),rgba(1,15,23,.96));box-shadow:0 28px 60px rgba(0,0,0,.45),0 0 45px rgba(75,237,145,.17),inset 0 1px rgba(255,255,255,.25);}
.footer-v31-device-head{height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;color:#a7f4c5;font-size:9px;letter-spacing:1.1px;font-weight:700;background:rgba(255,255,255,.045);border-bottom:1px solid rgba(103,231,159,.2);}
.footer-v31-device-head b{color:#2aff95;font-size:18px;line-height:0;}
.footer-v31-leds{display:flex;gap:4px;}.footer-v31-leds i{display:block;width:6px;height:6px;border-radius:50%;background:#58c88e}.footer-v31-leds i:nth-child(2){opacity:.6}.footer-v31-leds i:nth-child(3){opacity:.3}
.footer-v31-device-body{display:grid;grid-template-columns:46px 1fr;height:calc(100% - 34px);}
.footer-v31-sidebars{padding:17px 13px;background:rgba(29,141,108,.08);border-right:1px solid rgba(84,225,156,.15);display:flex;align-items:center;flex-direction:column;gap:13px;}
.footer-v31-sidebars i{display:block;width:16px;height:7px;border:1px solid rgba(97,221,167,.5);border-radius:3px;}
.footer-v31-sidebars i:first-child{background:#4dfa9a;box-shadow:0 0 10px rgba(77,250,154,.6);}
.footer-v31-chart{padding:16px 21px;min-width:0;}
.footer-v31-chart-title{display:flex;justify-content:space-between;color:#e1f9e8;font-weight:750;font-size:12px;}
.footer-v31-chart-title span:last-child{color:#7dffb5;font-size:24px;line-height:8px;}
.footer-v31-bars{height:90px;display:flex;align-items:end;gap:9px;padding:8px 12px 0;border-bottom:1px solid rgba(135,245,169,.25);background:repeating-linear-gradient(to top,rgba(144,239,190,.08) 0,rgba(144,239,190,.08) 1px,transparent 1px,transparent 22px);margin-top:15px;}
.footer-v31-bars b{height:var(--bar);flex:1;max-width:35px;min-width:8px;border-radius:4px 4px 0 0;background:linear-gradient(0deg,#08784a,#53eb79 85%,#ccff63);box-shadow:0 0 11px rgba(100,237,134,.22);}
.footer-v31-cardlets{display:flex;gap:8px;margin-top:13px;}.footer-v31-cardlets span{height:19px;flex:1;border:1px solid rgba(121,254,170,.2);border-radius:5px;background:linear-gradient(90deg,rgba(43,186,129,.3),rgba(26,69,74,.35));}
.footer-v31-badge{position:absolute;display:block;border-radius:12px;padding:11px 14px;background:rgba(8,51,43,.92);border:1px solid rgba(130,255,180,.41);backdrop-filter:blur(5px);color:#c0ffd9;font-size:10px;font-weight:800;letter-spacing:.4px;box-shadow:0 13px 33px rgba(0,0,0,.35);white-space:nowrap;}
.footer-v31-badge.badge-one{top:5px;right:0;transform:rotate(5deg);}
.footer-v31-badge.badge-two{bottom:0;left:3%;transform:rotate(3deg);}
#site-shell > .footer.footer-v31 .bottom {margin-top:0;position:relative;z-index:2;border-top:1px solid rgba(171,254,210,.22);color:#aad2bd;padding-top:19px;padding-bottom:21px;}
#site-shell > .footer.footer-v31 .bottom-note{color:#aad2bd;}
@media(max-width:1050px){.top-contact-actions .hero-contact-button{padding:8px 8px;font-size:12px;}.top-contact-actions .hero-contact-button span{font-size:14px;}}
@media(max-width:900px){
 #site-shell > .header .nav{gap:12px;}
 .top-contact-actions.hero-contact-actions{margin-left:0;}
 .footer-v31-stage{grid-template-columns:1fr 1fr;gap:5px;}
 .footer-v31-visual{transform:scale(.94);transform-origin:center;}
}
@media(max-width:700px){
 .footer-v31-stage{grid-template-columns:1fr;padding-top:32px;padding-bottom:27px;gap:15px;}
 .footer-v31-copy h2{max-width:520px;}
 .footer-v31-visual{min-height:230px;max-width:440px;transform:scale(.9);margin-top:-10px;margin-bottom:-9px;}
 .footer-v31-device{height:195px;}
}
@media(max-width:620px){
 .top-contact-actions.hero-contact-actions{order:4;flex:1 1 100%;width:100%;display:flex;justify-content:stretch;gap:6px;padding:0 0 9px;}
 .top-contact-actions .hero-contact-button{min-width:0;min-height:37px;padding:8px 5px;flex:1 1 0;font-size:12px;}
 .top-contact-actions .hero-contact-button span{font-size:13px;}
 #site-shell > .header .nav{gap:8px;}
 .footer-v31-kicker{font-size:9px;letter-spacing:.6px;}
 .footer-v31 .footer-contact-actions .hero-contact-button {padding:9px 10px;font-size:13px;min-width:0;flex:1 1 30%;}
}
@media(prefers-reduced-motion:reduce){.footer-v31-visual *{animation:none!important;}}


/* V32 — approved standalone pictogram (no brand text/menu), in header and footer */
#site-shell > .header .nav {
  display:flex; align-items:center; justify-content:space-between;
  gap:18px; min-height:92px;
}
#site-shell > .header .logo-v32 {
  display:inline-flex; align-items:center; justify-content:center;
  flex:0 0 auto; text-decoration:none; padding:7px 0;
}
#site-shell > .header .brand-mark-header {
  display:block;width:64px;height:64px;object-fit:contain;
  border-radius:13px;
  filter:drop-shadow(0 4px 9px rgba(5,81,45,.19));
  transition:transform .18s ease;
}
#site-shell > .header .logo-v32:hover .brand-mark-header {transform:scale(1.04)}
#site-shell > .header .menu-toggle,
#site-shell > .header .menu { display:none !important; }
#site-shell > .header .top-contact-actions.hero-contact-actions {
  margin:0 0 0 auto; flex:0 1 auto; display:flex; align-items:center; justify-content:flex-end; gap:9px;
}
#site-shell > .footer.footer-v31 .footer-v32-logo {
  display:inline-flex;align-items:center;justify-content:center;
  width:84px;height:84px;margin:0 0 17px;
  border-radius:18px;overflow:hidden;
  background:rgba(11,35,28,.4); border:1px solid rgba(127,245,166,.35);
  box-shadow:0 10px 24px rgba(0,0,0,.25),0 0 21px rgba(49,223,111,.16);
}
#site-shell > .footer.footer-v31 .footer-v32-logo img{width:78px;height:78px;object-fit:contain;display:block;}
@media(max-width:620px){
  #site-shell > .header .nav{min-height:78px;gap:5px;padding-top:6px;padding-bottom:7px;}
  #site-shell > .header .brand-mark-header{height:56px;width:56px;}
  #site-shell > .header .top-contact-actions.hero-contact-actions {order:initial;flex:1 1 100%;justify-content:flex-end;gap:5px;padding:0;min-width:0;}
  #site-shell > .header .top-contact-actions .hero-contact-button {padding:8px 4px;min-height:35px;font-size:11px;gap:3px;}
  #site-shell > .header .top-contact-actions .hero-contact-button span{font-size:13px;}
  #site-shell > .footer.footer-v31 .footer-v32-logo {width:72px;height:72px;margin-bottom:13px;}
  #site-shell > .footer.footer-v31 .footer-v32-logo img {width:68px;height:68px;}
}
@media(max-width:385px){
  #site-shell > .header .nav{gap:6px;flex-wrap:wrap;}
  #site-shell > .header .top-contact-actions.hero-contact-actions{order:4;flex:1 1 100%;justify-content:space-between;padding-bottom:5px;}
  #site-shell > .header .top-contact-actions .hero-contact-button{flex:1 1 0;}
}
@media(prefers-reduced-motion:reduce){#site-shell > .header .brand-mark-header{transition:none;}}

/* v33: Locale navigation. Keep all existing card positions and layouts. */
.language-switch { display:inline-flex; align-items:center; gap:3px; padding:3px; background:rgba(237,253,240,.94); border:1px solid rgba(10,90,42,.16); border-radius:100px; white-space:nowrap; flex-shrink:0; box-shadow:0 3px 13px rgba(0,50,20,.06) }
.language-switch a { color:#16663e; text-decoration:none; font-size:12px; font-weight:800; padding:7px 9px; border-radius:100px; line-height:1.1; transition:background .16s,color .16s }
.language-switch a:hover,.language-switch a:focus-visible { background:#daf4e2; outline-offset:2px }
.language-switch a.active { background:#0f9a52; color:white; pointer-events:none }
.header .nav { gap:12px }
.header .top-contact-actions { margin-left:auto }
.warehouse-simple-header .warehouse-simple-container { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap }
.warehouse-simple-header .language-switch { margin-left:auto }
@media(max-width:640px){ .language-switch { padding:2px } .language-switch a { padding:6px; font-size:11px } .header .nav { gap:4px; } }


/* v34: actual locale-specific dashboard artwork, without touching layout or text overlay. */
body[data-locale="de"] .hero-v18 .hero-art.hero-v18-art {
  background-image:linear-gradient(90deg,#0a3020 0%,rgba(7,34,20,.97) 2%,rgba(7,34,20,.62) 12%,rgba(6,32,22,0) 32%), url('assets/business-analytics-hero-de.webp');
}
body[data-locale="en"] .hero-v18 .hero-art.hero-v18-art {
  background-image:linear-gradient(90deg,#0a3020 0%,rgba(7,34,20,.97) 2%,rgba(7,34,20,.62) 12%,rgba(6,32,22,0) 32%), url('assets/business-analytics-hero-en.webp');
}
/* Only DE and EN are visibly rendered; Russian is an unlabeled hot zone right of EN. */
.language-switch { position:relative; margin-right:29px; }
.language-switch a.lang-secret-ru,
.language-switch a.lang-secret-ru:hover,
.language-switch a.lang-secret-ru.active {
  position:absolute; z-index:6; left:calc(100% + 4px); top:0; width:26px;
  height:100%; box-sizing:border-box; border:0; border-radius:0;
  padding:0; margin:0; opacity:0; background:transparent;
  color:transparent; box-shadow:none; cursor:pointer;
}
.language-switch a.lang-secret-ru.active { pointer-events:auto; }
.language-switch a.lang-secret-ru:focus-visible { outline:2px solid #06944d; outline-offset:1px; opacity:.15; }
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important;
  margin:-1px!important; padding:0!important; overflow:hidden!important;
  clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
@media (max-width:640px) { .language-switch {margin-right:29px;} }
