/* ===== CSS Variables — тёплая тёмная тема с зелёными акцентами ===== */
:root {
  --color-bg: #141c18;
  --color-bg-alt: #1a2420;
  --color-surface: rgba(30, 42, 36, 0.94);
  --color-surface-solid: #24332c;
  --color-border: rgba(148, 175, 160, 0.16);
  --color-text: #eef5f0;
  --color-text-muted: #9cb0a4;
  --color-accent: #3b9e6e;
  --color-accent-hover: #2f855a;
  --color-accent-glow: rgba(59, 158, 110, 0.2);
  --color-green: #3ecf7a;
  --color-green-soft: #6ee7a0;
  --color-green-muted: rgba(62, 207, 122, 0.14);
  --color-red: #f87171;
  --color-red-muted: rgba(248, 113, 113, 0.12);
  --color-gold: #fbbf24;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.32);
  --shadow-card: 0 6px 24px rgba(0, 0, 0, 0.24);
  --glass-blur: blur(18px);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 76px;
  --container: 1200px;
  --section-pad: clamp(48px, 8vw, 96px);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  min-height: 100vh;
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--color-accent-hover); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
}

.section__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 12px;
}

.section__subtitle {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-top: 16px;
}

/* ===== Glass Card ===== */
.glass {
  background: var(--color-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(180deg, #48d884 0%, #2faf62 100%);
  color: #0b1510;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(62, 207, 122, 0.28);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #5ee89a 0%, #34c270 100%);
  color: #0b1510;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(62, 207, 122, 0.36);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-green);
  color: var(--color-green);
  background: var(--color-green-muted);
}

.btn--green {
  background: linear-gradient(180deg, #48d884 0%, #2faf62 100%);
  color: #0b1510;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(62, 207, 122, 0.28);
}

.btn--green:hover {
  background: linear-gradient(180deg, #5ee89a 0%, #34c270 100%);
  color: #0b1510;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(62, 207, 122, 0.36);
}

.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--lg { padding: 18px 36px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(20, 28, 24, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(62, 207, 122, 0.12);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.is-scrolled {
  background: rgba(18, 26, 22, 0.98);
  box-shadow: var(--shadow-card);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.logo__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  overflow: hidden;
}

.logo__text { display: flex; flex-direction: column; }
.logo__title { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 600; line-height: 1.2; }
.logo__sub { font-size: 0.6875rem; color: var(--color-text-muted); letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; gap: 8px; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 16px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-accent);
  background: var(--color-accent-glow);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header__phone {
  color: var(--color-green-soft);
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.header__phone:hover { color: var(--color-green); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
  border-radius: 2px;
}

.burger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero {
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: var(--section-pad);
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #1a2a22 0%, var(--color-bg) 55%, #121a16 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(62, 207, 122, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero__grid--home {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
}

.hero--home .hero__intro {
  grid-column: 1;
  grid-row: 1;
}

.hero--home .hero__details {
  grid-column: 1;
  grid-row: 2;
}

.hero--home .hero__card--lead {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.hero__subtitle--mobile {
  display: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-green-muted);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--color-green);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero__title { margin-bottom: 24px; }

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero__checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
}

.hero__check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-green-muted);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__card {
  padding: clamp(28px, 4vw, 40px);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero__card--lead {
  padding: clamp(16px, 2.5vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 0;
  border-color: rgba(62, 207, 122, 0.22);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(62, 207, 122, 0.06);
}

.hero__portrait {
  position: relative;
  margin: 0 0 20px;
  border-radius: calc(var(--radius-md) - 2px);
  overflow: hidden;
  background: #0f1612;
}

.hero__portrait-img {
  width: 100%;
  height: auto;
  max-height: min(520px, 58vh);
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 452 / 620;
  border-radius: 0;
}

.hero__portrait-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 18px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 16, 13, 0.92) 70%);
}

.hero__portrait-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-green-soft);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.hero__portrait-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  color: var(--color-text);
  line-height: 1.45;
  margin: 0;
  border: none;
  padding: 0;
}

.hero__card-phone {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}

.hero__card-phone--xl {
  margin: 0 4px 18px;
  padding: 8px 8px 20px;
  border-bottom: 1px solid rgba(62, 207, 122, 0.18);
}

.hero__card-phone-label {
  font-size: 0.8125rem;
  color: var(--color-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.hero__card-phone-number {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-serif);
}

.hero__card-phone--xl .hero__card-phone-number {
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-green-soft);
}

.hero__card-phone-number a { color: inherit; }
.hero__card-phone-number a:hover { color: var(--color-green); }

.hero__card-anon {
  font-size: 0.875rem;
  color: var(--color-green);
  margin-top: 10px;
  font-weight: 500;
}

.hero__lawyer {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}

.hero__lawyer-img {
  width: 72px;
  height: 90px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--color-border);
  flex-shrink: 0;
}

.consultation-form--compact .form-group {
  margin-bottom: 14px;
}

.consultation-form--compact .form-input {
  font-size: 1rem;
  padding: 15px 16px;
  border-color: rgba(62, 207, 122, 0.2);
  background: rgba(8, 14, 11, 0.35);
}

.consultation-form--compact .form-input:focus {
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px var(--color-green-muted);
}

/* ===== Site images (единая структура /images/) ===== */
.site-img {
  display: block;
  max-width: 100%;
  height: auto;
}

.lawyer-photo {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  object-fit: cover;
  aspect-ratio: 452 / 679;
}

.service-hero__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 452 / 679;
  margin-bottom: 20px;
}

