:root:not(#gs) {
  --page: #fff;
  --surf: #f5f5f5;
  --alt: #f1efea;
  --slot: #e6e6e6;
  --ln: #e2e2e2;
  --tx: #000;
  --tx2: #555;
  --hdr-bg: #fff;
  --hdr-ink: #000;
  --hdr-ink2: #6b6b6b;
  --hdr-line: #eee;
  --burger-bg: #f1efea;
  --ind-bg: #f57336;
  --ind-ink: #000;
  --ind-top: calc(50% - 19px);
  --ind-h: 38px;
  --ind-r: 999px;
  --btn-r: 999px;
  --btn-bg: #000;
  --btn-ink: #fff;
  --btn-bd: #000;
  --btn-fill: #f57336;
  --btn-fink: #000;
  --ghost-bd: #000;
  --foot: #f1efea;
  --focus: #f57336;
  --prog: #f57336;
  --on-o: #000;
  --rail: 1200px;
  --gut-l: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  --bg: var(--page);
  --surface: var(--surf);
  --fill: var(--slot);
  --line: var(--ln);
  --ink: var(--tx);
  --ink-2: var(--tx2);
  --font-body: "Golos Text", Arial, sans-serif;
  --font-display: "Rubik", Arial, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --spring: cubic-bezier(.4, 0, .2, 1);
  --btn-glow: 0 14px 30px -12px rgba(245, 115, 54, .7);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--tx); font: 16px/1.6 var(--font-body); }
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--rail), calc(100% - 40px)); margin-inline: auto; }
.sep { display: inline-block; width: 1px; height: .95em; margin: 0 .7em; vertical-align: -.12em; background: currentColor; opacity: .32; }
::selection { background: #f57336; color: #000; }
:focus-visible { outline: 2px solid var(--tx); outline-offset: 3px; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--hdr-bg); color: var(--hdr-ink); border-bottom: 1px solid var(--hdr-line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--prog); transform: scaleX(var(--sp, 0)); transform-origin: left; pointer-events: none; }
.hdr { height: 96px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 16px; min-width: 0; color: var(--hdr-ink); text-decoration: none; }
.logo-mark { width: 136px; height: auto; flex: none; }
.brand-text { display: grid; min-width: 0; }
.brand-name { font: 500 30px/1.2 var(--font-display); letter-spacing: .06em; }
.brand-slogan { font-size: 14px; letter-spacing: .05em; color: var(--hdr-ink2); }
.nav { position: relative; display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 9px 14px; border-radius: var(--ind-r); color: var(--hdr-ink); font: 500 15px/1.3 var(--font-display); text-decoration: none; transition: color .35s var(--ease); }
.nav a.gs-act, .nav a:hover, .nav a:focus-visible { background: var(--ind-bg); color: var(--ind-ink); }
.site-header a[href^="tel:"], .site-header a[href^="mailto:"], .foot a, .foot-bottom a { text-decoration: none; background: linear-gradient(var(--prog), var(--prog)) no-repeat 0 100% / 0 2px; transition: background-size .35s ease, color .35s ease; }
.site-header a[href^="tel:"]:hover, .site-header a[href^="mailto:"]:hover, .foot a:hover, .foot-bottom a:hover, .site-header a[href^="tel:"]:focus-visible, .site-header a[href^="mailto:"]:focus-visible, .foot a:focus-visible, .foot-bottom a:focus-visible { background-size: 100% 2px; color: var(--ink); }
.brand:hover .brand-name { color: var(--prog); }
.gs-ind { position: absolute; z-index: 0; left: 0; top: var(--ind-top); height: var(--ind-h); width: 100%; background: var(--ind-bg); border-radius: var(--ind-r); clip-path: inset(0 calc(100% - var(--ix, 0px) - var(--iw, 0px)) 0 var(--ix, 0px) round var(--ind-r)); transition: clip-path .55s var(--ease), opacity .3s; pointer-events: none; }
.nav:not(.gs-on) .gs-ind { opacity: 0; }
.hdr-contacts { display: grid; text-align: right; font-size: 13px; line-height: 1.35; }
.hdr-contacts b { font: 500 15px/1.35 var(--font-display); }
.hdr-contacts span { color: var(--hdr-ink2); }
a[href^="tel:"], a[href^="mailto:"] { color: inherit; text-decoration: none; }
.burger { position: relative; display: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 50%; background: var(--burger-bg); color: var(--hdr-ink); cursor: pointer; }
.burger::before, .burger::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
.burger::before { top: 17px; }
.burger::after { top: 25px; transform: translateX(3px) scaleX(.7); }
.burger[aria-expanded="true"]::before { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"]::after { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; background: var(--hdr-bg); border-top: 1px solid var(--hdr-line); }
.mobile-nav nav { display: grid; padding-block: 8px 16px; }
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--hdr-line); color: var(--hdr-ink); font: 500 22px/1.4 var(--font-display); text-decoration: none; }
.mobile-nav nav span a { display: inline; padding: 0; border: 0; font: inherit; }
.mobile-nav.open { display: block; }
.site-header { --hdr-gap: 36px; }
.logo-mark, .site-header .logo-mark { transition: transform .9s var(--ease); }
.hdr, .site-header .brand-name { transition: none; }
.site-header.compact .hdr { height: 60px; }
.site-header.compact .logo-mark { width: 76px; animation: gs-mark-in .7s var(--ease) backwards; }
.site-header.gs-grown .logo-mark { animation: gs-mark-out .7s var(--ease) backwards; }
.site-header.compact .brand-name { font-size: 18px; animation: gs-name-in .65s var(--ease) backwards; }
.site-header.gs-grown .brand-name, .site-header.gs-grown .brand-slogan { animation: gs-name-out .65s var(--ease) backwards; }
.site-header.compact .brand-slogan { font-size: 11px; animation: gs-name-in .65s var(--ease) backwards; }
.site-header.compact::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: var(--hdr-gap); background: var(--hdr-bg); transform-origin: top; pointer-events: none; animation: gs-hdr-fold .65s var(--ease) both; }
@keyframes gs-mark-in { from { transform: scale(1.79); transform-origin: left center; } to { transform: none; transform-origin: left center; } }
@keyframes gs-mark-out { from { transform: scale(.56); transform-origin: left center; } to { transform: none; transform-origin: left center; } }
@keyframes gs-name-in { from { transform: translateX(60px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes gs-name-out { from { transform: translateX(-60px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes gs-hdr-fold { from { transform: scaleY(1); } to { transform: scaleY(0); } }
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; overflow: hidden; padding: 15px 30px; border: 1.5px solid var(--btn-bd); border-radius: var(--btn-r); background: var(--btn-bg); color: var(--btn-ink); font: 500 15px/1.3 var(--font-display); text-decoration: none; cursor: pointer; transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease); }
.btn:hover { color: var(--btn-fink); border-color: var(--btn-fill); background: var(--btn-fill); }
.btn.ghost { --btn-bg: transparent; --btn-ink: var(--tx); --btn-bd: var(--ghost-bd); --btn-fill: var(--tx); --btn-fink: var(--page); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.site-footer { background: var(--foot); border-top: 1px solid var(--line); color: var(--ink-2); font-size: 13px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-block: 40px 24px; }
.foot h3 { margin: 0 0 10px; color: var(--ink); font: 500 14px/1.4 var(--font-display); }
.foot ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.req { display: grid; gap: 2px; font-variant-numeric: tabular-nums; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 16px 24px; border-top: 1px solid var(--line); }
.foot-bottom a { color: var(--ink); }
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.contact-list { display: grid; gap: 18px; font-style: normal; }
.contact-list div { display: grid; gap: 2px; }
.contact-list b { font: 600 18px/1.5 var(--font-display); }
.lbl { color: var(--ink-2); font-size: 13px; }
.copy-btn { margin-left: 8px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink-2); font-size: 12px; cursor: pointer; }
.form-card { position: relative; display: grid; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.form-card h2, .form-card h3 { margin: 0; font: 500 22px/1.3 var(--font-display); }
.form-sub { margin: 0; color: var(--ink-2); font-size: 14px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid color-mix(in srgb, var(--tx) 50%, var(--page)); border-radius: 3px; background: #fff; color: #000; font: 15px/1.4 var(--font-body); color-scheme: light; }
.field select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.field select option { background: #fff; color: #000; }
.field textarea { min-height: 84px; resize: vertical; }
.drop { padding: 14px; border: 1px dashed var(--ink-2); border-radius: 3px; background: var(--bg); color: var(--ink-2); text-align: center; font-size: 14px; cursor: pointer; }
.drop.drag { border-color: var(--focus); color: var(--focus); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop small { font-size: 12px; }
.file-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.file-list li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 8px; border-radius: 2px; background: var(--fill); }
.file-list li span { min-width: 0; overflow-wrap: anywhere; }
.file-list button { border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.consent { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-size: 13px; }
.consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: #f57336; }
.consent[hidden], .consent-toggle[hidden] { display: none; }
.consent-toggle { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--ink-2); font-size: 13px; text-align: left; cursor: pointer; }
.consent-box { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1px solid var(--ink); border-radius: 2px; background: #fff; }
.consent-toggle[aria-checked="true"] .consent-box { border-color: #f57336; background: #f57336; }
.consent-toggle[aria-checked="true"] .consent-box::after { content: "✓"; color: #000; font-size: 19px; line-height: 1; }
.consent-note { margin: 0; color: var(--ink-2); font-size: 13px; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err-msg { margin: 0; color: #b3261e; font-size: 13px; }
.ok-box { padding: 16px; border: 1px solid #1d7a4a; border-radius: 4px; color: #1d7a4a; font-size: 15px; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; box-sizing: border-box; padding: 16px var(--gut-r) 16px var(--gut-l); overflow: hidden; background: rgb(0 0 0 / 55%); }
.modal[hidden] { display: none; }
.modal-box { position: relative; box-sizing: border-box; width: 100%; max-width: 560px; min-width: 0; max-height: calc(100dvh - 32px); overflow: auto; }
.modal-box.wide { max-width: 860px; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.document-dialog { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; box-sizing: border-box; width: min(920px, calc(100vw - 32px)); min-width: 0; height: calc(100dvh - 32px); padding: 16px 56px; overflow: hidden; border-radius: 8px; background: var(--surface); }
.document-dialog h2 { flex: none; max-width: 100%; margin: 0; padding-right: 36px; align-self: flex-start; font: 500 18px/1.4 var(--font-display); }
.document-dialog img { flex: 1; min-width: 0; min-height: 0; max-width: 100%; width: 100%; object-fit: contain; }
.document-dialog .btn { flex: none; }
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding-bottom: env(safe-area-inset-bottom, 0px); border-top: 1px solid var(--line); background: var(--surf); }
.cookie[hidden] { display: none; }
.cookie .wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-block: 12px; font-size: 13px; }
.cookie p { max-width: 70ch; min-width: 0; margin: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie .btn { padding: 10px 16px; font-size: 14px; }
.policy { display: grid; gap: 14px; max-width: 75ch; font-size: 16px; }
.policy ol { display: grid; gap: 10px; margin: 0; padding-left: 24px; }
:root:not(#gs) { --band-spot: color-mix(in srgb, #f57336 11%, transparent); }
.detail-content { position: relative; isolation: isolate; }
.detail-content::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none; background: radial-gradient(640px circle at var(--sx, 50%) var(--sy, 50%), var(--band-spot), transparent 70%); opacity: 0; transition: opacity 1.2s var(--ease); }
.detail-content.gs-lit::before { opacity: 1; }
.js.gs-reveal [data-reveal].gs-pre { opacity: 0; transform: translateY(28px); }
.js.gs-reveal [data-reveal].gs-in { animation: gs-in 1s var(--ease) both; animation-delay: calc(var(--k, 0) * 90ms); }
@keyframes gs-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.page-clients .ph.client-tile { position: relative; isolation: isolate; display: block; width: 100%; overflow: hidden; transition: border-color .7s var(--ease), box-shadow .7s var(--ease); }
.client-tile::before { content: ""; position: absolute; inset: 0; z-index: 0; background: #f57336; transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.client-tile:hover { border-color: #f57336; box-shadow: 0 24px 40px -30px rgba(245, 115, 54, .65); }
.client-tile:hover::before { transform: scaleY(1); }
.client-content { position: relative; z-index: 1; display: grid; place-items: center; align-content: center; gap: 12px; width: 100%; height: 100%; text-align: center; }
.client-content img { width: 100%; height: 64px; max-height: 64px; object-fit: contain; transition: transform .8s var(--ease); }
.client-tile:hover .client-content img { transform: scale(1.03); }
.client-tile .client-name { display: block; visibility: visible; width: 100%; max-width: 100%; min-width: 100%; overflow: visible; overflow-wrap: normal; hyphens: none; word-break: normal; color: var(--ink); font: 500 14px/1.45 var(--font-display); }
@media (hover: none), (prefers-reduced-motion: reduce) { .detail-content::before { content: none; } }
@media (max-width: 1080px) { .hdr-contacts { display: none; } }
@media (max-width: 900px) {
  .hdr { height: 64px; }
  .logo-mark, .site-header.compact .logo-mark { width: 84px; }
  .brand-name { font-size: 19px; }
  .brand-slogan { font-size: 11px; }
  .nav { display: none; }
  .burger { display: block; }
  .site-header.compact .logo-mark, .site-header.gs-grown .logo-mark, .site-header.compact .brand-name, .site-header.gs-grown .brand-name, .site-header.compact .brand-slogan, .site-header.gs-grown .brand-slogan { animation: none; }
  .site-header.compact::before { content: none; }
}
@media (max-width: 860px) {
  .foot, .contacts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .wrap { width: min(var(--rail), calc(100% - 28px)); }
  .row-2 { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 18px; }
  .document-dialog { padding: 48px 12px 12px; }
  .document-dialog h2 { font-size: 16px; }
  .contact-list b { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
