/* Camodivi · сайт v3 „editorial" · наборът на самия доклад
   Форми: бутони и чипове = pill · повърхности и полета = 2px · ленти и таблици = 0 */
:root {
  --forest: #005435;
  --forest-l: #7FB89F;
  --signal: #C62828;
  --paper: #F7F5F2;
  --ink: #1A1A1A;
  --tint: #EAF0E8;
  --chip-g-bg: #DFEBE2;
  --chip-r-bg: #F5DFDC; --chip-r-tx: #A32222;
  --hairline: #DFDBD4;
  --grey: #8B8983;
  --grey-d: #4F4E49;
  --white: #FFFFFF;
  --container: 1200px;
  --pad: clamp(20px, 4.5vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Sofia Sans', 'Helvetica Neue', Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--forest); color: var(--paper); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.c { color: var(--forest); }

h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: 1.06; letter-spacing: -0.015em; margin-bottom: 16px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--grey-d); max-width: 620px; }
.label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--grey); }
.eyebrow { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--forest); font-weight: 800; margin-bottom: 16px; }

section { padding-block: clamp(72px, 10vw, 128px); }

/* ---------- навигация ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: linear-gradient(180deg, rgba(247, 245, 242, 0.72), rgba(247, 245, 242, 0.28) 60%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-bottom: none;
}
.nav-in { display: flex; align-items: center; gap: 26px; height: 64px; }
.logo { font-weight: 800; letter-spacing: 0.12em; font-size: 16.5px; display: flex; align-items: baseline; gap: 10px; }
.logo .tag { font-size: 10px; letter-spacing: 0.1em; color: var(--grey); font-weight: 600; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--grey-d);
  padding-bottom: 2px; border-bottom: 1.5px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover, .nav-links a[aria-current] { color: var(--forest); border-color: var(--forest); }
.nav .btn { margin-left: 6px; padding: 9px 20px; font-size: 14px; }

/* ---------- бутони ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--forest); color: var(--paper);
  font-weight: 800; font-size: 15.5px;
  padding: 14px 28px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0, 84, 53, 0.24); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-paper { background: var(--paper); color: var(--forest); }
.btn-paper:hover { box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 15.5px; color: var(--forest);
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: border-color .2s, gap .2s;
}
.link-arrow:hover { border-color: var(--forest); gap: 12px; }

/* ---------- герой ---------- */
.hero { padding-top: clamp(120px, 16vh, 168px); padding-bottom: 0; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero h1 {
  font-size: clamp(33px, 2.4vw + 12px, 47px);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.022em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--forest); }
.hero .sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--grey-d); max-width: 500px; margin-bottom: 34px; }
.hero-ctas { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-art { position: relative; z-index: 2; margin-bottom: -44px; }
.cover-stack { position: relative; width: min(360px, 100%); margin-left: auto; }
.cover-stack .under {
  position: absolute; inset: 10px -18px 48px 18px;
  background: var(--white); border: 1px solid var(--hairline);
  transform: rotate(2deg); transform-origin: 100% 100%;
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.07);
}
.cover-stack .top {
  position: relative; border: 1px solid var(--hairline);
  box-shadow: 0 32px 64px rgba(26, 26, 26, 0.16);
  background: var(--white);
}
.cover-stack figcaption { position: relative; margin-top: 14px; font-size: 12px; color: var(--grey); }

/* ---------- мета лента (числата на одита) ---------- */
.metrics { padding-block: clamp(52px, 7vw, 84px) 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 6px 26px 2px 0; }
.metric + .metric { border-left: 1px solid var(--hairline); padding-left: 26px; }
.metric b { display: block; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
.metric span { display: block; margin-top: 4px; }

/* ---------- проблемът ---------- */
.rows { border-top: 1px solid var(--ink); margin-top: 40px; }
.prow {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: baseline;
  padding: 22px 6px; border-bottom: 1px solid var(--hairline);
  transition: background .2s;
}
.prow:hover { background: var(--white); }
.prow .n { font-size: 13px; font-weight: 700; color: var(--forest); }
.prow .t { font-size: clamp(17px, 1.8vw, 21px); font-weight: 700; letter-spacing: -0.005em; }

/* ---------- продуктът ---------- */
.product-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 5vw, 88px); align-items: start; margin-top: 12px; }
.product-side { position: sticky; top: 96px; }
ul.checks { list-style: none; margin-top: 26px; border-top: 1px solid var(--ink); }
ul.checks li { padding: 13px 2px 13px 30px; border-bottom: 1px solid var(--hairline); font-size: 16px; position: relative; }
ul.checks li::before { content: "✓"; position: absolute; left: 2px; color: var(--forest); font-weight: 800; }
.spreads { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.spreads figure:nth-child(2) { margin-top: 44px; }
.spreads img { border: 1px solid var(--hairline); background: var(--white); box-shadow: 0 18px 40px rgba(26, 26, 26, 0.10); }
.spreads figcaption { margin-top: 10px; font-size: 12px; color: var(--grey); }

/* компонентите на доклада, живи */
.report-parts { margin-top: 40px; display: grid; gap: 18px; }
.scorecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sc {
  background: var(--white); border: 1px solid var(--hairline); border-top: 3px solid var(--forest);
  border-radius: 2px; padding: 16px 18px 14px;
}
.sc .n { font-size: 26px; font-weight: 800; line-height: 1.1; }
.sc .n small { font-size: 13px; color: var(--grey); font-weight: 600; }
.sc .n.bad { color: var(--signal); }
.sc .l { margin-top: 3px; }
.finding {
  background: var(--white); border: 1px solid var(--hairline); border-radius: 2px;
  padding: 18px 20px;
}
.finding-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.finding-head strong { font-size: 15.5px; }
.finding p { font-size: 14.5px; color: var(--grey-d); max-width: 60ch; }
.chip { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 11px; border-radius: 999px; letter-spacing: 0.03em; }
.chip.g { color: var(--forest); background: var(--chip-g-bg); }
.chip.r { color: var(--chip-r-tx); background: var(--chip-r-bg); }
.excerpt {
  position: relative;
  font-family: 'Literata', Georgia, serif; font-style: italic;
  font-size: clamp(19px, 2vw, 25px); line-height: 1.5; color: var(--ink);
  border: none; background: none; border-radius: 0;
  padding: 34px 0 0; margin: 44px 0;
  max-width: none;
}
.excerpt::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--forest);
}
.excerpt .who { display: block; margin-top: 16px; font-family: 'Sofia Sans', sans-serif; font-style: normal; color: var(--grey); }

