/*
Theme Name: BrosGate Showcase
Theme URI: https://brosgate.ru
Author: BrosGate.ru
Description: Собственная тема BrosGate.ru — витрина сервисов, разработана с нуля.
Version: 1.0
Text Domain: brosgate
*/

@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/golos-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/golos-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/golos-500-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/golos-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/golos-700-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/golos-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122; }

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Golos Text', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; display: flex; flex-direction: column; min-height: 100vh; }
.site-header, .site-footer { flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; cursor: pointer; }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; flex-shrink: 0; }

.c2 {
  --page:#F4F4F1; --surf:#FFFFFF; --ink:#14171C; --soft:#5B6069; --line:#E8E8E2;
  --accent:#2547D6; --on-accent:#FFFFFF; --accent-bg:#E6ECFB;
  --lime:#4F8A2E; --lime-bg:#E4F0D8;
  --coral:#D2492E; --coral-bg:#FBE3DC;
  background: var(--page); color: var(--ink);
  font-family: 'Golos Text', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 40px 24px;
  flex: 1 0 auto;
}
.c2 .brand { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.c2 .brand .dot { color: var(--accent); }
.c2 .sheet { max-width: 1160px; margin: 0 auto; background: var(--surf); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }

.c2 .band { background: var(--accent-bg); padding: 28px 40px 32px; }
.c2 .top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.c2 .nav { display: flex; gap: 18px; font-size: 13px; color: var(--ink); opacity: 0.75; align-items: center; }
.c2 .btn-login { padding: 8px 16px; border-radius: 8px; font-weight: 500; font-size: 13px; border: 1px solid rgba(37,71,214,0.35); background: var(--surf); color: var(--accent); }
.c2 .band-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.c2 .band-copy { flex: 1; min-width: 0; }
.c2 h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; margin: 0 0 10px; max-width: 20ch; color: #1B2C6E; }
.c2 .lead { font-size: 15px; color: #33448E; margin: 0 0 18px; max-width: 44ch; }
.c2 .search { display: flex; align-items: center; gap: 10px; background: var(--surf); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; max-width: 380px; }
.c2 .search input { border: none; outline: none; background: none; font-size: 13.5px; width: 100%; color: var(--ink); }
.c2 .search input::placeholder { color: var(--soft); }
.c2 .band-stats { display: flex; flex-direction: column; gap: 8px; background: var(--surf); border: 1px solid rgba(37,71,214,0.16); border-radius: 12px; padding: 14px 18px; flex-shrink: 0; min-width: 168px; }
.c2 .band-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.c2 .band-stat:not(:last-child) { padding-bottom: 8px; border-bottom: 0.5px solid var(--line); }
.c2 .band-stat .num { font-size: 17px; font-weight: 700; color: #1B2C6E; font-variant-numeric: tabular-nums; }
.c2 .band-stat .lbl { font-size: 11.5px; color: #33448E; }
@media (max-width: 560px) { .c2 .band-inner { flex-direction: column; } .c2 .band-stats { width: 100%; flex-direction: row; justify-content: space-between; } .c2 .band-stat { flex-direction: column; align-items: flex-start; gap: 2px; border-bottom: none !important; padding-bottom: 0 !important; } }

.c2 .section { padding: 30px 40px; border-top: 0.5px solid var(--line); }
.c2 .section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.c2 .section-head h2 { font-size: 15px; font-weight: 700; margin: 0; }
.c2 .section-head .hint { font-size: 12px; color: var(--soft); }

.c2 .featured { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.c2 .featured .logo { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; flex-shrink: 0; background: var(--accent); color: var(--on-accent); }
.c2 .featured-body { flex: 1; min-width: 0; }
.c2 .featured h3 { font-size: 16px; font-weight: 500; margin: 0 0 3px; display: inline; }
.c2 .featured p { font-size: 12.5px; color: var(--soft); margin: 6px 0; line-height: 1.5; }
.c2 .tag-pick { font-size: 10.5px; padding: 2px 8px; border-radius: 999px; background: var(--lime-bg); color: var(--lime); font-weight: 500; margin-left: 8px; }
.c2 .meta-row { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--soft); flex-wrap: wrap; }
.c2 .meta-row .price { color: var(--ink); font-weight: 500; }

.c2 .cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.c2 .cat { border-radius: 10px; padding: 12px; border: 1px solid var(--line); text-align: center; }
.c2 .cat .icn { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.c2 .cat .name { font-size: 12px; font-weight: 500; }
.c2 .cat .count { font-size: 10.5px; color: var(--soft); }

.c2 .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.c2 .card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.c2 .card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.c2 .logo-sm { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.c2 .card h3 { font-size: 13.5px; font-weight: 500; margin: 0; }
.c2 .card .rating { font-size: 11px; color: var(--soft); }
.c2 .card p { font-size: 12px; color: var(--soft); line-height: 1.5; margin: 0 0 10px; }
.c2 .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.c2 .price { font-size: 11.5px; color: var(--ink); font-weight: 500; }
.c2 .badge { font-size: 10px; padding: 3px 8px; border-radius: 999px; background: var(--coral-bg); color: var(--coral); font-weight: 500; white-space: nowrap; }

.site-footer { background: #14171C; }
.site-footer .foot-main { max-width: 1160px; margin: 0 auto; padding: 32px 40px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.site-footer .foot-brand .brand { display: block; margin-bottom: 8px; color: #F3F4F6; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.site-footer .foot-brand .brand .dot { color: #8FA6FF; }
.site-footer .foot-brand p { font-size: 12.5px; color: #9BA0AA; line-height: 1.55; margin: 0; max-width: 32ch; }
.site-footer .foot-col h4 { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #767B85; font-weight: 500; margin: 0 0 12px; }
.site-footer .foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer .foot-col a { font-size: 13px; color: #D3D5DA; }
.site-footer .foot-col a:hover { color: #8FA6FF; }
.site-footer .foot-bottom { max-width: 1160px; margin: 0 auto; padding: 16px 40px; border-top: 0.5px solid rgba(255,255,255,0.09); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #767B85; flex-wrap: wrap; gap: 8px; }
.site-footer .made-in { display: flex; align-items: center; gap: 7px; }
.site-footer .flag { width: 16px; height: 11px; border-radius: 2px; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 0.5px rgba(255,255,255,0.15); }
.site-footer .flag span { display: block; height: 33.33%; }
@media (max-width: 560px) {
  .site-footer .foot-main { grid-template-columns: 1fr; }
}
.c2 .made-in { display: flex; align-items: center; gap: 7px; color: #9BA0AA; }
.c2 .flag { width: 16px; height: 11px; border-radius: 2px; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 0.5px rgba(255,255,255,0.15); }
.c2 .flag span { display: block; height: 33.33%; }

@media (max-width: 860px) {
  .c2 .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .c2 .foot-main { grid-template-columns: 1fr; }
  .c2 .band, .c2 .section, .c2 .foot-main, .c2 .foot-bottom { padding-left: 22px; padding-right: 22px; }
}
@media (max-width: 460px) {
  .c2 .cats { grid-template-columns: repeat(2, 1fr); }
  .c2 .cards { grid-template-columns: 1fr; }
}

/* shared site header (all pages) */
.site-header { background: #FFFFFF; border-bottom: 0.5px solid #E8E8E2; }
.site-header-inner { max-width: 1160px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 28px; }
.site-header .brand { display: flex; align-items: center; gap: 10px; }
.site-header .brand-mark { width: 30px; height: 30px; color: #2547D6; flex-shrink: 0; }
.site-header .brand-word { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: #14171C; }
.site-header .brand .dot { color: #2547D6; }
.site-header .nav { display: flex; align-items: center; gap: 20px; font-size: 13.5px; }
.site-header .nav a { color: #5B6069; }
.site-header .nav a:hover { color: #14171C; }
.site-header .header-spacer { flex: 1; }
.site-header .header-pill { font-size: 12px; color: #5B6069; background: #F4F4F1; border: 1px solid #E8E8E2; border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.site-header .header-pill b { color: #14171C; font-weight: 500; }
.site-header .header-pill:hover { color: #14171C; }
.site-header .header-login { padding: 9px 18px; border-radius: 8px; font-weight: 500; font-size: 13.5px; border: none; background: #2547D6; color: #FFFFFF; }
.site-header .header-login:hover { background: #1D39B0; }
@media (max-width: 640px) {
  .site-header .nav { display: none; }
  .site-header .header-pill { display: none; }
}

/* shared slim footer (inner pages) */

/* generic page template — app shell with sidebar (cabinet, service pages, catalogue) */
.c2 .app-grid { display: flex; align-items: stretch; }
.c2 .app-side { width: 220px; flex-shrink: 0; border-right: 0.5px solid var(--line); padding: 28px 20px; }
.c2 .app-side nav { display: flex; flex-direction: column; gap: 2px; }
.c2 .app-side nav a { font-size: 13.5px; color: var(--soft); padding: 9px 12px; border-radius: 8px; }
.c2 .app-side nav a:hover { background: var(--page); color: var(--ink); }
.c2 .app-side nav a.on { background: var(--accent-bg); color: var(--accent); font-weight: 500; }
.c2 .app-content { flex: 1; min-width: 0; padding: 40px; }
.c2 .app-content .page-title { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 20px; color: #1B2C6E; }
.c2 .app-content .page-content { font-size: 15px; line-height: 1.7; }
.c2 .app-content .page-content a { color: var(--accent); text-decoration: underline; }
.c2 .app-content .page-content img { max-width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 700px) {
  .c2 .app-grid { flex-direction: column; }
  .c2 .app-side { width: 100%; border-right: none; border-bottom: 0.5px solid var(--line); padding: 16px 20px; }
  .c2 .app-side nav { flex-direction: row; flex-wrap: wrap; }
  .c2 .app-content { padding: 24px; }
}
