/* ─── Reset ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── Variables ─────────────────────────────────────── */
:root {
  --color-bg:       #F6F9FB;
  --color-text:     #1D1D1D;
  --color-accent:   #6986A1;
  --color-muted:    #8A98B0;
  --color-divider:  rgba(138, 152, 176, 0.3);
  --color-btn:      #1B1D36;
  --color-white:    #ffffff;

  --font:           'Montserrat', sans-serif;
  --container-max:  1340px;
  --container-pad:  40px;
  --radius-btn:     16px;
  --header-height:  72px;
}

/* ─── Base ───────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

html,
body {
  font-family: var(--font);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

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

button {
  font-family: var(--font);
}

/* ─── Container ─────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
}

/* ═══════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════ */
.header {
    background: var(--color-white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    height: var(--header-height);
    padding: 16px 80px;
    display: flex;
    align-items: center;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-main {
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.header__logo-fin {
  color: var(--color-text);
}

.header__logo-buh {
  color: var(--color-accent);
}

.header__logo-divider {
  width: 1.33px;
  height: 22px;
  background: #6986A1;
  flex-shrink: 0;
}

.header__logo-tagline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.08;
  color: var(--color-text);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header__nav-link:hover {
  color: var(--color-accent);
}

.header__phone {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.header__phone:hover {
  opacity: 0.75;
}

.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--color-text);
  color: var(--color-white);
  border: none;
  height: 40px;
  border-radius: 16px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.header__btn:hover {
  opacity: 0.82;
}

.header__btn:active {
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════ */
.hero {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
  max-height: 919px;
}

/* ── Hero main (content + visual side by side) ─────── */
.hero__main {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

/* ── Left: text content ─────────────────────────────── */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 883px;
  padding: 156px 0 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Topline */
.hero__topline {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}

.hero__brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.4;
}

.hero__online {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
}

.hero__online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8DB9D8;
  flex-shrink: 0;
}

.hero__online span {
  color: #8DB9D8;
  font-weight: 500;
  font-size: 14px;
}

/* Heading */
.hero__title {
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-text);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.hero__title-accent {
  color: var(--color-accent);
}

/* Description */
.hero__desc {
  font-size: 18px;
  font-weight: 500;
  line-height: 136%;
  color: #444952;
  margin-bottom: 32px;
}

/* Feature row (icon + text) */
.hero__feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 32px;
}

.hero__feature-icon-container {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 8px;
  border: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__feature-icon {
  width: 27px;
  height: auto;
  flex-shrink: 0;
  margin-top: 1px;
}

.hero__feature-title {
  font-size: 18px;
  font-weight: 500;
  color: #1D1D1D;
  line-height: 136%;
}

.hero__feature-sub {
  font-size: 14px;
  font-weight: 500;
  color: #6986A1;
  margin-top: 4px;
  line-height: 116%;
}

/* CTA button */
.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #1D1D1D;
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-btn);
  padding: 16px 48px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.hero__btn:hover {
  opacity: 0.82;
}

.hero__btn:active {
  opacity: 0.7;
}

/* ── Right: photo + decorative spheres ──────────────── */
.hero__visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 950px;
  pointer-events: none;
}

.hero__photo {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 810px;
  width: auto;
  object-fit: contain;
  object-position: bottom right;
  z-index: 2;
}

.hero__ellipse {
  position: absolute;
}

/* Largest sphere — RIGHT, partially clipped by viewport edge, behind photo */
.hero__ellipse--1 {
    right: -70px;
    transform: translateY(-50%);
    z-index: 1;
    bottom: 40px;
}

/* Medium sphere — LEFT of visual, mid-lower height, behind photo */
.hero__ellipse--2 {
    left: 298px;
    bottom: 406px;
    z-index: 1;
}

/* Small sphere — LEFT of visual, near bottom, behind photo */
.hero__ellipse--3 {
    bottom: 239px;
    left: 96px;
    z-index: 1;
}

/* ─── Stats bar ─────────────────────────────────────── */
.hero__stats-bar {
  position: relative;
  z-index: 5;
  padding: 32px 0 64px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 108px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  padding: 24px;
}

.hero__stat-value {
  font-size: 34px;
  font-weight: 600;
  color: #6986A1;
  line-height: 1;
  letter-spacing: -0.5px;
}

.hero__stat-label {
  font-size: 14px;
  font-weight: 500;
  color: #444952;
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════════════ */
.services {
  padding: 64px 0;
}

.services__header {
  margin-bottom: 48px;
}

.services__label {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: #6986A1;
  line-height: 136%;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.services__title {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
  color: var(--color-text);
  margin-bottom: 16px;
}

.services__subtitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 136%;
  color: #444952;
}

/* ── Grid ───────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

/* ── Card ───────────────────────────────────────────── */
.services__card {
  background: #F6F9FB;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.services__card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services__card:hover {
  box-shadow: 0 8px 32px rgba(105, 134, 161, 0.12);
  transform: translateY(-2px);
}

.services__card-icon {
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.services__card-icon img {
  width: 24px;
  height: auto;
}

.services__card-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.36;
}

.services__card-desc {
  font-size: 14px;
  font-weight: 400;
  color: #444952;
  line-height: 1.16;
}

/* ═══════════════════════════════════════════════════════
   OWNER PAINS SECTION
═══════════════════════════════════════════════════════ */
.owner-pains {
  padding: 64px 0;
  background: var(--color-white);
}

.owner-pains__header {
  margin-bottom: 48px;
}

.owner-pains__label {
  display: inline-block;
  margin-bottom: 16px;
  color: #6986A1;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.36;
}

.owner-pains__title {
  margin-bottom: 16px;
  color: var(--color-text);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
}

.owner-pains__subtitle {
  color: #444952;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.36;
}

.owner-pains__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.owner-pains__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.owner-pains__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}

.owner-pains__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #F6F9FBA3;
  font-size: 18px;
}

