:root {
  --sat-bg: #f4f1eb;
  --sat-bg-soft: #faf8f4;
  --sat-card: #ffffff;
  --sat-text: #151922;
  --sat-muted: #697282;
  --sat-dark: #061b35;
  --sat-dark-2: #0b2748;
  --sat-gold: #c9a35b;
  --sat-gold-2: #e2c47a;
  --sat-border: rgba(18, 28, 43, 0.10);
  --sat-shadow: 0 22px 60px rgba(10, 22, 40, 0.10);
  --sat-shadow-soft: 0 14px 40px rgba(10, 22, 40, 0.08);
  --sat-radius: 26px;
  --sat-radius-sm: 16px;
  --sat-container: 1270px;
  --sat-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sat-serif: var(--sat-font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(201, 163, 91, 0.13), transparent 30%),
    linear-gradient(180deg, #f7f4ee 0%, #f4f1eb 44%, #eef2f6 100%);
  color: var(--sat-text);
  font-family: var(--sat-font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .sat-header { top: 32px; }

a { color: inherit; text-decoration: none; }

a:hover { color: var(--sat-gold); }

img { max-width: 100%; height: auto; }

.screen-reader-text,
.sat-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sat-skip-link:focus {
  top: 16px;
  left: 16px;
  z-index: 99999;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--sat-dark);
  color: #fff;
}

.sat-container {
  width: min(var(--sat-container), calc(100% - 32px));
  margin-inline: auto;
}

.sat-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(6, 27, 53, 0.08);
  box-shadow: 0 10px 34px rgba(6, 27, 53, 0.06);
}

.sat-topline {
  background: linear-gradient(90deg, var(--sat-dark), var(--sat-dark-2));
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sat-topline__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sat-topline__right { color: var(--sat-gold-2); }

.sat-header__inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.sat-logo,
.sat-footer-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.sat-logo img {
  display: block;
  width: 310px;
  max-height: 62px;
  object-fit: contain;
}

.sat-logo .custom-logo {
  width: 310px;
  max-height: 62px;
  object-fit: contain;
}

.sat-nav { min-width: 0; }

.sat-menu,
.sat-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sat-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.sat-menu li { position: relative; }

.sat-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #1d2635;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: 0.18s ease;
}

.sat-menu a:hover,
.sat-menu .current-menu-item > a,
.sat-menu .current_page_item > a {
  background: rgba(201, 163, 91, 0.16);
  color: var(--sat-dark);
}

.sat-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 10px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--sat-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--sat-shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.18s ease;
}

.sat-menu li:hover > .sub-menu,
.sat-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sat-menu .sub-menu a {
  width: 100%;
  justify-content: flex-start;
  border-radius: 12px;
}

.sat-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.sat-phone {
  min-width: 176px;
  display: grid;
  gap: 1px;
  padding: 12px 16px;
  border: 1px solid rgba(201, 163, 91, 0.36);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 236, 0.92));
  box-shadow: 0 12px 26px rgba(201, 163, 91, 0.12);
}

.sat-phone__label {
  color: var(--sat-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sat-phone strong {
  color: var(--sat-dark);
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}

.sat-max {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 15px;
  border-radius: 18px;
  background: var(--sat-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(6, 27, 53, 0.18);
  transition: 0.18s ease;
}

.sat-max:hover {
  transform: translateY(-1px);
  background: var(--sat-dark-2);
  color: #fff;
}

.sat-max img { width: 22px; height: 22px; object-fit: contain; }

.sat-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--sat-border);
  border-radius: 16px;
  background: #fff;
  padding: 10px;
  cursor: pointer;
}

.sat-menu-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--sat-dark);
}

.sat-main {
  min-height: 46vh;
}

.sat-page-hero,
.sat-blog-hero__inner,
.sat-error-page {
  padding: 58px 0 28px;
}

.sat-blog-hero {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 27, 53, 0.96), rgba(11, 39, 72, 0.94)),
    radial-gradient(circle at 80% 12%, rgba(201, 163, 91, 0.45), transparent 35%);
  color: #fff;
  border-bottom: 1px solid rgba(201, 163, 91, 0.24);
}

.sat-blog-hero__inner { padding: 68px 0; }

