:root {
  --bc-ink: #101412;
  --bc-forest: #15342d;
  --bc-emerald: #126c63;
  --bc-brass: #b89152;
  --bc-brass-light: #dec78f;
  --bc-paper: #f6f3ec;
  --bc-line: rgba(184, 145, 82, 0.24);
  --bc-shadow-soft: 0 20px 54px rgba(16, 20, 18, 0.09);
  --bc-shadow-deep: 0 34px 90px rgba(16, 20, 18, 0.18);
}

::selection {
  color: #fff;
  background: var(--bc-emerald);
}

.bun-header {
  border-bottom-color: rgba(16, 20, 18, 0.08);
  box-shadow: 0 12px 38px rgba(16, 20, 18, 0.055);
}

.bun-header-bar {
  background: rgba(255, 255, 255, 0.965);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.bun-brand img {
  filter: drop-shadow(0 5px 12px rgba(16, 20, 18, 0.08));
}

.bun-consult-button,
.bun-mobile-consult {
  border: 1px solid rgba(122, 91, 40, 0.24) !important;
  background: linear-gradient(135deg, var(--bc-brass-light), var(--bc-brass)) !important;
  color: #18140d !important;
  box-shadow: 0 11px 26px rgba(119, 86, 35, 0.2) !important;
}

.bun-consult-button:hover,
.bun-mobile-consult:hover {
  background: linear-gradient(135deg, #ead9ad, #c49a55) !important;
  box-shadow: 0 14px 32px rgba(119, 86, 35, 0.26) !important;
}

.bun-mobile-contact-dock {
  gap: 9px;
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bun-contact-button {
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 16px 38px rgba(16, 20, 18, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.bun-contact-phone {
  background: linear-gradient(145deg, #1d7d6a, #0e594f);
}

.bun-conversion {
  background:
    radial-gradient(circle at 14% 12%, rgba(222, 199, 143, 0.2), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(18, 108, 99, 0.24), transparent 32%),
    linear-gradient(135deg, #101412 0%, #15211d 58%, #0e2923 100%);
}

.bun-conversion::before {
  position: absolute;
  inset: 0;
  border-block: 1px solid rgba(222, 199, 143, 0.2);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 96px);
  content: "";
  pointer-events: none;
}

.bun-conversion-copy p,
.bun-conversion-links a::after,
.bun-conversion-standard > header small {
  color: var(--bc-brass-light);
}

.bun-conversion-links a,
.bun-conversion-standard,
.bun-standard-grid article {
  border-color: rgba(222, 199, 143, 0.17);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.bun-conversion-phone {
  background: linear-gradient(135deg, #c9ac6c, #98733a) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

:is(
  .region-hero,
  .complex-hero,
  .complex-hub-hero,
  .sc-hero,
  .cc-hero,
  .seo-editorial-hero
) {
  border-bottom: 1px solid var(--bc-line);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

:is(
  .region-editorial-media,
  .complex-photo-grid figure,
  .sc-hero-media,
  .sc-case-card,
  .cc-hero-media,
  .cc-gallery figure,
  .seo-editorial-art
) {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: var(--bc-shadow-deep);
}

:is(
  .region-editorial-media,
  .complex-photo-grid figure,
  .sc-hero-media,
  .cc-hero-media,
  .cc-gallery figure,
  .seo-editorial-art
) img {
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 600ms ease;
}

:is(
  .region-editorial-media,
  .complex-photo-grid figure,
  .sc-hero-media,
  .cc-hero-media,
  .cc-gallery figure,
  .seo-editorial-art
):hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.018);
}

:is(
  .info-grid article,
  .service-detail-card,
  .content-link-grid a,
  .complex-strength-grid article,
  .complex-priority-list article,
  .sc-card,
  .sc-scenario-card,
  .cc-card,
  .cc-service-card,
  .cc-process-card,
  .seo-card,
  .price-card
) {
  border-color: var(--bc-line);
  border-radius: 18px;
  box-shadow: var(--bc-shadow-soft);
  transition:
    border-color 220ms ease,
    box-shadow 320ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

:is(
  .info-grid article,
  .service-detail-card,
  .content-link-grid a,
  .complex-strength-grid article,
  .complex-priority-list article,
  .sc-card,
  .sc-scenario-card,
  .cc-card,
  .cc-service-card,
  .cc-process-card,
  .seo-card,
  .price-card
):hover {
  border-color: rgba(184, 145, 82, 0.5);
  box-shadow: 0 26px 64px rgba(16, 20, 18, 0.13);
  transform: translateY(-3px);
}

:is(.region-button, .sc-btn, .cc-btn, .button) {
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(16, 20, 18, 0.12);
}

:is(.region-button, .sc-btn, .cc-btn, .button):focus-visible,
.bun-contact-button:focus-visible,
.bun-consult-button:focus-visible {
  outline: 3px solid rgba(222, 199, 143, 0.86);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .bun-mobile-contact-dock {
    right: 20px;
    bottom: 20px;
  }

  .bun-contact-button {
    width: 56px;
    height: 56px;
    min-height: 56px;
    grid-template-columns: 1fr;
    padding: 0;
    border-radius: 50%;
    place-items: center;
  }

  .bun-contact-button .bun-contact-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .bun-header-bar {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  :is(
    .region-editorial-media,
    .complex-photo-grid figure,
    .sc-hero-media,
    .cc-hero-media,
    .seo-editorial-art
  ) {
    border-radius: 14px;
    box-shadow: 0 20px 48px rgba(16, 20, 18, 0.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(
    .region-editorial-media,
    .complex-photo-grid figure,
    .sc-hero-media,
    .cc-hero-media,
    .cc-gallery figure,
    .seo-editorial-art
  ) img,
  :is(
    .info-grid article,
    .service-detail-card,
    .content-link-grid a,
    .complex-strength-grid article,
    .complex-priority-list article,
    .sc-card,
    .sc-scenario-card,
    .cc-card,
    .cc-service-card,
    .cc-process-card,
    .seo-card,
    .price-card
  ) {
    transition: none !important;
    transform: none !important;
  }
}