/* ---------- процесът ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 44px; }
.step { border-top: 1px solid var(--ink); padding-top: 16px; }
.step .n { font-size: 13px; font-weight: 700; color: var(--forest); display: block; margin-bottom: 12px; }
.step h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--grey-d); }

/* ---------- сравнението ---------- */
.tbl-wrap { overflow-x: auto; margin-top: 40px; border: 1px solid var(--hairline); background: var(--white); }
table.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.cmp th {
  text-align: left; font-weight: 700; padding: 13px 18px;
  border-bottom: 1px solid var(--ink);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-d);
}
.cmp td { padding: 13px 18px; border-bottom: 1px solid var(--hairline); }
.cmp tr:last-child td { border-bottom: none; }
.cmp .you { background: var(--tint); font-weight: 700; }
.cmp .no { color: var(--chip-r-tx); font-weight: 800; }
.cmp .yes { color: var(--forest); font-weight: 800; }

/* ---------- сделката (единственият цветен блок) ---------- */
.deal { background: var(--forest); color: var(--paper); padding-block: clamp(64px, 8vw, 104px); }
.deal .eyebrow { color: var(--forest-l); }
.deal-grid { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(32px, 5vw, 72px); align-items: center; }
.dp-old { font-size: 17px; text-decoration: line-through; color: var(--forest-l); }
.dp-new { font-size: clamp(56px, 6vw, 84px); font-weight: 800; line-height: 1; letter-spacing: -0.01em; }
.dp-note { margin-top: 8px; color: var(--forest-l); }
.deal-body { font-size: 16.5px; color: #E9F0EA; max-width: 480px; }
.deal-body strong { color: var(--paper); }
.deal-side { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.deal-side .seats { font-weight: 800; font-size: 14px; color: var(--paper); }

/* ---------- основателят ---------- */
.founder-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 5vw, 88px); align-items: start; }
.mrows { border-top: 1px solid var(--ink); margin-top: 26px; }
.mrow { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 13px 2px; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.mrow .mv { font-size: 15.5px; font-weight: 600; }
.founder-quote { font-size: clamp(19px, 2vw, 24px); font-weight: 500; line-height: 1.5; letter-spacing: -0.005em; max-width: 24em; }
.founder-quote + .who { margin-top: 18px; }
.who .name { font-weight: 800; font-size: 16px; }
.who .role { color: var(--grey); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-top: 36px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 16px;
  padding: 19px 2px; font-weight: 800; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .qn { font-size: 12px; color: var(--grey); font-weight: 700; min-width: 26px; }
.faq summary .pl { color: var(--forest); font-weight: 800; font-size: 20px; margin-left: auto; transition: transform .22s; }
.faq details[open] summary .pl { transform: rotate(45deg); }
.faq .ans { padding: 0 2px 20px 42px; color: var(--grey-d); max-width: 66ch; }

/* ---------- финал + форма ---------- */
.final-grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 5vw, 88px); align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--hairline); border-radius: 2px; padding: clamp(26px, 3vw, 38px); }
.form-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.form-card .fc-sub { font-size: 14px; color: var(--grey-d); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; }
.field input {
  width: 100%; border: 1.5px solid var(--hairline); background: var(--paper);
  border-radius: 2px; padding: 12px 14px; font: inherit; font-size: 15.5px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(0, 84, 53, 0.14); background: var(--white); }
.form-note { font-size: 12.5px; color: var(--grey); margin-top: 12px; }
.form-ok { display: none; text-align: center; padding: 42px 10px; }
.form-ok .ok-c { font-size: 46px; font-weight: 800; color: var(--forest); }
.form-ok h3 { font-size: 21px; margin: 8px 0 5px; }
.form-ok p { color: var(--grey-d); font-size: 15px; }
.contact-line { margin-top: 26px; font-size: 15px; color: var(--grey-d); }
.contact-line strong { color: var(--ink); }