.owner-pains__item-title {
  margin-bottom: 4px;
  color: var(--color-text);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.28;
}

.owner-pains__item-text {
  color: #444952;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.28;
}

.owner-pains__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.owner-pains__card {
  border-radius: 16px;
  background: #6986A1 !important;
  color: var(--color-white);
}

.owner-pains__card--primary {
  flex: 1;
  padding: 24px;
  background: #718091 !important;
}

.owner-pains__card--guide {
  padding: 20px 24px;
  background: #718091;
}

.owner-pains__card-title {
  margin-bottom: 16px;
  color: var(--color-white);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.owner-pains__card-text {
  margin-bottom: 48px;
  color: #BBC2C7;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.28;
}

.owner-pains__checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.owner-pains__checks li {
  position: relative;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.36;
}

.owner-pains__checks li::before {
  content: "✅";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--color-white);
  font-size: 18px;
  margin-right: 8px;
  font-weight: 700;
  line-height: 1.36;
}

.owner-pains__guide-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--color-white);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.owner-pains__guide-title span {
  font-size: 22px;
  line-height: 1;
}

.owner-pains__guide-text {
  margin-bottom: 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
}

.owner-pains__guide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 24px;
  border: 2px solid rgb(255, 255, 255);
  border-radius: 16px;
  background: transparent;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════
   TRUST SECTION
═══════════════════════════════════════════════════════ */
.trust {
  padding: 64px 0;
  background: #F6F9FB;
}

.trust__header {
  margin-bottom: 48px;
}

.trust__label {
  display: inline-block;
  margin-bottom: 16px;
  color: #6986A1;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.36;
}

.trust__title {
  margin-bottom: 16px;
  color: var(--color-text);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
}

.trust__subtitle {
  color: #444952;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.36;
}

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

.trust__item {
  display: flex;
  gap: 16px;
  align-items: start;
}

.trust__icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
}

.trust__icon img {
  width: 24px;
  height: 24px;
}

.trust__item-title {
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.36;
}

.trust__item-text {
  color: #444952;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.16;
}

/* ═══════════════════════════════════════════════════════
   PROCESS SECTION
═══════════════════════════════════════════════════════ */
.process {
  background-color: #444952;
  background-image:
    url("../images/Process_Ellipse 105.png"),
    url("../images/Process_Ellipse 106.png"),
    url("../images/Process_Ellipse 107.png");
  background-repeat: no-repeat;
  background-position:
    left 56px bottom 34px,
    right 430px top 16px,
    right 220px top 120px;
  background-size:
    195px 195px,
    145px 145px,
    195px 195px;
}

.process__inner {
  padding: 64px 0;
  height: 462px;
  color: var(--color-white);
}

.process__header {
  margin-bottom: 48px;
}

.process__label {
  display: inline-block;
  margin-bottom: 16px;
  color: #8DB9D8;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.36;
}

.process__title {
  margin-bottom: 16px;
  color: var(--color-white);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
}

.process__subtitle {
  color: #BBC2C7;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.36;
}

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

.process__step {
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  border-bottom: 1px solid #6986A152;
}

.process__number {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid #8DB9D8;
  border-radius: 8px;
  color: #8DB9D8;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.12;
}

.process__step-title {
  margin-bottom: 8px;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.36;
}

.process__step-text {
  color: #8DB9D8;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.16;
}

/* ═══════════════════════════════════════════════════════
   CLIENTS SECTION
═══════════════════════════════════════════════════════ */
.clients {
  padding: 64px 0;
  background: var(--color-white);
}

.clients__header {
  margin-bottom: 48px;
}

.clients__label {
  display: inline-block;
  margin-bottom: 16px;
  color: #6986A1;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.36;
}

.clients__title {
  margin-bottom: 16px;
  color: var(--color-text);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
}

.clients__subtitle {
  color: #444952;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.36;
}

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

.clients__card {
  min-height: 120px;
  padding: 20px 24px;
  border-radius: 16px;
  background: #F6F9FB;
}

.clients__tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.16;
}

.clients__tag--ip {
  background: #E6F1FB;
  color: #185FA5;
}

.clients__tag--ooo {
  background: #E1F5EE;
  color: #0F6E56;
}

.clients__tag--market {
  background: #FAEEDA;
  color: #854F0B;
}