.sat-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--sat-gold);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sat-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.sat-page-hero h1,
.sat-blog-hero h1,
.sat-error-page h1,
.sat-single__header h1 {
  margin: 0;
  color: var(--sat-dark);
  font-family: var(--sat-font);
  font-size: clamp(42px, 5vw, var(--sat-h1-desktop, 72px));
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.sat-blog-hero h1 { color: #fff; }

.sat-blog-hero p:not(.sat-kicker),
.sat-archive-description,
.sat-error-page p,
.sat-single__excerpt {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--sat-muted);
  font-size: 18px;
}

.sat-blog-hero p:not(.sat-kicker) { color: rgba(255, 255, 255, 0.78); }

.sat-content-area { padding: 28px 0 74px; }

.sat-page-content.sat-container {
  max-width: 970px;
  padding: 0 0 62px;
}

.sat-page-content--shortcode {
  padding: 0;
}

.sat-page-content.sat-container > *:first-child,
.sat-single__content > *:first-child { margin-top: 0; }

.sat-page-content h2,
.sat-single__content h2,
.sat-page-content h3,
.sat-single__content h3 {
  color: var(--sat-dark);
  font-family: var(--sat-font);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.sat-page-content h2,
.sat-single__content h2 {
  margin: 42px 0 16px;
  font-size: clamp(32px, 3vw, 46px);
}

.sat-page-content h3,
.sat-single__content h3 {
  margin: 30px 0 12px;
  font-size: clamp(25px, 2.2vw, 34px);
}

.sat-page-content p,
.sat-single__content p,
.sat-page-content li,
.sat-single__content li {
  color: #303848;
  font-size: 17px;
}

.sat-page-content a,
.sat-single__content a { color: var(--sat-dark-2); font-weight: 800; }

.sat-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.sat-post-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(6, 27, 53, 0.09);
  border-radius: var(--sat-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--sat-shadow-soft);
  transition: 0.2s ease;
}

.sat-post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sat-shadow);
}

.sat-post-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sat-dark), var(--sat-dark-2));
}

.sat-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.sat-post-card:hover .sat-post-card__thumb img { transform: scale(1.04); }

.sat-post-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--sat-font);
  font-size: 38px;
  font-weight: 700;
}

.sat-post-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.sat-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 12px;
  color: var(--sat-muted);
  font-size: 13px;
  font-weight: 800;
}

.sat-post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sat-post-meta span + span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--sat-gold);
}

.sat-post-card h2 {
  margin: 0 0 12px;
  color: var(--sat-dark);
  font-family: var(--sat-font);
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.sat-post-card p {
  margin: 0 0 18px;
  color: var(--sat-muted);
  font-size: 15px;
  line-height: 1.65;
}

.sat-read-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 8px;
  color: var(--sat-dark);
  font-size: 14px;
  font-weight: 900;
}

.sat-read-more::after { content: "→"; color: var(--sat-gold); }

.navigation.pagination {
  margin: 42px 0 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--sat-border);
  border-radius: 14px;
  background: #fff;
  color: var(--sat-dark);
  font-weight: 900;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--sat-dark);
  color: #fff;
}

.sat-single {
  padding: 62px 0 76px;
}

.sat-single__header {
  max-width: 900px;
  margin: 0 auto 28px;
}

.sat-back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--sat-muted);
  font-size: 14px;
  font-weight: 900;
}

.sat-single__thumb {
  overflow: hidden;
  margin: 32px auto;
  max-width: 1040px;
  border-radius: 30px;
  box-shadow: var(--sat-shadow);
}

.sat-single__thumb img {
  display: block;
  width: 100%;
}

.sat-single__content {
  max-width: 860px;
  margin: 0 auto;
  padding: 38px;
  border: 1px solid rgba(6, 27, 53, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--sat-shadow-soft);
}

.sat-single__content blockquote {
  margin: 34px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--sat-gold);
  border-radius: 18px;
  background: rgba(201, 163, 91, 0.10);
  color: var(--sat-dark);
  font-family: var(--sat-font);
  font-size: 26px;
  line-height: 1.25;
}

.sat-post-nav {
  max-width: 860px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sat-post-nav a {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 16px 18px;
  border: 1px solid var(--sat-border);
  border-radius: 18px;
  background: #fff;
  color: var(--sat-dark);
  font-weight: 900;
}

.sat-post-nav div:last-child a { justify-content: flex-end; text-align: right; }

.sat-search-form {
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 0 auto 28px;
  padding: 10px;
  border: 1px solid var(--sat-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sat-shadow-soft);
}

.sat-search-form input {
  width: 100%;
  min-height: 48px;
  border: 0;
  outline: none;
  padding: 0 14px;
  font: inherit;
}

.sat-search-form button,
.sat-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 0;
  border-radius: 16px;
  background: var(--sat-dark);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.sat-btn--secondary {
  background: #fff;
  color: var(--sat-dark);
  border: 1px solid var(--sat-border);
}

.sat-empty-state,
.sat-empty-front,
.sat-error-page {
  margin-block: 42px;
  padding: 44px;
  border: 1px solid var(--sat-border);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: var(--sat-shadow-soft);
  text-align: center;
}

.sat-empty-state h2,
.sat-empty-front h1,
.sat-error-page h1 {
  margin: 0 0 10px;
}

.sat-error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.sat-before-footer-contacts {
  position: relative;
  margin-top: 24px;
}

.sat-before-footer-contacts .as-wrap {
  margin-bottom: 0;
}

.sat-before-footer-contacts .as-section:last-child {
  margin-bottom: 0;
}

.sat-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(201, 163, 91, 0.22), transparent 25%),
    linear-gradient(135deg, #061b35 0%, #0b2748 55%, #07192f 100%);
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(201, 163, 91, 0.24);
}