/* ---------- footer ---------- */
footer {
  position: relative; z-index: 2; overflow: hidden;
  background: var(--forest); color: #D7E4DC;
  padding: clamp(56px, 7vw, 88px) 0 0; margin-top: clamp(40px, 6vw, 80px);
}
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.foot-claim .fc-line { color: var(--paper); font-size: clamp(17px, 1.7vw, 21px); font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.foot-claim .fc-tag { font-family: 'Literata', Georgia, serif; font-style: italic; color: var(--forest-l); margin-top: 12px; font-size: 15px; }
.foot-h { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #8FB3A2; font-weight: 800; margin-bottom: 14px; }
.foot-col a { display: block; padding: 6px 0; font-size: 15px; color: #D7E4DC; transition: color .2s, padding-left .2s; }
.foot-col a:hover { color: var(--paper); padding-left: 5px; }
.foot-act { display: flex; flex-direction: column; gap: 4px; }
.fa-main {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(17px, 1.6vw, 20px); font-weight: 800; color: var(--paper);
  padding-bottom: 6px; transition: gap .2s;
}
.fa-main:hover { gap: 14px; }
.fa-dot {
  width: 24px; height: 24px; border-radius: 50%; background: var(--paper); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}
.fa-sub { font-size: 13px; color: #8FB3A2; margin-bottom: 22px; }
.foot-mark {
  margin-top: clamp(34px, 5vw, 60px);
  font-size: clamp(84px, 19.4vw, 300px); font-weight: 800; line-height: .78;
  letter-spacing: -0.02em; color: rgba(247, 245, 242, .13);
  white-space: nowrap; text-align: center; user-select: none;
  padding-inline: var(--pad);
}
.foot-bottom {
  border-top: 1px solid rgba(247, 245, 242, .18); margin-top: clamp(18px, 3vw, 34px);
  padding-top: 18px; padding-bottom: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #8FB3A2;
}
@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .foot-claim { grid-column: 1 / -1; }
  .foot-act { grid-column: 1 / -1; }
  .foot-mark { font-size: 21vw; }
}
@media (max-width: 560px) {
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 6px; }
}

/* ---------- вътрешни страници ---------- */
.page-hero { padding-top: clamp(120px, 16vh, 164px); padding-bottom: clamp(36px, 5vw, 60px); }
.page-hero h1 { font-size: clamp(38px, 4.2vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 16px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.gallery a {
  display: block; border: 1px solid var(--hairline); background: var(--white);
  box-shadow: 0 10px 26px rgba(26, 26, 26, 0.08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.gallery a:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(26, 26, 26, 0.14); }
.gallery figcaption { padding: 10px 12px; }
.pages-note { font-size: 13.5px; color: var(--grey); margin-top: 22px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1); }
.stagger > * { opacity: 0; transform: translateY(18px); }
.stagger.in > * { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); }
.stagger.in > *:nth-child(2) { transition-delay: .07s; }
.stagger.in > *:nth-child(3) { transition-delay: .14s; }
.stagger.in > *:nth-child(4) { transition-delay: .21s; }
.stagger.in > *:nth-child(5) { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
  .btn, .link-arrow, .gallery a { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .cover-stack { width: min(300px, 100%); }
  .product-grid, .founder-grid, .final-grid { gap: 40px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { margin-bottom: 0; margin-top: 8px; }
  .cover-stack { margin-left: 0; }
  .metrics { border-top-color: var(--hairline); }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .metric:nth-child(3) { border-left: none; padding-left: 0; }
  .product-grid, .founder-grid, .final-grid { grid-template-columns: 1fr; }
  .product-side { position: static; }
  .scorecards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .deal-grid { grid-template-columns: 1fr; gap: 26px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .logo .tag { display: none; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .scorecards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .spreads { grid-template-columns: 1fr; }
  .spreads figure:nth-child(2) { margin-top: 0; }
  .gallery { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 40px 1fr; }
  .mrow { grid-template-columns: 110px 1fr; }
}

/* ---------- mesh gradient hero фон ---------- */
.glows {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none; overflow: hidden;
}
.glows span {
  position: absolute; border-radius: 50%;
  filter: blur(56px); will-change: transform, opacity;
}
.glows .g1 {
  width: 52vmax; height: 46vmax; top: -16vmax; right: -10vmax;
  background: radial-gradient(circle at 50% 50%, rgba(0, 84, 53, 0.20) 0%, rgba(0, 84, 53, 0.13) 34%, rgba(0, 84, 53, 0.05) 58%, transparent 76%);
  animation: mesh1 18s ease-in-out infinite;
}
.glows .g2 {
  width: 46vmax; height: 42vmax; top: 46vh; right: -12vmax;
  background: radial-gradient(circle at 50% 50%, rgba(93, 170, 138, 0.22) 0%, rgba(140, 200, 172, 0.14) 34%, rgba(168, 213, 191, 0.06) 58%, transparent 78%);
  animation: mesh2 23s ease-in-out infinite;
}
.glows .g3 {
  width: 50vmax; height: 44vmax; bottom: -12vmax; left: -14vmax;
  background: radial-gradient(circle at 50% 50%, rgba(212, 186, 116, 0.24) 0%, rgba(220, 200, 145, 0.15) 34%, rgba(222, 206, 160, 0.06) 58%, transparent 78%);
  animation: mesh3 21s ease-in-out infinite;
}
.glows .g4 {
  width: 38vmax; height: 34vmax; top: 4vh; left: 20vw;
  background: radial-gradient(circle at 50% 50%, rgba(150, 205, 178, 0.18) 0%, rgba(168, 213, 191, 0.09) 42%, transparent 74%);
  animation: mesh4 16s ease-in-out infinite;
}
@keyframes mesh1 {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
  25%  { transform: translate(-34vw, 16vh) scale(1.18) rotate(40deg); }
  50%  { transform: translate(-18vw, 46vh) scale(.92) rotate(90deg); }
  75%  { transform: translate(-46vw, 28vh) scale(1.1) rotate(140deg); }
  100% { transform: translate(0, 0) scale(1) rotate(180deg); }
}
@keyframes mesh2 {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
  25%  { transform: translate(-42vw, -26vh) scale(1.22) rotate(-50deg); opacity: .82; }
  50%  { transform: translate(-14vw, -52vh) scale(.9) rotate(-110deg); opacity: 1; }
  75%  { transform: translate(-52vw, -12vh) scale(1.14) rotate(-160deg); opacity: .86; }
  100% { transform: translate(0, 0) scale(1) rotate(-220deg); opacity: 1; }
}
@keyframes mesh3 {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); opacity: .95; }
  25%  { transform: translate(38vw, -22vh) scale(1.2) rotate(60deg); opacity: 1; }
  50%  { transform: translate(64vw, -48vh) scale(.94) rotate(120deg); opacity: .8; }
  75%  { transform: translate(24vw, -60vh) scale(1.16) rotate(180deg); opacity: 1; }
  100% { transform: translate(0, 0) scale(1) rotate(240deg); opacity: .95; }
}
@keyframes mesh4 {
  0%   { transform: translate(0, 0) scale(.95) rotate(0deg); opacity: .7; }
  25%  { transform: translate(34vw, 34vh) scale(1.2) rotate(-70deg); opacity: 1; }
  50%  { transform: translate(-8vw, 58vh) scale(1) rotate(-130deg); opacity: .75; }
  75%  { transform: translate(30vw, 12vh) scale(1.24) rotate(-200deg); opacity: 1; }
  100% { transform: translate(0, 0) scale(.95) rotate(-280deg); opacity: .7; }
}

/* grain текстура върху цялата страница */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.3; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* ---------- интерактивност ---------- */
.cover-stack { transform-style: preserve-3d; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.sc { transition: transform .25s ease, box-shadow .25s ease; }
.sc:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(26, 26, 26, 0.09); }
.finding { transition: transform .25s ease, box-shadow .25s ease; }
.finding:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(26, 26, 26, 0.09); }
.cmp tbody tr { transition: background .2s; }
.cmp tbody tr:hover { background: #FBFAF6; }
.faq details[open] .ans { animation: ansIn .34s cubic-bezier(.2, .7, .2, 1); }
@keyframes ansIn { from { opacity: 0; transform: translateY(-6px); } }
.btn:focus-visible, .link-arrow:focus-visible { outline: 3px solid rgba(0, 84, 53, 0.4); outline-offset: 3px; }
.metric b { min-height: 1.1em; }
@media (prefers-reduced-motion: reduce) {
  .glows span { animation: none; }
  .cover-stack, .sc, .finding { transition: none; }
  .faq details[open] .ans { animation: none; }
}
@media (max-width: 900px) {
  .glows span { filter: blur(60px); }
}

/* ---------- мобилно меню ---------- */
.burger { display: none; width: 42px; height: 42px; margin-left: 2px; background: none; border: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
.nav.open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 900px) {
  .burger { display: flex; }
  .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--ink);
    padding: 6px var(--pad) 18px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .26s ease, transform .26s cubic-bezier(.2, .7, .2, 1), visibility .26s;
    box-shadow: 0 22px 34px rgba(26, 26, 26, 0.08);
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { font-size: 18px; font-weight: 700; color: var(--ink); padding: 15px 2px; border-bottom: 1px solid var(--hairline); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a[aria-current] { color: var(--forest); border-bottom-color: var(--hairline); }
}
@media (max-width: 560px) {
  .nav .btn { padding: 8px 15px; font-size: 13px; margin-left: auto; }
  .nav-in { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links, .burger span { transition: none; }
}

/* ---------- мобилен footer ---------- */
@media (max-width: 900px) {
  footer { padding: 34px 0 26px; }
  .foot-grid { flex-direction: column; align-items: stretch; gap: 22px; }
  .foot-links { flex-direction: column; gap: 0; border-top: 1px solid var(--hairline); }
  .foot-links a { padding: 12px 2px; border-bottom: 1px solid var(--hairline); font-size: 15px; }
  .foot-bottom { flex-direction: column; gap: 4px; margin-top: 22px; }
}

/* слоеве над фона */
.hero, header.page-hero, section, footer { position: relative; z-index: 2; }
.deal { z-index: 2; }
@media (max-width: 900px) {
  .glows { height: 118vh; }
  .glows span { filter: blur(62px); }
  body::after { opacity: 0.22; }
}
@media (prefers-reduced-motion: reduce) {
  .glows span { animation: none; }
}



/* ---------- статии ---------- */
.article h2 { font-size: clamp(21px, 2.2vw, 26px); font-weight: 800; margin: 34px 0 10px; letter-spacing: -0.01em; }
.article p { font-size: 17.5px; line-height: 1.72; margin-bottom: 16px; max-width: 68ch; }
.article .excerpt { margin: 30px 0; }

/* ---------- снимки ---------- */
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--hairline); box-shadow: 0 22px 48px rgba(26,26,26,.14); }
.portrait figcaption { margin-top: 12px; font-size: 12px; color: var(--grey); }
.byline { display: flex; align-items: center; gap: 14px; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--hairline); }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid var(--hairline); }
.byline .bn { font-weight: 800; font-size: 15.5px; }
.byline .br { font-size: 13.5px; color: var(--grey); }
.who-photo { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.who-photo img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 1px solid var(--hairline); }
.shot { border: 1px solid var(--hairline); background: var(--white); box-shadow: 0 16px 36px rgba(26,26,26,.10); }
.shot-cap { margin-top: 10px; font-size: 12px; color: var(--grey); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; margin-top: 30px; }
.duo figure:nth-child(2) { margin-top: 36px; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } .duo figure:nth-child(2) { margin-top: 0; } }

.hero-note { margin-top: 22px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--forest); }
@media (max-width: 560px) { .hero-note { font-size: 12px; } }