.clients__tag--services {
  background: #EAF3DE;
  color: #3B6D11;
}

.clients__tag--it {
  background: #FAECE7;
  color: #993C1D;
}

.clients__tag--production {
  background: #EEEDFE;
  color: #534AB7;
}

.clients__card-title {
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.36;
}

.clients__card-text {
  color: #444952;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.16;
}

/* ═══════════════════════════════════════════════════════
   CASES SECTION
═══════════════════════════════════════════════════════ */
.cases {
  padding: 64px 0;
  overflow: hidden;
  background: #F6F9FB;
}

.cases__header {
  margin-bottom: 48px;
}

.cases__label {
  display: inline-block;
  margin-bottom: 16px;
  color: #6986A1;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.36;
}

.cases__title {
  margin-bottom: 16px;
  color: var(--color-text);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
}

.cases__subtitle {
  color: #444952;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.36;
}

.cases__marquee {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.cases__track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: cases-marquee 34s linear infinite;
}

.cases__marquee:hover .cases__track {
  animation-play-state: paused;
}

.cases__card {
  width: 512px;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding: 24px;
  border-radius: 16px;
  background: var(--color-white);
  box-shadow: 0 8px 28px rgba(68, 73, 82, 0.04);
}

.cases__tag {
  align-self: flex-start;
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 16px;
  margin-bottom: 24px;
  background: #F6F9FB;
  color: #6986A1;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.16;
}

.cases__card-title {
  margin-bottom: 16px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.36;
}

.cases__card-text {
  margin-bottom: 16px;
  color: #444952;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.16;
}

.cases__result {
  padding-top: 16px;
  border-top: 1px solid #8DB9D8;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.28;
}

.cases__more {
  display: table;
  margin: 48px auto 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
  text-decoration: none;
}

@keyframes cases-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

/* ═══════════════════════════════════════════════════════
   CALCULATOR SECTION
═══════════════════════════════════════════════════════ */
.calculator {
  padding: 64px 0;
  background: #F6F9FB;
}

.calculator__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
  padding: 64px;
  overflow: hidden;
  border-radius: 32px;
  background-color: #444952;
  background-image:
    url("../images/Calculator_Ellipse 106.png"),
    url("../images/Calculator_Ellipse 105.png"),
    url("../images/Calculator_Ellipse 107.png");
  background-repeat: no-repeat;
  background-position:
    left 220px top 18px,
    right 345px bottom -12px,
    right 56px top 18px;
  background-size:
    111px 111px,
    195px 195px,
    93px 93px;
  color: var(--color-white);
}

.calculator__content,
.calculator__form {
  position: relative;
  z-index: 1;
}

.calculator__label {
  display: inline-block;
  margin-bottom: 16px;
  color: #8DB9D8;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.36;
}

.calculator__title {
  margin-bottom: 16px;
  color: var(--color-white);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
}

.calculator__text {
  max-width: 520px;
  color: #BBC2C7;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.36;
}

.calculator__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calculator__input {
  width: 100%;
  height: 44px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  outline: none;
}

.calculator__input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.calculator__btn {
  width: 100%;
  padding: 12px 32px;
  height: 48px;
  border: none;
  border-radius: 16px;
  background: var(--color-white);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.28;
  cursor: pointer;
}

.calculator__note {
  color: #8DB9D8;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.16;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════
   BLOG SECTION
═══════════════════════════════════════════════════════ */
.blog:not(body) {
  padding: 64px 0;
  background: var(--color-white);
}

.blog__header {
  margin-bottom: 48px;
}

.blog__label {
  display: inline-block;
  margin-bottom: 16px;
  color: #6986A1;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.36;
}

.blog__title {
  color: var(--color-text);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
}

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

.blog__card {
  display: flex;
  flex-direction: column;
}

.blog__image {
  width: 100%;
  aspect-ratio: 1.8 / 1;
  margin-bottom: 24px;
  border-radius: 16px;
  background: #F6F9FB;
  overflow: hidden;
}

.blog__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  color: #6986A1;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
}

.blog__meta time {
  color: #444952;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.blog__card-title {
  margin-bottom: 16px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.36;
}

.blog__card-text {
  color: #444952;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.16;
}

.blog__more {
  display: table;
  margin: 40px auto 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
  text-decoration: none;
}

.blog__card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.header__nav-link--active {
  color: var(--color-accent);
}

/* ═══════════════════════════════════════════════════════
   SINGLE POST (single.php)
═══════════════════════════════════════════════════════ */
body.single-post .site-main {
  padding: calc(var(--header-height) + 48px) 0 0;
  background: var(--color-white);
}

body.single-post .site-main > .container {
  padding-bottom: 64px;
}

.breadcrumbs {
  margin-bottom: 32px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.breadcrumbs__item {
  color: #6986A1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.28;
}

.breadcrumbs__item:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: #8A98B0;
}

.breadcrumbs__item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs__item a:hover {
  color: var(--color-text);
}

.breadcrumbs__item--current {
  color: #444952;
  font-weight: 400;
}

.entry-header {
  max-width: 860px;
  margin-bottom: 32px;
}