.sat-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.42), transparent);
}

.sat-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) 0.75fr 0.7fr 0.95fr;
  gap: 36px;
  padding: 58px 0 42px;
}

.sat-footer-logo img,
.sat-footer-logo .custom-logo {
  width: 300px;
  max-height: 66px;
  object-fit: contain;
}

.sat-footer__brand p {
  max-width: 430px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.70);
}

.sat-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.sat-footer__badges span {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(201, 163, 91, 0.26);
  border-radius: 999px;
  color: var(--sat-gold-2);
  font-size: 12px;
  font-weight: 900;
}

.sat-footer__col h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--sat-font);
  font-size: 28px;
  line-height: 1;
}

.sat-footer-menu {
  display: grid;
  gap: 10px;
}

.sat-footer-menu a,
.sat-footer__contacts a,
.sat-footer__contacts span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
}

.sat-footer-menu a:hover,
.sat-footer__contacts a:hover { color: var(--sat-gold-2); }

.sat-footer__contacts {
  display: grid;
  align-content: start;
  gap: 10px;
}

.sat-footer__phone {
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 900 !important;
}

.sat-footer__max {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.sat-footer__max img { width: 22px; height: 22px; object-fit: contain; }

.sat-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.sat-footer__bottom-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.sat-footer__bottom a { color: rgba(255, 255, 255, 0.68); }
.sat-footer__bottom a:hover { color: var(--sat-gold-2); }

/* Мягкая стыковка с блоками плагина */
.as-wrap.as-landing,
.as-wrap.as-services-page,
.as-wrap.as-blog-all,
.as-wrap.as-reviews-all,
.as-wrap.as-review-form-page {
  --as-container: var(--sat-container);
}

.sat-page-content--shortcode .as-wrap {
  margin-top: 0;
}

@media (max-width: 1120px) {
  .sat-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .sat-menu-toggle { display: block; order: 3; }

  .sat-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    padding: 12px;
    border: 1px solid var(--sat-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--sat-shadow);
  }

  .sat-header.is-menu-open .sat-nav { display: block; }

  .sat-menu {
    display: grid;
    justify-content: stretch;
    gap: 4px;
  }

  .sat-menu a {
    width: 100%;
    justify-content: space-between;
    border-radius: 14px;
  }

  .sat-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
    background: transparent;
  }

  .sat-header-actions { grid-column: 1 / -1; justify-content: flex-start; }

  .sat-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .sat-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
  body.admin-bar .sat-header { top: 46px; }
}

@media (max-width: 700px) {
  .sat-container { width: min(var(--sat-container), calc(100% - 24px)); }

  .sat-topline { display: none; }

  .sat-header__inner {
    min-height: 74px;
    gap: 12px;
  }

  .sat-logo img,
  .sat-logo .custom-logo { width: 220px; max-height: 48px; }

  .sat-menu-toggle { width: 44px; height: 44px; }

  .sat-header-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
    padding-bottom: 12px;
  }

  .sat-phone { min-width: 0; padding: 10px 12px; }
  .sat-phone strong { font-size: 14px; }
  .sat-max { min-height: 44px; padding: 10px 12px; }
  .sat-max span { display: none; }

  .sat-page-hero,
  .sat-blog-hero__inner,
  .sat-error-page { padding: 36px 0 20px; }

  .sat-page-hero h1,
  .sat-blog-hero h1,
  .sat-error-page h1,
  .sat-single__header h1 {
    font-size: clamp(36px, 13vw, var(--sat-h1-mobile, 52px));
  }

  .sat-content-area { padding: 18px 0 52px; }

  .sat-post-grid { grid-template-columns: 1fr; gap: 16px; }

  .sat-post-card__body { padding: 20px; }
  .sat-post-card h2 { font-size: 27px; }

  .sat-single { padding: 38px 0 56px; }
  .sat-single__content { padding: 24px 18px; border-radius: 24px; }
  .sat-single__thumb { border-radius: 24px; }
  .sat-post-nav { grid-template-columns: 1fr; }
  .sat-post-nav div:last-child a { justify-content: flex-start; text-align: left; }

  .sat-search-form { grid-template-columns: 1fr; }

  .sat-footer__grid { grid-template-columns: 1fr; gap: 28px; padding: 42px 0 32px; }
  .sat-footer-logo img,
  .sat-footer-logo .custom-logo { width: 240px; }
  .sat-footer__bottom-inner { flex-direction: column; justify-content: center; text-align: center; padding: 16px 0; }

  .sat-error-actions { flex-direction: column; }
}

