.as-wrap,
.as-wrap * {
  box-sizing: border-box;
}

.as-wrap {
  background: var(--as-bg);
  color: var(--as-text);
  font-family: inherit;
  line-height: 1.55;
  padding: 28px 0 64px;
}

.as-wrap button,
.as-wrap input,
.as-wrap textarea,
.as-wrap select {
  font-family: inherit;
}

.as-section {
  background: var(--as-section-bg, transparent);
  padding: 22px 18px;
}

.as-container {
  max-width: var(--as-container);
  margin: 0 auto;
}

.as-block,
.as-about,
.as-contacts {
  background-color: var(--as-container-bg, var(--as-card));
  background-image: var(--as-container-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--as-border);
  border-radius: 30px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 18px 45px rgba(31, 36, 48, 0.05);
}

.as-section-head {
  max-width: 820px;
  margin: 0 auto 30px;
  text-align: center;
}

.as-section-head h1,
.as-section-head h2,
.as-about h2,
.as-contacts h2,
.as-subscription h2 {
  margin: 0;
  color: var(--as-text);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 750;
}

.as-section-head p,
.as-muted,
.as-section p {
  color: var(--as-muted);
}

.as-section-head p {
  margin: 14px 0 0;
  font-size: 17px;
}

.as-kicker,
.as-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  color: var(--as-accent);
  background: rgba(201, 163, 91, 0.12);
  border: 1px solid rgba(201, 163, 91, 0.24);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.as-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  min-height: 520px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 34px;
  background-color: var(--as-container-bg, var(--as-dark));
  background-image: var(--as-container-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: 0 28px 70px rgba(32, 33, 43, 0.22);
}

.as-hero-card::before {
  content: "";
  position: absolute;
  inset: -120px -80px auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 163, 91, 0.28), transparent 64%);
  pointer-events: none;
}

.as-hero-content {
  position: relative;
  z-index: 2;
}

.as-hero-content h1 {
  color: #fff;
  margin: 22px 0 14px;
}

.as-hero-content .as-lead {
  margin: 0 0 14px;
  color: rgba(255,255,255,0.86);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.35;
}

.as-hero-content .as-muted {
  color: var(--sat-gold-2, #E2C47A);
  max-width: 680px;
  font-size: 16px;
  font-weight: 650;
}

.as-pc-break {
  display: none;
}

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

.as-hero-media {
  position: relative;
  z-index: 2;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
}

.as-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.as-hero-placeholder,
.as-photo-empty,
.as-map-placeholder,
.as-post-image span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  height: 100%;
  min-height: 340px;
  color: rgba(255,255,255,0.8);
}

.as-hero-placeholder i {
  color: var(--as-accent);
  font-size: 88px;
}

