/* Gallery Motors — тёмная тема для контентных/юр-страниц (в стиле dark.html) */
:root{
  --bg:#0a0a0c; --ink:#f4f1ea; --muted:#8b8780; --soft:#c9c5bc;
  --gold:#c9a24b; --gold-2:#e8cf8a; --line:rgba(201,162,75,.22);
  --card:#141417; --card-2:#1a1a1e;
}
*{margin:0;padding:0;box-sizing:border-box;min-width:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
html,body{max-width:100%;overflow-x:hidden}
body{
  font-family:'Inter',system-ui,sans-serif;background:var(--bg);color:var(--ink);
  line-height:1.62;-webkit-font-smoothing:antialiased;position:relative;min-height:100dvh;isolation:isolate;
}
h1,h2,h3,p,li,a,td,th,.lead,.stat .v{overflow-wrap:anywhere;word-break:break-word}
/* фон: свечение + зерно как в dark.html */
body::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;
  background:
    radial-gradient(120% 55% at 50% -10%, rgba(201,162,75,.14), transparent 60%),
    radial-gradient(90% 50% at 85% 108%, rgba(201,162,75,.08), transparent 55%),
    linear-gradient(180deg,#0c0c0f 0%,#08080a 60%,#050506 100%);}
body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.5;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");}

.wrap{width:100%;max-width:820px;margin:0 auto;
  padding:clamp(18px,4vh,30px) clamp(18px,5vw,32px) 72px;
  padding-top:max(clamp(18px,4vh,30px),env(safe-area-inset-top));}

/* верхняя панель с брендом */
.docbar{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding-bottom:16px;margin-bottom:22px;border-bottom:1px solid var(--line);flex-wrap:wrap;}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.brand img{width:38px;height:38px;border-radius:11px;object-fit:cover;border:1px solid var(--line);
  box-shadow:0 6px 18px rgba(0,0,0,.5);display:block}
.brand .mark{font-family:'Montserrat',sans-serif;font-weight:800;font-size:11px;
  letter-spacing:.28em;text-transform:uppercase;color:var(--gold-2)}
.back{display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:var(--gold-2);
  font-weight:600;font-size:13.5px;border:1px solid var(--line);border-radius:100px;padding:8px 15px;
  background:rgba(201,162,75,.08);transition:.2s;-webkit-tap-highlight-color:transparent}
.back:hover{background:rgba(201,162,75,.16);color:#fff}
.back:active{transform:scale(.97)}

h1{font-family:'Montserrat',sans-serif;font-weight:800;font-size:clamp(24px,5.4vw,38px);
  line-height:1.1;letter-spacing:-.02em;margin:6px 0 8px;
  background:linear-gradient(100deg,var(--gold),var(--gold-2) 48%,#fff8e6 62%,var(--gold));
  -webkit-background-clip:text;background-clip:text;color:transparent;}
.lead{color:var(--soft);font-size:clamp(14px,2vw,16.5px);max-width:60ch;margin-bottom:8px}
.upd{color:var(--muted);font-size:12.5px;letter-spacing:.04em;margin-bottom:26px}

h2{font-family:'Montserrat',sans-serif;font-weight:700;font-size:clamp(16px,3.4vw,21px);
  line-height:1.22;letter-spacing:-.01em;margin:36px 0 12px;color:var(--ink);
  padding-left:14px;border-left:3px solid var(--gold);}
h3{font-family:'Montserrat',sans-serif;font-weight:700;font-size:15.5px;margin:22px 0 8px;color:var(--gold-2)}
p,li{font-size:14.5px;color:var(--soft);margin-bottom:10px}
b{color:var(--ink);font-weight:600}
ul,ol{padding-left:20px;margin-bottom:12px}
li{margin-bottom:6px}
a{color:var(--gold-2);text-decoration:none;border-bottom:1px solid rgba(201,162,75,.35)}
a:hover{color:#fff;border-color:var(--gold)}

/* карточка реквизитов */
.req{background:linear-gradient(160deg,rgba(201,162,75,.1),rgba(201,162,75,.02));
  border:1px solid var(--line);border-radius:16px;padding:18px 20px;margin:10px 0 6px}
.req div{font-size:14px;margin-bottom:8px;color:var(--soft)}
.req div:last-child{margin-bottom:0}
.req b{color:var(--ink)}

/* таблицы со скроллом на мобиле */
.tw{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:12px 0;
  border:1px solid var(--line);border-radius:14px}
table{width:100%;border-collapse:collapse;font-size:13.8px;min-width:420px}
th,td{border-bottom:1px solid var(--line);border-right:1px solid var(--line);
  padding:11px 14px;text-align:left;vertical-align:top;color:var(--soft)}
tr:last-child th,tr:last-child td{border-bottom:none}
th:last-child,td:last-child{border-right:none}
th{background:rgba(201,162,75,.09);font-weight:700;color:var(--ink)}

/* инфо-плитки (страница «Информация») */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:16px 0}
.tile{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px 18px}
.tile .ic{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;
  background:rgba(201,162,75,.1);color:var(--gold-2);border:1px solid var(--line);margin-bottom:12px}
.tile .ic svg{width:20px;height:20px}
.tile h3{margin:0 0 5px;color:var(--ink)}
.tile p{font-size:13px;color:var(--muted);margin:0}

.stats2{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}
.stat{flex:1 1 160px;border:1px solid var(--line);border-radius:14px;padding:14px 16px;
  background:linear-gradient(160deg,rgba(201,162,75,.12),rgba(201,162,75,.03))}
.stat .v{display:block;font-family:'Montserrat',sans-serif;font-weight:900;font-size:clamp(17px,4vw,22px);
  letter-spacing:-.02em;line-height:1.1;
  background:linear-gradient(100deg,var(--gold),var(--gold-2) 60%,#fff8e6);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.stat .l{display:block;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-top:6px;font-weight:600}

.geo{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.geo span{font-size:13px;color:var(--soft);border:1px solid var(--line);border-radius:100px;
  padding:8px 15px;background:rgba(201,162,75,.06)}

/* кнопки соцсетей */
.actions{display:flex;flex-direction:column;gap:10px;margin:22px 0 8px}
@media(min-width:560px){.actions{flex-direction:row}}
.btn{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;border:none;
  font-family:inherit;font-weight:600;font-size:15px;padding:15px 24px;border-radius:100px;cursor:pointer;
  -webkit-tap-highlight-color:transparent;transition:transform .2s,filter .2s}
.btn:active{transform:scale(.98)}
.btn svg{width:20px;height:20px;flex:0 0 auto}
.btn--tg{color:#fff;background:linear-gradient(135deg,#2AABEE,#229ED9)}
.btn--max{color:#fff;background:linear-gradient(120deg,#00C2FF 0%,#1591FF 42%,#8419FF 100%)}
.btn:hover{filter:brightness(1.08)}

.note{background:rgba(201,162,75,.07);border-left:3px solid var(--gold);border-radius:10px;
  padding:12px 16px;font-size:13.5px;color:var(--soft);margin:16px 0}

.docfoot{margin-top:46px;padding-top:20px;border-top:1px solid var(--line);
  color:var(--muted);font-size:12.5px;line-height:1.7}
.docfoot a{color:var(--muted)}
.docfoot .links{margin-bottom:8px}
.docfoot .links a{color:var(--gold-2);margin-right:16px}

@media (max-width:560px){
  .wrap{padding-bottom:56px}
  h2{margin-top:28px}
  .back{padding:7px 13px;font-size:12.5px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