@media (max-width: 390px) {
  .sat-logo img,
  .sat-logo .custom-logo { width: 190px; }
}


/* =========================================
   v1.1: fixes for mobile header, blog width and thank-you page
   ========================================= */
.sat-header {
  position: relative;
  top: auto;
}

body.admin-bar .sat-header { top: auto !important; }

.sat-page-content.sat-container {
  max-width: var(--sat-container);
}

.single-post .sat-single__header,
.single-post .sat-single__content,
.single-post .sat-post-nav {
  max-width: var(--sat-container);
}

.single-post .sat-single__header {
  padding: 0 clamp(0px, 2vw, 22px);
}

.single-post .sat-single__thumb {
  width: 100%;
  max-width: var(--sat-container);
  max-height: 420px;
  border-radius: 28px;
}

.single-post .sat-single__thumb img {
  width: 100%;
  height: 420px;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

.single-post .sat-single__content {
  width: 100%;
  padding: 48px clamp(24px, 4.2vw, 62px);
}

.single-post .sat-single__content > * {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.single-post .sat-single__content > .alignwide,
.single-post .sat-single__content > .alignfull,
.single-post .sat-single__content > figure,
.single-post .sat-single__content > img,
.single-post .sat-single__content > .wp-block-image,
.single-post .sat-single__content > .wp-block-gallery {
  max-width: 100%;
}

.sat-thankyou {
  padding: clamp(42px, 7vw, 86px) 0 76px;
}

.sat-thankyou__card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: center;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid rgba(6, 27, 53, 0.09);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 12%, rgba(201, 163, 91, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,248,244,.92));
  box-shadow: var(--sat-shadow);
}

.sat-thankyou__content {
  position: relative;
  z-index: 1;
}

.sat-thankyou__content h1 {
  max-width: 840px;
  margin: 0;
  color: var(--sat-dark);
  font-family: var(--sat-font);
  font-size: clamp(42px, 5vw, 76px);
  line-height: .96;
  letter-spacing: -.04em;
}

.sat-thankyou__content p:not(.sat-kicker) {
  max-width: 720px;
  margin: 20px 0 0;
  color: #394253;
  font-size: 18px;
}

.sat-thankyou__steps {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.sat-thankyou__steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid rgba(6, 27, 53, 0.08);
  border-radius: 18px;
  background: rgba(255,255,255,.74);
  color: #1d2635;
  font-weight: 800;
}

.sat-thankyou__steps li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(201, 163, 91, 0.18);
  color: var(--sat-dark);
  font-size: 14px;
  font-weight: 900;
}

.sat-thankyou__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.sat-thankyou__visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 300px;
  border: 1px solid rgba(201, 163, 91, 0.28);
  border-radius: 30px;
  background: linear-gradient(135deg, #061b35, #0b2748);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.sat-thankyou__visual::before,
.sat-thankyou__visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.sat-thankyou__visual::before {
  inset: 22px;
  border: 1px solid rgba(201, 163, 91, .32);
}

.sat-thankyou__visual::after {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(201, 163, 91, .22), transparent 66%);
}

.sat-thankyou__visual img {
  position: relative;
  z-index: 2;
  width: 148px;
  height: 148px;
  object-fit: contain;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 22px 52px rgba(0,0,0,.22);
}

@media (max-width: 1120px) {
  .sat-menu-toggle { order: 0; }
  .sat-header__inner { position: relative; }
}

@media (max-width: 700px) {
  .sat-header {
    background: #fff;
    backdrop-filter: none;
    box-shadow: 0 10px 28px rgba(6, 27, 53, 0.06);
  }

  .sat-header__inner {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    gap: 10px 12px;
    padding: 14px 0 16px;
  }

  .sat-logo {
    grid-column: 1 / 2;
    grid-row: 1;
    min-width: 0;
  }

  .sat-logo img,
  .sat-logo .custom-logo {
    width: min(232px, 100%);
    max-height: 52px;
    object-position: left center;
  }

  .sat-menu-toggle {
    grid-column: 2 / 3;
    grid-row: 1;
    justify-self: end;
    order: 0;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(6, 27, 53, 0.08);
  }

  .sat-header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    padding-bottom: 0;
  }

  .sat-phone {
    min-width: 0;
    min-height: 54px;
    padding: 9px 15px;
    border-radius: 20px;
    box-shadow: none;
  }

  .sat-phone__label {
    font-size: 10px;
    letter-spacing: .12em;
  }

  .sat-phone strong {
    font-size: 17px;
  }

  .sat-max {
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
    justify-content: center;
    padding: 0;
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(6, 27, 53, 0.12);
  }

  .sat-max img {
    width: 27px;
    height: 27px;
  }

  .sat-nav {
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    z-index: 99;
    border-radius: 20px;
  }

  .single-post .sat-single { padding: 28px 0 52px; }

  .single-post .sat-single__thumb {
    max-height: 260px;
    margin: 22px auto;
    border-radius: 22px;
  }

  .single-post .sat-single__thumb img {
    height: 260px;
    max-height: 260px;
  }

  .single-post .sat-single__content {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .sat-thankyou { padding: 30px 0 52px; }

  .sat-thankyou__card {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 26px 18px;
    border-radius: 28px;
  }

  .sat-thankyou__content h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .sat-thankyou__content p:not(.sat-kicker) {
    font-size: 16px;
  }

  .sat-thankyou__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sat-thankyou__actions .sat-btn,
  .sat-thankyou__actions .sat-footer__max {
    width: 100%;
    justify-content: center;
  }

  .sat-thankyou__visual {
    min-height: 220px;
    order: -1;
  }

  .sat-thankyou__visual img {
    width: 116px;
    height: 116px;
  }
}

