* {
  box-sizing: border-box;
}

:root {
  --yb-gold: #FFB80C;
  --yb-gold-deep: #D89000;
  --yb-black: #101010;
  --yb-panel: #303030;
  --yb-panel-dark: #1E1E1E;
  --yb-line: #444444;
  --yb-text: #FFFFFF;
  --yb-muted: #DCDCDC;
}

html,
body {
  margin: 0;
  min-height: 100vh;
  background: var(--yb-black) !important;
  color: var(--yb-text) !important;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 5px clamp(16px, 5vw, 72px);
  background: var(--yb-gold) !important;
  color: var(--yb-panel-dark) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.logo {
  display: block;
  width: 75px;
  height: auto;
}

.nav-spacer {
  width: 75px;
  flex: 0 0 auto;
}

.site-title,
.nav-title {
  margin: 0;
  color: var(--yb-panel-dark) !important;
  font-size: clamp(14px, 2.2vw, 18px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

main,
.hero,
.content,
.official-description,
.faq {
  color: var(--yb-text) !important;
}

.visual,
.merged-carousel,
.merged-slide,
.merged-slide img {
  background: var(--yb-black) !important;
}

.visual img {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: center;
}

.visual img,
.merged-carousel {
  box-shadow: none !important;
}

.content {
  margin: 30px auto 38px;
  line-height: 1.78;
}

h1,
.official-address,
.faq-title,
.content h1 {
  margin: 0;
  color: var(--yb-gold) !important;
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.15;
  text-align: center;
}

.lead {
  margin: 16px auto 0;
  max-width: 820px;
  font-size: clamp(13px, 1.9vw, 16px);
  font-weight: 700;
  text-align: center;
}

.lead,
.entry-summary {
  color: var(--yb-gold) !important;
}

.section-copy,
.responsible-note,
p,
.faq-answer,
.official-description p {
  color: var(--yb-muted) !important;
}

.keyword-nav,
.navlinks,
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 0;
}

.link-grid,
.map-list,
.service-grid,
.trust-grid {
  display: grid;
  gap: 12px;
}

.link-grid,
.map-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.section-block,
.content,
.official-description,
.faq {
  width: min(1245px, calc(100% - 40px)) !important;
}

.section-title,
.faq-title {
  margin: 0 0 28px !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid var(--yb-line) !important;
  color: var(--yb-gold) !important;
  text-align: left !important;
  line-height: 1.3 !important;
}

.section-title::before,
.faq-title::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 18px;
  margin-right: 12px;
  vertical-align: -2px;
  border-radius: 2px;
  background: var(--yb-gold);
}

.keyword-link,
.keyword-nav a,
.navlinks a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--yb-line) !important;
  border-radius: 8px !important;
  background: var(--yb-panel) !important;
  color: var(--yb-text) !important;
  font-weight: 800;
  line-height: 1.25;
}

.keyword-link:hover,
.keyword-nav a:hover,
.navlinks a:hover {
  color: var(--yb-gold) !important;
  background: var(--yb-panel-dark) !important;
}

.address-button,
.actions a,
body main a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--yb-gold) !important;
  border-radius: 8px !important;
  background: var(--yb-gold) !important;
  color: var(--yb-panel-dark) !important;
  font-weight: 800;
  box-shadow: none !important;
  text-shadow: none !important;
}

.address-button:hover,
.actions a:hover {
  background: transparent !important;
  color: var(--yb-gold) !important;
}

.service-card,
.trust-item,
.link-grid a,
.map-list a,
.copy-box {
  display: block;
  min-height: 76px;
  overflow: hidden;
  padding: 13px 14px;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--yb-panel) !important;
  color: var(--yb-text) !important;
  box-shadow: none !important;
}

.service-card strong,
.trust-item strong,
.link-grid strong,
.map-list strong {
  display: block !important;
  margin: -13px -14px 12px !important;
  padding: 12px 14px !important;
  background: var(--yb-gold) !important;
  color: var(--yb-panel-dark) !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

.service-card span,
.trust-item span,
.link-grid span,
.map-list span,
.copy-box {
  color: var(--yb-muted) !important;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.6;
}

.promo-section {
  width: min(1245px, calc(100% - 40px)) !important;
}

.promo-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 44px !important;
  align-items: start !important;
}

.promo-card {
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: var(--yb-text) !important;
  box-shadow: none !important;
}

.promo-card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  background: transparent !important;
}

.promo-body {
  display: block !important;
  min-height: 114px !important;
  padding: 14px 10px !important;
  background: var(--yb-panel) !important;
  color: var(--yb-text) !important;
}

.promo-body strong {
  display: -webkit-box !important;
  margin: 0 0 20px !important;
  overflow: hidden !important;
  color: var(--yb-text) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 19px !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.promo-body > span {
  display: -webkit-box !important;
  overflow: hidden !important;
  color: var(--yb-muted) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 17px !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.promo-card:hover .promo-body {
  background: var(--yb-panel-dark) !important;
}

.content > h2,
.description-heading {
  margin: 28px 0 0 !important;
  padding: 12px 14px !important;
  background: var(--yb-gold) !important;
  color: var(--yb-panel-dark) !important;
  font-size: clamp(16px, 2.2vw, 20px) !important;
  line-height: 1.35 !important;
}

.content > p:not(.lead):not(.note),
.official-description p,
.faq-list > div {
  margin: 0 0 14px !important;
  padding: 14px !important;
  background: var(--yb-panel) !important;
  color: var(--yb-muted) !important;
}

.official-description a,
.content a:not(.actions a):not(.navlinks a):not(.keyword-nav a),
.faq-question {
  color: var(--yb-gold) !important;
}

.note,
.responsible-note {
  background: transparent !important;
  color: var(--yb-muted) !important;
}

body > main {
  background: var(--yb-black) !important;
}

body > main > section.content,
body > main > .content {
  padding-bottom: 18px;
}

.fixed-bottom-image {
  background: var(--yb-black) !important;
}

.official-address,
.hero > .entry-summary,
.keyword-links .keyword-link {
  color: var(--yb-gold) !important;
}

.keyword-links .keyword-link {
  border-color: rgba(255, 184, 12, 0.58) !important;
}

.keyword-links .keyword-link:hover {
  background: var(--yb-gold) !important;
  color: var(--yb-panel-dark) !important;
}

@media (max-width: 980px) {
  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }
}

@media (max-width: 640px) {
  .logo,
  .nav-spacer {
    width: 70px;
  }

  .visual img {
    max-height: 250px;
  }

  .section-block,
  .content,
  .official-description,
  .faq,
  .promo-section {
    width: min(100% - 28px, 1245px) !important;
  }

  .promo-grid,
  .service-grid,
  .trust-grid,
  .link-grid,
  .map-list {
    grid-template-columns: 1fr !important;
  }

  .address-buttons {
    grid-template-columns: 1fr !important;
  }

  .keyword-nav a,
  .navlinks a,
  .actions a {
    flex: 1 1 150px;
  }
}
