/*
Theme Name: Law Office Landing Preview
Theme URI: https://example.com/law-office-landing-preview
Author: OpenAI
Author URI: https://openai.com
Description: Landing theme for «Евгения Вараздати и Ко.» — legal services in Yaroslavl.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: law-office-landing
*/

:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --surface: #ffffff;
  --line: #dfe3e8;
  --text: #1a1c20;
  --muted: #637381;
  --trust: #0a2540;
  --cta: #0056d2;
  --cta-hover: #0043a4;
  --cta-shadow: 0 4px 12px rgba(0, 86, 210, 0.2);
  --cta-shadow-hover: 0 6px 20px rgba(0, 86, 210, 0.28);
  --card-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
  --error: #d92d20;
  --radius-btn: 6px;
  --radius-card: 8px;
  --container: 1200px;
  --header-h: 148px;
  --section-y: 120px;
  --section-head-gap: 48px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: clip;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* ── Typography ── */

.section-title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-desc {
  margin: 16px 0 0;
  max-width: 820px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.section-head {
  margin-bottom: var(--section-head-gap);
  text-align: left;
}

.section-head .section-desc {
  margin-left: 0;
  margin-right: 0;
}

.section-head--center {
  text-align: center;
}

.section-head--center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: var(--section-y) 0;
}

.section--alt {
  background: var(--bg-alt);
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.btn-primary {
  background: var(--cta);
  color: #ffffff;
  box-shadow: var(--cta-shadow);
}

.btn-primary:hover {
  background: var(--cta-hover);
  box-shadow: var(--cta-shadow-hover);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
  color: var(--trust);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--cta);
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  box-shadow: 0 4px 24px rgba(10, 37, 64, 0.08);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 28px;
  align-items: stretch;
  min-height: var(--header-h);
}

.site-header__brand-col {
  grid-row: 1 / -1;
  display: flex;
  align-items: center;
  align-self: stretch;
  flex-shrink: 0;
  width: 130px;
  max-width: 130px;
}

.site-header__body {
  display: contents;
}

.site-header__top {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px 48px;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
}

.site-header__top-main {
  display: flex;
  align-items: center;
  gap: 32px 48px;
  flex-wrap: wrap;
  min-width: 0;
}

.site-header__bottom {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 8px 0 10px;
  position: relative;
}

.site-header__nav-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 40px;
}