@media (max-width: 390px) {
  .sat-logo img,
  .sat-logo .custom-logo { width: min(208px, 100%); }
  .sat-phone strong { font-size: 16px; }
}

/* =========================================
   v1.2: настройки подвала, блог и защита стилей плагина
   ========================================= */
.sat-blog-hero h1,
.single-post .sat-single__header h1 {
  font-size: var(--sat-blog-h1-desktop, clamp(42px, 5vw, 72px));
}

.sat-post-form {
  max-width: var(--sat-container);
  margin: 34px auto 0;
}

.sat-post-form .as-wrap {
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
}

.sat-post-form .as-section {
  padding-left: 0;
  padding-right: 0;
}

.sat-related {
  padding: 0 0 76px;
}

.sat-related__head {
  margin: 0 0 24px;
}

.sat-related__head h2 {
  margin: 0;
  color: var(--sat-dark);
  font-family: var(--sat-font);
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.sat-related__head .sat-kicker {
  margin-bottom: 12px;
}

.sat-footer-logo__img {
  display: block;
  width: 300px;
  max-height: 78px;
  object-fit: contain;
}

.sat-header .sat-phone,
.sat-header .sat-phone:visited,
.sat-header .sat-phone:hover {
  color: var(--sat-dark) !important;
}

.sat-header .sat-phone strong {
  display: block;
  color: var(--sat-dark) !important;
}

.sat-header .sat-phone__label {
  color: var(--sat-muted) !important;
}

/* Страница с шорткодами: не даём теме перекрашивать блоки плагина */
.sat-page-content .as-wrap h1,
.sat-page-content .as-wrap h2,
.sat-page-content .as-wrap h3,
.sat-post-form .as-wrap h1,
.sat-post-form .as-wrap h2,
.sat-post-form .as-wrap h3,
.sat-before-footer-contacts .as-wrap h1,
.sat-before-footer-contacts .as-wrap h2,
.sat-before-footer-contacts .as-wrap h3 {
  font-family: inherit;
}

.sat-page-content .as-wrap .as-section-head h2,
.sat-page-content .as-wrap .as-about h2,
.sat-page-content .as-wrap .as-contacts h2,
.sat-page-content .as-wrap .as-service-form-intro h2,
.sat-post-form .as-wrap .as-section-head h2,
.sat-post-form .as-wrap .as-about h2,
.sat-post-form .as-wrap .as-contacts h2,
.sat-post-form .as-wrap .as-service-form-intro h2,
.sat-before-footer-contacts .as-wrap .as-section-head h2,
.sat-before-footer-contacts .as-wrap .as-about h2,
.sat-before-footer-contacts .as-wrap .as-contacts h2,
.sat-before-footer-contacts .as-wrap .as-service-form-intro h2 {
  color: var(--as-text);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 750;
}

.sat-page-content .as-wrap .as-section-head p,
.sat-page-content .as-wrap .as-muted,
.sat-page-content .as-wrap .as-section p,
.sat-post-form .as-wrap .as-section-head p,
.sat-post-form .as-wrap .as-muted,
.sat-post-form .as-wrap .as-section p,
.sat-before-footer-contacts .as-wrap .as-section-head p,
.sat-before-footer-contacts .as-wrap .as-muted,
.sat-before-footer-contacts .as-wrap .as-section p {
  color: var(--as-muted);
}

.sat-page-content .as-wrap .as-hero-card,
.sat-page-content .as-wrap .as-subscription,
.sat-post-form .as-wrap .as-hero-card,
.sat-post-form .as-wrap .as-subscription,
.sat-before-footer-contacts .as-wrap .as-hero-card,
.sat-before-footer-contacts .as-wrap .as-subscription {
  color: #fff;
}

.sat-page-content .as-wrap .as-hero-content h1,
.sat-page-content .as-wrap .as-subscription h2,
.sat-post-form .as-wrap .as-hero-content h1,
.sat-post-form .as-wrap .as-subscription h2,
.sat-before-footer-contacts .as-wrap .as-hero-content h1,
.sat-before-footer-contacts .as-wrap .as-subscription h2 {
  color: #fff;
}

.sat-page-content .as-wrap .as-hero-content .as-lead,
.sat-post-form .as-wrap .as-hero-content .as-lead,
.sat-before-footer-contacts .as-wrap .as-hero-content .as-lead {
  color: rgba(255, 255, 255, 0.92);
}

.sat-page-content .as-wrap .as-hero-content .as-muted,
.sat-post-form .as-wrap .as-hero-content .as-muted,
.sat-before-footer-contacts .as-wrap .as-hero-content .as-muted {
  color: var(--as-accent);
}

.sat-page-content .as-wrap .as-subscription p,
.sat-page-content .as-wrap .as-sub-note,
.sat-post-form .as-wrap .as-subscription p,
.sat-post-form .as-wrap .as-sub-note,
.sat-before-footer-contacts .as-wrap .as-subscription p,
.sat-before-footer-contacts .as-wrap .as-sub-note {
  color: rgba(255, 255, 255, 0.76);
}

.sat-page-content .as-wrap .as-sub-item,
.sat-post-form .as-wrap .as-sub-item,
.sat-before-footer-contacts .as-wrap .as-sub-item {
  color: rgba(255, 255, 255, 0.92);
}

.sat-page-content .as-wrap .as-price,
.sat-post-form .as-wrap .as-price,
.sat-before-footer-contacts .as-wrap .as-price {
  color: var(--as-accent);
}

.sat-page-content .as-wrap .as-btn-primary,
.sat-page-content .as-wrap .as-sticky-mobile button,
.sat-post-form .as-wrap .as-btn-primary,
.sat-post-form .as-wrap .as-sticky-mobile button,
.sat-before-footer-contacts .as-wrap .as-btn-primary,
.sat-before-footer-contacts .as-wrap .as-sticky-mobile button {
  color: #1E1B16 !important;
}

.sat-page-content .as-wrap .as-btn-secondary,
.sat-page-content .as-wrap .as-btn-light,
.sat-post-form .as-wrap .as-btn-secondary,
.sat-post-form .as-wrap .as-btn-light,
.sat-before-footer-contacts .as-wrap .as-btn-secondary,
.sat-before-footer-contacts .as-wrap .as-btn-light {
  color: #fff !important;
}

.sat-page-content .as-wrap .as-btn-light-border,
.sat-page-content .as-wrap .as-sticky-mobile a,
.sat-post-form .as-wrap .as-btn-light-border,
.sat-post-form .as-wrap .as-sticky-mobile a,
.sat-before-footer-contacts .as-wrap .as-btn-light-border,
.sat-before-footer-contacts .as-wrap .as-sticky-mobile a {
  color: var(--as-text) !important;
}

.sat-page-content .as-wrap .as-service-form-phone,
.sat-post-form .as-wrap .as-service-form-phone,
.sat-before-footer-contacts .as-wrap .as-service-form-phone {
  color: var(--as-text) !important;
}

.sat-page-content .as-wrap .as-service-form-phone i,
.sat-post-form .as-wrap .as-service-form-phone i,
.sat-before-footer-contacts .as-wrap .as-service-form-phone i {
  color: var(--as-accent) !important;
}

@media (max-width: 700px) {
  .sat-blog-hero h1,
  .single-post .sat-single__header h1 {
    font-size: var(--sat-blog-h1-mobile, clamp(36px, 13vw, 52px));
  }

  .sat-header .sat-phone {
    background: #fff;
    border-color: rgba(201, 163, 91, 0.36);
  }

  .sat-post-form {
    margin-top: 24px;
  }

  .sat-related {
    padding-bottom: 54px;
  }

  .sat-footer-logo__img {
    width: 240px;
  }
}


/* =========================================
   v1.3: global H1, plugin color fixes, text balance
   ========================================= */
.sat-page-hero h1,
.sat-blog-hero h1,
.sat-error-page h1,
.sat-single__header h1,
.sat-thankyou__content h1,
.as-wrap .as-hero-content h1,
.as-wrap .as-service-detail-head h1 {
  font-size: clamp(42px, 5vw, var(--sat-h1-desktop, 58px));
  line-height: 0.98;
  text-wrap: balance;
}

.sat-page-hero h1,
.sat-blog-hero h1,
.sat-error-page h1,
.sat-single__header h1,
.sat-thankyou__content h1,
.as-wrap .as-hero-content h1,
.as-wrap .as-service-detail-head h1,
.as-wrap .as-section-head h2,
.as-wrap .as-about h2,
.as-wrap .as-contacts h2,
.as-wrap .as-subscription h2,
.as-wrap .as-adv-card h3,
.as-wrap .as-service-card h3,
.as-wrap .as-step h3,
.as-wrap .as-post-card h3 {
  text-wrap: balance;
}

.as-wrap .as-hero-content h1 {
  color: #fff !important;
  font-family: var(--sat-font);
  font-weight: 850;
  letter-spacing: -0.045em;
}

.as-wrap .as-service-detail-head h1 {
  color: var(--as-text) !important;
  font-family: var(--sat-font);
  font-weight: 850;
  letter-spacing: -0.045em;
}

.as-wrap .as-adv-card,
.as-wrap .as-service-card,
.as-wrap .as-step,
.as-wrap .as-post-card {
  min-width: 0;
}

.as-wrap .as-adv-card h3,
.as-wrap .as-service-card h3,
.as-wrap .as-step h3,
.as-wrap .as-post-card h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
  line-height: 1.18;
}