/* ---------- екип ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px); margin-top: 34px; }
.member img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--hairline); box-shadow: 0 18px 40px rgba(26,26,26,.12); }
.member .m-name { font-weight: 800; font-size: 18px; margin-top: 16px; }
.member .m-role { color: var(--forest); font-weight: 700; font-size: 14px; margin-top: 2px; }
.member .m-note { color: var(--grey-d); font-size: 14.5px; margin-top: 8px; max-width: 34ch; }
@media (max-width: 620px) { .team { grid-template-columns: 1fr; } }

/* по-широк цитат в статиите */
.article .excerpt { max-width: none; }

/* цитатът се разпъва през цялата колона */
.excerpt { font-size: clamp(20px, 2.3vw, 30px); line-height: 1.42; letter-spacing: -0.005em; }
.excerpt .who { margin-top: 20px; }
@media (max-width: 620px) { .excerpt { font-size: 19px; line-height: 1.5; } }

/* ================= pill навигация (запазена) ================= */
:root { --r-pill: 999px; }
.nav { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: none; padding-top: 14px; }
.nav-in { height: auto; }
.nav-links {
  background: rgba(255,255,255,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(26,26,26,.06); border-radius: var(--r-pill);
  padding: 7px 10px; gap: 4px; box-shadow: 0 6px 20px rgba(26,26,26,.06);
}
.nav-links a { padding: 8px 16px; border-radius: var(--r-pill); border-bottom: none; }
.nav-links a:hover { background: rgba(0,84,53,.08); border-bottom: none; color: var(--forest); }
.nav-links a[aria-current] { background: var(--forest); color: var(--paper); border-bottom: none; }
.logo { background: rgba(255,255,255,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(26,26,26,.06); border-radius: var(--r-pill); padding: 10px 18px; box-shadow: 0 6px 20px rgba(26,26,26,.06); }
@media (max-width: 900px) {
  .logo { padding: 8px 14px; }
  .nav-links { border-radius: 20px; padding: 6px var(--pad) 14px; box-shadow: 0 22px 34px rgba(26,26,26,.08); background: var(--paper); }
}
/* 5 линка: среден диапазон без пренасяне */
.nav-links a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1180px) {
  .logo .tag { display: none; }
  .nav-links { gap: 2px; padding: 6px 8px; }
  .nav-links a { padding: 8px 12px; font-size: 13.5px; }
  .nav .btn { padding: 9px 16px; font-size: 13.5px; }
}

/* ================= v4 „soft" · нула прави ръбове ================= */
:root { --r-xs: 14px; --r-sm: 18px; --r-md: 24px; --r-lg: 34px; }

.cover-stack .top, .cover-stack .under { border-radius: var(--r-sm); }
.spreads img, .shot, .portrait img, .member img { border-radius: var(--r-sm); }
.sc, .finding { border-radius: var(--r-xs); }
.tbl-wrap { border-radius: var(--r-md); overflow: hidden; overflow-x: auto; }
.gallery a { border-radius: var(--r-sm); overflow: hidden; }
.form-card { border-radius: var(--r-md); }
.field input { border-radius: 14px; }
.excerpt::before { border-radius: 999px; }
.rows, ul.checks, .mrows, .faq, .step { border-top-color: transparent; position: relative; }
.rows::before, ul.checks::before, .mrows::before, .faq::before, .step::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px;
  background: var(--ink); border-radius: 999px;
}
.step::before { background: var(--forest); opacity: .9; }

