:root {
  --ac56-red: #dc2626;
  --ac56-red-dark: #b91c1c;
  --ac56-dark: #0a0a0a;
  --ac56-text: #171717;
  --ac56-muted: #525252;
  --ac56-border: #e5e5e5;
  --ac56-light: #fafafa;
  --ac56-radius: 1.5rem;
  --ac56-radius-lg: 2rem;
  --ac56-shadow: 0 12px 35px rgba(0,0,0,.07);
  --ac56-font: 'Franklin Gothic Demi','Franklin Gothic Medium','Arial Narrow',Arial,Helvetica,sans-serif;
}

body {
  font-family: var(--ac56-font);
  color: var(--ac56-text);
  background: #fff;
}

html { scroll-behavior: smooth; }

.ac56-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--ac56-border);
  backdrop-filter: blur(12px);
}

.ac56-header-inner {
  min-height: 72px;
  gap: 1rem;
}

.ac56-brand { gap: .8rem; }

.ac56-logo-mark {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #dc2626;
  color: #ffffff;
}

.ac56-logo-mark svg {
  width: 44px;
  height: 44px;
  display: block;
  transform: rotate(0deg);
}

.ac56-logo-mark:before,
.ac56-texture-red:before,
.ac56-photo-red:before,
.ac56-sto-card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .6;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.143) 0 2px, transparent 2px 66px),
    repeating-linear-gradient(135deg, transparent 0 132px, rgba(80,0,0,.088) 132px 146px, transparent 146px 264px),
    radial-gradient(circle at 16% 20%, rgba(255,255,255,.18), transparent 26%),
    radial-gradient(circle at 82% 72%, rgba(255,255,255,.18), transparent 24%);
  background-size: 300px 300px, 540px 540px, 820px 820px, 900px 900px;
}

.ac56-texture-dark:before,
.ac56-photo-dark:before,
.ac56-site-footer:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .6;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.12) 0 2px, transparent 2px 66px),
    repeating-linear-gradient(135deg, transparent 0 132px, rgba(180,180,180,.13) 132px 146px, transparent 146px 264px),
    radial-gradient(circle at 16% 20%, rgba(255,255,255,.075), transparent 26%),
    radial-gradient(circle at 82% 72%, rgba(255,255,255,.075), transparent 24%);
  background-size: 300px 300px, 540px 540px, 820px 820px, 900px 900px;
}

.ac56-texture-red,
.ac56-texture-dark,
.ac56-photo-red,
.ac56-photo-dark,
.ac56-site-footer,
.ac56-sto-card,
.ac56-logo-mark {
  position: relative;
  overflow: hidden;
}

.ac56-texture-red > *,
.ac56-texture-dark > *,
.ac56-photo-red > *,
.ac56-photo-dark > *,
.ac56-site-footer > *,
.ac56-sto-card > *,
.ac56-logo-mark > * {
  position: relative;
  z-index: 1;
}

.ac56-site-title a,
.ac56-footer-title a {
  text-decoration: none;
  color: inherit;
}

.ac56-site-title,
.ac56-footer-title {
  margin: 0;
  font-weight: 900;
  line-height: 1.05;
}

.ac56-site-tagline,
.ac56-footer-tagline {
  margin: .15rem 0 0;
  color: var(--ac56-muted);
  font-size: .78rem;
}

.ac56-main-nav a { font-weight: 800; }
.ac56-main-nav a:hover { color: var(--ac56-red); }
.ac56-header-actions { gap: .8rem; }
.ac56-header-meta { margin: 0; text-align: right; color: var(--ac56-muted); font-size: .78rem; line-height: 1.45; }

.wp-block-button__link {
  border-radius: .85rem;
  padding: .85rem 1.25rem;
  font-weight: 900;
  text-decoration: none;
}

