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

:root {
  --navy: #0a1a33;
  --navy-2: #142c52;
  --navy-3: #1c3a6b;
  --gold: #b98d4a;
  --gold-light: #d4af6a;
  --gold-dark: #8f6a34;
  --green: #2f6f4f;
  --bg: #faf8f4;
  --bg-alt: #f1ebdf;
  --text: #1c2333;
  --text-muted: #5c6478;
  --border: #e4ddd0;
  --radius: 8px;
  --radius-lg: 20px;
  --fb: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --fh: Georgia, 'Times New Roman', Times, serif;
  --shadow: 0 24px 60px -24px rgba(10,26,51,.28);
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: var(--fb);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 20px; font-weight: 600; font-size: .9rem;
}
.skip-link:focus { left: 16px; top: 16px; }

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

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 16px;
}
.eyebrow::before, .eyebrow::after { content: ''; width: 22px; height: 1px; background: var(--gold); display: inline-block; }

h1, h2, h3, h4 { font-family: var(--fh); color: var(--navy); line-height: 1.22; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { color: var(--text-muted); }

.section { padding: 100px 0; }
#fit { padding-top: 56px; }
#proof { padding-top: 56px; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius);
  font-weight: 700; font-size: .92rem; letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: #16130b; box-shadow: 0 14px 28px -10px rgba(185,141,74,.55); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* HEADER */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,244,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--fh); font-weight: 700; font-size: 1.2rem; color: var(--navy); flex-shrink: 0; }
.logo-img { height: 46px; width: auto; display: block; flex-shrink: 0; }

/* Монограмма «БС» — дополнительный знак рядом с птицей (шапка) и отдельно в футере */
.mono-bc {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-weight: 800; font-size: 1.05rem;
  letter-spacing: .03em; line-height: 1;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 0 11px;
  flex-shrink: 0;
}
.mono-bc-header { height: 44px; background: var(--navy); color: var(--gold-light); }
.mono-bc-footer { height: 42px; background: transparent; color: var(--gold-light); border-color: var(--gold-light); }
.logo-mark {
  width: 40px; height: 40px; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--fh); font-size: 1.15rem;
  background: var(--navy);
  color: var(--gold-light);
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links > a { font-size: .9rem; font-weight: 600; color: var(--text); padding: 10px 0; }
.nav-links > a:hover, .nav-links > a[aria-current="page"] { color: var(--gold-dark); }

.nav-item-dropdown { position: relative; }
.nav-item-dropdown > button.nav-drop-btn {
  display: flex; align-items: center; gap: 6px; background: none; border: none;
  font-size: .9rem; font-weight: 600; color: var(--text); padding: 10px 0; font-family: var(--fb);
}
.nav-item-dropdown > button.nav-drop-btn:hover { color: var(--gold-dark); }
.nav-item-dropdown > button.nav-drop-btn i { font-size: .7rem; transition: transform .15s; color: var(--gold-dark); }
.nav-dropdown {
  position: absolute; top: 100%; left: -18px; width: 300px;
  background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item-dropdown:hover > .nav-drop-btn i,
.nav-item-dropdown:focus-within > .nav-drop-btn i { transform: rotate(180deg); }
.nav-dropdown a {
  display: block; padding: 11px 14px; font-size: .87rem; font-weight: 500; color: var(--text); border-radius: var(--radius);
}
.nav-dropdown a:hover { background: var(--bg-alt); color: var(--gold-dark); }

.logo-group { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.header-contact { display: flex; align-items: center; gap: 28px; }
.header-contact-item { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; font-size: .83rem; font-weight: 600; color: var(--navy); white-space: nowrap; position: relative; }
.header-contact-item + .header-contact-item::before {
  content: ''; position: absolute; left: -14px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 26px; background: var(--border);
}
.header-contact-tag { font-size: .6rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); line-height: 1.2; }
.header-contact-row { display: flex; align-items: center; gap: 8px; }
.header-contact-item i { color: var(--gold-dark); font-size: .85rem; }
.header-contact-item:hover { color: var(--gold-dark); }
.header-contact-item:hover .header-contact-tag { color: var(--gold-dark); }

.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-phone { display: flex; flex-direction: column; font-size: .84rem; }
.nav-phone strong { color: var(--navy); font-size: .95rem; }
.nav-toggle { display: none; background: none; border: none; border-radius: var(--radius); font-size: 1.3rem; color: var(--navy); align-items: center; justify-content: center; width: 42px; height: 42px; }
.nav-toggle:hover { background: var(--bg-alt); }

.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 82px); overflow-y: auto;
  background: var(--bg); border-bottom: 1px solid var(--border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 24px 40px -20px rgba(10,26,51,.25);
  padding: 8px 24px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu-links { display: flex; flex-direction: column; }
.mobile-menu-links a, .mobile-menu-links .mm-group-label { padding: 15px 2px; font-size: 1rem; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-menu-links a[aria-current="page"] { color: var(--gold-dark); }
.mm-sub { display: flex; flex-direction: column; padding-left: 14px; }
.mm-sub a { font-size: .92rem; font-weight: 500; border-bottom: 1px dashed var(--border); padding: 12px 2px; }
.mobile-menu-links a:last-child, .mm-sub a:last-child { border-bottom: none; }
.mobile-menu-phone { display: flex; flex-direction: column; gap: 2px; font-size: .88rem; padding: 16px 2px; margin-top: 4px; border-top: 1px solid var(--border); }
.mobile-menu-phone strong { color: var(--navy); font-size: 1.05rem; }
.mobile-menu-cta { display: flex; width: 100%; margin-top: 14px; }

/* HERO (home) */
.hero {
  padding: 28px 0 36px;
  background: linear-gradient(180deg, var(--bg), var(--bg-alt));
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: start; }
.hero .eyebrow { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 16px; }
.hero p.lead { font-size: 1.04rem; max-width: 520px; margin-bottom: 20px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-ctas .btn { white-space: normal; text-align: center; }
.hero-ctas .btn-ghost {
  width: 100%; border-color: var(--gold); color: var(--gold-dark);
  background: rgba(185,141,74,.08); border-width: 2px;
}
.hero-ctas .btn-ghost:hover { background: rgba(185,141,74,.16); border-color: var(--gold-dark); }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stat { padding: 12px 20px; background: var(--bg); }
.stat .num { font-family: var(--fh); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.stat .num.num-tight { font-size: clamp(.85rem, 4.2vw, 1.25rem); }
.stat .label2 { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }
.stat-highlight { background: var(--navy); }
.stat-highlight .num { color: var(--gold-light); }
.stat-highlight .label2 { color: #b7c0d6; }

.hero-visual {
  position: relative; aspect-ratio: 4/5;
  background: linear-gradient(165deg, var(--navy), var(--navy-2) 60%, var(--navy-3));
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px; display: flex; flex-direction: column; justify-content: space-between; color: #fff;
}
.hero-visual .badge {
  align-self: center; border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 9px 16px; font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  display: flex; align-items: center; gap: 8px; color: var(--gold-light);
}
.hero-visual-brand {
  align-self: center; background: #f7f4ec; border-radius: var(--radius-lg);
  padding: 18px 28px; box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.hero-visual-brand img { display: block; width: 100%; max-width: 280px; height: auto; }
.hero-visual .quote { font-family: var(--fh); font-size: 1.35rem; font-weight: 600; line-height: 1.42; color: var(--gold-light); }
.hero-visual .quote span { color: var(--gold-light); }
.hero-visual .principles-text { font-size: .95rem; line-height: 1.55; color: #c3cbe0; }
.hero-visual .principles-text span { color: var(--gold-light); font-weight: 600; }
.hero-visual .principles-text .principles-label {
  display: block; font-family: var(--fh); font-size: 1.05rem; font-weight: 700;
  color: var(--gold-light); margin-bottom: 8px;
}

/* PAGE HERO (inner pages) */
.page-hero { padding: 56px 0 60px; background: linear-gradient(180deg, var(--bg), var(--bg-alt)); }
.page-hero-dark {
  padding: 14px 0 18px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0px, rgba(255,255,255,.05) 1px, transparent 1px, transparent 34px),
    radial-gradient(140% 90% at 82% 0%, rgba(212,175,106,.16), transparent 60%),
    linear-gradient(165deg, var(--navy), var(--navy-2) 55%, var(--navy-3));
}
.page-hero-dark .eyebrow { color: var(--gold-light); margin-bottom: 6px; display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
.page-hero-dark .eyebrow::before, .page-hero-dark .eyebrow::after { background: var(--gold-light); }
.page-hero-dark h1 { color: #fff; margin-bottom: 6px; font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.page-hero-dark .lead { color: rgba(255,255,255,.88); margin-bottom: 0; font-size: .92rem; }
.breadcrumbs-glass {
  display: flex; width: fit-content; align-items: center; gap: 7px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.16); border-radius: 99px;
  padding: 3px 11px; margin-bottom: 8px;
  font-size: .68rem; font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.75);
}
.breadcrumbs-glass a { color: rgba(255,255,255,.75); }
.breadcrumbs-glass a:hover { color: var(--gold-light); }
.breadcrumbs-glass span[aria-hidden] { color: var(--gold-light); }
.breadcrumbs-glass .current { color: #fff; font-weight: 700; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .82rem; color: var(--text-muted); margin-bottom: 22px; }
.breadcrumbs a { color: var(--text-muted); font-weight: 500; }
.breadcrumbs a:hover { color: var(--gold-dark); }
.breadcrumbs span[aria-hidden] { color: var(--border); }
.breadcrumbs .current { color: var(--navy); font-weight: 600; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 16px; max-width: 780px; }
.page-hero .lead { font-size: 1.04rem; max-width: 640px; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: start; }
.about-text h2 { margin-bottom: 16px; text-align: center; }
.about-text p { margin-bottom: 16px; font-size: 1.02rem; }
.about-text .eyebrow { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.principle-card { padding: 26px; background: var(--bg); transition: background .15s; }
.principle-card:hover { background: var(--bg-alt); }
.principle-card i { color: var(--gold-dark); font-size: 1.2rem; margin-bottom: 14px; }
.principle-card h3 { font-size: .98rem; margin-bottom: 6px; font-family: var(--fh); }
.principle-card p { font-size: .87rem; margin: 0; }

.cert-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.cert-badge {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); background: var(--bg);
  border-radius: 999px;
  padding: 14px 18px; font-size: .86rem; color: var(--text);
}
.cert-badge i { color: var(--gold-dark); font-size: 1.05rem; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.service-card { background: var(--bg); padding: 34px; transition: background .2s; display: flex; flex-direction: column; }
.service-card:hover { background: var(--bg-alt); }
.service-icon {
  width: 48px; height: 48px; border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-size: 1.15rem; margin-bottom: 20px;
  transition: background .2s, border-color .2s;
}
.service-card:hover .service-icon { background: var(--gold-dark); border-color: var(--gold-dark); color: #16130b; }
.service-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.service-card p { font-size: .91rem; margin: 0 0 16px; flex: 1; }
.service-card .card-link { font-size: .84rem; font-weight: 700; color: var(--gold-dark); display: inline-flex; align-items: center; gap: 6px; }
.service-card .card-link i { font-size: .72rem; }

/* SERVICE DETAIL PAGE */
.service-detail { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.service-detail article p { font-size: 1.02rem; margin-bottom: 18px; max-width: 66ch; }
.service-detail article h2 { font-size: 1.5rem; margin: 36px 0 14px; }
.service-detail article ul { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 20px; }
.service-detail article ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; color: var(--text); }
.service-detail article ul li i { color: var(--gold-dark); margin-top: 5px; font-size: .78rem; }
.service-aside {
  position: sticky; top: 106px; background: var(--navy); color: #fff; border: 1px solid var(--gold-dark);
  border-radius: var(--radius-lg);
  padding: 30px; display: flex; flex-direction: column; gap: 16px;
}
.service-aside h3 { color: #fff; font-size: 1.05rem; font-family: var(--fh); font-weight: 700; }
.service-aside p { color: #b7c0d6; font-size: .88rem; margin: 0; }
.service-aside .aside-list { display: flex; flex-direction: column; gap: 10px; margin: 4px 0; }
.service-aside .aside-list a { font-size: .87rem; color: #cfd6e6; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.service-aside .aside-list a:hover, .service-aside .aside-list a[aria-current="page"] { color: var(--gold-light); }
.service-aside .aside-list a:last-child { border-bottom: none; }

/* PRICING */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.price-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--gold); box-shadow: var(--shadow); position: relative; background: var(--navy); }
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured .price-sub, .price-card.featured .price-note { color: #b7c0d6; }
.price-card.featured ul li { color: #e7ebf5; }
.price-card.featured ul li i { color: var(--gold-light); }
.price-card.featured::before {
  content: 'Популярный выбор'; position: absolute; top: -13px; left: 34px;
  background: var(--gold); color: #16130b; font-size: .7rem; font-weight: 700;
  border-radius: var(--radius);
  padding: 6px 14px; letter-spacing: .04em; text-transform: uppercase;
}
.price-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.price-card .price-sub { font-size: .85rem; margin-bottom: 20px; }
.price-card .price { font-family: var(--fh); font-weight: 700; color: var(--navy); font-size: 2rem; margin-bottom: 4px; }
.price-card .price small { font-family: var(--fb); font-weight: 600; font-size: .9rem; color: var(--text-muted); }
.price-card.featured .price small { color: #b7c0d6; }
.price-card .price-note { font-size: .82rem; margin-bottom: 24px; }
.price-card ul { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; flex: 1; }
.price-card ul li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--text); }
.price-card ul li i { color: var(--gold-dark); margin-top: 3px; font-size: .78rem; }

.extra-fees { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 32px; min-width: 0; }
.extra-fees h4 { grid-column: 1 / -1; font-size: 1rem; margin-bottom: -4px; font-family: var(--fh); min-width: 0; }
.fee-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: .89rem; border-bottom: 1px dashed var(--border); padding-bottom: 10px; min-width: 0; }
.fee-row b { color: var(--navy); font-weight: 700; }
.fee-row a { color: var(--gold-dark); font-weight: 700; text-decoration: underline; }

.price-faq-note { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 30px; display: flex; gap: 16px; align-items: flex-start; }
.price-faq-note i { color: var(--gold-dark); font-size: 1.2rem; margin-top: 2px; }
.price-faq-note p { margin: 0; font-size: .93rem; }

/* RELIEF ("что вы перестанете делать сами") */
.relief-section { background: var(--navy); }
.relief-section .eyebrow::before, .relief-section .eyebrow::after { background: var(--gold-light); }
.relief-section p.lead { color: #b7c0d6; }
.relief-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; max-width: 820px; margin: 0 auto; }
.relief-item { display: flex; gap: 12px; align-items: flex-start; color: #e7ebf5; font-size: .98rem; }
.relief-item i { color: var(--gold-light); font-size: .85rem; margin-top: 5px; flex-shrink: 0; }

/* PROOF (команда и отзывы — плейсхолдеры) */
.proof-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.proof-grid .proof-card { flex: 1 1 320px; max-width: 460px; }
.proof-card { border: 1px dashed var(--border); border-radius: var(--radius-lg); background: var(--bg-alt); padding: 36px; text-align: center; }
.proof-card i { font-size: 1.6rem; color: var(--gold-dark); margin-bottom: 14px; }
.proof-card h3 { margin-bottom: 8px; }
.proof-card p { font-size: .92rem; margin: 0; }
.proof-placeholder {
  display: inline-block; margin-top: 16px; font-size: .74rem; font-weight: 700; letter-spacing: .03em;
  color: #b3392c; background: rgba(179,57,44,.08); border: 1px solid rgba(179,57,44,.25);
  padding: 6px 12px; border-radius: var(--radius);
}
.proof-card-trigger {
  width: 100%; font: inherit; color: inherit; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.proof-card-trigger:hover, .proof-card-trigger:focus-visible { border-color: var(--gold); background: var(--bg); transform: translateY(-2px); }
.proof-card-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; font-size: .86rem; font-weight: 700; color: var(--gold-dark);
}
.proof-card-static { max-width: 460px; margin: 0 auto; }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.process-card { position: relative; padding: 30px 26px; border-right: 1px solid var(--border); }
.process-card:last-child { border-right: none; }
.process-num { font-family: var(--fh); font-weight: 700; font-size: 1.6rem; color: var(--gold-dark); margin-bottom: 16px; }
.process-card h3 { font-size: 1rem; margin-bottom: 8px; font-family: var(--fh); font-weight: 700; color: var(--navy); }
.process-card p { font-size: .88rem; margin: 0; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); background: var(--bg); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; background: none; border: none; text-align: left; font-family: var(--fh); font-weight: 600; font-size: 1rem; color: var(--navy); }
.faq-q i { color: var(--gold-dark); transition: transform .2s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a-inner { padding: 0 26px 24px; font-size: .92rem; color: var(--text-muted); max-width: 640px; }

/* GLOSSARY (poleznoe.html) */
.glossary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.glossary-card { background: var(--bg); padding: 28px 30px; }
.glossary-card dt { font-family: var(--fh); font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-bottom: 8px; }
.glossary-card dd { font-size: .93rem; color: var(--text-muted); margin: 0; }
.poleznoe-note { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 32px; display: flex; gap: 16px; align-items: flex-start; }
.poleznoe-note i { color: var(--gold-dark); font-size: 1.3rem; margin-top: 2px; }
.poleznoe-note p { margin: 0; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--navy); color: #fff; padding: 44px; border: 1px solid var(--gold-dark); border-radius: var(--radius-lg); }
.contact-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 26px; }
.contact-row { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.contact-row i { width: 20px; margin-top: 4px; color: var(--gold-light); }
.contact-row a, .contact-row span { color: #cfd6e6; font-size: .94rem; }
.contact-row a:hover { color: #fff; }
.map-wrap { display: block; overflow: hidden; margin-top: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); }
.map-wrap img { width: 100%; height: 220px; object-fit: cover; display: block; filter: grayscale(.25) contrast(1.05); transition: transform .3s ease, filter .3s ease; }
.map-wrap:hover img, .map-wrap:focus-visible img { transform: scale(1.03); filter: grayscale(0) contrast(1.05); }
.map-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .85rem; color: var(--gold-light); }

.form-card { background: var(--bg); border: 1px solid var(--border); padding: 44px; }
.form-card h3 { margin-bottom: 6px; }
.form-card > p { margin-bottom: 26px; font-size: .9rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; letter-spacing: .02em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: var(--radius);
  font: inherit; font-size: .94rem; color: var(--text); background: var(--bg-alt);
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: var(--bg); }
.field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: .78rem; color: var(--text-muted); margin-top: 16px; }
.form-status { margin-top: 14px; font-size: .88rem; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #b3392c; }

/* FOOTER */
footer { background: var(--navy); color: #a9b3cc; padding: 64px 0 32px; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; column-gap: 44px; row-gap: 24px; margin-bottom: 44px; }
.footer-logo-cell { grid-column: 1; grid-row: 1; }
.footer-desc-cell { grid-column: 4; grid-row: 1; }
.footer-brand-tag { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 10px; }
.footer-about-cell { grid-column: 1; grid-row: 2; }
.footer-sections-cell { grid-column: 2; grid-row: 2; }
.footer-services-cell { grid-column: 3; grid-row: 2; }
.footer-logo { display: flex; align-items: center; gap: 12px; font-family: var(--fh); font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 0; }
.footer-logo-img { height: 52px; width: auto; display: block; }
.footer-logo-brand { display: inline-flex; background: #f7f4ec; border-radius: var(--radius); padding: 8px 14px; }
.footer-logo-brand img { display: block; height: 38px; width: auto; }
.footer-grid p { color: #8e9ab8; font-size: .88rem; }
.footer-grid .footer-heading { color: #fff; font-size: .88rem; margin-bottom: 18px; font-family: var(--fh); letter-spacing: .02em; font-weight: 700; }
.footer-grid ul { display: flex; flex-direction: column; gap: 11px; }
.footer-grid ul a { font-size: .88rem; color: #b0bad4; }
.footer-grid ul a:hover { color: var(--gold-light); }
.footer-requisites-list { font-size: .82rem; line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: #8e9ab8; }

[data-aos] { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
[data-aos].aos-in { opacity: 1; transform: translateY(0); }

@media (max-width: 1480px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 980px) {
  .header-contact-tag, .header-contact-row span { display: none; }
  .header-contact-item { flex-direction: row; align-items: center; }
  .header-contact { gap: 18px; }
  .header-contact-item + .header-contact-item::before { left: -9px; height: 16px; }
  .logo-group { gap: 16px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: auto; min-height: 320px; }
  .about-grid { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card { border-right: none; padding: 26px 24px; }
  .process-card:nth-child(odd) { border-right: 1px solid var(--border); }
  .process-card:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-logo-cell, .footer-desc-cell, .footer-about-cell, .footer-sections-cell, .footer-services-cell { grid-column: auto; grid-row: auto; }
  .service-detail { grid-template-columns: 1fr; }
  .service-aside { position: static; }
  .glossary-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 68px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 22px; }
  .process-card:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .contact-card, .form-card { padding: 30px 24px; }
  .price-card { padding: 26px 22px; }
  .relief-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 520px) {
  /* Логотип + кнопка + гамбургер не помещаются в одну строку без переноса —
     прячем кнопку из шапки, дублируем её в мобильном меню.
     Порог измерен по факту: logo 185px + btn 188px + toggle 42px + отступы ≈ 485px. */
  .nav-right > .btn-primary { display: none; }
  .extra-fees { grid-template-columns: 1fr; padding: 24px 20px; }
}

/* Плавающая CTA-панель на мобильных: звонок / Telegram / расчёт стоимости */
.mobile-cta-bar { display: none; }
@media (max-width: 680px) {
  body { padding-bottom: 74px; }
  .mobile-cta-bar {
    display: flex; gap: 6px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    background: var(--navy); border-top: 1px solid var(--gold-dark);
    padding: 9px 8px calc(9px + env(safe-area-inset-bottom, 0px));
    transition: opacity .2s ease, visibility .2s ease;
  }
  body.menu-open .mobile-cta-bar { opacity: 0; visibility: hidden; pointer-events: none; }
  .mobile-cta-btn {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: #cfd6e6; font-size: .66rem; font-weight: 700; padding: 6px 4px; border-radius: var(--radius);
  }
  .mobile-cta-btn i { font-size: 1.05rem; color: var(--gold-light); }
  .mobile-cta-primary { background: var(--gold); color: #16130b; }
  .mobile-cta-primary i { color: #16130b; }
}

/* Honeypot-поле против спам-ботов: скрыто от людей, видно ботам, заполняющим всё подряд */
.field-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Согласие на обработку персональных данных (152-ФЗ) */
.field-consent { margin-bottom: 16px; }
.consent-label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-size: .84rem; line-height: 1.5; color: var(--ink-soft, #5c6478);
}
.consent-label input[type="checkbox"] {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--gold); cursor: pointer;
}
.consent-label a { color: var(--gold-dark); text-decoration: underline; }

/* THANK-YOU LETTERS (Благодарственные письма) */
.letters-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.letter-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; overflow: hidden; height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.letter-card:hover, .letter-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }

.letter-preview {
  position: relative; display: block; width: 100%; border: none; padding: 22px 22px 0;
  background: var(--bg-alt); cursor: zoom-in; text-align: center; border-radius: 0;
}
.letter-preview-frame {
  position: relative; margin: 0 auto; aspect-ratio: .7071; max-width: 200px;
  background: #fff; border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px);
  box-shadow: 0 10px 24px -14px rgba(10,26,51,.35); overflow: hidden;
}
.letter-preview-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.letter-preview-empty {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--text-muted); font-size: .76rem; padding: 14px; text-align: center;
}
.letter-preview-empty i { font-size: 1.3rem; color: var(--gold-dark); }
.letter-zoom-hint {
  position: absolute; top: 12px; right: 12px; background: var(--navy); color: #fff;
  font-size: .72rem; font-weight: 600; padding: 6px 11px; border-radius: 999px;
  display: flex; align-items: center; gap: 6px; opacity: 0; transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease; pointer-events: none;
}
.letter-preview:hover .letter-zoom-hint, .letter-preview:focus-visible .letter-zoom-hint { opacity: 1; transform: none; }

.letter-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.letter-top { display: flex; align-items: center; gap: 12px; }
.letter-logo { width: 42px; height: 42px; border-radius: var(--radius); object-fit: contain; border: 1px solid var(--border); background: #fff; padding: 4px; flex-shrink: 0; }
.letter-meta { min-width: 0; }
.letter-company { font-family: var(--fh); font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.letter-tag { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }
.letter-quote {
  font-size: .89rem; color: var(--text-muted); line-height: 1.55; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.letter-quote::before { content: '\201C'; color: var(--gold-dark); font-weight: 700; }
.letter-quote::after { content: '\201D'; color: var(--gold-dark); font-weight: 700; }
.letter-open-btn { align-self: flex-start; margin-top: auto; font-size: .86rem; padding: 11px 20px; }

.letters-note { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .82rem; color: var(--text-muted); text-align: center; }
.letters-note[hidden] { display: none; }
.letters-note i { color: var(--gold-dark); }

@media (max-width: 980px) {
  .letters-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .letters-grid { grid-template-columns: 1fr; }
}

/* LIGHTBOX */
.letters-lightbox {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 70px 90px; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility 0s linear .22s;
}
.letters-lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .22s ease; }
.letters-lightbox-backdrop { position: absolute; inset: 0; background: rgba(10,16,28,.84); backdrop-filter: blur(2px); }
.letters-lightbox-inner {
  position: relative; z-index: 1; width: 100%; max-width: 760px; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: scale(.96); transition: transform .22s ease;
}
.letters-lightbox.is-open .letters-lightbox-inner { transform: none; }
.letters-lightbox-stage {
  position: relative; width: 100%; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.letters-lightbox-img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: calc(var(--radius) - 2px); box-shadow: 0 30px 70px -20px rgba(0,0,0,.55);
  background: #fff; cursor: zoom-in; touch-action: none; transition: transform .18s ease; transform-origin: center center;
}
.letters-lightbox-img.is-zoomed { cursor: zoom-out; }
.letters-lightbox-close, .letters-lightbox-nav, .letters-lightbox-zoom button {
  border: 1px solid rgba(255,255,255,.25); background: rgba(10,16,28,.55); color: #fff;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.letters-lightbox-close:hover, .letters-lightbox-nav:hover, .letters-lightbox-zoom button:hover { background: var(--gold); color: #16130b; border-color: var(--gold); }
.letters-lightbox-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; font-size: 1.1rem; z-index: 2; }
.letters-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 1.05rem; z-index: 2; }
.letters-lightbox-nav.prev { left: 16px; }
.letters-lightbox-nav.next { right: 16px; }
.letters-lightbox-zoom { display: flex; gap: 8px; margin-top: 16px; flex-shrink: 0; }
.letters-lightbox-zoom button { width: 38px; height: 38px; font-size: .92rem; }
.letters-lightbox-caption { margin-top: 12px; color: #e7ebf5; font-size: .88rem; text-align: center; max-width: 560px; flex-shrink: 0; }

@media (max-width: 780px) {
  .letters-lightbox { padding: 16px; }
  .letters-lightbox-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .letters-lightbox, .letters-lightbox-inner, .letters-lightbox-img, .letter-card { transition: none; }
}

/* REVIEWS PANEL (Отзывы и кейсы) */
.reviews-panel {
  position: fixed; inset: 0; z-index: 290; display: flex; align-items: center; justify-content: center;
  padding: 40px 24px; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility 0s linear .22s;
}
.reviews-panel.is-open { opacity: 1; visibility: visible; transition: opacity .22s ease; }
.reviews-panel-backdrop { position: absolute; inset: 0; background: rgba(10,16,28,.72); backdrop-filter: blur(2px); }
.reviews-panel-inner {
  position: relative; z-index: 1; width: 100%; max-width: 1080px; max-height: 88vh;
  background: var(--bg); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  transform: scale(.97); transition: transform .22s ease; overflow: hidden;
  display: flex; flex-direction: column;
}
.reviews-panel.is-open .reviews-panel-inner { transform: none; }
.reviews-panel-close {
  position: absolute; top: 18px; right: 18px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg); color: var(--navy); font-size: 1rem;
  display: flex; align-items: center; justify-content: center; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.reviews-panel-close:hover { background: var(--gold); color: #16130b; border-color: var(--gold); }
.reviews-panel-scroll { overflow-y: auto; padding: 56px 40px 48px; }
.reviews-panel-cases { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border); }

@media (max-width: 680px) {
  .reviews-panel { padding: 0; }
  .reviews-panel-inner { max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
  .reviews-panel-scroll { padding: 64px 20px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-panel, .reviews-panel-inner { transition: none; }
}