/* пълноцветните блокове стават заоблени панели */
.deal { border-radius: var(--r-lg); margin-inline: clamp(12px, 2.5vw, 28px); }
footer {
  border-radius: var(--r-lg);
  margin: clamp(40px, 6vw, 80px) clamp(12px, 2.5vw, 28px) clamp(12px, 2.5vw, 28px);
}

/* ================= v4 · жив hero: сцена с плаващи части от доклада ================= */
.hero-stage { position: relative; width: min(400px, 100%); margin-left: auto; }
.hero-stage .cover-stack { width: min(340px, 88%); margin-inline: auto; }

/* органичен „liquid" фон зад корицата */
.stage-blob {
  position: absolute; inset: -10% -16% 4% -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(58% 62% at 32% 30%, rgba(0, 84, 53, 0.14), transparent 70%),
    radial-gradient(52% 56% at 72% 68%, rgba(212, 186, 116, 0.20), transparent 72%),
    radial-gradient(46% 50% at 62% 24%, rgba(127, 184, 159, 0.22), transparent 70%);
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
  filter: blur(clamp(28px, 3.5vw, 44px));
  will-change: transform, border-radius;
  animation: blobMorph 16s ease-in-out infinite alternate;
}
@keyframes blobMorph {
  0%   { border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; transform: rotate(0deg) scale(1); }
  50%  { border-radius: 44% 56% 42% 58% / 56% 44% 56% 44%; transform: rotate(4deg) scale(1.05); }
  100% { border-radius: 52% 48% 60% 40% / 42% 58% 42% 58%; transform: rotate(-3deg) scale(1.02); }
}