.site-header__cta-bar {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.brand__logo-link {
  display: block;
  width: 100%;
  flex-shrink: 0;
}

.brand__logo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 130px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.brand__text--mobile {
  display: none;
}

.brand__text--desktop {
  display: flex;
  flex-shrink: 0;
}

.brand__name {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.brand__tagline {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.site-header__info {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  min-width: 0;
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.header-meta__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

.header-meta__text {
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.header-meta--phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  text-align: right;
  justify-self: end;
}

.header-meta__phone {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-meta__phone:hover {
  color: var(--cta);
}

.header-meta__callback {
  color: var(--cta);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-meta__callback:hover {
  color: var(--cta-hover);
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--cta);
}

.header-cta {
  flex-shrink: 0;
  min-height: 52px;
  padding: 0 20px;
  font-size: 13px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle__line + .nav-toggle__line {
  margin-top: 5px;
}

/* ── Hero ── */

.hero-section {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: 48px 0 64px;
  background: var(--bg);
}

.hero-section > .container {
  display: flex;
  align-items: center;
  width: min(var(--container), calc(100% - 40px));
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-split__media {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-alt);
}

.hero-split__content {
  padding-top: 0;
}

.hero-lead {
  margin: 0;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-lead strong {
  display: block;
  margin-bottom: 0;
  font-weight: 700;
}

.hero-split__photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
}

.hero-title {
  margin: 0;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.hero-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--trust);
}

.hero-guarantee {
  margin: 24px 0 32px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg-alt);
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.hero-guarantee strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

/* ── Service cards ── */

.services-grid {
  display: grid;
  gap: 24px;
}

.services-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.step-card,
.case-card,
.faq-list,
.faq-side,
.contacts-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.service-card .text-link {
  margin-top: auto;
  padding-top: 24px;
}

.service-card:hover {
  border-color: var(--trust);
  box-shadow: var(--card-shadow);
  transform: translateY(-2px);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}

.service-card__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: none;
}

.service-card h3,
.step-card h3,
.case-card h3,
.faq-side h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.service-card p,
.step-card p,
.case-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

/* ── Steps ── */

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

.step-card {
  padding: 24px 20px;
}

.step-card h3 {
  font-size: 18px;
  line-height: 1.4;
}

.step-card p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.step-card__label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--trust);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Cases slider ── */

.cases-slider {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
}

.cases-slider__viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.cases-slider__track {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

.cases-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cases-slider__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--trust);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.cases-slider__nav:hover:not(:disabled) {
  border-color: var(--trust);
  color: var(--cta);
  background: var(--bg-alt);
}

.cases-slider__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 32px;
  align-items: stretch;
  padding: 32px;
}

.case-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.case-card__content {
  flex: 1 1 auto;
}

.case-card__content h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.case-card__section + .case-card__section {
  margin-top: 24px;
}

.case-card__label {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.case-card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.case-card__body p {
  margin: 0;
}

.case-card__link {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 32px;
}

.case-card__link.text-link {
  margin-top: auto;
}

.case-card__media {
  min-width: 0;
}

.case-card__media img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: center top;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--bg-alt);
}

/* Убираем лишние отступы, если wpautop обернул слайдер */
.entry-content .cases-slider p {
  margin: 0;
}

.entry-content .cases-slider > p {
  display: contents;
}

/* ── Pricing table ── */

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.pricing-table-wrap > p {
  display: none;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
}

.pricing-table th,
.pricing-table td {
  padding: 20px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.pricing-table th {
  background: var(--bg-alt);
  color: var(--trust);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing-table td:last-child {
  font-weight: 600;
  color: var(--text);
  /* white-space: nowrap; */
}

.pricing-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.cases-section__footer {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.cases-section__footer .btn-primary {
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
}

/* ── FAQ ── */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 24px;
  align-items: start;
  width: 100%;
}

#faq .container {
  width: min(var(--container), calc(100% - 40px));
  max-width: var(--container);
}

.faq-list {
  padding: 8px 24px;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.faq-question span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--trust);
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 400;
}

.faq-answer {
  padding: 0 0 20px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.faq-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
  height: auto;
  padding: 32px;
  border-color: var(--trust);
  background: var(--trust);
  color: #ffffff;
}

.faq-side h3 {
  color: #ffffff;
}

.faq-side p {
  margin: 16px 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.5;
}

.faq-side .btn-primary {
  width: 100%;
  margin-top: auto;
}

/* ── Lead form ── */

.lead-block {
  display: grid;
  grid-template-columns: minmax(300px, 460px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.lead-block__media {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-alt);
}

.lead-block__form {
  max-width: none;
  width: 100%;
}

.lead-block__photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

.lead-block__form .section-title {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
}

.lead-block__form .section-desc {
  margin: 16px 0 0;
  max-width: none;
}

.lead-block__note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

#lead.section--alt,
#lead {
  background: var(--bg);
}

.lead-block__form .hero-guarantee,
.lead-block__form .lead-block__guarantee {
  margin: 24px 0 32px;
  max-width: none;
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
  margin-top: 0;
}

.lead-form__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.lead-form__label {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.lead-form input::placeholder {
  color: var(--muted);
}

.lead-form input {
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--bg);
  color: var(--text);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.lead-form input:focus {
  outline: none;
  border: 2px solid var(--cta);
  box-shadow: none;
}

.lead-form__consents {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.lead-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.lead-form__consent a {
  color: var(--cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-form__consent a:hover {
  color: var(--cta-hover);
}

.lead-form__consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--cta);
  cursor: pointer;
}

.lead-form__consent span {
  flex: 1;
}

.lead-form__consent-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-width: 0;
}

.lead-form__consent-line {
  display: block;
}

.lead-form__submit {
  width: 100%;
  max-width: 520px;
  min-height: 56px;
  margin-top: 4px;
}

/* WordPress wpautop часто оборачивает поля в <p> — убираем лишние отступы */
.home-main__editor .lead-block__form p:not(.hero-guarantee):not(.lead-block__guarantee):not(.section-desc),
.home-main__editor .lead-form p {
  margin: 0;
  padding: 0;
}

.home-main__editor .lead-form > p br {
  display: none;
}

.home-main__editor .lead-form > p:empty {
  display: none;
}

.home-main__editor .lead-block__form .section-desc {
  margin: 16px 0 0;
}

.home-main__editor .lead-block__form .lead-block__note,
.home-main__editor .lead-block__form .lead-block__guarantee,
.home-main__editor .lead-block__form .hero-guarantee {
  margin: 24px 0 32px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg-alt);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* ── Contacts ── */

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

.contacts-card {
  padding: 32px 24px;
}

.contacts-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.contacts-card__text p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.contacts-card__messengers-label {
  margin: 20px 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.contacts-card__prep-text {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.contacts-card__prep-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-alt);
}

.contacts-card__prep-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.messenger-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.messenger-btn:hover {
  border-color: var(--trust);
  color: var(--trust);
  background: var(--bg-alt);
}

.contacts-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contacts-list__row {
  display: grid;
  gap: 4px;
}

.contacts-list__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.contacts-list__value {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
}

.contacts-list__value--link {
  color: var(--cta);
  font-weight: 600;
}

.contacts-list__value--link:hover {
  color: var(--cta-hover);
  text-decoration: underline;
}

.contacts-card--info {
  display: flex;
  flex-direction: column;
}

.contacts-card__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.office-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
}

.office-grid--photos .office-grid__large,
.office-grid--photos .office-grid__small {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--bg-alt);
}