.as-wrap .as-adv-card h3,
.as-wrap .as-service-card h3 {
  font-size: clamp(18px, 1.55vw, 23px);
}

.as-wrap .as-adv-card p,
.as-wrap .as-service-card p,
.as-wrap .as-step p,
.as-wrap .as-post-card p {
  line-height: 1.56;
}

/* Не даем стилям темы перекрашивать шорткоды плагина внутри страницы */
.sat-page-content .as-wrap .as-section-head h2,
.sat-post-form .as-wrap .as-section-head h2,
.sat-before-footer-contacts .as-wrap .as-section-head h2,
.sat-page-content .as-wrap .as-about h2,
.sat-post-form .as-wrap .as-about h2,
.sat-before-footer-contacts .as-wrap .as-about h2,
.sat-page-content .as-wrap .as-contacts h2,
.sat-post-form .as-wrap .as-contacts h2,
.sat-before-footer-contacts .as-wrap .as-contacts h2 {
  color: var(--as-text) !important;
}

.sat-page-content .as-wrap .as-section-head p,
.sat-page-content .as-wrap .as-muted,
.sat-page-content .as-wrap .as-section p,
.sat-post-form .as-wrap .as-section-head p,
.sat-post-form .as-wrap .as-muted,
.sat-post-form .as-wrap .as-section p,
.sat-before-footer-contacts .as-wrap .as-section-head p,
.sat-before-footer-contacts .as-wrap .as-muted,
.sat-before-footer-contacts .as-wrap .as-section p {
  color: var(--as-muted) !important;
}