/* плаващи карти */
.float-card {
  position: absolute; z-index: 4;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.40), rgba(255, 255, 255, 0.10) 45%, rgba(255, 255, 255, 0.28)),
    linear-gradient(160deg, rgba(127, 184, 159, 0.26), rgba(255, 255, 255, 0.06) 45%, rgba(212, 186, 116, 0.22));
  backdrop-filter: blur(22px) saturate(1.7); -webkit-backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--r-md);
  box-shadow:
    0 26px 52px rgba(26, 26, 26, 0.15),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.45),
    inset 0 2px 4px -1px rgba(255, 255, 255, 0.95),
    inset 0 -1px 2px rgba(255, 255, 255, 0.35);
  padding: 15px 19px;
  will-change: transform, translate;
  animation: driftA 11s ease-in-out infinite;
}
/* parallax-ът се изглажда с lerp в JS: без CSS transition, без скокове */
.hero-stage .cover-stack { transition: none; }
/* гланцов диагонален отблясък */
.float-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0) 64%, rgba(255, 255, 255, 0.28) 90%);
  opacity: .65;
}
/* самостоятелно „реене" във всички посоки, без мишка */
@keyframes driftA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(8px, -10px) rotate(-0.5deg); }
  50%      { transform: translate(-7px, -15px) rotate(0.4deg); }
  75%      { transform: translate(-10px, -4px) rotate(-0.3deg); }
}
@keyframes driftB {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(-9px, 7px) rotate(0.5deg); }
  50%      { transform: translate(6px, 13px) rotate(-0.4deg); }
  75%      { transform: translate(11px, 3px) rotate(0.3deg); }
}
.fc-score { top: 4%; right: -10%; min-width: 150px; animation-duration: 11s; }
.fc-score b { font-size: 27px; font-weight: 800; line-height: 1.05; display: inline-block; }
.fc-score small { font-size: 13px; color: var(--grey); font-weight: 600; }
.fc-score .fc-l { margin-top: 1px; }
.fc-bar { height: 5px; background: rgba(26, 26, 26, 0.10); border-radius: 999px; margin-top: 10px; overflow: hidden; }
.fc-bar span { display: block; height: 100%; width: 0; background: var(--forest); border-radius: 999px; animation: barFill 1.2s cubic-bezier(.2, .7, .2, 1) .6s forwards; }
@keyframes barFill { to { width: 52%; } }
.fc-win { bottom: 12%; left: -18%; max-width: 216px; padding: 13px 16px; animation-name: driftB; animation-duration: 13s; animation-delay: -4s; }
.fc-win .fc-t { font-size: 13.5px; font-weight: 700; line-height: 1.35; margin-top: 8px; }
.fc-crit { top: 40%; left: -13%; display: flex; align-items: baseline; gap: 7px; padding: 12px 20px; border-radius: 999px; animation-duration: 9s; animation-delay: -6s; }
.fc-crit b { font-size: 21px; font-weight: 800; }
.fc-crit .fc-l { font-size: 11px; }

/* въртящ се кръгъл бадж към примерния доклад */
.orbit-badge {
  position: absolute; z-index: 5; right: -6%; bottom: -7%;
  width: 106px; height: 106px; border-radius: 50%;
  background: var(--forest); color: var(--paper);
  display: grid; place-items: center;
  box-shadow: 0 18px 38px rgba(0, 84, 53, 0.32);
  transition: box-shadow .3s;
  will-change: transform;
  animation: driftB 18s ease-in-out infinite; animation-delay: -8s;
}
/* по-голяма невидима зона за цъкане */
.orbit-badge::after { content: ""; position: absolute; inset: -16px; border-radius: 50%; }
/* hero-то НАД следващите секции: иначе прозрачната зона на .metrics лежи върху
   надвисналия бадж (margin-bottom -44px) и гълта кликовете му */
.hero { z-index: 3; }

/* ================= v4 · liquid glass за всички боксове ================= */
.sc, .finding, .form-card, .tbl-wrap, .gallery a {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.26) 45%, rgba(255, 255, 255, 0.44)),
    linear-gradient(160deg, rgba(127, 184, 159, 0.14), rgba(255, 255, 255, 0.05) 45%, rgba(212, 186, 116, 0.12));
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.60);
  box-shadow:
    0 18px 40px rgba(26, 26, 26, 0.10),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.40),
    inset 0 2px 4px -1px rgba(255, 255, 255, 0.90);
}
.sc:hover, .finding:hover {
  box-shadow:
    0 24px 48px rgba(26, 26, 26, 0.13),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.45),
    inset 0 2px 4px -1px rgba(255, 255, 255, 0.95);
}
/* таблицата: стъклени редове вместо плътни */
.cmp .you { background: rgba(0, 84, 53, 0.08); }
.cmp tbody tr:hover { background: rgba(255, 255, 255, 0.50); }
/* полетата във формата: стъклени, плътни на фокус */
.field input { background: rgba(255, 255, 255, 0.50); border-color: rgba(255, 255, 255, 0.70); }
.field input:focus { background: var(--white); }