.hero__lawyer-quote {
  font-style: italic;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  border-left: 2px solid var(--color-accent);
  padding-left: 16px;
}

/* ===== Form ===== */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-input.is-error,
.form-textarea.is-error {
  border-color: var(--color-red);
}

.form-error {
  font-size: 0.8125rem;
  color: var(--color-red);
  margin-top: 6px;
  display: none;
}

.form-error.is-visible { display: block; }

.form-textarea { min-height: 120px; resize: vertical; }

.form-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.form-success.is-visible { display: block; }

.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-green-muted);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.form-success__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.form-loader {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.form-loader.is-visible { display: flex; }

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Benefits ===== */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.benefit-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.benefit-card__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.benefit-card__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== Services ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.service-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
}

.service-card__badge {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--color-green-muted);
  color: var(--color-green);
}

.service-card__title { margin-bottom: 12px; }

.service-card__text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  flex: 1;
  margin-bottom: 24px;
}

.service-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Why / Process ===== */
.why__grid,
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card,
.process-step {
  padding: 32px 28px;
  position: relative;
}

.process-step__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(59, 130, 246, 0.2);
  line-height: 1;
  margin-bottom: 16px;
}

.process-step__title {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* ===== Stats ===== */
.stats {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
}

.stat-item__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.stat-item__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.stat-item__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== Important Block ===== */
.important-block {
  padding: clamp(32px, 5vw, 48px);
  border-left: 4px solid var(--color-red);
  background: var(--color-red-muted);
}

.important-block__title {
  color: var(--color-red);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.important-block p {
  color: var(--color-text);
  font-size: 0.9375rem;
}

/* ===== FAQ ===== */
.faq__list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-solid);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}

.faq-item__question:hover { background: var(--color-bg-alt); }

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-accent);
  transition: transform var(--transition);
}

.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item__answer-inner {
  padding: 0 24px 24px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq-item__answer-inner p { margin-bottom: 12px; }
.faq-item__answer-inner ul { list-style: disc; padding-left: 20px; margin: 12px 0; }
.faq-item__answer-inner li { margin-bottom: 6px; }

/* ===== Reviews ===== */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  padding: 28px;
}

.review-card__stars {
  color: var(--color-gold);
  font-size: 0.875rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}

.review-card__author {
  font-size: 0.875rem;
  font-weight: 600;
}

.review-card__meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ===== CTA Banner ===== */
.cta-banner {
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(34, 197, 94, 0.08));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.cta-banner__title { margin-bottom: 16px; }
.cta-banner__text {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ===== Contacts ===== */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-info__label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
}

.contact-info__value a { color: inherit; }

/* ===== Footer ===== */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: clamp(48px, 6vw, 72px) 0 32px;
}

.footer .logo__title { color: var(--color-text); }
.footer .logo__sub { color: var(--color-text-muted); }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__desc {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer__title {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: var(--color-text);
}

.footer__links { display: flex; flex-direction: column; gap: 10px; }

.footer__link {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer__link:hover { color: var(--color-green); }

.footer__link--phone {
  color: var(--color-green-soft);
  font-weight: 600;
  font-size: 1rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  padding: calc(var(--header-h) + 24px) 0 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: '/'; opacity: 0.4; }
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-accent); }

