/* ==========================================================================
   TAX CONSULTATIONS PAGE STYLES (Стили страницы «Налоговые консультации»)
   ========================================================================== */

/* Базовый центрирующий контейнер (ограничение по ширине и отступы) */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Общий класс для секций страницы */
.section {
  padding: 60px 0;
}

.section__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: rgb(38, 34, 32);
  margin: 8px 0 32px;
  line-height: 1.3;
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(156, 130, 104);
  font-weight: 700;
  margin-bottom: 8px;
}

/* Hero-секция */
.page-hero {
  padding: 40px 0 60px;
}

.crumbs {
  font-size: 12px;
  color: rgb(138, 131, 113);
  margin-bottom: 24px;
}

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

.crumbs a:hover {
  text-decoration: underline;
}

.crumbs span {
  margin: 0 6px;
  color: rgb(180, 170, 155);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  font-weight: 600;
  color: rgb(38, 34, 32);
  line-height: 1.3;
  margin: 0 0 16px;
}

.hero__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 24px;
}

.hero__tags span {
  font-size: 12.5px;
  background: rgb(231, 223, 210);
  color: rgb(74, 70, 54);
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 500;
}

.page-hero__lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgb(43, 36, 31);
  max-width: 58ch;
  margin: 0;
}

.page-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.page-hero__note {
  font-size: 12.5px;
  color: rgb(138, 131, 113);
  margin: 0;
}

/* Карточка с интеллект-картой (схема) */
.mapcard {
  background: rgb(239, 233, 221);
  border: 1px solid rgb(221, 211, 194);
  border-radius: 12px;
  padding: 20px;
  margin: 0;
  box-shadow: 0 4px 20px rgba(38, 34, 32, 0.04);
}

.mapcard__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(138, 131, 113);
  margin-bottom: 12px;
  font-weight: 600;
}

.mapcard__label i {
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  color: rgb(156, 130, 104);
  margin-left: 6px;
}

.mapcard svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Стили элементов внутри SVG интеллект-карты */
.mm-line {
  fill: none;
  stroke: #c8b9a6;
  stroke-width: 1.8;
}

.mm-node rect {
  fill: #f6f0e6;
  stroke: #ddd3c2;
  stroke-width: 1.5;
}

.mm-node text {
  font-size: 12px;
  fill: #262220;
  font-family: inherit;
  font-weight: 500;
}

.mm-out rect {
  fill: #262220;
  stroke: #262220;
}

.mm-out text {
  font-size: 12px;
  fill: #f6f0e6;
  font-family: inherit;
  font-weight: 600;
}

.mm-center rect {
  fill: #262220;
  stroke: #262220;
}

.mm-center text {
  font-size: 13.5px;
  fill: #f6f0e6;
  font-family: inherit;
  font-weight: 600;
}

.mm-dot {
  fill: #9c8268;
}

.mapcard__caption {
  font-size: 12px;
  color: rgb(107, 101, 88);
  margin-top: 14px;
  text-align: center;
  line-height: 1.4;
}

/* Блок «Принцип выбора формата» */
.principle {
  padding: 60px 0;
  background: rgb(239, 233, 221);
  border-top: 1px solid rgb(221, 211, 194);
  border-bottom: 1px solid rgb(221, 211, 194);
  margin: 40px 0;
}

.principle__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: start;
}

.principle h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  color: rgb(38, 34, 32);
  margin: 8px 0 0;
  line-height: 1.3;
}

.principle__text p {
  font-size: 15px;
  line-height: 1.6;
  color: rgb(43, 36, 31);
  margin: 0 0 24px;
}

.verdicts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.verdict {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgb(246, 240, 230);
  border: 1px solid rgb(221, 211, 194);
  padding: 16px 18px;
  border-radius: 10px;
}

.verdict__mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgb(38, 34, 32);
  color: rgb(246, 240, 230);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.verdict--hard .verdict__mark {
  background: rgb(156, 130, 104);
}

.verdict strong {
  display: block;
  font-size: 14px;
  color: rgb(38, 34, 32);
  margin-bottom: 3px;
}

.verdict span {
  font-size: 13px;
  color: rgb(107, 101, 88);
  line-height: 1.45;
}

/* Сетка трех форматов */
.formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.fmt {
  background: rgb(239, 233, 221);
  border: 1px solid rgb(221, 211, 194);
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.fmt--feature {
  background: rgb(38, 34, 32);
  color: rgb(242, 235, 221);
  border-color: rgb(38, 34, 32);
}

.fmt__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: rgb(156, 130, 104);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fmt__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.fmt__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgb(221, 211, 194);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(38, 34, 32);
}

.fmt--feature .fmt__icon {
  background: rgba(255, 255, 255, 0.1);
  color: rgb(242, 235, 221);
}

.fmt__num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  color: rgb(138, 131, 113);
  font-weight: 600;
}

.fmt--feature .fmt__num {
  color: rgb(156, 130, 104);
}

.fmt h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px;
}

.fmt__sub {
  font-size: 12.5px;
  color: rgb(138, 131, 113);
  margin: 0 0 14px;
}

.fmt--feature .fmt__sub {
  color: rgb(190, 179, 164);
}

.fmt__lead {
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgb(221, 211, 194);
}

.fmt--feature .fmt__lead {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.fmt__label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgb(138, 131, 113);
  margin: 0 0 8px;
}