/* ================= случаи от практиката ================= */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4.5vw, 70px); align-items: center; }
.case + .case { margin-top: clamp(70px, 9vw, 130px); }
.case.flip .case-visual { order: 2; }
.case-tag { color: var(--forest); margin-bottom: 14px; }
.case h2 { margin-bottom: 12px; }
.case .lead { margin-bottom: 4px; }
.case-chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 6px; }
.case-chips .chip { font-size: 12px; padding: 5px 14px; }
.case-chips .chip.n { color: var(--grey-d); background: rgba(26, 26, 26, 0.06); }
.case-bars { display: grid; gap: 11px; margin: 20px 0 24px; max-width: 430px; }
.cb-row { display: grid; grid-template-columns: 130px 1fr 36px; align-items: center; gap: 12px; }
.cb-l { font-size: 12.5px; font-weight: 700; color: var(--grey-d); }
.cb-track { height: 6px; border-radius: 999px; background: rgba(26, 26, 26, 0.10); overflow: hidden; }
.cb-fill { display: block; height: 100%; border-radius: 999px; background: var(--forest); min-width: 3px; }
.cb-fill.bad { background: var(--signal); }
.cb-val { font-weight: 800; font-size: 13.5px; text-align: right; }
.case-finds { list-style: none; margin: 0 0 26px; max-width: 480px; }
.case-finds li { padding: 11px 0 11px 28px; position: relative; border-bottom: 1px solid var(--hairline); font-size: 15px; }
.case-finds li:last-child { border-bottom: none; }
.case-finds li::before { content: "→"; position: absolute; left: 0; color: var(--forest); font-weight: 800; }
.case-visual { position: relative; }
.case-visual .float-card { z-index: 4; }
.case-cover { position: relative; width: min(330px, 84%); margin-inline: auto; transform: rotate(-2deg); }
.case-cover img { border-radius: var(--r-sm); border: 1px solid var(--hairline); box-shadow: 0 30px 60px rgba(26, 26, 26, 0.16); background: var(--white); }
.cfA-score { top: -6%; right: 2%; min-width: 148px; }
.cfA-score .fc-bar span { animation: none; width: 52%; }
.cfB-free { bottom: -7%; left: 2%; max-width: 230px; animation-name: driftB; animation-delay: -3s; }
.cfB-free .fc-t { font-size: 13.5px; font-weight: 700; line-height: 1.35; margin-top: 8px; }
.cfB-score { top: -9%; right: -2%; min-width: 148px; animation-delay: -5s; }
.cfB-score .fc-bar span { animation: none; width: 17%; background: var(--signal); }
/* върху тъмния браузър стъклото трябва да е по-бяло, за да се чете */
.cfB-score, .cfB-free, .cfC-score, .cfC-crash {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.68) 55%, rgba(255, 255, 255, 0.80)),
    linear-gradient(160deg, rgba(127, 184, 159, 0.16), rgba(255, 255, 255, 0.05) 45%, rgba(212, 186, 116, 0.14));
}
/* случай 03: широк screenshot в рамка */
.case-frame { border-radius: var(--r-md); overflow: hidden; border: 1px solid rgba(26, 26, 26, 0.10); box-shadow: 0 32px 64px rgba(26, 26, 26, 0.20); transform: rotate(-1.6deg); }
.case-frame img { display: block; width: 100%; height: auto; }
.cfC-score { top: -8%; right: -2%; min-width: 148px; animation-delay: -2s; }
.cfC-score .fc-bar span { animation: none; width: 81%; }
.cfC-crash { bottom: -9%; left: 0; max-width: 240px; animation-name: driftB; animation-delay: -6s; }
.cfC-crash .fc-t { font-size: 13.5px; font-weight: 700; line-height: 1.35; margin-top: 8px; }
@media (max-width: 560px) { .case-frame { transform: none; } }

/* ================= формата: истински бекенд ================= */
.field textarea {
  width: 100%; border: 1.5px solid rgba(255, 255, 255, 0.70); background: rgba(255, 255, 255, 0.50);
  border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 15.5px; color: var(--ink);
  resize: vertical; min-height: 84px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(0, 84, 53, 0.14); background: var(--white); }
.field.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { display: none; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--chip-r-tx); background: var(--chip-r-bg); padding: 10px 14px; border-radius: 12px; }
.form-err.on { display: block; }
form[data-zayavka].sending { opacity: .6; pointer-events: none; }
form[data-zayavka].sending .btn::after { content: "…"; }