.entry-label {
  display: inline-block;
  margin-bottom: 16px;
  color: #6986A1;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.36;
}

.entry-title {
  margin-bottom: 24px;
  color: var(--color-text);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.12;
}

body.single-post .entry-meta {
  max-width: 100%;
}

.entry-meta__category {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.entry-meta__category:hover {
  color: var(--color-text);
}

.entry-meta__sep {
  margin: 0 4px;
}

.entry-thumbnail {
  width: 100%;
  aspect-ratio: 1.8 / 1;
  margin-bottom: 40px;
  border-radius: 16px;
  background: #F6F9FB;
  overflow: hidden;
}

.entry-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-content {
  max-width: 760px;
  color: #444952;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.entry-content > * + * {
  margin-top: 20px;
}

.entry-lead {
  color: var(--color-text);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.48;
}

.entry-content h2 {
  margin-top: 40px;
  margin-bottom: 0;
  color: var(--color-text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.24;
}

.entry-content h2 + * {
  margin-top: 16px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 24px;
}

.entry-content li + li {
  margin-top: 8px;
}

.entry-content strong {
  color: var(--color-text);
  font-weight: 600;
}

.entry-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid #6986A1;
  border-radius: 0 16px 16px 0;
  background: #F6F9FB;
}

.entry-content blockquote p {
  margin: 0;
  color: var(--color-text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.48;
}

.entry-footer {
  max-width: 760px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(138, 152, 176, 0.25);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.post-tags__label {
  color: #6986A1;
  font-size: 14px;
  font-weight: 600;
}

.post-tags__link {
  padding: 8px 14px;
  border-radius: 999px;
  background: #F6F9FB;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease;
}

.post-tags__link:hover {
  background: rgba(105, 134, 161, 0.16);
}

.post-author {
  display: flex;
  gap: 20px;
  max-width: 760px;
  margin-top: 48px;
  padding: 28px;
  border-radius: 16px;
  background: #F6F9FB;
}

.post-author__avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #6986A1;
  color: var(--color-white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.post-author__name {
  margin-bottom: 4px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.36;
}

.post-author__role {
  margin-bottom: 12px;
  color: #6986A1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.28;
}

.post-author__bio {
  color: #444952;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.48;
}

.post-nav {
  max-width: 760px;
  margin-top: 32px;
}

.post-nav__back {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-nav__back:hover {
  color: var(--color-accent);
}

.related-posts {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid rgba(138, 152, 176, 0.25);
}

.related-posts__header {
  margin-bottom: 40px;
}

.related-posts__title {
  color: var(--color-text);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
}

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

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer {
  padding: 16px 0;
  background: #444952;
  color: var(--color-white);
}

.footer__inner {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.footer__copy,
.footer__insurance {
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.28;
}

.footer__insurance {
  justify-self: center;
  font-weight: 500;
}

.footer__socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.footer__social {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-white);
  color: #444952;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.footer__social img {
  width: auto;
  height: auto;
  max-width: 17px;
  max-height: 14px;
}

/* ═══════════════════════════════════════════════════════
   FOOTER CONTACTS
═══════════════════════════════════════════════════════ */
.footer-contacts {
  margin-top: auto;
  padding: 48px 0 52px;
  background: #F6F9FB;
}

.footer-contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-contacts__main,
.footer-contacts__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-contacts__logo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--color-text);
  text-decoration: none;
}

.footer-contacts__logo-main {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.36;
  white-space: nowrap;
}

.footer-contacts__logo-fin {
  color: var(--color-text);
}

.footer-contacts__logo-buh {
  color: var(--color-accent);
}

.footer-contacts__logo-divider {
  width: 1px;
  height: 21.33px;
  background: #6986A1;
  flex-shrink: 0;
}

.footer-contacts__logo-tagline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.08;
}

.footer-contacts__desc {
  margin-bottom: 16px;
  color: #444952;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.16;
}

.footer-contacts__phone,
.footer-contacts__email,
.footer-contacts__info a {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.28;
  text-decoration: none;
}

.footer-contacts__phone {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.36;
}

.footer-contacts__email {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
  color: #444952;
}

.footer-contacts__info {
  gap: 16px;
}

.footer-contacts__address {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.36;
  color: #1D1D1D;
}

.footer-contacts__time {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.16;
  color: #444952;
}
.footer-contacts__oferta
.footer-contacts__privacy {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
  color: #444952;
}

/* ═══════════════════════════════════════════════════════
   EXPERT SECTION
═══════════════════════════════════════════════════════ */
.expert {
  padding: 64px 0 64px;
  background: #F6F9FB;
  height: 645px;
}

.expert__card {
  --expert-card-pad-x: 64px;
  --expert-card-pad-y: 32px;
  position: relative;
  padding: 32px 64px 32px 50px;
  height: 517px;
  display: grid;
  grid-template-columns: minmax(320px, 42%) 1fr;
  min-height: 360px;
  overflow: visible;
  border-radius: 32px;
  background-color: #444952;
  background-image:
    url("../images/Expert_Ellipse 106.png"),
    url("../images/Expert_Ellipse 107.png");
  background-repeat: no-repeat;
  background-position: left 316px top 120px, right 48px top 32px;
  background-size:
    172px 172px,
    76px 76px;
  color: var(--color-white);
}

.expert__media {
  min-height: 360px;
}

.expert__photo {
  position: absolute;
  left: 22px;
  bottom: 0;
  width: auto;
  max-width: none;
  height: 569px;
}

.expert__photo img {
  width: auto;
  max-width: none;
  height: 569px;
  object-fit: contain;
  object-position: left bottom;
}

.expert__badge {
  position: absolute;
  left: 70px;
  bottom: 70px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  height: 56px;
  border-radius: 16px;
  background: #969EA9CC;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
}

.expert__badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.expert__badge-icon img {
  width: 18px;
  height: auto;
}

.expert__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.expert__label {
  display: inline-block;
  margin-bottom: 16px;
  color: #8DB9D8;
  font-size: 18px;
  font-weight: 700;
  line-height: 136%;
}

.expert__title {
  margin-bottom: 16px;
  color: var(--color-white);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.12;
}

.expert__position {
  margin-bottom: 16px;
  color: #BBC2C7;
  font-size: 18px;
  font-weight: 500;
  line-height: 136%;
}

.expert__text {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.16;
}

.expert__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.expert__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.expert__stat-value {
  color: #8DB9D8;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.expert__stat-label {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.16;
}

.expert__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 16px 48px;
  border: none;
  border-radius: 16px;
  background: #6986A1;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════
   BURGER & MOBILE NAV (base, всегда скрыты на десктопе)
═══════════════════════════════════════════════════════ */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 99;
  flex-direction: column;
  background: var(--color-white);
  border-top: 1px solid var(--color-divider);
  padding: 8px 24px 28px;
  box-shadow: 0 8px 32px rgba(29, 29, 29, 0.1);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

.header__mobile-nav.is-open {
  display: flex;
}

.header__mobile-link {
  display: block;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-divider);
  transition: color 0.2s;
}

.header__mobile-link:last-of-type {
  border-bottom: none;
}

.header__mobile-link:hover {
  color: var(--color-accent);
}

.header__mobile-phone {
  display: block;
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.header__mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  height: 52px;
  border-radius: 16px;
  background: var(--color-btn);
  color: var(--color-white);
  border: none;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.header__mobile-cta:hover {
  opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════
   ADAPTIVE — 1300px (сжатые ноутбуки)
═══════════════════════════════════════════════════════ */
@media (max-width: 1300px) {
  .header {
    padding: 0 40px;
  }

  .header__nav {
    gap: 20px;
  }

  .header__right {
    gap: 20px;
  }

  .header__nav-link {
    font-size: 14px;
  }

  .header__btn {
    padding: 12px 18px;
    font-size: 13px;
  }

  .hero__content {
    max-width: 560px;
  }

  .hero__title {
    font-size: 48px;
  }
}

/* ═══════════════════════════════════════════════════════
   ADAPTIVE — 1100px (бургер включается, Hero фиксируется)
═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  :root {
    --container-pad: 32px;
    --header-height: 64px;
  }

  /* ── Header → бургер ──────────────────────────────── */
  .header {
    padding: 0 32px;
    height: var(--header-height);
  }

  .header__nav,
  .header__phone,
  .header__btn {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .header__mobile-nav {
    top: 64px;
  }

  /* ── Hero ─────────────────────────────────────────── */
  .hero {
    max-height: none;
  }

  .hero__main {
    min-height: 380px;
  }

  .hero__content {
    padding: 96px 0 48px;
    max-width: 420px;
  }

  .hero__topline {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero__brand {
    font-size: 15px;
  }

  .hero__title {
    font-size: 38px;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
  }

  .hero__desc {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero__feature-title {
    font-size: 16px;
  }

  .hero__visual {
    width: 50%;
  }

  .hero__photo {
    height: 620px;
  }

  .hero__ellipse--1 {
    width: 260px;
    right: -60px;
  }

  .hero__ellipse--2 {
    width: 120px;
    left: 200px;
    bottom: 390px;
  }

  .hero__ellipse--3 {
    width: 90px;
    left: 60px;
    bottom: 220px;
  }

  .hero__stats-bar {
    padding: 24px 0 48px;
  }

  .hero__stat {
    padding: 20px;
  }

  .hero__stat-value {
    font-size: 28px;
  }

  .hero__stat-label {
    font-size: 13px;
  }

  /* ── Expert ───────────────────────────────────────── */
  .expert {
    padding: 56px 0;
    height: auto;
  }

  .expert__card {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 0;
    overflow: hidden;
  }

  .expert__media {
    display: block;
    order: 2;
    position: relative;
    min-height: 0;
    height: 400px;
    overflow: hidden;
    border-radius: 0 0 32px 32px;
  }

  .expert__photo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: none;
    height: 400px;
  }

  .expert__photo img {
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
  }

  .expert__badge {
    display: none;
  }

  .expert__content {
    order: 1;
    max-width: 100%;
    padding: 32px 48px 28px;
  }

  .expert__title {
    font-size: 40px;
  }

  .expert__position {
    font-size: 15px;
  }

  .expert__text {
    font-size: 13px;
    max-width: 100%;
  }

  .expert__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
  }

  .expert__stat-value {
    font-size: 20px;
  }

  .expert__btn {
    width: 100%;
  }

  /* ── Blog meta ────────────────────────────────────── */
  .blog__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ═══════════════════════════════════════════════════════
   ADAPTIVE — 768px (Планшет — только секции)
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --container-pad: 24px;
  }

  /* ── Header ───────────────────────────────────────── */
  .header {
    padding: 0 24px;
  }

  /* ── Hero ─────────────────────────────────────────── */
  .hero__main {
    min-height: 320px;
  }

  .hero__content {
    padding: 88px 0 40px;
    max-width: 360px;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero__desc {
    font-size: 15px;
  }

  .hero__visual {
    width: 48%;
  }

  .hero__photo {
    height: 540px;
  }

  .hero__ellipse--1 {
    width: 210px;
    right: -50px;
  }

  .hero__ellipse--2 {
    width: 100px;
    left: 160px;
    bottom: 330px;
  }

  .hero__ellipse--3 {
    width: 78px;
    left: 50px;
    bottom: 190px;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero__stat {
    height: auto;
    min-height: 90px;
    padding: 18px 20px;
  }

  /* ── Services ─────────────────────────────────────── */
  .services {
    padding: 56px 0;
  }

  .services__title {
    font-size: 30px;
  }

  .services__subtitle {
    font-size: 16px;
  }

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

  /* ── Expert ───────────────────────────────────────── */
  .expert {
    padding: 56px 0;
    height: auto;
  }

  .expert__card {
    height: auto;
    padding: 0;
    grid-template-columns: 1fr;
    border-radius: 24px;
    overflow: hidden;
  }

  .expert__media {
    display: block;
    order: 2;
    position: relative;
    min-height: 0;
    height: 360px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
  }

  .expert__photo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: none;
    height: 360px;
  }

  .expert__photo img {
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
  }

  .expert__badge {
    display: none;
  }

  .expert__content {
    order: 1;
    max-width: 100%;
    padding: 32px 40px 24px;
  }

  .expert__title {
    font-size: 40px;
  }

  .expert__position {
    font-size: 15px;
  }

  .expert__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 28px;
  }

  .expert__btn {
    width: 100%;
  }

  /* ── Owner Pains ──────────────────────────────────── */
  .owner-pains {
    padding: 56px 0;
  }

  .owner-pains__title {
    font-size: 30px;
  }

  .owner-pains__subtitle {
    font-size: 16px;
  }

  .owner-pains__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* ── Trust ────────────────────────────────────────── */
  .trust {
    padding: 56px 0;
  }

  .trust__title {
    font-size: 30px;
  }

  .trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }

  /* ── Process ──────────────────────────────────────── */
  .process {
    background-position:
      left 24px bottom 24px,
      right 180px top 16px,
      right 72px top 100px;
    background-size:
      140px 140px,
      110px 110px,
      140px 140px;
  }

  .process__inner {
    height: auto;
    padding: 56px 0;
  }

  .process__title {
    font-size: 30px;
  }

  .process__subtitle {
    font-size: 16px;
  }

  .process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  /* ── Clients ──────────────────────────────────────── */
  .clients {
    padding: 56px 0;
  }

  .clients__title {
    font-size: 30px;
  }

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

  /* ── Cases ────────────────────────────────────────── */
  .cases {
    padding: 56px 0;
  }

  .cases__title {
    font-size: 30px;
  }

  .cases__card {
    width: 400px;
  }

  /* ── Calculator ───────────────────────────────────── */
  .calculator {
    padding: 56px 0;
  }

  .calculator__card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 40px;
  }

  .calculator__title {
    font-size: 30px;
  }

  .calculator__text {
    font-size: 16px;
    max-width: none;
  }

  /* ── Blog ─────────────────────────────────────────── */
  .blog {
    padding: 56px 0;
  }

  .blog__title {
    font-size: 30px;
  }

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

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

  .entry-title {
    font-size: 34px;
  }

  /* ── Footer Contacts ──────────────────────────────── */
  .footer-contacts {
    padding: 48px 0;
  }

  .footer-contacts__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* ── Footer ───────────────────────────────────────── */
  .footer__inner {
    flex-wrap: wrap;
    gap: 10px 24px;
  }
}

