/* =========================================================
   Kapital Tax — основен стил
   ========================================================= */
:root {
  --sage-900: #1f2e25;
  --sage-800: #2c3f33;
  --sage-700: #3f5a4b;
  --sage-600: #4a6656;
  --sage-500: #557362;
  --sage-400: #93ab97;
  --sage-200: #ccdccf;
  --sage-100: #e6eee6;
  --sage-50: #f4f7f3;
  --pink: #a9c2a9;
  --ink: #1b2620;
  --text: #3a453e;
  --muted: #69756c;
  --line: #e2e8e2;
  --white: #ffffff;
  --bg: #ffffff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px rgba(27,38,32, .06);
  --shadow: 0 18px 50px -18px rgba(31,46,37, .28);
  --shadow-lg: 0 40px 90px -30px rgba(31,46,37, .45);
  --grad: linear-gradient(135deg, #557362 0%, #7f9a86 55%, #a9c2a9 100%);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html, body, main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
::selection { background: var(--sage-500); color: #fff; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--tint { background: var(--sage-50); }
.section--dark { background: var(--ink); color: #c9d3cb; }
.section--dark h2, .section--dark h3 { color: #fff; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage-600);
  padding: 8px 16px; border-radius: 99px;
  background: var(--sage-100);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage-500); box-shadow: 0 0 0 4px rgba(85,115,98,.18); animation: pulse 2s infinite; }
.section--dark .eyebrow { background: rgba(147,171,151,.14); color: var(--sage-200); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(85,115,98,.18); } 50% { box-shadow: 0 0 0 8px rgba(85,115,98,0); } }

.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { font-size: 1.12rem; color: var(--muted); }
.section--dark .section-head p { color: #9aa89e; }

/* ---------- Buttons ---------- */
.btn {
  --bx: 50%; --by: 50%;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 99px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 1rem; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  overflow: hidden; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 14px 34px -12px rgba(85,115,98,.7); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(160px circle at var(--bx) var(--by), rgba(255,255,255,.35), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -14px rgba(85,115,98,.8); }
.btn--primary:hover::after { opacity: 1; }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--sage-400); color: var(--sage-600); transform: translateY(-3px); }
.btn--white { background: #fff; color: var(--sage-700); }
.btn--white:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(0,0,0,.4); }
.btn--sm { padding: 12px 22px; font-size: .94rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 18px 0;
  transition: padding .4s var(--ease), background .4s, box-shadow .4s, backdrop-filter .4s;
}
.header.scrolled {
  padding: 10px 0;
  background: rgba(255,255,255,.93);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(31,46,37,.25);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.28rem; color: var(--ink); letter-spacing: -.02em; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 13px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 10px 22px -8px rgba(85,115,98,.7);
  transition: transform .5s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo span b { color: var(--sage-600); font-weight: 800; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 16px; border-radius: 99px; font-weight: 600; font-size: .97rem; color: var(--text);
  transition: color .25s, background .25s;
}
.nav a:hover { color: var(--sage-600); background: var(--sage-50); }
.nav a.active { color: var(--sage-600); }
.nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--sage-500); transform: translateX(-50%); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 700; color: var(--ink); font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.header-phone svg { width: 18px; color: var(--sage-500); }

.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--sage-50); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 170px 0 110px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob-1 { width: 560px; height: 560px; background: #c7d8c8; top: -160px; right: -120px; animation: float1 16s ease-in-out infinite; }
.blob-2 { width: 420px; height: 420px; background: #dfe9d6; bottom: -120px; left: -140px; opacity: .35; animation: float2 18s ease-in-out infinite; }
.blob-3 { width: 300px; height: 300px; background: #93ab97; top: 40%; left: 45%; opacity: .25; animation: float1 20s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(-60px,50px) scale(1.08); } 66% { transform: translate(40px,-30px) scale(.95); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(80px,-60px) scale(1.1); } }
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(85,115,98,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(85,115,98,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin: 26px 0 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 46px; }
.avatars { display: flex; }
.avatars span {
  width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; margin-left: -12px;
  display: grid; place-items: center; font-weight: 700; color: #fff; font-size: .85rem;
  box-shadow: var(--shadow-sm);
}
.avatars span:first-child { margin-left: 0; }
.hero-trust small { display: block; color: var(--muted); font-size: .9rem; }
.hero-trust strong { color: var(--ink); }
.stars { color: #f5b301; letter-spacing: 2px; font-size: .95rem; }

/* Hero visual: dashboard card */
.hero-visual { position: relative; perspective: 1400px; }
.dash {
  position: relative; background: #fff; border-radius: 28px; padding: 28px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  transform-style: preserve-3d; transition: transform .2s ease-out;
  animation: dashIn 1.2s var(--ease) .3s both;
}
@keyframes dashIn { from { opacity: 0; transform: translateY(60px) rotateX(18deg); } to { opacity: 1; transform: none; } }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dash-top small { color: var(--muted); font-weight: 600; font-size: .85rem; }
.dash-amount { font-size: 2.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.chip { font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: #dcfce7; color: #15803d; }
.chart { height: 150px; margin: 18px 0 22px; }
.chart path.area { fill: url(#chartGrad); }
.chart path.stroke { fill: none; stroke: var(--sage-500); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s var(--ease) .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dash-rows { display: grid; gap: 12px; }
.dash-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--sage-50); }
.dash-row .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #fff; color: var(--sage-600); flex-shrink: 0; }
.dash-row .ic svg { width: 19px; }
.dash-row div { flex: 1; font-size: .9rem; }
.dash-row b { display: block; color: var(--ink); font-size: .95rem; }
.dash-row small { color: var(--muted); }
.dash-row .ok { color: #16a34a; font-weight: 700; font-size: .85rem; }
.float-card {
  position: absolute; background: #fff; border-radius: 18px; padding: 14px 18px;
  box-shadow: var(--shadow), 0 0 0 1px var(--line); display: flex; align-items: center; gap: 12px;
  font-size: .9rem; font-weight: 600; color: var(--ink);
  animation: bob 6s ease-in-out infinite;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.float-card .ic svg { width: 18px; }
.float-card small { display: block; color: var(--muted); font-weight: 500; font-size: .8rem; }
.fc-1 { top: -54px; left: -40px; animation-delay: -2s; }
.fc-2 { bottom: 40px; right: -46px; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Marquee ---------- */
.marquee { padding: 34px 0; border-block: 1px solid var(--line); overflow: hidden; position: relative; background: #fff; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; }
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.marquee-track { display: flex; gap: 70px; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.1rem; color: #a9b5ab; white-space: nowrap; }
.marquee-track span svg { width: 22px; color: var(--sage-400); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  --mx: 50%; --my: 50%;
  position: relative; background: #fff; border-radius: var(--radius); padding: 36px 32px;
  box-shadow: 0 0 0 1px var(--line); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(85,115,98,.10), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 0 0 1px var(--sage-200), var(--shadow); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: var(--sage-100); color: var(--sage-600); margin-bottom: 26px;
  transition: transform .5s var(--ease), background .4s, color .4s;
}
.card-icon svg { width: 28px; height: 28px; }
.card:hover .card-icon { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.06); }
.card p { color: var(--muted); font-size: .98rem; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--sage-600); font-size: .95rem; margin-top: 6px; }
.card-link svg { width: 16px; transition: transform .35s var(--ease); }
.card:hover .card-link svg { transform: translateX(5px); }
.card-num { position: absolute; top: 26px; right: 30px; font-weight: 800; font-size: 3.2rem; color: var(--sage-50); line-height: 1; transition: color .4s; }
.card:hover .card-num { color: var(--sage-100); }
.card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.card ul li { display: flex; gap: 10px; font-size: .95rem; color: var(--text); }
.card ul li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23557362' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 34px 28px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background .4s, transform .5s var(--ease); }
.stat:hover { background: rgba(147,171,151,.08); transform: translateY(-6px); }
.stat-num { font-size: clamp(2.6rem, 4.5vw, 3.6rem); font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: 1; }
.stat-num sup { font-size: .5em; color: var(--sage-400); top: -.8em; margin-left: 2px; }
.stat p { margin: 12px 0 0; color: #9aa89e; font-size: .96rem; }
.dark-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.dark-glow::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(85,115,98,.35), transparent 65%); top: -350px; left: 50%; transform: translateX(-50%); }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-list { display: grid; gap: 22px; margin-top: 34px; }
.feature { display: flex; gap: 18px; }
.feature .ic { width: 50px; height: 50px; flex-shrink: 0; border-radius: 15px; background: var(--sage-100); color: var(--sage-600); display: grid; place-items: center; }
.feature .ic svg { width: 24px; }
.feature h4 { margin: 2px 0 4px; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }
.visual-stack { position: relative; aspect-ratio: 1 / 1.02; }
.vs-main {
  position: absolute; inset: 0 10% 10% 0; border-radius: 30px; background: var(--grad); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.vs-main::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.35), transparent 50%), repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 22px); }
.vs-main .big { position: absolute; left: 40px; bottom: 40px; color: #fff; }
.vs-main .big b { font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 1; display: block; letter-spacing: -.04em; }
.vs-main .big span { opacity: .85; font-weight: 600; }
.vs-ring { position: absolute; top: 40px; right: 18%; width: 140px; height: 140px; }
.vs-ring circle { fill: none; stroke-width: 10; }
.vs-ring .bg { stroke: rgba(255,255,255,.2); }
.vs-ring .fg { stroke: #fff; stroke-linecap: round; stroke-dasharray: 377; stroke-dashoffset: 377; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset 2s var(--ease); }
.in .vs-ring .fg { stroke-dashoffset: 30; }
.vs-card {
  position: absolute; right: 0; bottom: 0; width: 58%; background: #fff; border-radius: 24px; padding: 24px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
}
.vs-card h4 { font-size: 1rem; margin-bottom: 14px; }
.bar { height: 8px; border-radius: 9px; background: var(--sage-100); overflow: hidden; margin: 6px 0 14px; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width 1.6s var(--ease) .3s; }
.in .bar i { width: var(--w); }
.bar-label { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600; color: var(--text); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--sage-200) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step-dot {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 24px; display: grid; place-items: center;
  background: #fff; color: var(--sage-600); font-weight: 800; font-size: 1.3rem; position: relative;
  box-shadow: 0 0 0 1px var(--sage-200), 0 0 0 8px var(--sage-50);
  transition: transform .5s var(--ease), background .4s, color .4s;
}
.step:hover .step-dot { background: var(--grad); color: #fff; transform: scale(1.1); }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform .8s var(--ease); }
.testi { flex: 0 0 100%; padding: 0 4px; }
.testi-card { background: #fff; border-radius: 30px; padding: clamp(32px, 5vw, 60px); box-shadow: 0 0 0 1px var(--line), var(--shadow); display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.quote-mark { width: 90px; height: 90px; border-radius: 26px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.quote-mark svg { width: 42px; }
.testi blockquote { margin: 0 0 22px; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--ink); font-weight: 600; line-height: 1.5; letter-spacing: -.01em; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-author .av { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; }
.testi-author b { color: var(--ink); display: block; }
.testi-author small { color: var(--muted); }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; }
.testi-nav button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: background .3s, color .3s, transform .3s; }
.testi-nav button:hover { background: var(--sage-600); color: #fff; transform: scale(1.06); }
.testi-nav button svg { width: 20px; }
.dots { display: flex; gap: 8px; }
.dots i { width: 8px; height: 8px; border-radius: 9px; background: var(--sage-200); transition: width .4s var(--ease), background .3s; cursor: pointer; }
.dots i.on { width: 30px; background: var(--sage-600); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border-radius: 20px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .4s; }
.faq-item.open { box-shadow: 0 0 0 1.5px var(--sage-400), var(--shadow); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.faq-q .pm { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--sage-50); position: relative; transition: background .3s, transform .5s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--sage-600); border-radius: 2px; transform: translate(-50%,-50%); transition: transform .4s var(--ease), background .3s; }
.faq-q .pm::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.open .pm { background: var(--sage-600); transform: rotate(180deg); }
.faq-item.open .pm::before, .faq-item.open .pm::after { background: #fff; }
.faq-item.open .pm::after { transform: translate(-50%,-50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 28px 24px; margin: 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  position: relative; border-radius: 36px; padding: clamp(50px, 7vw, 90px); overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #2f4538, #557362 50%, #7f9a86);
  background-size: 200% 200%; animation: gradShift 10s ease infinite;
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
}
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.82); font-size: 1.12rem; margin: 0; max-width: 560px; }
.cta-orb { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); pointer-events: none; }
.cta-orb.o1 { width: 420px; height: 420px; right: -120px; top: -180px; animation: spin 30s linear infinite; }
.cta-orb.o2 { width: 620px; height: 620px; right: -220px; top: -280px; border-style: dashed; animation: spin 50s linear infinite reverse; }
.cta-orb.o1::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #fff; top: 50%; left: -7px; box-shadow: 0 0 20px #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 180px 0 90px; overflow: hidden; text-align: center; }
.page-hero p { max-width: 640px; margin: 22px auto 0; font-size: 1.18rem; color: var(--muted); }
.crumbs { display: inline-flex; gap: 10px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.crumbs a:hover { color: var(--sage-600); }

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; padding: 6px; border-radius: 99px; background: var(--sage-50); box-shadow: inset 0 0 0 1px var(--line); position: relative; margin: 0 auto 50px; }
.toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 12px 26px; border-radius: 99px; font-weight: 700; cursor: pointer; color: var(--muted); transition: color .3s; }
.toggle button.on { color: #fff; }
.toggle .pill { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 99px; background: var(--grad); transition: transform .5s var(--ease), width .5s var(--ease); box-shadow: 0 8px 20px -8px rgba(85,115,98,.7); }
.toggle .save { font-size: .72rem; background: #dcfce7; color: #15803d; padding: 3px 8px; border-radius: 99px; margin-left: 6px; }
.price-card { display: flex; flex-direction: column; }
.price-card.featured { background: var(--ink); color: #c9d3cb; box-shadow: var(--shadow-lg); transform: scale(1.03); }
.price-card.featured:hover { transform: scale(1.03) translateY(-8px); }
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured p, .price-card.featured ul li { color: #c9d3cb; }
.price-card.featured ul li::before { background-color: rgba(147,171,151,.2); }
.badge { position: absolute; top: 24px; right: 24px; font-size: .75rem; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: var(--grad); color: #fff; }
.price { font-size: 3rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; margin: 16px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price .val { display: inline-block; transition: transform .4s var(--ease), opacity .3s; }
.price .val.flip { transform: translateY(-10px); opacity: 0; }
.price-card .btn { margin-top: auto; }
.price-card ul { margin-bottom: 30px; }

/* ---------- Team / values ---------- */
.team-card { text-align: center; padding: 30px 24px 34px; }
.team-photo { width: 120px; height: 120px; margin: 0 auto 22px; border-radius: 34px; display: grid; place-items: center; color: #fff; font-size: 2.1rem; font-weight: 800; transition: border-radius .6s var(--ease), transform .6s var(--ease); }
.team-card:hover .team-photo { border-radius: 50%; transform: rotate(-4deg); }
.team-card small { color: var(--sage-600); font-weight: 700; font-size: .9rem; }
.team-card p { margin-top: 12px; }
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--sage-500), var(--sage-100)); }
.tl-item { position: relative; padding: 0 0 46px 76px; }
.tl-item::before { content: ""; position: absolute; left: 12px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--sage-500); box-shadow: 0 0 0 6px var(--sage-50); }
.tl-item b { color: var(--sage-600); font-size: .9rem; letter-spacing: .1em; }
.tl-item h3 { margin: 6px 0 8px; }
.tl-item p { color: var(--muted); margin: 0; }

/* ---------- Service detail (services page) ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc:nth-child(even) .svc-visual { order: -1; }
.svc-visual {
  position: relative; border-radius: 30px; aspect-ratio: 4/3; background: var(--sage-50); overflow: hidden;
  display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line);
}
.svc-visual::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); filter: blur(60px); opacity: .35; animation: float1 14s ease-in-out infinite; }
.svc-visual .glyph { position: relative; width: 150px; height: 150px; border-radius: 40px; background: #fff; display: grid; place-items: center; color: var(--sage-600); box-shadow: var(--shadow-lg); transition: transform .8s var(--ease); }
.svc-visual .glyph svg { width: 70px; height: 70px; }
.svc:hover .glyph { transform: rotate(-8deg) scale(1.06); }
.svc-visual .tag { position: absolute; background: #fff; border-radius: 14px; padding: 10px 16px; font-weight: 700; font-size: .88rem; color: var(--ink); box-shadow: var(--shadow); animation: bob 7s ease-in-out infinite; }
.svc-visual .tag.t1 { top: 14%; left: 8%; }
.svc-visual .tag.t2 { bottom: 14%; right: 8%; animation-delay: -3s; }
.svc .num { font-weight: 800; color: var(--sage-400); letter-spacing: .1em; font-size: .9rem; }
.svc ul { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.svc ul li { display: flex; gap: 10px; font-size: .97rem; }
.svc ul li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23557362' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.svc-nav { position: sticky; top: 84px; z-index: 50; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 14px; margin: 0 auto; width: fit-content; max-width: 100%; border-radius: 99px; background: rgba(255,255,255,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.svc-nav a { padding: 9px 18px; border-radius: 99px; font-weight: 600; font-size: .92rem; transition: background .3s, color .3s; }
.svc-nav a:hover, .svc-nav a.on { background: var(--sage-600); color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.info-card:hover { transform: translateX(6px); box-shadow: 0 0 0 1px var(--sage-200), var(--shadow); }
.info-card .ic { width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.info-card .ic svg { width: 22px; }
.info-card small { color: var(--muted); font-weight: 600; font-size: .85rem; }
.info-card b { display: block; color: var(--ink); font-size: 1.05rem; }
.info-card a:hover { color: var(--sage-600); }
.form-card { background: #fff; border-radius: 30px; padding: clamp(28px, 4vw, 50px); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); position: relative; overflow: hidden; }
.form-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--sage-50);
  outline: none; font-size: 1rem; transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted); font-size: 1rem; pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sage-500); background: #fff; box-shadow: 0 0 0 5px rgba(85,115,98,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: .76rem; font-weight: 700; color: var(--sage-600); letter-spacing: .02em; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23557362' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 46px; }
.field.error input, .field.error textarea, .field.error select { border-color: #e11d48; background: #fff1f3; }
.field .err { display: none; color: #e11d48; font-size: .82rem; font-weight: 600; margin-top: 6px; padding-left: 4px; }
.field.error .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 18px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; transition: all .3s var(--ease); user-select: none; }
.chips label:hover span { border-color: var(--sage-400); }
.chips input:checked + span { background: var(--sage-600); color: #fff; border-color: var(--sage-600); transform: scale(1.03); }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px rgba(85,115,98,.25); }
.group-label { font-weight: 700; color: var(--ink); font-size: .95rem; margin-bottom: 10px; display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--sage-600); margin-top: 2px; flex-shrink: 0; }
.consent a { color: var(--sage-600); font-weight: 600; text-decoration: underline; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.form-foot small svg { width: 16px; color: var(--sage-500); }
.btn .spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.btn.loading .spinner { display: block; }
.btn.loading .label, .btn.loading svg { display: none; }
.form-success { position: absolute; inset: 0; background: #fff; display: grid; place-items: center; text-align: center; padding: 40px; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.form-success.show { opacity: 1; visibility: visible; }
.form-success .check { width: 96px; height: 96px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin: 0 auto 26px; transform: scale(0); transition: transform .7s cubic-bezier(.34,1.56,.64,1) .2s; box-shadow: 0 20px 40px -14px rgba(85,115,98,.7); }
.form-success.show .check { transform: scale(1); }
.form-success .check svg { width: 46px; color: #fff; stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .6s ease .7s; }
.form-success.show .check svg { stroke-dashoffset: 0; }
.form-success p { color: var(--muted); max-width: 380px; margin: 0 auto 24px; }
.map { margin-top: 16px; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); aspect-ratio: 16/10; background: var(--sage-50); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) hue-rotate(20deg); }
.hours { padding: 24px; border-radius: 20px; background: var(--ink); color: #c9d3cb; }
.hours h4 { color: #fff; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.hours .live { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.hours .live.closed { background: #f43f5e; box-shadow: 0 0 0 4px rgba(244,63,94,.2); }
.hours div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.1); font-size: .95rem; }
.hours div:last-child { border: 0; }
.hours b { color: #fff; }


/* ---------- Platform tabs ---------- */
.ptabs-nav { position: relative; display: flex; width: fit-content; max-width: 100%; margin: 0 auto 56px; padding: 6px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.ptabs-nav button { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; border: 0; background: none; padding: 13px 24px; border-radius: 99px; font-weight: 700; cursor: pointer; color: var(--muted); transition: color .35s; white-space: nowrap; }
.ptabs-nav button svg { width: 18px; }
.ptabs-nav button.on { color: #fff; }
.ptabs-nav button:not(.on):hover { color: var(--sage-600); }
.ptabs-nav .pill { position: absolute; top: 6px; bottom: 6px; left: 0; border-radius: 99px; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(85,115,98,.8); transition: transform .55s var(--ease), width .55s var(--ease); }
.ppanels { display: grid; }
.ppanel { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease), visibility .5s; }
.ppanel.on { opacity: 1; visibility: visible; transform: none; }
.ppanel .num { font-weight: 800; color: var(--sage-400); letter-spacing: .1em; font-size: .85rem; }
.ppanel h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-top: 10px; letter-spacing: -.03em; }
.ppanel-text > p { color: var(--muted); font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 22px 0 32px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; }
.checks li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--grad); -webkit-mask: none; box-shadow: 0 4px 10px -4px rgba(85,115,98,.6); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"), var(--grad); background-size: 12px, cover; background-position: center; background-repeat: no-repeat; }
.mock-wrap { position: relative; padding: 30px 20px; }
.mock-wrap::before { content: ""; position: absolute; inset: 10% 5%; background: var(--grad); filter: blur(70px); opacity: .25; border-radius: 50%; }
.mock-wrap .float-card { z-index: 2; }
.mf-1 { top: -6px; right: -10px; }
.mf-2 { bottom: -4px; left: -10px; animation-delay: -3s; }
.float-card.warn .ic { background: linear-gradient(135deg, #f59e0b, #f97316); }
.ppanel:not(.on) .float-card { animation-play-state: paused; }
.logo-mark.sm { width: 34px; height: 34px; border-radius: 10px; font-size: .95rem; box-shadow: none; }

/* invoice */
.invoice, .stock, .archive { position: relative; background: #fff; border-radius: 26px; padding: 28px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.inv-head > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.inv-head .logo-mark { grid-row: span 2; }
.inv-head b { color: var(--ink); letter-spacing: .08em; font-size: 1rem; }
.inv-head small { color: var(--muted); font-size: .82rem; }
.inv-status { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: #15803d; background: #dcfce7; padding: 6px 12px; border-radius: 99px; }
.inv-status i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px 0; font-size: .88rem; }
.inv-parties small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.inv-parties b { display: block; color: var(--ink); }
.inv-parties span { color: var(--muted); }
.inv-lines { border-radius: 14px; overflow: hidden; background: var(--sage-50); }
.inv-row { display: grid; grid-template-columns: 1fr 50px 100px; padding: 11px 16px; font-size: .88rem; border-bottom: 1px solid #fff; }
.inv-row span:not(:first-child) { text-align: right; }
.inv-row.th { font-weight: 700; color: var(--sage-700); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; background: var(--sage-100); }
.ppanel.on .inv-row:not(.th) { animation: rowIn .6s var(--ease) both; }
.ppanel.on .inv-row:nth-child(3) { animation-delay: .1s; } .ppanel.on .inv-row:nth-child(4) { animation-delay: .2s; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-16px); } }
.inv-total { padding: 16px 4px 0; display: grid; gap: 6px; font-size: .9rem; }
.inv-total div { display: flex; justify-content: space-between; color: var(--muted); }
.inv-total .big { color: var(--ink); font-weight: 800; font-size: 1.25rem; }
.inv-actions { display: flex; gap: 10px; margin-top: 20px; }
.inv-actions .btn { cursor: default; }

/* stock */
.stock-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.stock-top small { color: var(--muted); font-weight: 600; font-size: .85rem; display: block; }
.stock-top b { font-size: 2rem; color: var(--ink); letter-spacing: -.03em; }
.stock-list { display: grid; gap: 10px; }
.stock-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--sage-50); transition: transform .3s var(--ease); }
.stock-row:hover { transform: translateX(4px); }
.stock-row b { font-size: .92rem; color: var(--ink); }
.stock-row .bar { margin: 6px 0 0; height: 6px; background: #fff; }
.sku { font-size: .72rem; font-weight: 800; color: var(--sage-600); background: #fff; padding: 6px 8px; border-radius: 8px; letter-spacing: .04em; }
.qty { font-weight: 700; font-size: .88rem; color: var(--ink); }
.stock-row.low { background: #fff7ed; }
.stock-row.low .bar i { background: linear-gradient(90deg, #f97316, #f59e0b); }
.stock-row.low .qty { color: #ea580c; }
.ppanel .bar i { transition: width 1.4s var(--ease) .2s; width: 0; }
.ppanel.on.in-view .bar i { width: var(--w); }

/* archive */
.drop { border: 2px dashed var(--sage-200); border-radius: 18px; padding: 26px; text-align: center; background: var(--sage-50); margin-bottom: 14px; transition: border-color .3s, background .3s; }
.drop:hover { border-color: var(--sage-500); background: var(--sage-100); }
.drop > span { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; animation: bob 4s ease-in-out infinite; }
.drop > span svg { width: 24px; }
.drop b { display: block; color: var(--ink); }
.drop small { color: var(--muted); }
.file { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); margin-top: 10px; }
.file b { font-size: .86rem; color: var(--ink); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .bar { margin: 6px 0 0; height: 5px; }
.ft { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: .66rem; font-weight: 800; color: #fff; background: #ef4444; }
.ft.img { background: #0ea5e9; } .ft.xml { background: var(--sage-500); }
.file .ok { color: #16a34a; font-weight: 800; }
.file .pct { font-weight: 700; font-size: .82rem; color: var(--sage-600); }
.loading-bar { position: relative; overflow: hidden; }
.loading-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* digital flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.flow::before { content: ""; position: absolute; top: 40px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--sage-400) 0 10px, transparent 10px 20px); background-size: 20px 2px; animation: flowDash 1s linear infinite; opacity: .6; }
@keyframes flowDash { to { background-position: 20px 0; } }
.flow-step { position: relative; text-align: center; }
.flow-ic { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 26px; background: #fff; color: var(--sage-600); display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line), var(--shadow); transition: transform .5s var(--ease), background .4s, color .4s; }
.flow-ic svg { width: 32px; }
.flow-step:hover .flow-ic { background: var(--grad); color: #fff; transform: translateY(-6px) rotate(-6deg); }
.flow-step b { display: block; color: var(--ink); font-size: 1.05rem; }
.flow-step small { color: var(--muted); }


/* ---------- Personal contact ---------- */
.person-visual { position: relative; padding: 40px 30px 140px; }
.person-visual::before { content: ""; position: absolute; inset: 5% 10% 20%; background: var(--grad); filter: blur(80px); opacity: .28; border-radius: 50%; animation: float1 16s ease-in-out infinite; }
.person-card { position: relative; background: #fff; border-radius: 28px; padding: 30px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.pc-top { display: flex; align-items: center; gap: 18px; padding-bottom: 22px; border-bottom: 1px dashed var(--line); }
.pc-avatar { position: relative; width: 78px; height: 78px; flex-shrink: 0; border-radius: 24px; background: linear-gradient(135deg, #557362, #a9c2a9); color: #fff; font-weight: 800; font-size: 1.5rem; display: grid; place-items: center; }
.pc-online { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; background: #22c55e; border: 4px solid #fff; animation: pulseGreen 2s infinite; }
@keyframes pulseGreen { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }
.pc-top small { color: var(--muted); font-weight: 600; font-size: .82rem; }
.pc-top b { display: block; color: var(--ink); font-size: 1.25rem; }
.pc-status { color: #16a34a; font-size: .85rem; font-weight: 600; }
.pc-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.pc-actions span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; border-radius: 16px; background: var(--sage-50); font-weight: 700; font-size: .85rem; color: var(--ink); transition: background .3s, color .3s, transform .4s var(--ease); }
.pc-actions span svg { width: 22px; color: var(--sage-600); transition: color .3s; }
.pc-actions span:hover { background: var(--grad); color: #fff; transform: translateY(-4px); }
.pc-actions span:hover svg { color: #fff; }
.pc-meeting { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
.pc-meeting > div:nth-child(2) { flex: 1; }
.pc-meeting b { display: block; color: var(--ink); font-size: .95rem; }
.pc-meeting small { color: var(--muted); font-size: .82rem; }
.pc-date { width: 54px; height: 58px; border-radius: 14px; background: var(--ink); color: #fff; text-align: center; display: grid; align-content: center; flex-shrink: 0; }
.pc-date small { color: var(--sage-400); font-weight: 800; font-size: .68rem; letter-spacing: .1em; }
.pc-date b { color: #fff; font-size: 1.4rem; line-height: 1; }
.pc-bubble { position: absolute; left: -10px; bottom: 10px; max-width: 330px; background: var(--ink); color: #e3eae4; border-radius: 22px 22px 22px 6px; padding: 18px 22px; font-size: .93rem; font-weight: 500; line-height: 1.5; box-shadow: var(--shadow-lg); animation: bob 7s ease-in-out infinite; }
.pc-bubble .stars { display: block; font-size: .8rem; margin-bottom: 6px; }
.pc-bubble small { display: block; margin-top: 8px; color: var(--sage-400); font-weight: 700; font-size: .8rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #9aa89e; padding: 90px 0 30px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(85,115,98,.25), transparent 65%); right: -200px; top: -300px; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px; }
.footer .logo { color: #fff; }
.footer .logo span b { color: var(--sage-400); }
.footer p { font-size: .96rem; margin-top: 20px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: .96rem; }
.footer ul a { transition: color .25s, padding .3s var(--ease); }
.footer ul a:hover { color: #fff; padding-left: 6px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 13px; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: background .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--sage-600); transform: translateY(-4px); color: #fff; }
.socials svg { width: 18px; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.footer-big { position: relative; font-size: clamp(4rem, 15vw, 13rem); font-weight: 800; letter-spacing: -.06em; line-height: .8; margin-top: 60px; background: linear-gradient(180deg, rgba(147,171,151,.22), rgba(147,171,151,0)); -webkit-background-clip: text; background-clip: text; color: transparent; text-align: center; user-select: none; white-space: nowrap; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.zoom { transform: scale(.92); }
.reveal.in { opacity: 1; transform: none; }

/* Progress bar & cursor glow */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; }
.cursor-glow { position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(147,171,151,.14), transparent 65%); transform: translate(-50%,-50%); left: -500px; top: -500px; transition: opacity .4s; }
main, .footer { position: relative; z-index: 1; }

/* Page loader */
.loader { position: fixed; inset: 0; z-index: 999; background: #fff; display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader .logo-mark { width: 64px; height: 64px; font-size: 1.6rem; border-radius: 20px; animation: loaderPulse 1s var(--ease) infinite alternate; }
@keyframes loaderPulse { from { transform: scale(.9) rotate(-6deg); } to { transform: scale(1.05) rotate(6deg); } }

.back-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 52px; height: 52px; border-radius: 16px; border: 0; background: var(--grad); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(85,115,98,.7); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s var(--ease); }
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { transform: translateY(-4px); }
.back-top svg { width: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
  .fc-1 { left: -10px; } .fc-2 { right: -10px; }
}
@media (max-width: 920px) {
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
    clip-path: circle(0 at calc(100% - 44px) 40px); transition: clip-path .7s var(--ease);
  }
  body.menu-open .nav { clip-path: circle(150% at calc(100% - 44px) 40px); }
  body.menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
  body.menu-open { overflow: hidden; }
  .nav a { font-size: 1.6rem; font-weight: 800; padding: 12px 26px; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease), color .25s; }
  body.menu-open .nav a { opacity: 1; transform: none; }
  body.menu-open .nav a:nth-child(1) { transition-delay: .15s; } body.menu-open .nav a:nth-child(2) { transition-delay: .2s; }
  body.menu-open .nav a:nth-child(3) { transition-delay: .25s; } body.menu-open .nav a:nth-child(4) { transition-delay: .3s; }
  body.menu-open .nav a:nth-child(5) { transition-delay: .35s; }
  .burger { display: block; }
  .header .logo, .header-cta { position: relative; z-index: 2; }
  .header-cta .btn { display: none; }
  .hero-grid, .split, .contact-grid, .svc { grid-template-columns: 1fr; gap: 50px; }
  .svc:nth-child(even) .svc-visual { order: 0; }
  .hero { padding-top: 140px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process::before { display: none; }
  .cta { grid-template-columns: 1fr; }
  .ppanel { grid-template-columns: 1fr; gap: 40px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .flow::before { display: none; }
  .testi-card { grid-template-columns: 1fr; gap: 24px; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-8px); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .grid-3, .grid-2, .grid-4, .stats, .process, .form-grid, .svc ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .float-card { display: none; }
  .ptabs-nav { overflow-x: auto; scrollbar-width: none; justify-content: flex-start; border-radius: 22px; }
  .ptabs-nav button { padding: 12px 16px; font-size: .9rem; }
  .invoice, .stock, .archive { padding: 20px; }
  .inv-row { grid-template-columns: 1fr 34px 86px; padding: 10px 12px; font-size: .82rem; }
  .mock-wrap { padding: 20px 0; }
  .person-visual { padding: 20px 0 0; }
  .pc-bubble { position: relative; left: auto; margin-top: 18px; max-width: none; }
  .person-card { padding: 22px; }
  .dash { padding: 20px; }
  .hero-actions .btn { width: 100%; }
  .card { padding: 30px 24px; }
  .quote-mark { width: 64px; height: 64px; border-radius: 20px; }
  .svc-nav { border-radius: 20px; top: 74px; }
  .marquee::before, .marquee::after { width: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}

/* =========================================================
   Пастелно зелена, по-корпоративна визия + векторна флора
   ========================================================= */
:root {
  --radius: 14px; --radius-sm: 10px;
  --grad: linear-gradient(135deg, #4a6656 0%, #557362 50%, #7f9a86 100%);
  --paper: #f6f8f4;
}
body { background: #fff; }
h1, h2, h3, h4 { font-weight: 700; }
h1 { letter-spacing: -.03em; }
.grad-text { animation: none; background: linear-gradient(120deg, #4a6656, #7f9a86); -webkit-background-clip: text; background-clip: text; }
.btn { border-radius: 10px; }
.btn--primary { background: #557362; box-shadow: 0 10px 24px -14px rgba(31,46,37,.55); }
.btn--primary:hover { background: #4a6656; box-shadow: 0 16px 30px -16px rgba(31,46,37,.6); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--sage-500); color: var(--sage-600); }
.eyebrow { border-radius: 6px; background: var(--sage-100); color: var(--sage-700); letter-spacing: .16em; font-size: .74rem; }
.eyebrow::before { width: 6px; height: 6px; animation: none; box-shadow: none; }
.logo-mark { border-radius: 10px; background: #557362; box-shadow: none; }
.card, .faq-item, .info-card, .form-card, .testi-card, .vs-card, .dash, .invoice, .stock, .person-card { border-radius: var(--radius); }
.card:hover { transform: translateY(-4px); }
.card-icon { border-radius: 12px; }
.card:hover .card-icon { background: #557362; transform: none; }
.cursor-glow { display: none; }
.section--tint { background: var(--paper); }
.section--dark { background: #1f2e25; }
.footer { background: #1b2620; }
.footer-big { background: linear-gradient(180deg, rgba(147,171,151,.18), rgba(147,171,151,0)); -webkit-background-clip: text; background-clip: text; }
.cta { border-radius: 20px; background: #2f4538; animation: none; isolation: isolate; }
.cta-orb { display: none; }
.toggle .pill, .ptabs-nav .pill, .badge, .back-top, .quote-mark, .float-card .ic, .info-card .ic, .pc-avatar, .vs-main, .progress { background: #557362; }
.vs-main { background: linear-gradient(150deg, #4a6656, #7f9a86); }
.price-card.featured { background: #1f2e25; }
.blob { opacity: .28; }
.blob-1 { background: #cddbcf; } .blob-2 { background: #e3ebdc; } .blob-3 { background: #c7d8c8; }
.grid-bg { background-image: linear-gradient(rgba(85,115,98,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(85,115,98,.06) 1px, transparent 1px); }

/* векторна флора */
.hero-bg::before, .hero-bg::after, .section--tint::before, .cta::before, .footer::after {
  content: ""; position: absolute; pointer-events: none; background-repeat: no-repeat; background-size: contain; z-index: 0;
}
.hero-bg::before { width: 300px; height: 410px; left: -110px; top: 90px; background-image: url("../img/eucalyptus.svg"); opacity: .75; transform-origin: 10% 90%; animation: sway 9s ease-in-out infinite; }
.hero-bg::after { width: 360px; height: 280px; right: -40px; bottom: -40px; background-image: url("../img/branch.svg"); opacity: .55; transform-origin: 0 0; animation: sway 11s ease-in-out infinite reverse; }
.page-hero .hero-bg::before { width: 230px; height: 315px; top: 70px; left: -50px; }
.page-hero .hero-bg::after { width: 280px; height: 220px; bottom: -30px; right: -30px; }
.section--tint { overflow: hidden; }
.section--tint::before { width: 190px; height: 190px; right: -40px; top: -40px; background-image: url("../img/bloom.svg"); opacity: .6; animation: spinSlow 60s linear infinite; }
.section--tint > .container, .section--tint .container { position: relative; z-index: 1; }
.cta::before { width: 300px; height: 410px; right: -40px; top: -90px; background-image: url("../img/eucalyptus-light.svg"); opacity: .35; transform: rotate(18deg); z-index: -1; }
.footer::after { width: 260px; height: 200px; left: -30px; bottom: 30px; background-image: url("../img/branch.svg"); opacity: .08; }
@keyframes sway { 0%,100% { transform: rotate(0); } 50% { transform: rotate(3deg); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@media (max-width: 920px) {
  .hero-bg::before { width: 180px; height: 245px; left: -60px; top: 70px; opacity: .45; }
  .hero-bg::after { width: 220px; height: 170px; opacity: .35; }
}
@media (max-width: 640px) {
  .hero-bg::before { width: 130px; height: 180px; left: -50px; }
  .section--tint::before { width: 120px; height: 120px; }
  .cta::before { opacity: .2; }
}
.map-label { margin: 18px 0 -6px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-700); }
.staff-note { display: flex; gap: 18px; align-items: flex-start; text-align: left; max-width: 760px; margin: 44px auto 0; padding: 22px 26px; border-radius: var(--radius); background: var(--sage-50); box-shadow: inset 0 0 0 1px var(--line); }
.staff-note .ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: #557362; color: #fff; display: grid; place-items: center; }
.staff-note .ic svg { width: 22px; }
.staff-note b { color: var(--ink); display: block; margin-bottom: 4px; }
.staff-note p { margin: 0; color: var(--text); font-size: .97rem; }
.staff-note strong { color: var(--sage-700); }

/* лого Kapital Tax */
.wm { display: inline-flex; align-items: center; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: -.035em; line-height: 1; }
.wm-k { color: #16231c; }
.wm-t { position: relative; z-index: 0; color: #fff; padding: .08em .5em .12em .55em; margin-left: .06em; }
.wm-t::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #4e6b54; border-radius: .3em; transform: skewX(-18deg); transition: background .3s; }
.logo { gap: 0; }
.logo:hover .wm-t::before { background: #3f5a4b; }
.footer .wm-k { color: #fff; }
.footer .wm-t::before { background: #5f7d68; }
.loader .wm { font-size: 2.6rem; animation: loaderPulse 1s var(--ease) infinite alternate; }
@keyframes loaderPulse { from { transform: scale(.96); opacity: .7; } to { transform: scale(1.02); opacity: 1; } }
@media (max-width: 640px) { .header .wm { font-size: 1.3rem; } }

/* VixRate sub-footer */
.subfoot { position: relative; z-index: 1; background: var(--sage-50); border-top: 1px solid var(--line); }
.subfoot .container { display: flex; align-items: center; gap: 14px; padding: 16px 0; }
.subfoot-ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: block; object-fit: cover; }
.subfoot p { margin: 0; flex: 1; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.subfoot p b { display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px; }
.subfoot a { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--sage-700); white-space: nowrap; }
.subfoot a svg { width: 14px; transition: transform .3s var(--ease); }
.subfoot a:hover svg { transform: translateX(3px); }
@media (max-width: 640px) {
  .subfoot .container { flex-wrap: wrap; align-items: flex-start; }
  .subfoot p { flex-basis: calc(100% - 44px); }
  .subfoot a { margin-left: 44px; }
}