.sat-page-content .as-wrap .as-hero-card,
.sat-page-content .as-wrap .as-subscription,
.sat-post-form .as-wrap .as-hero-card,
.sat-post-form .as-wrap .as-subscription,
.sat-before-footer-contacts .as-wrap .as-hero-card,
.sat-before-footer-contacts .as-wrap .as-subscription {
  color: #fff !important;
}

.sat-page-content .as-wrap .as-hero-card h1,
.sat-page-content .as-wrap .as-hero-card h2,
.sat-page-content .as-wrap .as-hero-card h3,
.sat-page-content .as-wrap .as-subscription h1,
.sat-page-content .as-wrap .as-subscription h2,
.sat-page-content .as-wrap .as-subscription h3,
.sat-post-form .as-wrap .as-hero-card h1,
.sat-post-form .as-wrap .as-hero-card h2,
.sat-post-form .as-wrap .as-hero-card h3,
.sat-post-form .as-wrap .as-subscription h1,
.sat-post-form .as-wrap .as-subscription h2,
.sat-post-form .as-wrap .as-subscription h3,
.sat-before-footer-contacts .as-wrap .as-hero-card h1,
.sat-before-footer-contacts .as-wrap .as-hero-card h2,
.sat-before-footer-contacts .as-wrap .as-hero-card h3,
.sat-before-footer-contacts .as-wrap .as-subscription h1,
.sat-before-footer-contacts .as-wrap .as-subscription h2,
.sat-before-footer-contacts .as-wrap .as-subscription h3 {
  color: #fff !important;
}

.sat-page-content .as-wrap .as-hero-card p,
.sat-page-content .as-wrap .as-hero-card .as-muted,
.sat-page-content .as-wrap .as-hero-card .as-lead,
.sat-page-content .as-wrap .as-subscription p,
.sat-page-content .as-wrap .as-subscription .as-sub-note,
.sat-post-form .as-wrap .as-hero-card p,
.sat-post-form .as-wrap .as-hero-card .as-muted,
.sat-post-form .as-wrap .as-hero-card .as-lead,
.sat-post-form .as-wrap .as-subscription p,
.sat-post-form .as-wrap .as-subscription .as-sub-note,
.sat-before-footer-contacts .as-wrap .as-hero-card p,
.sat-before-footer-contacts .as-wrap .as-hero-card .as-muted,
.sat-before-footer-contacts .as-wrap .as-hero-card .as-lead,
.sat-before-footer-contacts .as-wrap .as-subscription p,
.sat-before-footer-contacts .as-wrap .as-subscription .as-sub-note {
  color: rgba(255, 255, 255, 0.80) !important;
}