.ac56-button-primary .wp-block-button__link,
.ac56-current .ac56-button-primary .wp-block-button__link {
  background: var(--ac56-red);
  color: #fff;
}
.ac56-button-primary .wp-block-button__link:hover { background: var(--ac56-red-dark); }
.ac56-button-dark .wp-block-button__link { background: var(--ac56-dark); color: #fff; }
.ac56-button-dark .wp-block-button__link:hover { background: #262626; }
.ac56-button-secondary .wp-block-button__link { background: #fff; color: var(--ac56-text); border: 1px solid var(--ac56-border); }
.ac56-button-secondary .wp-block-button__link:hover { background: #fff5f5; border-color: #fecaca; }
.ac56-button-light .wp-block-button__link { background: #fff; color: var(--ac56-red-dark); }
.ac56-button-light .wp-block-button__link:hover { background: #fff5f5; }

.ac56-hero {
  background: var(--ac56-red);
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 1rem;
}

.ac56-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,.16), transparent 45%, rgba(0,0,0,.1));
  pointer-events: none;
}

.ac56-hero > * { position: relative; z-index: 1; }
.ac56-hero-grid { gap: clamp(2rem, 5vw, 4rem); }

.ac56-badge {
  display: inline-flex;
  background: #fff;
  color: var(--ac56-red-dark);
  border-radius: 999px;
  padding: .55rem .9rem;
  font-size: .9rem;
  font-weight: 900;
  margin: 0 0 1.35rem;
}

.ac56-hero-title {
  max-width: 780px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.04em;
  text-transform: uppercase;
  font-weight: 900;
  color: #fff;
  margin: 0;
}

.ac56-hero-subtitle {
  max-width: 720px;
  color: rgba(255,255,255,.9);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  margin-top: 1.5rem;
}

.ac56-hero-facts { gap: .8rem; margin-top: 1.5rem; }
.ac56-hero-facts .wp-block-column {
  background: rgba(255,255,255,.95);
  color: var(--ac56-text);
  border-radius: 1rem;
  padding: 1rem;
}
.ac56-hero-facts p { margin: 0; line-height: 1.5; }
.ac56-hero-buttons { margin-top: 1.75rem; gap: .75rem; }

.ac56-trust-row { padding: 3rem 1rem; }
.ac56-trust-grid { gap: 1rem; }
.ac56-info-pill {
  height: 100%;
  background: #fff;
  border: 1px solid var(--ac56-border);
  border-radius: var(--ac56-radius);
  padding: 1.25rem;
  box-shadow: var(--ac56-shadow);
  gap: 1rem;
}
.ac56-mini-icon { width: 48px; height: 48px; color: var(--ac56-red); flex: 0 0 auto; }
.ac56-info-title { margin: 0; font-weight: 900; color: var(--ac56-text); }
.ac56-info-text { margin: .3rem 0 0; color: var(--ac56-muted); font-size: .92rem; }

.ac56-section { padding: clamp(3.5rem, 8vw, 5rem) 1rem; }
.ac56-section-light { background: var(--ac56-light); }
.ac56-section-head { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; margin-bottom: 2rem; }
.ac56-eyebrow { color: var(--ac56-red); font-size: .82rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 900; margin: 0 0 .7rem; }
.ac56-eyebrow-light { color: rgba(255,255,255,.78); }
.ac56-section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.05; letter-spacing: -.03em; margin: 0; }
.ac56-section-text { color: var(--ac56-muted); line-height: 1.7; margin-top: 1rem; }
.ac56-left { text-align: left; margin-left: 0; margin-right: 0; }
.ac56-title-light { color: #fff; }
.ac56-text-light { color: rgba(255,255,255,.76); }

.ac56-category-grid { gap: .9rem; }
.ac56-category-card {
  min-height: 170px;
  background: #fff;
  border: 1px solid var(--ac56-border);
  border-radius: 1.1rem;
  padding: 1.3rem 1rem;
  text-align: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.04);
}
.ac56-category-card:hover { border-color: #fecaca; }
.ac56-icon { color: var(--ac56-red); display: block; margin: 0 auto .8rem; }
.ac56-icon-lg { width: 56px; height: 56px; }
.ac56-icon-task { width: 42px; height: 42px; margin: 0; }
.ac56-card-title { margin: 0; font-size: .95rem; font-weight: 900; line-height: 1.35; }

.ac56-how-grid { gap: clamp(2rem, 4vw, 3rem); }
.ac56-step-grid { gap: 1rem; }
.ac56-step {
  background: #fff;
  border: 1px solid var(--ac56-border);
  border-radius: var(--ac56-radius);
  padding: 1.35rem;
  box-shadow: var(--ac56-shadow);
  color: var(--ac56-muted);
  line-height: 1.55;
}
.ac56-step strong {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: .9rem;
  background: var(--ac56-red);
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.ac56-current {
  position: relative;
  background: var(--ac56-dark);
  color: #fff;
}
.ac56-current > * { position: relative; z-index: 1; }
.ac56-current-grid { gap: 1.25rem; }
.ac56-current-card {
  overflow: hidden;
  background: #fff;
  color: var(--ac56-text);
  border-radius: var(--ac56-radius-lg);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 42px rgba(0,0,0,.22);
}
.ac56-current-image img {
  width: 100%;
  height: 230px !important;
  object-fit: cover;
  display: block;
}
.ac56-current-title,
.ac56-current-excerpt,
.ac56-current-card .wp-block-buttons { padding-left: 1.4rem; padding-right: 1.4rem; }
.ac56-current-title { margin-top: 1.4rem; font-size: 1.25rem; }
.ac56-current-title a { color: var(--ac56-text); text-decoration: none; }
.ac56-current-title a:hover { color: var(--ac56-red); }
.ac56-current-excerpt { color: var(--ac56-muted); min-height: 3.5rem; }
.ac56-current-card .wp-block-buttons { padding-bottom: 1.4rem; }
.ac56-query-empty { color: rgba(255,255,255,.8); text-align: center; }

.ac56-tasks-sto-grid { gap: 2rem; align-items: stretch; }
.ac56-task-grid { gap: 1rem; }
.ac56-task-card {
  background: #fff;
  border: 1px solid var(--ac56-border);
  border-radius: var(--ac56-radius);
  padding: 1rem 1.15rem;
  box-shadow: var(--ac56-shadow);
  gap: 1rem;
}
.ac56-task-title { margin: 0; font-weight: 900; }
.ac56-sto-card {
  min-height: 100%;
  background: var(--ac56-red);
  color: #fff;
  border-radius: var(--ac56-radius-lg);
  padding: clamp(2rem, 4vw, 2.7rem);
}
.ac56-sto-list { gap: .8rem; margin-top: 1.25rem; }
.ac56-sto-list p {
  background: rgba(255,255,255,.95);
  color: var(--ac56-text);
  border-radius: 1rem;
  padding: 1rem;
  margin: 0;
  font-weight: 800;
}
.ac56-sto-note { color: #fff; }

.ac56-photo-grid { gap: 1.25rem; }
.ac56-photo-placeholder,
.ac56-map-placeholder {
  min-height: 230px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: var(--ac56-radius-lg);
  border: 1px solid var(--ac56-border);
  background: #f5f5f5;
  padding: 1.5rem;
  overflow: hidden;
}
.ac56-photo-tall { min-height: 420px; }
.ac56-photo-red { background: var(--ac56-red); color: #fff; border-color: var(--ac56-red-dark); }
.ac56-photo-dark { background: var(--ac56-dark); color: #fff; border-color: #262626; }
.ac56-photo-title { font-weight: 900; margin: 0; }
.ac56-photo-note { margin: .6rem 0 0; font-size: .9rem; color: currentColor; opacity: .75; }

.ac56-contacts-grid { gap: 2rem; }
.ac56-contact-list { gap: 1rem; margin: 1.5rem 0; }
.ac56-contact-card {
  background: #fff;
  border: 1px solid var(--ac56-border);
  border-radius: var(--ac56-radius);
  padding: 1.25rem;
  box-shadow: var(--ac56-shadow);
  line-height: 1.6;
}
.ac56-contact-card strong { color: var(--ac56-text); }
.ac56-map-placeholder { min-height: 420px; }
.ac56-map-title { margin: 0; font-weight: 900; font-size: 1.2rem; }
.ac56-map-text { max-width: 520px; color: var(--ac56-muted); line-height: 1.7; }
.ac56-map-links a { font-weight: 900; }

.ac56-site-footer {
  position: relative;
  background: var(--ac56-dark);
  color: #fff;
  padding: 2rem 1rem calc(2rem + env(safe-area-inset-bottom));
  border-top: 1px solid #262626;
}
.ac56-footer-inner { position: relative; z-index: 1; gap: 1rem; }
.ac56-footer-tagline,
.ac56-footer-meta { color: #d4d4d4; }
.ac56-footer-meta { margin: 0; font-size: .9rem; }

.ac56-mobile-cta { display: none; }

.ac56-page,
.ac56-single,
.ac56-archive {
  padding: 4rem 1rem;
}
.ac56-page-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.03em; }
.ac56-archive-card { border-bottom: 1px solid var(--ac56-border); padding: 1.5rem 0; }
.ac56-single-image img { border-radius: var(--ac56-radius-lg); }

@media (max-width: 1024px) {
  .ac56-header-actions { display: none !important; }
  .ac56-site-tagline { display: none; }
}

@media (max-width: 782px) {
  body { padding-bottom: 74px; }
  .ac56-hero { padding-top: 3.2rem; }
  .ac56-hero-title { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .ac56-hero-facts { display: grid; grid-template-columns: 1fr; }
  .ac56-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .ac56-site-header { position: sticky; }
  .ac56-main-nav { order: 3; width: 100%; }
  .ac56-footer-meta { text-align: left; }
  .ac56-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--ac56-border);
    box-shadow: 0 -10px 30px rgba(0,0,0,.08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .ac56-mobile-cta .wp-block-button { width: 100%; }
  .ac56-mobile-cta .wp-block-button__link {
    width: 100%;
    border-radius: 0;
    background: #fff;
    color: var(--ac56-text);
    padding: .9rem .5rem;
    font-size: .8rem;
  }
}

/* AC56: мобильная нижняя панель действий */
.ac56-mobile-cta {
  display: none !important;
}

@media (max-width: 781px) {
  body {
    padding-bottom: 76px;
  }

  .ac56-mobile-cta {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;

    margin: 0 !important;
    padding: 8px !important;

    background: #ffffff !important;
    border-top: 1px solid #e5e5e5 !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12) !important;
  }

  .ac56-mobile-cta .wp-block-button {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .ac56-mobile-cta .wp-block-button__link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 48px !important;
    padding: 10px 8px !important;

    border-radius: 12px !important;
    background: #171717 !important;
    color: #ffffff !important;

    font-weight: 900 !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
  }
}