.fmt--feature .fmt__label {
  color: rgb(190, 179, 164);
}

.fit, .get {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.45;
}

.fit li, .get li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}

.fit li::before, .get li::before {
  content: "·";
  position: absolute;
  left: 4px;
  font-weight: bold;
}

.fmt__limit {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed rgb(221, 211, 194);
  font-size: 12px;
  color: rgb(107, 101, 88);
}

.fmt--feature .fmt__limit {
  border-top-color: rgba(255, 255, 255, 0.15);
  color: rgb(207, 198, 186);
}

.fmt__limit p {
  margin: 0;
  line-height: 1.4;
}

/* Блок «Только письменно» */
.only {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  background: rgb(239, 233, 221);
  border: 1px solid rgb(221, 211, 194);
  border-radius: 14px;
  padding: 40px;
}

.only__quote blockquote {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  line-height: 1.4;
  color: rgb(38, 34, 32);
  margin: 12px 0 16px;
}

.only__quote p {
  font-size: 14px;
  line-height: 1.6;
  color: rgb(74, 70, 54);
  margin: 0;
}

.only__list h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  margin: 0 0 14px;
  color: rgb(38, 34, 32);
}

.only__list ol {
  margin: 0;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgb(43, 36, 31);
}

.only__list li {
  margin-bottom: 8px;
}

/* Таблица сравнения */
.compare-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border: 1px solid rgb(221, 211, 194);
  border-radius: 12px;
  background: rgb(239, 233, 221);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

.compare th, .compare td {
  padding: 16px 20px;
  border-bottom: 1px solid rgb(221, 211, 194);
  border-right: 1px solid rgb(221, 211, 194);
}

.compare th:last-child, .compare td:last-child {
  border-right: none;
}

.compare tbody tr:last-child td, .compare tbody tr:last-child th {
  border-bottom: none;
}

.compare th {
  background: rgb(231, 223, 210);
  font-weight: 600;
  color: rgb(38, 34, 32);
}

.compare th[scope="row"] {
  width: 22%;
  color: rgb(107, 101, 88);
  font-weight: 500;
}

.col-feature {
  background: rgba(156, 130, 104, 0.08);
}

/* Шаги работы */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.step {
  background: rgb(239, 233, 221);
  border: 1px solid rgb(221, 211, 194);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}

.step--key {
  background: rgb(38, 34, 32);
  color: rgb(242, 235, 221);
  border-color: rgb(38, 34, 32);
}

.step__n {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  color: rgb(156, 130, 104);
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}

.step strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.step p {
  font-size: 13px;
  color: rgb(107, 101, 88);
  margin: 0;
  line-height: 1.45;
}

.step--key p {
  color: rgb(207, 198, 186);
}

/* Блок «Что написать» (Brief) */
.brief {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: rgb(239, 233, 221);
  border: 1px solid rgb(221, 211, 194);
  border-radius: 14px;
  padding: 40px;
}

.msg {
  background: rgb(246, 240, 230);
  border: 1px solid rgb(221, 211, 194);
  border-radius: 10px;
  padding: 24px;
}

.msg__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: rgb(38, 34, 32);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgb(221, 211, 194);
}

.msg ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 13.5px;
}

.msg li {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  align-items: flex-start;
}

.msg li b {
  font-family: "Playfair Display", Georgia, serif;
  color: rgb(156, 130, 104);
  font-size: 13px;
}

.msg__foot {
  font-size: 11.5px;
  color: rgb(138, 131, 113);
  margin: 0;
  font-style: italic;
}

/* Финальный CTA-блок */
.cta {
  background: rgb(38, 34, 32);
  color: rgb(242, 235, 221);
  padding: 50px 0;
  margin-top: 60px;
}

.cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cta h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #fff;
}

.cta p {
  font-size: 14.5px;
  color: rgb(207, 198, 186);
  margin: 0 0 6px;
  max-width: 55ch;
}

.cta__geo {
  font-size: 12.5px;
  color: rgb(156, 130, 104);
}

.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
/* ==========================================================================
   ПРИНУДИТЕЛЬНЫЕ СТИЛИ КНОПОК ДЛЯ ЭТОЙ СТРАНИЦЫ
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.9;
}

/* Тёмная кнопка */
.btn--dark {
  background: rgb(38, 34, 32);
  color: rgb(255, 255, 255);
  border: 1.5px solid rgb(38, 34, 32);
}

/* Кнопка с обводкой */
.btn--outline {
  background: transparent;
  color: rgb(38, 34, 32);
  border: 1.5px solid rgb(38, 34, 32);
}

/* Светлая кнопка (для тёмных секций вроде CTA) */
.btn--light {
  background: rgb(246, 240, 230);
  color: rgb(38, 34, 32);
  border: 1.5px solid rgb(246, 240, 230);
}

/* Светлая прозрачная кнопка с обводкой */
.btn--ghost-light {
  background: transparent;
  color: rgb(242, 235, 221);
  border: 1.5px solid rgb(221, 211, 194);
}

/* Адаптивность для планшетов и мобильных */
@media (max-width: 900px) {
  .wrap {
    padding: 0 20px;
  }
  .hero__grid,
  .principle__inner,
  .formats,
  .only,
  .steps,
  .brief,
  .cta__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}