.office-grid--photos .office-grid__large {
  grid-row: span 2;
  min-height: 220px;
}

.office-grid--photos .office-grid__small {
  min-height: 106px;
}

.map-box {
  margin-top: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-alt);
}

.map-box--live {
  min-height: 280px;
}

/* ── Footer ── */

.site-footer {
  padding: 48px 0 24px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(160px, 0.9fr) minmax(200px, 0.9fr);
  gap: 40px;
  align-items: start;
}

.site-footer__brand-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-footer__logo {
  width: auto;
  height: 44px;
  object-fit: contain;
}

.site-footer__brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.site-footer__brand-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.site-footer__legal-links {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer__legal-links li + li {
  margin-top: 8px;
}

.site-footer__legal-links li,
.site-footer__legal-links a {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer__legal-links a:hover {
  color: var(--cta);
}

.site-footer__nav strong,
.site-footer__contacts strong {
  display: block;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.site-footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav li + li {
  margin-top: 10px;
}

.site-footer__nav a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.site-footer__nav a:hover {
  color: var(--cta);
}

.site-footer__contacts-lines {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.site-footer__contacts-lines a {
  color: var(--text);
  font-weight: 600;
}

.site-footer__contacts-lines a:hover {
  color: var(--cta);
}

.site-footer__legal {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer__legal p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer__copy {
  margin-top: 12px !important;
}

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

.home-main__editor {
  margin: 0;
}

.home-main__editor .section-head,
.home-main__editor .section-head--center {
  text-align: left;
}

.home-main__editor .section-head .section-desc,
.home-main__editor .section-head--center .section-desc {
  margin-left: 0;
  margin-right: 0;
}

.home-page-blocks > .section:first-child {
  padding-top: var(--section-y);
}

/* ── Tablet ── */

@media (max-width: 1180px) {
  .site-header__info {
    gap: 24px;
  }

  .site-nav ul {
    gap: 14px;
  }

  .site-nav a {
    font-size: 14px;
  }

  .header-cta {
    padding: 0 16px;
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  :root {
    --container: 728px;
    --section-y: 80px;
    --section-head-gap: 32px;
    --header-h: auto;
  }

  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .site-header__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
  }

  .site-header__brand-col {
    display: flex;
    align-items: center;
    gap: 14px;
    width: auto;
    max-width: none;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .brand__logo-link {
    width: 56px;
    flex-shrink: 0;
  }

  .brand__logo {
    width: 56px;
    height: 56px;
    max-width: none;
  }

  .site-header__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .site-header__top,
  .site-header__bottom {
    grid-column: auto;
    grid-row: auto;
  }

  .brand__text--desktop {
    display: none;
  }

  .brand__text--mobile {
    display: flex;
  }

  .site-header__top-main {
    display: none;
  }

  .site-header__top {
    padding: 10px 0;
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .site-header__bottom {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
  }

  .site-header__nav-bar {
    position: relative;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 16px 20px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--card-shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-header__nav-bar {
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-right: auto;
  }

  .site-header__cta-bar {
    justify-content: stretch;
  }

  .header-cta {
    width: 100%;
    min-height: 52px;
    font-size: 14px;
    white-space: normal;
    text-align: center;
  }

  .hero-section {
    min-height: auto;
    padding: 40px 0 48px;
  }

  .hero-lead,
  .hero-title {
    font-size: 32px;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-split__media {
    max-width: 360px;
    margin: 0 auto;
  }

  .lead-block__media {
    max-width: 360px;
    margin: 0 auto;
  }

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

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

  .case-card,
  .faq-layout,
  .lead-block,
  .contacts-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cases-slider {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cases-slider__nav {
    width: 100%;
    height: 44px;
  }

  .cases-slider__nav--prev {
    order: 2;
  }

  .cases-slider__viewport {
    order: 1;
  }

  .cases-slider__nav--next {
    order: 3;
  }

  .case-card__media {
    order: -1;
  }
}

/* ── Mobile ── */

@media (max-width: 767px) {
  :root {
    --section-y: 80px;
    --section-head-gap: 32px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .brand__logo {
    width: 48px;
    height: 48px;
  }

  .brand__text {
    display: none;
  }

  .header-meta__phone {
    font-size: 16px;
  }

  .header-cta {
    min-height: 52px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-lead,
  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-head {
    margin-bottom: var(--section-head-gap);
  }

  .service-card,
  .step-card {
    padding: 24px;
  }

  .step-card h3 {
    font-size: 18px;
  }

  .services-grid--3,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .lead-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lead-block__form .section-title {
    font-size: 28px;
  }

  .lead-form__consent {
    font-size: 12px;
  }

  .btn {
    min-height: 52px;
  }
}

/* ── Inner pages (unchanged layout) ── */

.page-hero {
  background: var(--trust);
  color: #fff;
  padding: 48px 0 40px;
}

.page-hero__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
}

.company-content {
  background: var(--bg-alt);
  padding: 56px 0 72px;
}

.company-content__inner {
  max-width: 820px;
  margin: 0 auto;
}

.company-content__title {
  margin: 0 0 40px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.company-content__block {
  margin-bottom: 28px;
}

.company-content__heading {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.company-content__list {
  margin: 0;
  padding-left: 1.35rem;
  list-style: disc;
}

.company-content__list li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.page-content {
  padding: 48px 0 0;
}

.page-content__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.entry-content .company-content--editor {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  padding: 56px 25px 72px;
  box-sizing: border-box;
}

.entry-content .company-content--editor .company-content__inner {
  max-width: 820px;
  margin: 0 auto;
}

.entry-content .company-content--editor p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.entry-content .company-content--editor a {
  color: var(--cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-content .company-content--editor a:hover {
  color: var(--cta-hover);
}

.company-content__section-title {
  margin: 36px 0 20px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.company-content__section-title:first-child {
  margin-top: 0;
}

.company-content__subheading {
  margin: 18px 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.company-content__term {
  font-weight: 700;
  font-style: italic;
}

.company-content__note {
  margin: 14px 0 8px;
  font-size: 15px;
  font-style: italic;
  line-height: 1.65;
}

.company-content__section-subtitle {
  margin: 0 0 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.company-content__appendix {
  margin: 40px 0 24px;
  text-align: right;
  font-size: 15px;
  line-height: 1.5;
}

.company-content__appendix p {
  margin: 0 0 6px;
}

.company-content__registry {
  position: relative;
  left: 50%;
  width: min(1140px, calc(100vw - 50px));
  margin: 28px 0 0;
  transform: translateX(-50%);
}

.company-content__table-wrap {
  overflow-x: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg);
}

.entry-content .company-content--editor .company-content__table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 12px;
  line-height: 1.45;
  background: var(--bg);
}

.entry-content .company-content--editor .company-content__table th,
.entry-content .company-content--editor .company-content__table td {
  border: 1px solid var(--line) !important;
  padding: 8px 9px;
  vertical-align: top;
  text-align: left;
  color: var(--text);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.entry-content .company-content--editor .company-content__table thead th {
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.35;
}

.entry-content .company-content--editor .company-content__table .company-content__table-nums td {
  background: var(--bg-alt);
  font-weight: 700;
  text-align: center;
  padding: 6px 9px;
  font-size: 11px;
}

.entry-content .company-content--editor .company-content__table th:nth-child(1),
.entry-content .company-content--editor .company-content__table td:nth-child(1) {
  width: 5%;
}

.entry-content .company-content--editor .company-content__table th:nth-child(2),
.entry-content .company-content--editor .company-content__table td:nth-child(2) {
  width: 14%;
}

.entry-content .company-content--editor .company-content__table th:nth-child(3),
.entry-content .company-content--editor .company-content__table td:nth-child(3) {
  width: 11%;
}

.entry-content .company-content--editor .company-content__table th:nth-child(4),
.entry-content .company-content--editor .company-content__table td:nth-child(4) {
  width: 22%;
}

.entry-content .company-content--editor .company-content__table th:nth-child(5),
.entry-content .company-content--editor .company-content__table td:nth-child(5) {
  width: 10%;
}

.entry-content .company-content--editor .company-content__table th:nth-child(6),
.entry-content .company-content--editor .company-content__table td:nth-child(6) {
  width: 19%;
}

.entry-content .company-content--editor .company-content__table th:nth-child(7),
.entry-content .company-content--editor .company-content__table td:nth-child(7) {
  width: 19%;
}

.entry-content .company-content--editor .company-content__table tbody td:first-child {
  text-align: center;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .company-content__registry {
    left: auto;
    width: 100%;
    transform: none;
  }

  .company-content__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .entry-content .company-content--editor .company-content__table {
    min-width: 720px;
    table-layout: auto;
  }
}

.about-page__video {
  position: relative;
}

.about-page__video iframe {
  width: 100%;
  height: 700px;
  position: relative;
  z-index: 1;
}

.about-page__video::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
}

.about-page__video-text {
  position: absolute;
  top: 40%;
  left: 20px;
  right: 20px;
  z-index: 3;
  color: #fff;
  max-width: 650px;
}

.about-page__block {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin: 30px 0;
}

@media (max-width: 1024px) {
  .about-page__block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 450px) {
  .about-page__video-text {
    top: 30%;
  }
}

.contacts {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 1024px) {
  .contacts {
    grid-template-columns: 1fr;
  }
}

.site-nav {
  position: relative;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.site-nav > ul > li {
  position: relative;
}

.site-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: block;
  padding: 10px 0;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--cta);
}

.site-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 8px 0;
  flex-direction: column;
  gap: 0;
  z-index: 999;
  border-top: 3px solid var(--cta);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.site-nav > ul > li:hover > .sub-menu,
.site-nav > ul > li:focus-within > .sub-menu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.site-nav .sub-menu .sub-menu {
  position: absolute;
  top: -8px;
  left: 100%;
  margin-left: 5px;
  min-width: 280px;
  border-top: 3px solid var(--cta);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateX(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.site-nav .sub-menu li:hover > .sub-menu,
.site-nav .sub-menu li:focus-within > .sub-menu {
  display: flex !important;
  opacity: 1;
  transform: translateX(0);
}

.site-nav .sub-menu li {
  width: 100%;
  position: relative;
}

.site-nav .sub-menu > li > a {
  padding: 10px 20px;
  color: #333;
  font-weight: 400;
  font-size: 14px;
  border-left: 3px solid transparent;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.site-nav .sub-menu > li > a:hover {
  background: #f0f6ff;
  color: var(--cta);
  border-left-color: var(--cta);
}

.site-nav .sub-menu .menu-item-has-children > a {
  position: relative;
  padding-right: 35px;
}

.site-nav .menu-item-has-children > a::after {
  content: "▾";
  margin-left: 6px;
  font-size: 12px;
  color: #999;
  transition: transform 0.3s ease;
  display: inline-block;
}

.site-nav .sub-menu .menu-item-has-children > a::after {
  content: "▸";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #999;
  margin-left: 0;
}

.site-nav .sub-menu .menu-item-has-children:hover > a::after {
  color: var(--cta);
}

.site-nav > ul > li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
  color: var(--cta);
}

.site-nav .sub-menu .sub-menu > li > a {
  padding: 10px 20px;
  font-size: 13px;
}

.site-nav .sub-menu .sub-menu {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  visibility: hidden;
}

.site-nav .sub-menu li:hover > .sub-menu {
  visibility: visible;
}

@media (min-width: 769px) {
  .site-nav .sub-menu .sub-menu {
    right: auto;
    left: 100%;
    margin-left: 0;
    margin-right: 5px;
  }
}

@media (hover: none) {
  .site-nav .sub-menu {
    transition: none;
  }

  .site-nav .sub-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav .sub-menu .sub-menu.active {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .site-nav > ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .site-nav > ul > li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .site-nav .sub-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    border-top: none;
    padding-left: 20px;
    background: #f9fafc;
    transform: none;
    opacity: 1;
    width: 100%;
    display: none;
    flex-direction: column;
  }

  .site-nav .sub-menu .sub-menu {
    position: static;
    padding-left: 20px;
    background: #f0f4fa;
    transform: none;
    opacity: 1;
    box-shadow: none;
    border-top: none;
    margin-left: 0;
    min-width: auto;
    display: none;
  }

  .site-nav .sub-menu.active,
  .site-nav .sub-menu .sub-menu.active {
    display: flex !important;
    opacity: 1;
    transform: none;
  }

  .site-nav .sub-menu > li > a {
    padding: 10px 15px;
    font-size: 14px;
    border-left: 2px solid transparent;
  }

  .site-nav .sub-menu > li > a:hover {
    background: #e8eef8;
    border-left-color: var(--cta);
  }

  .site-nav .sub-menu .menu-item-has-children > a::after {
    content: "▾";
    position: static;
    transform: none;
    font-size: 12px;
    margin-left: 6px;
  }

  .site-nav .sub-menu .menu-item-has-children > a {
    padding-right: 20px;
  }
}

.accordion-wrapper {
  max-width: 1200px;
  width: 100%;
  padding: 20px;
}

.accordion-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--cta);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.accordion-item {
  transition: border-color 0.3s ease;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  background-color: transparent;
  border: none;
  padding: 18px 16px 18px 20px;
  width: 100%;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  border-radius: 8px;
  line-height: 1.4;
  position: relative;
}

.accordion-header:hover,
.accordion-header:focus {
  background-color: #f0f4ff;
  color: var(--cta);
}

.accordion-header .icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--cta);
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
  line-height: 1;
}

.accordion-item.active .accordion-header .icon {
  transform: rotate(180deg);
  color: var(--cta);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    padding 0.3s ease;
  padding: 0 20px 0 20px;
  background-color: #fafcff;
  border-radius: 0 0 8px 8px;
}

.accordion-panel-inner {
  padding-bottom: 22px;
  padding-top: 4px;
}

.accordion-panel p {
  font-size: 16px;
  line-height: 1.7;
  color: #2d3748;
  margin: 0;
}

.accordion-item.active .accordion-header {
  color: var(--cta);
  background-color: #f0f4ff;
  border-radius: 8px 8px 0 0;
}

.accordion-item.active .accordion-panel {
  max-height: 600px;
  padding: 0 20px 0 20px;
}

@media (max-width: 480px) {
  .accordion-wrapper {
    padding: 14px;
  }
  .accordion-title {
    font-size: 22px;
  }
  .accordion-header {
    font-size: 15px;
    padding: 14px 12px 14px 16px;
  }
  .accordion-panel p {
    font-size: 15px;
  }
}

.page-content__inner a {
  color: var(--cta);
}

.news__item {
  max-width: 1200px;
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(0, 86, 210, 0.1);
  padding: 28px 30px 20px;
  transition: box-shadow 0.25s;
  margin-bottom: 30px;
}

.news__item:hover {
  box-shadow: 0 16px 45px rgba(0, 86, 210, 0.16);
}

.news__item-grid {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.news__item-img {
  flex: 0 0 38%;
  max-width: 38%;
  border-radius: 18px;
  overflow: hidden;
  background: #eef3fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.news__item-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news__item-img:hover img {
  transform: scale(1.01);
}

.news__item-text {
  flex: 1 1 auto;
}

.news__item-title {
  font-size: 28px;
  font-weight: 700;
  color: #0a1a2f;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.news__item-title::before {
  content: "• ";
  color: var(--cta);
  font-weight: 900;
}

.news__item-description {
  font-size: 16px;
  line-height: 1.6;
  color: #1f2a3f;
  margin-bottom: 8px;
}

.news__item-description storng {
  color: var(--cta);
  font-weight: 700;
}

.news__item-more {
  margin-top: 22px;
  border-top: 1px solid #e9edf4;
  padding-top: 18px;
}

.news__item-header {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  padding: 10px 18px 10px 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--cta);
  cursor: pointer;
  border-radius: 40px;
  transition:
    background 0.2s,
    color 0.2s;
  letter-spacing: 0.2px;
}

.news__item-header:hover {
  background: #f0f5ff;
  color: var(--cta-hover);
}

.news__item-header span:first-child {
  border-bottom: 1.5px dashed var(--cta);
  padding-bottom: 2px;
}

.news__item-icon {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.35s ease;
  color: var(--cta);
  font-weight: 300;
}

.news__item-icon.open {
  transform: rotate(180deg);
}

.news__item-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.35s ease,
    margin 0.3s ease;
  margin-top: 0;
  padding-right: 6px;
}

.news__item-content.open {
  max-height: 2500px;
  opacity: 1;
  margin-top: 18px;
}

.news__item-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #1f2a3f;
  margin-bottom: 16px;
}

.news__item-content ol {
  padding-left: 22px;
  margin: 10px 0 18px;
}

.news__item-content ol li {
  margin-bottom: 16px;
  font-weight: 500;
  color: #0a1a2f;
}

.news__item-content ol li strong {
  color: var(--cta);
  font-weight: 700;
}

.news__item-content ol li p {
  margin-top: 4px;
  margin-bottom: 4px;
  font-weight: 400;
  color: #1f2a3f;
}

.news__item-content ol li:last-child {
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .news__item {
    padding: 22px 20px 18px;
  }

  .news__item-grid {
    gap: 20px;
  }

  .news__item-img {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .news__item-title {
    font-size: 24px;
  }
}

@media (max-width: 680px) {
  .news__item {
    padding: 18px 16px 16px;
    border-radius: 18px;
  }

  .news__item-grid {
    flex-direction: column;
    gap: 14px;
  }

  .news__item-img {
    flex: 0 0 100%;
    max-width: 100%;
    border-radius: 14px;
  }

  .news__item-img img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
  }

  .news__item-title {
    font-size: 21px;
    margin-bottom: 10px;
  }

  .news__item-description {
    font-size: 15px;
    line-height: 1.5;
  }

  .news__item-header {
    font-size: 16px;
    padding: 8px 10px 8px 4px;
    gap: 8px;
  }

  .news__item-content p,
  .news__item-content ol li p {
    font-size: 15px;
  }

  .news__item-content ol {
    padding-left: 18px;
  }

  .news__item-more {
    margin-top: 14px;
    padding-top: 14px;
  }
}

@media (max-width: 420px) {
  .news__item {
    padding: 14px 12px;
  }

  .news__item-title {
    font-size: 19px;
  }

  .news__item-header {
    font-size: 15px;
    padding: 6px 6px 6px 2px;
  }

  .news__item-content.open {
    margin-top: 12px;
  }
}

/* ── Cookie consent ── */

#cookie-consent {
  position: relative;
  z-index: 2147483000;
  pointer-events: none;
}

#cookie-consent .cookie-consent__bar,
#cookie-consent .cookie-consent__modal,
#cookie-consent .cookie-consent__modal-panel,
#cookie-consent [data-cookie-action] {
  pointer-events: auto;
}

.cookie-consent__bar[hidden],
.cookie-consent__modal[hidden] {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

html:not(.cookie-consent-has-choice) .cookie-consent__bar:not([hidden]) {
  display: block !important;
}

html.cookie-consent-has-choice .cookie-consent__bar {
  display: none !important;
}

.cookie-consent__bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483001;
  padding: 20px 24px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 40px rgba(10, 37, 64, 0.1);
}

.cookie-consent__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(var(--container), calc(100% - 40px));
  max-width: var(--container);
  margin: 0 auto;
}

.cookie-consent__bar-text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 760px;
}

.cookie-consent__bar-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.cookie-consent__bar-text a,
.cookie-consent__modal-lead a {
  color: var(--cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__bar-text a:hover,
.cookie-consent__modal-lead a:hover {
  color: var(--cta-hover);
}

.cookie-consent__link-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cta);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cookie-consent__link-btn:hover {
  color: var(--cta-hover);
}

.cookie-consent__bar-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.cookie-consent__bar-actions .cookie-consent__btn {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.cookie-consent__btn--primary {
  background: var(--cta);
  color: #fff;
  border: 1px solid var(--cta);
  box-shadow: var(--cta-shadow);
}

.cookie-consent__btn--primary:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
}

.cookie-consent__btn--outline {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.cookie-consent__btn--outline:hover {
  border-color: var(--cta);
  color: var(--cta);
  background: #f0f6ff;
}

.cookie-consent__btn {
  min-height: 48px;
  padding: 0 20px;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}

.cookie-consent__modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 2147483002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 37, 64, 0.45);
}

.cookie-consent__modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  background: var(--bg);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(10, 37, 64, 0.18);
  pointer-events: auto;
}

.cookie-consent__modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bg-alt);
  cursor: pointer;
  z-index: 5;
}

.cookie-consent__modal-close-icon {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.cookie-consent__modal-close-icon::before,
.cookie-consent__modal-close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: var(--muted);
  transform-origin: center;
}

.cookie-consent__modal-close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.cookie-consent__modal-close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cookie-consent__modal-close:hover {
  background: #e8edf3;
}

.cookie-consent__modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 72px 0 32px;
}

.cookie-consent__modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f1ff;
  color: var(--cta);
  flex-shrink: 0;
}

.cookie-consent__modal-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.cookie-consent__modal-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 20px 32px 8px;
}

.cookie-consent__modal-lead {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.cookie-consent__modal-subtitle {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.cookie-consent__modal-detail {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.cookie-consent__section {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.cookie-consent__section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: #f0f6ff;
}

.cookie-consent__section-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.cookie-consent__section-action {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cta);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-consent__section-action:hover {
  color: var(--cta-hover);
}

.cookie-consent__service {
  padding: 18px;
}

.cookie-consent__service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.cookie-consent__service-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.cookie-consent__service-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.cookie-consent__service-desc p {
  margin: 0 0 12px;
}

.cookie-consent__service-desc p:last-child {
  margin-bottom: 0;
}

.cookie-consent__switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-consent__switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-consent__switch-ui {
  display: block;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #c5cdd8;
  transition: background 0.2s ease;
}

.cookie-consent__switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.cookie-consent__switch input:checked + .cookie-consent__switch-ui {
  background: var(--cta);
}

.cookie-consent__switch input:checked + .cookie-consent__switch-ui::after {
  transform: translateX(20px);
}

.cookie-consent__modal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 20px 32px 28px;
  border-top: 1px solid var(--line);
}

.cookie-consent__btn--save {
  min-width: 220px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 13px;
}

body.cookie-consent-modal-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .cookie-consent__bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .cookie-consent__bar-text {
    max-width: none;
  }

  .cookie-consent__bar-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .cookie-consent__bar {
    padding: 14px 16px 16px;
  }

  .cookie-consent__bar-text p {
    font-size: 13px;
  }

  .cookie-consent__bar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__bar-actions .cookie-consent__btn {
    width: 100%;
  }

  .cookie-consent__modal:not([hidden]) {
    padding: 12px;
  }

  .cookie-consent__modal-head,
  .cookie-consent__modal-body,
  .cookie-consent__modal-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cookie-consent__modal-head {
    padding-top: 22px;
  }

  .cookie-consent__modal-title {
    font-size: 22px;
  }

  .cookie-consent__modal-footer {
    flex-direction: column;
  }

  .cookie-consent__btn--save {
    width: 100%;
    min-width: 0;
  }
}

.consultation-block {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  /* min-height: 100vh; */
  background-image: url("/wp-content/uploads/2026/06/bankerbehindthecurtain_blog_1_1_2x.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.content-wrapper {
  max-width: 1200px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 60px 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.text-content {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
  font-weight: 400;
}

.cta-button {
  display: inline-block;
  background-color: var(--cta);
  color: #ffffff;
  padding: 18px 50px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 86, 210, 0.3);
  letter-spacing: 0.5px;
}

.cta-button:hover {
  background-color: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 86, 210, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

@media screen and (max-width: 768px) {
  .content-wrapper {
    padding: 40px 30px;
  }

  .text-content {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .cta-button {
    padding: 16px 40px;
    font-size: 15px;
    width: 100%;
    max-width: 350px;
  }
}

@media screen and (max-width: 480px) {
  .consultation-block {
    padding: 20px 15px;
  }

  .content-wrapper {
    padding: 30px 20px;
    border-radius: 8px;
  }

  .text-content {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .cta-button {
    padding: 15px 30px;
    font-size: 14px;
    width: 100%;
    max-width: none;
  }
}

@media screen and (max-width: 360px) {
  .text-content {
    font-size: 14px;
  }

  .cta-button {
    padding: 14px 25px;
    font-size: 13px;
  }
}

.consultation-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 60px 0;
  background-color: #f0f2f5;
  background-image: url("/wp-content/uploads/2026/06/1678969426_bogatyr_club_p_yuridicheskii_fon_foni_instagram_5_1x.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.content-wrapp {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.info-block {
  flex: 1;
  max-width: 50%;
}

.info-block h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.3;
  color: #222;
}

.benefits-list {
  list-style: none;
  margin-bottom: 40px;
  padding-left: 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 500;
}

.check-icon {
  min-width: 24px;
  height: 24px;
  background-color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  margin-top: 2px;
}

.check-icon svg {
  width: 14px;
  height: 14px;
  fill: white;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.social-icon img {
  width: 100%;
  height: 100%;
}

.form-block {
  flex: 1;
  max-width: 450px;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(5px);
}

.form-header {
  text-align: center;
  margin-bottom: 25px;
}

.form-header h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #222;
}

.form-header p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.form-group {
  margin-bottom: 15px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
  background: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--cta);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  margin-bottom: 15px;
  font-size: 12px;
  color: #777;
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  margin-right: 8px;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-group a {
  color: #777;
  text-decoration: underline;
}

.checkbox-group a:hover {
  color: var(--cta);
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background-color: var(--cta);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-bottom: 15px;
}

.submit-btn:hover {
  background-color: var(--cta-hover);
}

@media (max-width: 992px) {
  .content-wrapp {
    flex-direction: column;
    gap: 40px;
  }

  .info-block,
  .form-block {
    max-width: 100%;
    width: 100%;
  }

  .form-block {
    order: 2;
  }

  .info-block {
    order: 1;
  }
}

@media (max-width: 480px) {
  .info-block h2 {
    font-size: 24px;
  }

  .benefits-list li {
    font-size: 15px;
  }

  .form-block {
    padding: 20px;
  }
}

hr {
  background-color: var(--cta);
  height: 2px;
}

.action-btn {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.action-btn button {
  font-size: 16px;
  padding: 10px 20px;
}

.goal-mission-section {
  background-image: url('/wp-content/uploads/2026/06/yurist_korporativnogo_prava_1x.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}


.goal-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.goal-mission-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1;
}

.goal-mission-grid > * {
  z-index: 2;
  position: relative;
}



.goal-mission-item {
  padding: 40px;
  border-radius: 8px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
}

.goal-mission-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.goal-mission-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 25px;
  padding-bottom: 15px;
  display: inline-block;
}

.goal-mission-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: #2c5aa0;
  margin-bottom: 15px;
  line-height: 1.4;
}

.goal-mission-text {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  text-align: justify;
}

.goal-mission-text p {
  margin-bottom: 15px;
}

@media (max-width: 968px) {
  .goal-mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .goal-mission-section {
    padding: 60px 20px;
  }

  .goal-mission-item {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .goal-mission-section {
    padding: 40px 15px;
  }

  .goal-mission-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .goal-mission-subtitle {
    font-size: 16px;
  }

  .goal-mission-text {
    font-size: 15px;
    line-height: 1.7;
  }

  .goal-mission-item {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .goal-mission-title {
    font-size: 22px;
  }

  .goal-mission-subtitle {
    font-size: 15px;
  }

  .goal-mission-text {
    font-size: 14px;
  }
}

@media print {
  .goal-mission-section {
    background: white !important;
    padding: 20px 0;
  }

  .goal-mission-item {
    box-shadow: none;
    break-inside: avoid;
  }
}