.as-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.as-btn,
.as-link-btn,
.as-sticky-mobile a,
.as-sticky-mobile button {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 14px;
  min-height: 48px;
  padding: 0 18px;
  font-weight: 750;
  font-size: 15px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.as-btn:hover,
.as-link-btn:hover,
.as-sticky-mobile a:hover,
.as-sticky-mobile button:hover {
  transform: translateY(-1px);
}

.as-btn-primary {
  background: var(--as-accent);
  color: #1E1B16;
  box-shadow: 0 14px 28px rgba(201, 163, 91, 0.22);
}
.as-btn-primary:hover { background: var(--as-accent-hover); color: #1E1B16; }

.as-btn-secondary {
  background: var(--as-dark);
  color: #fff;
}
.as-btn-secondary:hover { background: var(--as-dark-2); color: #fff; }

.as-btn-light {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
}
.as-btn-light:hover { background: rgba(255,255,255,0.16); color: #fff; }
.as-btn-light-border { background: #fff; color: var(--as-text); border: 1px solid var(--as-border); }
.as-btn-light-border:hover { color: var(--as-text); background: #F8FAFC; }

.as-adv-grid,
.as-services-grid,
.as-blog-grid,
.as-steps {
  display: grid;
  gap: 18px;
}

.as-adv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.as-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.as-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.as-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.as-adv-card,
.as-service-card,
.as-step,
.as-post-card {
  background: #fff;
  border: 1px solid var(--as-border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(31, 36, 48, 0.04);
}

.as-adv-card h3,
.as-service-card h3,
.as-step h3,
.as-post-card h3 {
  margin: 14px 0 8px;
  color: var(--as-text);
  font-size: 19px;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.as-adv-card p,
.as-service-card p,
.as-step p,
.as-post-card p {
  margin: 0;
  color: var(--as-muted);
  font-size: 15px;
}

.as-icon,
.as-service-icon,
.as-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(201, 163, 91, 0.12);
  color: var(--as-accent);
  font-size: 24px;
  font-weight: 800;
}

.as-service-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
}
.as-service-card p { flex: 1; }
.as-link-btn {
  margin-top: 20px;
  align-self: flex-start;
  color: var(--as-dark);
  background: #F7F8FA;
  border: 1px solid var(--as-border);
}
.as-link-btn:hover { background: var(--as-dark); color: #fff; }

.as-center { text-align: center; }
.as-after-grid { margin-top: 28px; }

.as-service-card.is-hidden {
  display: none !important;
}

.as-service-card.is-revealed {
  animation: asFadeUp 0.36s ease both;
}


.as-blog-more { margin-top: 28px; }
.as-btn-full {
  display: flex;
  width: 100%;
  justify-content: center;
}
.as-blog-grid-all { margin-top: 4px; }
.as-pagination {
  margin-top: 30px;
}
.as-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.as-pagination a,
.as-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--as-border);
  background: #fff;
  color: var(--as-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.as-pagination .current,
.as-pagination a:hover {
  background: var(--as-dark);
  border-color: var(--as-dark);
  color: #fff;
}

.as-after-grid .as-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 13px;
  line-height: 1;
}

@keyframes asFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.as-subscription {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 28px;
  align-items: center;
  border-radius: 30px;
  padding: clamp(30px, 4.5vw, 58px);
  background-color: var(--as-container-bg, var(--as-dark));
  background-image: var(--as-container-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  box-shadow: 0 24px 60px rgba(32, 33, 43, 0.17);
}

.as-subscription h2 { color: #fff; margin: 14px 0 12px; }
.as-subscription p { color: rgba(255,255,255,0.75); }
.as-price { color: var(--as-accent); font-size: clamp(28px, 4vw, 48px); line-height: 1; font-weight: 850; letter-spacing: -0.04em; margin-bottom: 14px; }
.as-sub-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.as-sub-item { display: flex; gap: 10px; align-items: center; padding: 16px; border-radius: 16px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); }
.as-sub-item i { color: var(--as-accent); font-size: 20px; }
.as-sub-note { grid-column: 1 / -1; margin: 8px 0 0; }

.as-about,
.as-contacts {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 30px;
  align-items: center;
}
.as-about-content p { color: var(--as-muted); font-size: 16px; }
.as-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.as-tags span { border-radius: 999px; background: #F6F7F9; border: 1px solid var(--as-border); padding: 7px 11px; font-size: 13px; font-weight: 700; color: var(--as-text); }
.as-about-media img { width: 100%; border-radius: 24px; display: block; object-fit: cover; max-height: 480px; }
.as-photo-empty { color: var(--as-muted); background: #F8FAFC; border-radius: 24px; border: 1px dashed var(--as-border); }
.as-photo-empty i { color: var(--as-accent); font-size: 60px; }


.as-faq-list {
  display: grid;
  gap: 12px;
}

.as-faq-item {
  background: #fff;
  border: 1px solid var(--as-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(31, 36, 48, 0.035);
}

.as-faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
  color: var(--as-text);
  font-weight: 780;
  font-size: 17px;
  line-height: 1.35;
}

.as-faq-item summary::-webkit-details-marker {
  display: none;
}

.as-faq-item summary i {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(201, 163, 91, 0.12);
  color: var(--as-accent);
  font-size: 20px;
  transition: transform .18s ease, background .18s ease;
}

.as-faq-item[open] summary i {
  transform: rotate(45deg);
  background: var(--as-accent);
  color: #1E1B16;
}

.as-faq-answer {
  border-top: 1px solid var(--as-border);
  padding: 0 22px 20px;
  color: var(--as-muted);
}

.as-faq-answer p {
  margin: 16px 0 0;
  color: var(--as-muted);
}

.as-embed-wrap { text-align: center; }
.as-lazy-embed { margin-top: 20px; min-height: 60px; }
.as-lazy-embed iframe { max-width: 100%; border-radius: 20px; }
.as-empty { border: 1px dashed var(--as-border); background: #F8FAFC; color: var(--as-muted); border-radius: 18px; padding: 24px; }

.as-post-card { overflow: hidden; padding: 0; }
.as-post-image { display: block; aspect-ratio: 16/10; background: #F5F7FA; color: var(--as-accent); overflow: hidden; text-decoration: none; }
.as-post-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.as-post-image span { min-height: 100%; color: var(--as-accent); font-size: 44px; }
.as-post-body { padding: 20px; }
.as-post-card h3 { margin-top: 0; }
.as-post-card a { color: var(--as-text); text-decoration: none; }
.as-read-more { display: inline-flex; margin-top: 14px; color: var(--as-accent) !important; font-weight: 800; }

.as-contact-list { display: grid; gap: 14px; margin: 24px 0; }
.as-contact-list > div { display: grid; grid-template-columns: 34px 95px 1fr; gap: 10px; align-items: start; }
.as-contact-list i { color: var(--as-accent); font-size: 22px; }
.as-contact-list a { color: var(--as-text); text-decoration: none; }
.as-contact-actions { margin-top: 10px; }
.as-map, .as-map iframe { width: 100%; min-height: 360px; border-radius: 24px; overflow: hidden; }
.as-map-placeholder { display: flex; min-height: 360px; align-items: center; justify-content: center; flex-direction: column; text-align: center; gap: 8px; background: #F7F9FC; border: 1px solid var(--as-border); border-radius: 24px; color: var(--as-text); text-decoration: none; padding: 24px; }
.as-map-placeholder i { font-size: 54px; color: var(--as-accent); }
.as-map-placeholder small { color: var(--as-muted); }

/* Popup / формы — финальная версия без дублей */
.as-modal { position: fixed; inset: 0; z-index: 99998; display: none; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.as-modal.is-open { display: flex; align-items: center; justify-content: center; padding: 18px; }
.as-modal-overlay { position: absolute; inset: 0; background: rgba(17, 24, 39, .66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.as-modal-dialog { position: relative; width: min(552px, calc(100vw - 32px)); max-height: calc(100vh - 28px); overflow: auto; margin: auto; background: radial-gradient(circle at 12% 0%, rgba(201, 163, 91, .10), transparent 34%), var(--as-popup-bg, #fff); border: 1px solid rgba(255,255,255,.84); border-radius: 28px; padding: clamp(24px, 3vw, 34px); box-shadow: 0 28px 86px rgba(15, 23, 42, .30); overscroll-behavior: contain; }
.as-modal-close { position: absolute; top: 16px; right: 16px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(17, 24, 39, .10); border-radius: 999px; background: #111827; color: #fff; box-shadow: 0 10px 22px rgba(15, 23, 42, .18); cursor: pointer; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.as-modal-close:hover { transform: translateY(-1px); background: #0B1220; box-shadow: 0 14px 28px rgba(15, 23, 42, .24); }
.as-modal-close:focus-visible { outline: 3px solid rgba(201, 163, 91, .35); outline-offset: 3px; }
.as-modal-close i { display: none; }
.as-modal-close::before,
.as-modal-close::after { content: ''; position: absolute; width: 15px; height: 2px; border-radius: 999px; background: currentColor; }
.as-modal-close::before { transform: rotate(45deg); }
.as-modal-close::after { transform: rotate(-45deg); }
.as-modal-head { display: grid; gap: 14px; padding-right: 52px; margin-bottom: 24px; }
.as-modal-title-row { display: flex; align-items: center; gap: 18px; }
.as-modal-title-row img { flex: 0 0 auto; width: 68px; height: 68px; border: 4px solid rgba(255,255,255,.92); border-radius: 50%; object-fit: cover; box-shadow: 0 12px 26px rgba(15, 23, 42, .12); }
.as-modal-head h2 { margin: 0; font-size: clamp(24px, 2.45vw, 29px); line-height: 1.08; letter-spacing: -0.035em; }
.as-modal-subtitle { margin: 0; max-width: 430px; color: var(--as-muted); line-height: 1.5; }
.as-form { display: grid; gap: 13px; }
.as-form label { display: grid; gap: 7px; color: var(--as-text); font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.as-form input:not([type="checkbox"]),
.as-form textarea,
.as-form select { width: 100%; min-height: 50px; border: 1px solid #E1E6EF; border-radius: 15px; padding: 12px 14px; background: #fff; color: var(--as-text); font: inherit; outline: none; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.as-form textarea { min-height: 102px; resize: vertical; }
.as-form input[name="phone"] { letter-spacing: .02em; }
.as-form .as-input-error,
.as-form input.as-input-error,
.as-form textarea.as-input-error { border-color: #DC2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12) !important; }
.as-form-hint { display: block; margin-top: -2px; color: var(--as-muted); font-size: 12px; font-weight: 500; line-height: 1.35; }
.as-consent { display: flex !important; grid-template-columns: none !important; flex-direction: row; align-items: flex-start; gap: 10px !important; font-size: 13px !important; font-weight: 500 !important; color: var(--as-muted) !important; }
.as-consent input { margin-top: 4px; }
.as-form-message { display: none; margin-top: 6px; border-radius: 14px; padding: 12px 14px; font-weight: 700; line-height: 1.45; }
.as-form-message.is-success { display: block; background: #EBF8F0; color: #145A32; }
.as-form-message.is-error { display: block; background: #FFF0F0; color: #8E1D1D; }

.as-floating-cta {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 99950;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--as-accent);
  color: #1E1B16;
  box-shadow: 0 18px 40px rgba(31,36,48,.18), 0 12px 24px rgba(201,163,91,.24);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.as-floating-cta:hover {
  transform: translateY(-2px);
  background: var(--as-accent-hover);
  box-shadow: 0 22px 50px rgba(31,36,48,.22), 0 14px 28px rgba(201,163,91,.28);
}
.as-floating-cta i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  font-size: 18px;
}

.as-sticky-mobile { display: none; }

body.as-modal-open { overflow: hidden; }

@media (max-width: 1040px) {
  .as-adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .as-services-grid, .as-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .as-hero-card, .as-subscription, .as-about, .as-contacts { grid-template-columns: 1fr; }
  .as-hero-card { min-height: 0; }
  .as-hero-media { min-height: 320px; }
}

@media (max-width: 720px) {
  .as-wrap { padding: 12px 0 88px; }
  .as-section { padding: 12px; }
  .as-block, .as-about, .as-contacts, .as-subscription, .as-hero-card { border-radius: 22px; padding: 22px; }
  .as-hero-media, .as-hero-media img { min-height: 280px; }
  .as-adv-grid, .as-services-grid, .as-blog-grid, .as-steps, .as-sub-list { grid-template-columns: 1fr; }
  .as-actions { align-items: stretch; }
  .as-actions .as-btn { width: 100%; }
  .as-contact-list > div { grid-template-columns: 30px 1fr; }
  .as-contact-list strong { grid-column: 2; }
  .as-contact-list span,
  .as-contact-list a { grid-column: 2; }
  .as-floating-cta { display: none; }
  .as-sticky-mobile { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 99990; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border: 1px solid rgba(255,255,255,0.16); border-radius: 18px; background: rgba(32, 33, 43, 0.94); box-shadow: 0 18px 44px rgba(0,0,0,0.25); backdrop-filter: blur(10px); }
  .as-sticky-mobile a,
  .as-sticky-mobile button { min-height: 46px; border-radius: 13px; font-size: 14px; }
  .as-sticky-mobile a { background: #fff; color: var(--as-text); }
  .as-sticky-mobile button { background: var(--as-accent); color: #1E1B16; }
}
/* Больше воздуха между большими блоками сайта */
.as-wrap .as-section {
  padding-top: 38px;
  padding-bottom: 38px;
}

/* Больше расстояние между карточками внутри сеток */
.as-wrap .as-adv-grid,
.as-wrap .as-services-grid,
.as-wrap .as-blog-grid,
.as-wrap .as-steps {
  gap: 28px;
}

/* Чуть больше воздуха внутри самих больших белых/темных блоков */
.as-wrap .as-block,
.as-wrap .as-about,
.as-wrap .as-contacts,
.as-wrap .as-subscription,
.as-wrap .as-hero-card {
  padding-top: clamp(34px, 4.5vw, 64px);
  padding-bottom: clamp(34px, 4.5vw, 64px);
}

/* На мобильной версии делаем аккуратно, чтобы не было огромных отступов */
@media (max-width: 720px) {
  .as-wrap .as-section {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .as-wrap .as-adv-grid,
  .as-wrap .as-services-grid,
  .as-wrap .as-blog-grid,
  .as-wrap .as-steps {
    gap: 18px;
  }
}
/* ================================
   БЛОК УСЛУГ — КАРТОЧКИ С ИКОНКАМИ
   ================================ */

/* Сетка услуг */
.as-wrap .as-services-grid {
  gap: 32px;
}

/* Карточка услуги */
.as-wrap .as-services-grid > * {
  position: relative;
  overflow: hidden;
  padding: 32px 30px 28px;
  border-radius: 24px;
  border: 1px solid rgba(213, 170, 83, 0.22);
  background:
    radial-gradient(circle at 88% 18%, rgba(213, 170, 83, 0.11), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), #ffffff);
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.065);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

/* Золотая линия сверху */
.as-wrap .as-services-grid > *::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #d2a34a, #f1d28a);
  opacity: 0.95;
  z-index: 1;
}

/* Большая фоновая иконка весов вместо цифр */
.as-wrap .as-services-grid > *::after {
  content: "\2696\FE0E";
  position: absolute;
  right: 22px;
  top: 18px;
  font-size: 70px;
  line-height: 1;
  font-weight: 400;
  color: rgba(213, 170, 83, 0.095);
  pointer-events: none;
  z-index: 0;
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
}

/* Весь контент поверх фоновой иконки */
.as-wrap .as-services-grid > * > * {
  position: relative;
  z-index: 2;
}

/* Hover карточки */
.as-wrap .as-services-grid > *:hover {
  transform: translateY(-6px);
  border-color: rgba(213, 170, 83, 0.48);
  box-shadow: 0 26px 66px rgba(17, 24, 39, 0.115);
  background:
    radial-gradient(circle at 88% 18%, rgba(213, 170, 83, 0.16), transparent 34%),
    linear-gradient(180deg, #ffffff, #ffffff);
}

/* Hover фоновой иконки */
.as-wrap .as-services-grid > *:hover::after {
  transform: scale(1.06) rotate(-3deg);
  color: rgba(213, 170, 83, 0.15);
}

/* Маленькие иконки в карточках */
.as-wrap .as-services-grid i,
.as-wrap .as-services-grid svg {
  transform: scale(1.08);
}

/* Заголовки карточек */
.as-wrap .as-services-grid h3,
.as-wrap .as-services-grid h4 {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: #1f2433;
}

/* Описание карточек */
.as-wrap .as-services-grid p {
  margin-bottom: 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #64748b;
}

/* Кнопки внутри карточек */
.as-wrap .as-services-grid .as-btn,
.as-wrap .as-services-grid a[class*="btn"],
.as-wrap .as-services-grid button {
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid rgba(31, 36, 51, 0.10);
  background: #f8fafc;
  color: #1f2433;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.045);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* Hover кнопки */
.as-wrap .as-services-grid .as-btn:hover,
.as-wrap .as-services-grid a[class*="btn"]:hover,
.as-wrap .as-services-grid button:hover {
  transform: translateY(-2px);
  background: #d4a84f;
  color: #1f2433;
  border-color: rgba(213, 170, 83, 0.65);
  box-shadow: 0 12px 28px rgba(213, 168, 79, 0.32);
}

/* Кнопка "Показать все услуги" под сеткой */
.as-wrap .as-services-more,
.as-wrap .as-show-more,
.as-wrap .as-services-toggle {
  margin-top: 34px;
}

/* Мобильная версия */
@media (max-width: 720px) {
  .as-wrap .as-services-grid {
    gap: 20px;
  }

  .as-wrap .as-services-grid > * {
    padding: 28px 24px 24px;
    border-radius: 20px;
  }

  .as-wrap .as-services-grid > *::before {
    left: 22px;
    right: 22px;
  }

  .as-wrap .as-services-grid > *::after {
    right: 24px;
    top: 26px;
    font-size: 42px;
    color: rgba(213, 170, 83, 0.14);
    opacity: 0.75;
      transform: none;
  }

  .as-wrap .as-services-grid h3,
  .as-wrap .as-services-grid h4 {
    font-size: 19px;
  }

  .as-wrap .as-services-grid p {
    font-size: 15px;
    line-height: 1.6;
  }
}
/* ================================
   ОТЗЫВЫ — СВОЯ МОДЕРАЦИЯ + SEO HTML
   ================================ */
.as-wrap .as-reviews-block {
  position: relative;
  overflow: hidden;
}

.as-wrap .as-reviews-block::before {
  content: "";
  position: absolute;
  right: -110px;
  top: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,163,91,.16), transparent 68%);
  pointer-events: none;
}

.as-wrap .as-reviews-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.as-wrap .as-reviews-grid-all {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.as-wrap .as-review-card {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(201,163,91,.18);
  background:
    radial-gradient(circle at 92% 10%, rgba(201,163,91,.12), transparent 34%),
    #fff;
  box-shadow: 0 18px 42px rgba(31,36,48,.065);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.as-wrap .as-review-card::after {
  content: "”";
  position: absolute;
  right: 18px;
  bottom: -24px;
  font-size: 118px;
  line-height: 1;
  color: rgba(201,163,91,.10);
  pointer-events: none;
}

.as-wrap .as-review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201,163,91,.42);
  box-shadow: 0 26px 62px rgba(31,36,48,.11);
}

.as-wrap .as-review-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.as-wrap .as-review-avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201,163,91,.18), rgba(201,163,91,.08));
  color: #8a6429;
  font-weight: 900;
  font-size: 20px;
}

.as-wrap .as-review-top h3 {
  margin: 0 0 3px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--as-text);
}

.as-wrap .as-review-top span {
  display: block;
  color: var(--as-muted);
  font-size: 13px;
  line-height: 1.3;
}

.as-wrap .as-review-stars {
  display: flex;
  gap: 3px;
  margin: 0 0 13px;
  color: var(--as-accent);
  font-size: 18px;
}

.as-wrap .as-review-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--as-muted);
  font-size: 15.5px;
  line-height: 1.68;
}

.as-wrap .as-reviews-main-action {
  position: relative;
  z-index: 1;
  margin-top: 26px;
}

.as-wrap .as-reviews-action-note {
  position: relative;
  z-index: 1;
  margin: 22px 0 12px;
  text-align: center;
  color: var(--as-muted);
  font-size: 14px;
  font-weight: 700;
}

.as-wrap .as-reviews-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.as-wrap .as-review-form-panel {
  position: relative;
  z-index: 1;
  margin: 26px auto 0;
  max-width: 760px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--as-border);
  background: #fff;
  box-shadow: 0 18px 42px rgba(31,36,48,.065);
}

.as-wrap .as-review-form-block {
  max-width: min(860px, var(--as-container));
}

.as-wrap .as-review-form label small {
  margin-top: -2px;
  color: var(--as-muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
}

.as-wrap .as-review-form select {
  cursor: pointer;
}

.as-wrap .as-reviews-pagination {
  margin-top: 28px;
}

@media (max-width: 1040px) {
  .as-wrap .as-reviews-grid,
  .as-wrap .as-reviews-grid-all {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .as-wrap .as-reviews-grid,
  .as-wrap .as-reviews-grid-all {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .as-wrap .as-review-card {
    min-height: 0;
    padding: 22px;
    border-radius: 20px;
  }

  .as-wrap .as-reviews-actions .as-btn,
  .as-wrap .as-reviews-actions button,
  .as-wrap .as-reviews-actions a {
    width: 100%;
  }

  .as-wrap .as-review-form-panel {
    padding: 18px;
    border-radius: 20px;
  }
}

/* ================================
   СТРАНИЦЫ УСЛУГ И КНОПКА ПОДРОБНЕЕ
   ================================ */
.as-service-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.as-service-actions .as-link-btn {
  margin-top: 0;
}
.as-service-info {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 163, 91, 0.38);
  background: rgba(201, 163, 91, 0.11);
  color: var(--as-accent);
  text-decoration: none;
  font-size: 22px;
  box-shadow: 0 10px 22px rgba(201,163,91,.12);
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.as-service-info:hover {
  transform: translateY(-2px);
  background: var(--as-accent);
  color: #1E1B16;
  border-color: var(--as-accent);
  box-shadow: 0 14px 30px rgba(201,163,91,.24);
}
.as-service-detail-page {
  padding-top: 0;
}
.as-service-detail-head {
  position: relative;
  overflow: hidden;
  background: var(--as-container-bg, var(--as-card));
  border: 1px solid var(--as-border);
  border-radius: 30px;
  padding: clamp(34px, 5vw, 72px);
  box-shadow: 0 22px 58px rgba(31,36,48,.07);
}
.as-service-detail-head::after {
  content: "\2696\FE0E";
  position: absolute;
  right: clamp(22px, 5vw, 70px);
  top: clamp(16px, 4vw, 50px);
  font-size: clamp(90px, 11vw, 170px);
  line-height: 1;
  color: rgba(201,163,91,.08);
  pointer-events: none;
}
.as-service-detail-kicker {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(201,163,91,.12);
  color: var(--as-accent);
  border: 1px solid rgba(201,163,91,.22);
  font-size: 13px;
  font-weight: 800;
}
.as-service-detail-head h1 {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 20px 0 14px;
  color: var(--as-text);
}
.as-service-detail-head > p {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0;
  color: var(--as-muted);
  font-size: clamp(17px, 2vw, 22px);
}
.as-service-detail-head .as-actions {
  position: relative;
  z-index: 2;
}
.as-service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}
.as-service-detail-content h2,
.as-service-side-card h2,
.as-service-final-cta h2 {
  margin: 0 0 14px;
  color: var(--as-text);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.as-service-detail-content p {
  color: var(--as-muted);
  font-size: 17px;
}
.as-service-detail-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(201,163,91,.10);
  border: 1px solid rgba(201,163,91,.22);
  color: var(--as-text);
  font-weight: 650;
}
.as-service-detail-note i {
  color: var(--as-accent);
  font-size: 24px;
}
.as-service-side-card {
  position: sticky;
  top: 24px;
  background: var(--as-dark);
  color: #fff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(32,33,43,.18);
}
.as-service-side-card h2 { color: #fff; }
.as-service-side-card p {
  color: rgba(255,255,255,.75);
  margin: 0 0 18px;
}
.as-service-side-card .as-btn { margin-top: 10px; }
.as-service-side-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 18px;
  color: var(--as-accent);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 28px;
}
.as-documents-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.as-document-card {
  min-height: 150px;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--as-border);
  box-shadow: 0 12px 28px rgba(31,36,48,.045);
}
.as-document-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(201,163,91,.12);
  color: var(--as-accent);
  font-weight: 900;
  margin-bottom: 14px;
}
.as-document-card p {
  margin: 0;
  color: var(--as-text);
  font-weight: 700;
  line-height: 1.45;
}
.as-service-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-radius: 30px;
  padding: clamp(30px, 4.5vw, 58px);
  background: var(--as-dark);
  color: #fff;
  box-shadow: 0 24px 60px rgba(32,33,43,.17);
}
.as-service-final-cta h2 { color: #fff; margin-top: 14px; }
.as-service-final-cta p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.75);
  font-size: 17px;
}
@media (max-width: 980px) {
  .as-service-detail-layout { grid-template-columns: 1fr; }
  .as-service-side-card { position: relative; top: auto; }
  .as-documents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .as-service-final-cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .as-service-actions { align-items: stretch; }
  .as-service-actions .as-link-btn { flex: 1; }
  .as-service-info { width: 46px; flex-basis: 46px; height: 46px; }
  .as-documents-grid { grid-template-columns: 1fr; }
  .as-service-detail-head .as-actions { align-items: stretch; }
  .as-service-detail-head .as-actions .as-btn { width: 100%; }
}

@media (max-width: 720px) {
  .as-service-detail-head::after {
    content: "\2696\FE0E";
    right: 22px;
    top: 24px;
    font-size: 58px;
    color: rgba(201, 163, 91, 0.10);
    opacity: 0.7;
    }
}

/* v0.4.0: встроенная форма заявки на подробной странице услуги */
.as-service-form-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
  border-radius: 30px;
  border: 1px solid var(--as-border);
  background:
    radial-gradient(circle at 8% 10%, rgba(201,163,91,.14), transparent 34%),
    #fff;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 22px 58px rgba(31,36,48,.07);
}

.as-service-form-intro h2 {
  margin: 16px 0 12px;
  color: var(--as-text);
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 850;
}

.as-service-form-intro p {
  max-width: 560px;
  margin: 0;
  color: var(--as-muted);
  font-size: 17px;
  line-height: 1.65;
}

.as-service-form-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--as-text);
  text-decoration: none;
  font-weight: 850;
}

.as-service-form-phone i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: rgba(201,163,91,.12);
  color: var(--as-accent);
  font-size: 18px;
}

.as-service-form-box {
  padding: clamp(18px, 3vw, 28px);
  border-radius: 24px;
  border: 1px solid var(--as-border);
  background: #f8fafc;
}

.as-inline-lead-form {
  gap: 14px;
}

.as-inline-lead-form .as-form-submit {
  width: 100%;
}

@media (max-width: 980px) {
  .as-service-form-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .as-service-form-card {
    border-radius: 22px;
    padding: 22px;
  }

  .as-service-form-box {
    padding: 16px;
    border-radius: 18px;
  }
}


/* v0.4.20: popup по центру, фото и заголовок в одну линию */
@media (max-width: 720px) {
  .as-modal {
    height: 100vh;
  }

  @supports (height: 100dvh) {
    .as-modal {
      height: 100dvh;
    }
  }

  .as-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(12px + env(safe-area-inset-top)) 10px calc(18px + env(safe-area-inset-bottom));
  }

  .as-modal-dialog {
    width: min(100%, 500px);
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 30px);
    overflow: auto;
    margin: auto;
    border-radius: 22px;
    padding: 20px 18px 18px;
  }

  .as-modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  .as-modal-head {
    gap: 12px;
    padding-right: 44px;
    margin-bottom: 16px;
  }

  .as-modal-title-row {
    gap: 12px;
    align-items: center;
  }

  .as-modal-title-row img {
    width: 54px;
    height: 54px;
    border-width: 3px;
  }

  .as-modal-head h2 {
    font-size: clamp(25px, 7.2vw, 33px);
    line-height: 1.03;
    margin: 0;
  }

  .as-modal-subtitle {
    font-size: 14px;
    line-height: 1.42;
    max-width: none;
  }

  .as-popup-lead-form {
    gap: 11px;
  }

  .as-popup-lead-form input:not([type="checkbox"]),
  .as-popup-lead-form textarea,
  .as-popup-lead-form select {
    min-height: 48px;
    border-radius: 14px;
  }

  .as-popup-lead-form textarea {
    min-height: 94px;
  }
}

/* ================================
   HERO — премиальный первый экран
   ================================ */
.as-wrap .as-section-hero {
  padding-top: clamp(22px, 3vw, 38px);
  padding-bottom: clamp(24px, 3.6vw, 44px);
}

.as-wrap .as-hero-card {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.80fr);
  gap: clamp(26px, 3.4vw, 48px);
  min-height: 510px;
  padding: clamp(28px, 3.6vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 38px;
  background:
    radial-gradient(circle at 82% 17%, rgba(201, 163, 91, 0.24), transparent 34%),
    radial-gradient(circle at 18% 92%, rgba(255, 255, 255, 0.07), transparent 30%),
    linear-gradient(135deg, #242633 0%, #2b2d3b 52%, #20212b 100%);
  box-shadow: 0 34px 86px rgba(25, 28, 39, 0.26);
}

.as-wrap .as-hero-card::before {
  inset: auto -80px -160px auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(201, 163, 91, 0.20), transparent 66%);
}


.as-wrap .as-hero-topline {
  display: none;
}

.as-wrap .as-hero-location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.11);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 750;
}

.as-wrap .as-hero-content {
  position: relative;
  z-index: 3;
  transform: translateY(-8px);
}

.as-wrap .as-hero-content h1 {
  max-width: 660px;
  margin: 0 0 14px;
  color: #fff;
}

.as-wrap .as-hero-content .as-lead {
  max-width: 620px;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 1.42vw, 23px);
  line-height: 1.34;
  letter-spacing: -0.018em;
}

.as-wrap .as-hero-content .as-muted {
  max-width: 610px;
  color: var(--as-accent, #C9A35B);
  font-size: 15.5px;
  line-height: 1.58;
}

.as-wrap .as-hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 10px;
  margin-top: 18px;
}

.as-wrap .as-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13.5px;
  font-weight: 750;
  white-space: nowrap;
}

.as-wrap .as-hero-points i {
  color: var(--as-accent);
  font-size: 17px;
}

.as-wrap .as-hero-card .as-actions {
  margin-top: 22px;
}

.as-wrap .as-hero-card .as-btn {
  min-height: 54px;
  border-radius: 15px;
  padding-left: 22px;
  padding-right: 22px;
}

.as-wrap .as-hero-card .as-btn-gold-shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #1e1b16;
  border: 1px solid rgba(255, 230, 169, 0.48);
  background: linear-gradient(120deg, #c79b3f 0%, #f3d88f 24%, #d2a64c 46%, #fff0b8 58%, #c29133 78%, #edca76 100%);
  background-size: 260% 100%;
  background-position: 50% 50%;
  box-shadow: 0 16px 34px rgba(201, 163, 91, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.as-wrap .as-hero-card .as-btn-gold-shine::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -70%;
  left: -60%;
  width: 42%;
  height: 240%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  transform: translate3d(-120%,0,0) rotate(22deg);
  will-change: transform, opacity;
  animation: asGoldFlareComposite 4.2s ease-in-out infinite;
  pointer-events: none;
}

.as-wrap .as-hero-card .as-btn-gold-shine:hover {
  color: #1e1b16;
  background-position: 100% 50%;
  box-shadow: 0 19px 40px rgba(201, 163, 91, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.50);
}

.as-wrap .as-hero-card .as-btn-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.as-wrap .as-hero-media {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 0 0 44px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.as-wrap .as-hero-photo-frame {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(100%, 500px);
  height: clamp(360px, 29vw, 430px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.as-wrap .as-hero-photo-frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 10%;
  width: 88%;
  height: 78%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(216, 177, 101, 0.26) 0%, rgba(216, 177, 101, 0.13) 38%, transparent 70%);
  transform: translateX(-50%);
  filter: blur(8px);
  pointer-events: none;
}

.as-wrap .as-hero-photo-frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 9%;
  right: 9%;
  bottom: 0;
  height: 34%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(0deg, rgba(33, 35, 46, 0.42), transparent 72%);
  pointer-events: none;
}

.as-wrap .as-hero-photo-frame img {
  position: relative;
  z-index: 2;
  display: block;
  width: 122%;
  height: 122%;
  min-height: 0;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(10px) scale(1.10);
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.30));
}

.as-wrap .as-hero-person-card {
  position: absolute;
  left: clamp(18px, 2.4vw, 38px);
  right: clamp(18px, 2.4vw, 38px);
  bottom: 8px;
  z-index: 5;
  display: grid;
  gap: 3px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.as-wrap .as-hero-person-card span {
  color: #8a6429;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.as-wrap .as-hero-person-card strong {
  color: #1f2430;
  font-size: clamp(20px, 1.72vw, 25px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.as-wrap .as-hero-person-card small {
  color: #647084;
  font-size: 13px;
  font-weight: 750;
}

@media (max-width: 1040px) {
  .as-wrap .as-hero-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .as-wrap .as-hero-content {
    transform: none;
  }

  .as-wrap .as-hero-media {
    justify-content: center;
    max-width: 620px;
  }
}

/* v0.4.12: hero сделан плотнее и визуально дороже */
@media (max-width: 720px) {
  .as-wrap .as-section-hero {
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .as-wrap .as-hero-card {
    gap: 16px;
    padding: 18px 14px 20px;
    border-radius: 28px;
    overflow: hidden;
  }

  .as-wrap .as-hero-card::after {
    display: none;
  }

  .as-wrap .as-hero-media {
    order: 1;
    width: 100%;
    max-width: none;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0 !important;
    margin: 0 0 2px;
    padding: 0;
    gap: 0;
    align-items: stretch;
  }

  .as-wrap .as-hero-photo-frame {
    width: 100%;
    height: clamp(220px, 62vw, 272px);
    min-height: 0 !important;
    overflow: visible;
    border-radius: 0;
    background: transparent;
  }

  .as-wrap .as-hero-photo-frame::before {
    left: 50%;
    bottom: 0;
    width: 82%;
    height: 52%;
    opacity: .48;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(213, 170, 83, .22) 0%, rgba(213, 170, 83, .10) 42%, transparent 72%);
    filter: blur(18px);
    transform: translateX(-50%);
  }

  .as-wrap .as-hero-photo-frame::after {
    display: none;
  }

  .as-wrap .as-hero-photo-frame img {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    object-fit: contain;
    object-position: center bottom;
    transform: translateY(10px) scale(1.02);
    filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .22));
  }

  .as-wrap .as-hero-person-card {
    position: relative;
    z-index: 4;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 28px);
    margin: -34px auto 4px;
    padding: 14px 16px;
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
    text-align: left;
  }

  .as-wrap .as-hero-person-card span {
    font-size: 11px;
    letter-spacing: .14em;
  }

  .as-wrap .as-hero-person-card strong {
    font-size: 22px;
  }

  .as-wrap .as-hero-person-card small {
    font-size: 13px;
  }

  .as-wrap .as-hero-content {
    order: 2;
    margin-top: -2px;
    transform: none;
  }

  .as-wrap .as-hero-content h1 {
    margin-top: 2px;
    margin-bottom: 10px;
    line-height: 1.08;
  }

  .as-wrap .as-hero-content .as-lead {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.45;
  }

  .as-wrap .as-hero-content .as-muted {
    font-size: 14.5px;
    line-height: 1.56;
  }

  .as-wrap .as-hero-points {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 16px;
  }

  .as-wrap .as-hero-points span {
    justify-content: flex-start;
    white-space: normal;
    min-height: 36px;
    padding: 8px 11px;
    font-size: 13px;
  }

  .as-wrap .as-hero-card .as-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .as-wrap .as-hero-card .as-btn {
    width: 100%;
    min-height: 50px;
  }
}

@media (max-width: 420px) {
  .as-wrap .as-hero-photo-frame {
    height: 238px;
  }

  .as-wrap .as-hero-person-card strong {
    font-size: 20px;
  }
}


.as-wrap .as-pc-break {
  display: block;
}

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


/* v0.4.18: PageSpeed and CLS improvements */
.as-wrap .as-section:not(.as-section-hero),
.as-wrap .as-adv-card,
.as-wrap .as-service-card,
.as-wrap .as-step,
.as-wrap .as-post-card,
.as-wrap .as-review-card,
.as-wrap .as-faq-item {
  content-visibility: auto;
  contain-intrinsic-size: 1px 420px;
}

.as-wrap .as-hero-photo,
.as-wrap .as-about-photo,
.as-wrap .as-popup-photo {
  display: block;
  height: auto;
}

.as-wrap .as-hero-photo-frame img.as-hero-photo {
  height: 122%;
}

@media (max-width: 720px) {
  .as-wrap .as-hero-photo-frame img.as-hero-photo {
    height: 100%;
  }
}

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

/* v0.4.18: PageSpeed / Lighthouse accessibility refinements */
.as-kicker,
.as-badge,
.as-wrap .as-review-stars,
.as-contact-list i,
.as-map-placeholder i,
.as-consent a {
  color: #7a5418;
}

.as-about-content p,
.as-wrap .as-review-card p,
.as-wrap .as-review-top span,
.as-wrap .as-reviews-action-note,
.as-modal-head p,
.as-form-hint,
.as-consent {
  color: #3f4a5a !important;
}

.as-consent a {
  font-weight: 700;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

@keyframes asGoldFlareComposite {
  0%, 68%, 100% { transform: translate3d(-120%,0,0) rotate(22deg); opacity: 0; }
  12% { opacity: .78; }
  36% { transform: translate3d(430%,0,0) rotate(22deg); opacity: 0; }
}


/* v0.4.21: аккуратный премиальный вид popup */
.as-modal-dialog .as-form input:not([type="checkbox"]),
.as-modal-dialog .as-form textarea,
.as-modal-dialog .as-form select {
  border-color: #E3E8F1;
  background: rgba(255, 255, 255, .96);
}

.as-modal-dialog .as-form input:not([type="checkbox"]):focus,
.as-modal-dialog .as-form textarea:focus,
.as-modal-dialog .as-form select:focus {
  border-color: rgba(201, 163, 91, .72);
  box-shadow: 0 0 0 4px rgba(201, 163, 91, .14);
}

.as-modal-dialog .as-form-submit {
  margin-top: 2px;
  min-height: 58px;
  border-radius: 17px;
  box-shadow: 0 14px 28px rgba(201, 163, 91, .20);
}

@media (max-width: 720px) {
  .as-modal-dialog .as-form-submit {
    min-height: 54px;
    border-radius: 16px;
  }
}

/* v0.4.31: защита стилей внутренней страницы услуги */
.as-wrap.as-service-detail-page .as-service-detail-layout .as-service-side-card,
.as-wrap.as-service-detail-page .as-service-final-cta-section .as-service-final-cta {
  color: #fff !important;
}

.as-wrap.as-service-detail-page .as-service-detail-layout .as-service-side-card h1,
.as-wrap.as-service-detail-page .as-service-detail-layout .as-service-side-card h2,
.as-wrap.as-service-detail-page .as-service-detail-layout .as-service-side-card h3,
.as-wrap.as-service-detail-page .as-service-final-cta-section .as-service-final-cta h1,
.as-wrap.as-service-detail-page .as-service-final-cta-section .as-service-final-cta h2,
.as-wrap.as-service-detail-page .as-service-final-cta-section .as-service-final-cta h3 {
  color: #fff !important;
}

.as-wrap.as-service-detail-page .as-service-detail-layout .as-service-side-card p,
.as-wrap.as-service-detail-page .as-service-detail-layout .as-service-side-card span:not(.as-kicker),
.as-wrap.as-service-detail-page .as-service-final-cta-section .as-service-final-cta p {
  color: rgba(255, 255, 255, 0.76) !important;
}

.as-wrap.as-service-detail-page .as-service-detail-layout .as-service-side-card .as-service-side-icon,
.as-wrap.as-service-detail-page .as-service-final-cta-section .as-service-final-cta .as-kicker {
  color: var(--as-accent, #C9A35B) !important;
}

.as-wrap.as-service-detail-page .as-service-detail-layout .as-service-side-card .as-btn-primary,
.as-wrap.as-service-detail-page .as-service-final-cta-section .as-service-final-cta .as-btn-primary {
  color: #1E1B16 !important;
}

.as-wrap.as-service-detail-page .as-service-detail-layout .as-service-side-card .as-btn-secondary {
  color: #fff !important;
}
