/* ==========================================================================
   Страница «Возражения на акт налоговой проверки»
   Локальные стили. BEM, все блоки с префиксом act-.
   Общие стили шапки, подвала, cookie-bar и cta-bar — в /main.css.
   ========================================================================== */

/* Локальные переменные страницы (если такие же есть в main.css — можно удалить) */
.page-wrapper {
  --a-bg-block: #EFE9DD;
  --a-card: #FFFFFF;
  --a-text: #2B241F;
  --a-muted: #6B6558;
  --a-nav: #4A4636;
  --a-dark: #262220;
  --a-accent: #9C8268;
  --a-accent-light: #C9AD8F;
  --a-line: #DDD3C2;
  --a-card-line: #D2C4A8;
  --a-on-dark: #F2EBDD;
  --a-on-dark-2: #CFC6BA;
  --a-on-dark-3: #BEB3A4;
  --a-line-dark: #3A332C;
  --a-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --a-radius: 14px;
  --btn-radius: 8px; /* радиус кнопок: подставьте значение с главной */
  --a-wrap: 1200px;
  --a-gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Базовые блоки ---------- */

.act-sprite { position: absolute; }

.act-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.act-container {
  max-width: var(--a-wrap);
  margin: 0 auto;
  padding-left: var(--a-gutter);
  padding-right: var(--a-gutter);
}

.act-section { padding: clamp(48px, 7vw, 96px) 0; }
.act-section--flush { padding-top: 0; }

.act-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--a-accent);
}
.act-eyebrow--light { color: var(--a-accent-light); }

.act-hero__title,
.act-title,
.act-result__title,
.act-work__title {
  margin: 0;
  font-family: var(--a-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--a-dark);
}
.act-title { font-size: clamp(28px, 3.4vw, 42px); max-width: 22ch; }
.act-title--light { color: var(--a-on-dark); }

/* Кнопки */
.act-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: var(--btn-radius);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.act-btn--dark { background: var(--a-dark); color: var(--a-on-dark); border: 1px solid var(--a-dark); }
.act-btn--dark:hover { background: #3A332C; }
.act-btn--outline { background: transparent; color: var(--a-dark); border: 1px solid var(--a-dark); }
.act-btn--outline:hover { background: var(--a-dark); color: var(--a-on-dark); }

/* ---------- ACT-CRUMBS ---------- */

.act-crumbs {
  margin-bottom: clamp(16px, 2.5vw, 28px);
  font-size: 14px;
  color: var(--a-muted);
}
.act-crumbs__link { color: var(--a-muted); text-decoration: none; }
.act-crumbs__link:hover { color: var(--a-accent); }
.act-crumbs__sep { margin: 0 6px; color: var(--a-line); }

/* ---------- ACT-HERO ---------- */

.act-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 5vw, 72px); }
.act-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.act-hero__grid > * { min-width: 0; }
.act-hero__title { max-width: 18ch; font-size: clamp(32px, 4.2vw, 52px); }
.act-hero__lead {
  margin: 20px 0 0;
  max-width: 56ch;
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--a-muted);
}
.act-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.act-hero__note { margin: 12px 0 0; font-size: 14px; color: var(--a-muted); }

/* ---------- ACT-TERMS ---------- */

.act-terms {
  padding: 24px;
  background: var(--a-card);
  border: 1px solid var(--a-card-line);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(38, 34, 32, .07);
}
.act-terms__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--a-accent);
}
.act-terms__label-icon { width: 18px; height: 18px; }
.act-terms__item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px dashed var(--a-line);
}
.act-terms__item:last-of-type { border-bottom: 0; }
.act-terms__day {
  padding: 10px 4px;
  border-radius: 12px;
  background: var(--a-bg-block);
  text-align: center;
}
.act-terms__day-num {
  display: block;
  font-family: var(--a-serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: var(--a-dark);
}
.act-terms__day-unit { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.2; color: var(--a-muted); }
.act-terms__name { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--a-dark); }
.act-terms__text { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--a-muted); }
.act-terms__item--alert .act-terms__day { background: var(--a-dark); }
.act-terms__item--alert .act-terms__day-num { color: var(--a-on-dark); }
.act-terms__item--alert .act-terms__day-unit { color: var(--a-on-dark-3); }
.act-terms__note {
  margin: 10px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--a-line);
  font-size: 13px;
  color: var(--a-muted);
}

/* ---------- ACT-APPROACH ---------- */

.act-approach { background: var(--a-dark); color: var(--a-on-dark-2); }
.act-approach__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 88px);
}
.act-approach__lead { margin: 16px 0 0; font-size: 17px; line-height: 1.65; }

/* ---------- ACT-PAIR ---------- */

.act-pair { display: grid; gap: 12px; }
.act-pair__item { padding: 18px 20px; border: 1px solid var(--a-line-dark); border-radius: 12px; }
.act-pair__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.act-pair__text { margin: 0; font-size: 15.5px; line-height: 1.55; }
.act-pair__item--no { color: var(--a-on-dark-3); }
.act-pair__item--no .act-pair__label { color: var(--a-on-dark-3); }
.act-pair__item--no .act-pair__text {
  text-decoration: line-through;
  text-decoration-color: rgba(190, 179, 164, .5);
}
.act-pair__item--yes {
  border-color: var(--a-accent);
  background: rgba(201, 173, 143, .08);
  color: var(--a-on-dark);
}
.act-pair__item--yes .act-pair__label { color: var(--a-accent-light); }

/* ---------- ACT-WORK ---------- */

.act-work__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.act-work__card {
  position: relative;
  padding: 24px 22px;
  background: var(--a-card);
  border: 1px solid var(--a-card-line);
  border-radius: var(--a-radius);
  transition: border-color .2s, transform .2s;
}
.act-work__card:hover { border-color: var(--a-accent); transform: translateY(-2px); }
.act-work__num {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--a-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--a-accent-light);
}
.act-work__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--a-bg-block);
  border: 1px solid var(--a-line);
  color: var(--a-accent);
  transition: background .25s, color .25s;
}
.act-work__icon .act-icon { width: 24px; height: 24px; }
.act-work__card:hover .act-work__icon { background: var(--a-dark); color: var(--a-accent-light); }
.act-work__title { margin: 16px 0 8px; font-size: 19px; line-height: 1.25; }
.act-work__text { margin: 0; font-size: 15px; color: var(--a-muted); }

/* ---------- ACT-RESULT ---------- */

.act-result {
  padding: clamp(24px, 3vw, 36px);
  background: var(--a-bg-block);
  border: 1px solid var(--a-line);
  border-left: 4px solid var(--a-accent);
  border-radius: var(--a-radius);
}
.act-result__title { font-size: clamp(24px, 2.6vw, 32px); }
.act-result__text { margin: 12px 0 0; font-size: 17px; line-height: 1.6; }
.act-result__note { display: block; margin-top: 14px; font-size: 14px; color: var(--a-muted); }

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */

@media (max-width: 1024px) {
  .act-hero__grid,
  .act-approach__inner { grid-template-columns: 1fr; }
  .act-work__grid { grid-template-columns: 1fr 1fr; }
  .act-terms { max-width: 560px; }
}

@media (max-width: 640px) {
  .act-work__grid { grid-template-columns: 1fr; }
  .act-terms { padding: 18px; }
  .act-terms__item { grid-template-columns: 66px 1fr; gap: 12px; }
  .act-terms__day-num { font-size: 26px; }
  .act-hero__actions .act-btn { flex: 1 1 100%; white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .act-btn,
  .act-work__card,
  .act-work__icon { transition: none; }
}