/* ================= курсорът: разпадащата се гравюра ================= */
html.cur-on, html.cur-on body, html.cur-on a, html.cur-on button, html.cur-on summary { cursor: none; }
html.cur-on input, html.cur-on textarea, html.cur-on select { cursor: text; }
.cur-eye { position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none; transition: opacity .3s; }
.cur-eye .scaler { transition: transform .45s cubic-bezier(.2, .7, .25, 1.08); transform-origin: 50% 50%; }
.cur-eye .almond, .cur-eye .inner > * { transition: opacity .4s ease; }
.cur-eye.compact .scaler { transform: scale(.42); }
.cur-eye.compact .almond { opacity: 0; }
.cur-eye.compact .inner > :not(.iris) { opacity: 0; }
/* върху кликаем елемент: окото става златно */
.cur-eye .iris circle, .cur-eye .almond { transition: fill .25s ease, stroke .25s ease, opacity .4s ease; }
.cur-eye.act .iris circle:nth-child(1) { fill: #C9A85C; }
.cur-eye.act .iris circle:nth-child(4), .cur-eye.act .iris circle:nth-child(5) { stroke: #7A5B12; }
.cur-eye.act .cdot { fill: #005435; }
.cur-eye.act .almond { stroke: #C9A85C; }
.cur-eye.compact.act .scaler { transform: scale(.52); }
.cur-eye svg { display: block; overflow: visible; transform-origin: 50% 50%; }
.cur-eye.blink svg { animation: eyeBlink .2s ease-in-out; }
.cur-eye.hidden { opacity: 0; }
@keyframes eyeBlink { 50% { transform: scaleY(.08); } }

/* ================= лайтбокс ================= */
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 48px); }
.lb-backdrop { position: absolute; inset: 0; background: rgba(18, 22, 19, 0.42); backdrop-filter: blur(18px) saturate(1.15); -webkit-backdrop-filter: blur(18px) saturate(1.15); cursor: zoom-out; }
.lb-fig { position: relative; margin: 0; max-width: min(1100px, 94vw); display: flex; flex-direction: column; align-items: center; }
.lb-fig img { max-width: 100%; max-height: 82vh; width: auto; height: auto; border-radius: var(--r-md); box-shadow: 0 44px 100px rgba(0, 0, 0, 0.45); background: var(--white); }
.lb-cap { margin-top: 14px; font-size: 13px; color: #EDEBE6; text-align: center; max-width: 70ch; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.lb-btn {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5); cursor: pointer;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--ink); font-size: 19px; font-weight: 800; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  transition: transform .18s ease, background .18s;
}
.lb-btn:hover { background: var(--white); transform: scale(1.06); }
.lb-close { top: clamp(14px, 3vw, 26px); right: clamp(14px, 3vw, 26px); }
.lb-prev { left: clamp(10px, 2.5vw, 24px); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(10px, 2.5vw, 24px); top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }
.lb-count { position: absolute; bottom: clamp(14px, 3vw, 24px); left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #EDEBE6; background: rgba(26,26,26,.45); padding: 6px 16px; border-radius: 999px; backdrop-filter: blur(8px); }
.lightbox .lb-fig { animation: lbIn .28s cubic-bezier(.2, .7, .2, 1); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96) translateY(10px); } }
.gallery a { cursor: zoom-in; }
img.shot { cursor: zoom-in; }
@media (max-width: 560px) {
  .lb-btn { width: 42px; height: 42px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) { .lightbox .lb-fig { animation: none; } .lb-btn { transition: none; } }


/* браузър mockup „мъртъв домейн" */
.browser-mock { width: min(470px, 96%); margin-inline: auto; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 32px 64px rgba(26, 26, 26, 0.20); border: 1px solid rgba(26, 26, 26, 0.10); transform: rotate(1.6deg); }
.bm-bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: #2E2F33; }
.bm-dots { display: flex; gap: 6px; }
.bm-dots span { width: 10px; height: 10px; border-radius: 50%; background: #55565B; }
.bm-url { flex: 1; background: #202124; color: #9AA0A6; font-size: 12px; border-radius: 999px; padding: 6px 16px; letter-spacing: 0.02em; }
.bm-body { background: #202124; color: #E8EAED; padding: 48px 34px 54px; }
.bm-icon { color: #5F6368; margin-bottom: 20px; }
.bm-t { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.bm-d { font-size: 13.5px; color: #9AA0A6; margin-bottom: 16px; max-width: 34ch; }
.bm-err { font-size: 11px; letter-spacing: 0.05em; color: #80868B; display: block; margin-bottom: 26px; }
.bm-btn { display: inline-block; background: #8AB4F8; color: #202124; font-size: 13px; font-weight: 700; padding: 8px 20px; border-radius: 999px; }
.case-note { font-size: 12.5px; color: var(--grey); margin-top: 26px; }

@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; gap: 44px; }
  .case.flip .case-visual { order: 0; }
  .case-cover { width: min(300px, 88%); }
  .cfA-score { right: -2%; }
  .cfB-score { right: -1%; }
}
@media (max-width: 560px) {
  .cb-row { grid-template-columns: 104px 1fr 32px; }
  .browser-mock { transform: none; }
  .case-cover { transform: rotate(-1deg); }
}
.orbit-badge:hover, .orbit-badge:focus-visible { animation-play-state: paused; box-shadow: 0 26px 52px rgba(0, 84, 53, 0.42); }
.orbit-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: orbitSpin 18s linear infinite; }
.orbit-badge svg text { fill: var(--paper); font-family: 'Sofia Sans', sans-serif; font-size: 9.2px; font-weight: 700; letter-spacing: 0.22em; }
.orbit-badge .arr { font-size: 24px; font-weight: 800; transition: transform .25s; }
.orbit-badge:hover .arr { transform: translate(3px, -3px); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }


@media (max-width: 1080px) {
  .hero-stage { width: min(340px, 100%); }
  .fc-win { left: -10%; }
  .fc-crit { left: -8%; }
}
@media (max-width: 900px) {
  .hero-stage { margin-inline: auto; margin-top: 18px; }
  .fc-score { right: -2%; }
  .fc-win { left: -2%; }
  .fc-crit { left: -1%; top: 44%; }
  .orbit-badge { right: 0; bottom: -4%; width: 92px; height: 92px; }
}
@media (max-width: 560px) {
  .fc-crit { display: none; }
  .fc-score { padding: 11px 14px; min-width: 130px; }
  .fc-score b { font-size: 23px; }
  .fc-win { max-width: 186px; bottom: 8%; }
  .orbit-badge { width: 84px; height: 84px; }
  .deal, footer { border-radius: var(--r-md); }
}
@media (prefers-reduced-motion: reduce) {
  .stage-blob, .float-card, .orbit-badge, .orbit-badge svg { animation: none; }
  .fc-bar span { width: 52%; animation: none; }
  .float-card { transition: none; }
}