.sat-page-content .as-wrap .as-hero-points span,
.sat-page-content .as-wrap .as-sub-item,
.sat-post-form .as-wrap .as-hero-points span,
.sat-post-form .as-wrap .as-sub-item,
.sat-before-footer-contacts .as-wrap .as-hero-points span,
.sat-before-footer-contacts .as-wrap .as-sub-item {
  color: rgba(255, 255, 255, 0.92) !important;
}

.sat-page-content .as-wrap .as-btn-light,
.sat-post-form .as-wrap .as-btn-light,
.sat-before-footer-contacts .as-wrap .as-btn-light {
  color: #fff !important;
}

.sat-page-content .as-wrap .as-btn-primary,
.sat-page-content .as-wrap .as-link-btn,
.sat-page-content .as-wrap .as-sticky-mobile button,
.sat-post-form .as-wrap .as-btn-primary,
.sat-post-form .as-wrap .as-link-btn,
.sat-post-form .as-wrap .as-sticky-mobile button,
.sat-before-footer-contacts .as-wrap .as-btn-primary,
.sat-before-footer-contacts .as-wrap .as-link-btn,
.sat-before-footer-contacts .as-wrap .as-sticky-mobile button {
  color: #1E1B16 !important;
}

.sat-page-content .as-wrap .as-btn-secondary,
.sat-post-form .as-wrap .as-btn-secondary,
.sat-before-footer-contacts .as-wrap .as-btn-secondary {
  color: #fff !important;
}

.sat-page-content .as-wrap .as-btn-light-border,
.sat-page-content .as-wrap .as-service-info,
.sat-page-content .as-wrap .as-sticky-mobile a,
.sat-post-form .as-wrap .as-btn-light-border,
.sat-post-form .as-wrap .as-service-info,
.sat-post-form .as-wrap .as-sticky-mobile a,
.sat-before-footer-contacts .as-wrap .as-btn-light-border,
.sat-before-footer-contacts .as-wrap .as-service-info,
.sat-before-footer-contacts .as-wrap .as-sticky-mobile a {
  color: var(--as-text) !important;
}

@media (max-width: 700px) {
  .sat-page-hero h1,
  .sat-blog-hero h1,
  .sat-error-page h1,
  .sat-single__header h1,
  .sat-thankyou__content h1,
  .as-wrap .as-hero-content h1,
  .as-wrap .as-service-detail-head h1 {
    font-size: clamp(32px, 11vw, var(--sat-h1-mobile, 44px));
    line-height: 1.06;
  }

  .sat-header .sat-phone,
  .sat-header .sat-phone:visited,
  .sat-header .sat-phone:hover {
    background: #fff !important;
    color: var(--sat-dark) !important;
  }

  .sat-header .sat-phone strong {
    color: var(--sat-dark) !important;
  }

  .sat-header .sat-phone__label {
    color: var(--sat-muted) !important;
  }

  .as-wrap .as-adv-card h3,
  .as-wrap .as-service-card h3,
  .as-wrap .as-step h3,
  .as-wrap .as-post-card h3 {
    font-size: 20px;
  }
}

/* =========================================
   v1.3.1: plugin typography/assets integration safeguards
   ========================================= */
.as-wrap {
  --as-font: var(--sat-font);
  --as-serif: var(--sat-font);
  font-family: var(--sat-font);
}

.sat-page-content .as-wrap .as-hero-content .as-muted,
.sat-post-form .as-wrap .as-hero-content .as-muted,
.sat-before-footer-contacts .as-wrap .as-hero-content .as-muted,
.as-wrap .as-hero-content .as-muted {
  color: var(--as-accent, #C9A35B) !important;
}

@media (min-width: 721px) {
  .as-wrap .as-pc-break {
    display: block;
  }
}

@media (max-width: 720px) {
  .as-wrap .as-pc-break {
    display: none;
  }
}


/* =========================================
   v1.3.3: mobile PageSpeed fixes
   ========================================= */
.sat-logo img,
.sat-logo .custom-logo {
  aspect-ratio: 768 / 152;
}

.sat-post-card,
.sat-related,
.sat-before-footer-contacts,
.sat-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 520px;
}

.sat-single__thumb img,
.sat-post-card__thumb img,
.sat-footer-logo__img {
  display: block;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