/* ===== Article ===== */
.article-page { padding-bottom: var(--section-pad); }

.article-header {
  padding: calc(var(--header-h) + 40px) 0 40px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 48px;
}

.article-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.article-header__tag {
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--color-accent);
  border-radius: 100px;
  font-weight: 500;
}

.article-content {
  max-width: 780px;
  margin: 0 auto;
}

.article-content h2 {
  margin: 48px 0 20px;
  font-size: 1.75rem;
}

.article-content h3 {
  margin: 32px 0 16px;
  font-size: 1.25rem;
}

.article-content p,
.article-content li {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin: 16px 0;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li { margin-bottom: 8px; }

.article-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--color-accent);
  background: rgba(59, 130, 246, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--color-text);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9375rem;
}

.article-content th,
.article-content td {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  text-align: left;
}

.article-content th {
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-weight: 600;
}

.article-content td { color: var(--color-text-muted); }

.article-toc {
  padding: 28px 32px;
  margin-bottom: 48px;
  background: var(--color-surface-solid);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.article-toc__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.article-toc ol {
  list-style: decimal;
  padding-left: 20px;
}

.article-toc li { margin-bottom: 8px; }
.article-toc a { color: var(--color-text-muted); font-size: 0.9375rem; }
.article-toc a:hover { color: var(--color-accent); }

.article-related {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.article-card {
  padding: 24px;
  transition: transform var(--transition);
}

.article-card:hover { transform: translateY(-2px); }

.article-card__tag {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.article-card__title {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.article-card__title a { color: var(--color-text); }
.article-card__title a:hover { color: var(--color-accent); }

/* ===== Geo Cities Block ===== */
.geo-cities {
  padding: clamp(32px, 5vw, 48px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.geo-cities__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
  text-align: center;
}

.geo-cities__subtitle {
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.geo-cities__groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.geo-cities__group-title {
  font-size: 1.125rem;
  color: var(--color-accent);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.geo-cities__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  list-style: none;
}

.geo-cities__list li {
  padding: 6px 14px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== Article & Service Cover Images ===== */
.article-cover {
  margin: 0 0 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.article-cover__img,
.service-hero__cover-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 320px;
}

.article-cover__caption {
  padding: 12px 20px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  text-align: center;
}

.service-hero__cover {
  margin: 0 auto 32px;
  max-width: var(--container);
  padding: 0 clamp(20px, 4vw, 40px);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.hero--donetsk {
  background:
    linear-gradient(165deg, rgba(20, 34, 28, 0.9) 0%, rgba(20, 28, 24, 0.96) 55%, rgba(18, 26, 22, 0.98) 100%),
    url('/images/cities/donetsk.svg') center/cover no-repeat;
}

.patriot-banner__wide {
  border-radius: var(--radius-md);
}

/* ===== Articles Index ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== Service Page ===== */
.service-hero {
  padding: calc(var(--header-h) + 48px) 0 48px;
}

.service-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.service-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.service-feature__icon {
  color: var(--color-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Floating Buttons ===== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition);
}

.floating-btn:hover { transform: scale(1.08); }

.floating-btn--call {
  background: linear-gradient(180deg, #48d884 0%, #2faf62 100%);
  color: #0b1510;
  display: none;
}

.floating-btn--top {
  background: var(--color-surface-solid);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.floating-btn--top.is-visible {
  opacity: 1;
  visibility: visible;
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 850;
  padding: 12px 20px;
  background: rgba(20, 28, 24, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(62, 207, 122, 0.18);
  display: none;
  gap: 12px;
}

.sticky-cta .btn { flex: 1; }

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 404 / Thank you ===== */
.page-center {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-h) 20px 40px;
}

.page-center__code {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 8rem);
  color: rgba(59, 130, 246, 0.2);
  line-height: 1;
}

.page-center__title { margin: 16px 0; }
.page-center__text { color: var(--color-text-muted); margin-bottom: 32px; max-width: 480px; }

/* ===== Legal pages ===== */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) 0 var(--section-pad);
}

.legal-content h2 {
  margin: 40px 0 16px;
  font-size: 1.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
  line-height: 1.75;
}

.legal-content ul { list-style: disc; padding-left: 24px; margin: 16px 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