/* ═══════════════════════════════════════════════════════
   ADAPTIVE — 480px (Мобильный / 375px)
═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root {
    --container-pad: 16px;
  }

  /* ── Header ───────────────────────────────────────── */
  .header {
    padding: 0 16px;
  }

  .header__logo-tagline,
  .header__logo-divider {
    display: none;
  }

  .header__logo-main {
    font-size: 20px;
  }

  /* ── Hero ─────────────────────────────────────────── */
  .hero {
    max-height: none;
  }

  .hero__main {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero__visual {
    display: none;
  }

  .hero__content {
    max-width: 100%;
    padding: 84px 0 0;
  }

  .hero__topline {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
  }

  .hero__brand {
    font-size: 13px;
  }

  .hero__online {
    font-size: 12px;
    padding: 8px 14px;
    gap: 8px;
  }

  .hero__title {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .hero__desc {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .hero__feature {
    margin-bottom: 22px;
  }

  .hero__feature-icon-container {
    width: 40px;
    height: 40px;
  }

  .hero__feature-title {
    font-size: 14px;
  }

  .hero__feature-sub {
    font-size: 12px;
  }

  .hero__btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
  }

  .hero__visual {
    width: 76%;
    height: 240px;
    top: auto;
    bottom: 0;
    right: 0;
  }

  .hero__photo {
    height: 240px;
    right: -8px;
  }

  .hero__ellipse--1 {
    width: 90px;
    right: -16px;
    bottom: 10px;
    transform: none;
  }

  .hero__ellipse--2 {
    width: 60px;
    left: auto;
    right: 22%;
    bottom: 20px;
  }

  .hero__ellipse--3 {
    width: 46px;
    left: auto;
    right: 6%;
    bottom: 110px;
  }

  .hero__stats-bar {
    padding: 20px 0 40px;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero__stat {
    height: auto;
    min-height: 80px;
    padding: 16px;
  }

  .hero__stat-value {
    font-size: 24px;
  }

  .hero__stat-label {
    font-size: 12px;
  }

  /* ── Services ─────────────────────────────────────── */
  .services {
    padding: 40px 0 48px;
  }

  .services__header {
    margin-bottom: 28px;
  }

  .services__label {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .services__title {
    font-size: 26px;
  }

  .services__subtitle {
    font-size: 14px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .services__card {
    padding: 16px 14px;
    gap: 10px;
  }

  .services__card-icon {
    width: 40px;
    height: 40px;
  }

  .services__card-icon img {
    width: 20px;
  }

  .services__card-title {
    font-size: 14px;
  }

  .services__card-desc {
    font-size: 12px;
  }

  /* ── Expert ───────────────────────────────────────── */
  .expert {
    padding: 40px 0 48px;
    height: auto;
  }

  .expert__card {
    height: auto;
    grid-template-columns: 1fr;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
  }

  .expert__media {
    display: block;
    order: 2;
    position: relative;
    min-height: 0;
    height: 300px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
  }

  .expert__photo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: none;
    height: 300px;
  }

  .expert__photo img {
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
  }

  .expert__badge {
    display: none;
  }

  .expert__content {
    order: 1;
    padding: 24px 20px 24px;
  }

  .expert__label {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .expert__title {
    font-size: 30px;
  }

  .expert__position {
    font-size: 13px;
  }

  .expert__text {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .expert__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
  }

  .expert__stat-value {
    font-size: 20px;
  }

  .expert__stat-label {
    font-size: 12px;
  }

  .expert__btn {
    width: 100%;
    height: 48px;
    padding: 14px 20px;
    font-size: 15px;
  }

  /* ── Owner Pains ──────────────────────────────────── */
  .owner-pains {
    padding: 40px 0 48px;
  }

  .owner-pains__header {
    margin-bottom: 28px;
  }

  .owner-pains__label {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .owner-pains__title {
    font-size: 26px;
  }

  .owner-pains__subtitle {
    font-size: 14px;
  }

  .owner-pains__list {
    gap: 20px;
  }

  .owner-pains__item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .owner-pains__icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .owner-pains__item-title {
    font-size: 15px;
  }

  .owner-pains__item-text {
    font-size: 13px;
  }

  .owner-pains__card--primary,
  .owner-pains__card--guide {
    padding: 20px;
  }

  .owner-pains__card-title,
  .owner-pains__guide-title {
    font-size: 20px;
  }

  .owner-pains__card-text {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .owner-pains__checks li {
    font-size: 14px;
  }

  .owner-pains__guide-text {
    font-size: 14px;
  }

  .owner-pains__guide-btn {
    width: 100%;
  }

  /* ── Trust ────────────────────────────────────────── */
  .trust {
    padding: 40px 0 48px;
  }

  .trust__header {
    margin-bottom: 28px;
  }

  .trust__label {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .trust__title {
    font-size: 26px;
  }

  .trust__subtitle {
    font-size: 14px;
  }

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

  .trust__item-title {
    font-size: 16px;
  }

  .trust__item-text {
    font-size: 13px;
  }

  /* ── Process ──────────────────────────────────────── */
  .process {
    background-size: 100px 100px, 80px 80px, 100px 100px;
    background-position:
      left 16px bottom 16px,
      right 20px top 16px,
      right 20px top 130px;
  }

  .process__inner {
    height: auto;
    padding: 40px 0;
  }

  .process__header {
    margin-bottom: 28px;
  }

  .process__label {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .process__title {
    font-size: 26px;
  }

  .process__subtitle {
    font-size: 14px;
  }

  .process__steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process__number {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    font-size: 16px;
  }

  .process__step-title {
    font-size: 16px;
  }

  .process__step-text {
    font-size: 13px;
  }

  /* ── Clients ──────────────────────────────────────── */
  .clients {
    padding: 40px 0 48px;
  }

  .clients__header {
    margin-bottom: 28px;
  }

  .clients__label {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .clients__title {
    font-size: 26px;
  }

  .clients__subtitle {
    font-size: 14px;
  }

  .clients__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .clients__card {
    min-height: auto;
    padding: 18px 20px;
    border-radius: 14px;
  }

  .clients__tag {
    font-size: 12px;
    padding: 6px 14px;
    margin-bottom: 12px;
  }

  .clients__card-title {
    font-size: 16px;
  }

  .clients__card-text {
    font-size: 13px;
  }

  /* ── Cases ────────────────────────────────────────── */
  .cases {
    padding: 40px 0 48px;
  }

  .cases__header {
    margin-bottom: 28px;
  }

  .cases__label {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .cases__title {
    font-size: 26px;
  }

  .cases__subtitle {
    font-size: 14px;
  }

  .cases__track {
    gap: 12px;
    animation-duration: 28s;
  }

  .cases__card {
    width: min(300px, calc(100vw - 32px));
    min-height: 168px;
    padding: 20px;
    border-radius: 14px;
  }

  .cases__tag {
    margin-bottom: 20px;
    font-size: 12px;
  }

  .cases__card-title {
    font-size: 15px;
  }

  .cases__card-text,
  .cases__result {
    font-size: 13px;
  }

  .cases__more {
    margin-top: 32px;
    font-size: 14px;
  }

  /* ── Calculator ───────────────────────────────────── */
  .calculator {
    padding: 40px 0 48px;
  }

  .calculator__card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 20px;
    border-radius: 20px;
  }

  .calculator__label {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .calculator__title {
    font-size: 26px;
  }

  .calculator__text {
    font-size: 14px;
  }

  .calculator__input,
  .calculator__btn {
    font-size: 14px;
  }

  .calculator__note {
    font-size: 12px;
  }

  /* ── Blog ─────────────────────────────────────────── */
  .blog {
    padding: 40px 0 48px;
  }

  .blog__header {
    margin-bottom: 28px;
  }

  .blog__label {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .blog__title {
    font-size: 26px;
  }

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

  .blog__image {
    margin-bottom: 16px;
  }

  .entry-thumbnail {
    margin-bottom: 24px;
    border-radius: 12px;
  }

  .blog__meta {
    font-size: 13px;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
  }

  .blog__card-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .blog__card-text {
    font-size: 13px;
  }

  .blog__more {
    margin-top: 32px;
    font-size: 14px;
  }

  body.single-post .site-main {
    padding-top: calc(var(--header-height) + 32px);
  }

  body.single-post .site-main > .container {
    padding-bottom: 48px;
  }

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

  .entry-lead {
    font-size: 17px;
  }

  .entry-content h2 {
    font-size: 20px;
    margin-top: 32px;
  }

  .post-author {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .related-posts {
    margin-top: 56px;
    padding-top: 48px;
  }

  .related-posts__title {
    font-size: 26px;
  }

  .related-posts__grid {
    grid-template-columns: 1fr;
  }

  /* ── Footer Contacts ──────────────────────────────── */
  .footer-contacts {
    padding: 36px 0 40px;
  }

  .footer-contacts__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-contacts__logo-main {
    font-size: 20px;
  }

  .footer-contacts__desc {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .footer-contacts__phone {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .footer-contacts__email {
    font-size: 14px;
  }

  .footer-contacts__address {
    font-size: 15px;
  }

  .footer-contacts__time {
    font-size: 13px;
  }

  .footer-contacts__info {
    gap: 12px;
  }

  /* ── Footer ───────────────────────────────────────── */
  .footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 16px 0;
  }

  .footer__copy,
  .footer__insurance {
    font-size: 13px;
  }

  .footer__socials {
    justify-content: center;
    gap: 12px;
  }

  .footer__social {
    width: 32px;
    height: 32px;
  }
}


/* ═══════════════════════════════════════════════════════
   THEME EXTRAS — page / blog / pagination / link buttons
═══════════════════════════════════════════════════════ */
body.page .site-main,
body.error404 .site-main {
  padding: calc(var(--header-height) + 48px) 0 0;
  background: var(--color-white);
}

body.page .site-main > .container,
body.error404 .site-main > .container {
  padding-bottom: 64px;
  max-width: 820px;
}

body.blog .blog-archive .blog,
body.archive .blog-archive .blog,
body.search .blog-archive .blog {
  padding-top: 32px;
}

a.expert__btn,
a.owner-pains__guide-btn,
a.header__mobile-cta {
  text-decoration: none;
  box-sizing: border-box;
}

.blog-pagination {
  margin-top: 40px;
}

.blog-pagination__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.blog-pagination__item a,
.blog-pagination__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #f3f5f7;
  color: var(--color-text, #1d2327);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.blog-pagination__item .current {
  background: #6986A1;
  color: #fff;
}

@media (max-width: 480px) {
  body.page .site-main,
  body.error404 .site-main,
  body.blog .blog-archive .blog,
  body.archive .blog-archive .blog {
    padding-top: calc(var(--header-height) + 32px);
  }
}
