/* ============================================================
   Дмитро Кривонос — Фінансовий консультант
   Cohesive design system · deep green + gold · Vedic finance
   ============================================================ */

:root {
  /* Greens */
  --green-950: #061a14;
  --green-900: #0a2419;
  --green-850: #0c2c20;
  --green-800: #103626;
  --green-700: #164a33;
  --green-600: #1d5f42;
  --green-500: #2a7a56;

  /* Gold */
  --gold: #d8a445;
  --gold-light: #eecb74;
  --gold-bright: #f4d98c;
  --gold-deep: #b07f26;

  /* Neutrals */
  --cream: #f5eddc;
  --cream-soft: #efe6d2;
  --cream-dim: rgba(245, 237, 220, 0.70);
  --cream-faint: rgba(245, 237, 220, 0.42);
  --navy: #16233f;
  --ink: #0a1a14;

  /* Surfaces */
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(216, 164, 69, 0.22);
  --border-soft: rgba(245, 237, 220, 0.12);

  --shadow-soft: 0 18px 50px -24px rgba(0, 0, 0, 0.65);
  --shadow-gold: 0 22px 60px -30px rgba(216, 164, 69, 0.5);

  --maxw: 1180px;
  --radius: 26px;
  --radius-sm: 16px;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--green-950);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.1px;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Layered organic background that flows the whole page */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(120% 80% at 80% -5%, #14442f 0%, rgba(20,68,47,0) 55%),
    radial-gradient(90% 70% at 5% 15%, #0e3525 0%, rgba(14,53,37,0) 50%),
    radial-gradient(130% 90% at 50% 110%, #0c2c20 0%, rgba(12,44,32,0) 55%),
    linear-gradient(180deg, #0a2419 0%, #061a14 100%);
}
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(40% 30% at 75% 12%, rgba(216,164,69,0.16) 0%, rgba(216,164,69,0) 70%),
    radial-gradient(35% 28% at 12% 60%, rgba(216,164,69,0.10) 0%, rgba(216,164,69,0) 70%),
    radial-gradient(45% 35% at 88% 85%, rgba(42,122,86,0.22) 0%, rgba(42,122,86,0) 70%);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-2%, 1.5%, 0) scale(1.06); }
}
#stars {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.55;
}
/* Fine grain for warmth */
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section { padding: clamp(70px, 9vw, 130px) 0; }
.section-tight { padding: clamp(50px, 6vw, 80px) 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; color: var(--cream); }
.display { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 600; }
h2.title { font-size: clamp(2.1rem, 4.3vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--cream-dim); font-weight: 400; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-light);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow.center::after { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

.gold-text { color: var(--gold-light); }
.serif-accent { font-family: var(--font-display); font-style: italic; color: var(--gold-light); }

.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head .lead { margin-top: 18px; }
.section-head h2 { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 15px 30px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad);
  font-family: var(--font-body); font-weight: 700; font-size: 0.97rem; letter-spacing: 0.01em;
  border-radius: 100px; border: 1px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: #2a1c06; box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 28px 70px -28px rgba(216,164,69,0.7); }
.btn-ghost {
  background: var(--surface); color: var(--cream); border-color: var(--border);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold-light); background: var(--surface-2); }
.btn-lg { --pad: 18px 38px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Glass card ---------- */
.card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: var(--shadow-gold); }
.card-pad { padding: clamp(24px, 3vw, 38px); }

/* hairline gold top accent */
.card-accent::before {
  content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s, padding .4s;
  padding: 18px 0;
}
.nav.scrolled {
  background: rgba(8, 28, 20, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(216,164,69,0.14), 0 12px 40px -22px rgba(0,0,0,.7);
  padding: 11px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--cream); }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(216,164,69,.4), 0 8px 24px -8px rgba(0,0,0,.6); transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; letter-spacing: .01em; }
.brand-name span { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--cream-dim); text-decoration: none; font-size: 0.92rem; font-weight: 600; position: relative; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); border-radius: 2px; transition: width .35s var(--ease); }
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--cream); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); z-index: 99;
  background: linear-gradient(180deg, #0c2c20, #07211a);
  border-left: 1px solid var(--border);
  transform: translateX(105%); transition: transform .5s var(--ease);
  padding: 100px 30px 40px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: -30px 0 70px -30px rgba(0,0,0,.8);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { color: var(--cream); text-decoration: none; font-size: 1.1rem; font-weight: 600; padding: 13px 0; border-bottom: 1px solid var(--border-soft); }
.mobile-menu a:last-of-type { border: none; }
.scrim { position: fixed; inset: 0; background: rgba(4,14,10,.6); backdrop-filter: blur(2px); z-index: 98; opacity: 0; pointer-events: none; transition: opacity .4s; }
.scrim.open { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero { padding-top: 150px; padding-bottom: 60px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { margin: 22px 0 24px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero .lead { max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .t { display: flex; flex-direction: column; }
.hero-trust .t b { font-family: var(--font-display); font-size: 2rem; color: var(--gold-light); line-height: 1; }
.hero-trust .t span { font-size: 0.82rem; color: var(--cream-dim); margin-top: 4px; max-width: 130px; }

/* hero portrait — organic frame */
.portrait-wrap { position: relative; justify-self: center; width: min(100%, 440px); }
.portrait-blob {
  position: relative; aspect-ratio: 1 / 1.12; overflow: hidden;
  border-radius: 47% 53% 44% 56% / 55% 48% 52% 45%;
  border: 2px solid rgba(216,164,69,.35);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.05);
  animation: morph 14s ease-in-out infinite;
}
.portrait-blob img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
@keyframes morph {
  0%,100% { border-radius: 47% 53% 44% 56% / 55% 48% 52% 45%; }
  50% { border-radius: 53% 47% 56% 44% / 47% 55% 45% 52%; }
}
.portrait-ring { position: absolute; inset: -22px; border: 1px dashed rgba(216,164,69,.35); border-radius: 50%; animation: spin 38s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(10, 36, 25, 0.86); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow-soft); animation: float 5s ease-in-out infinite;
}
.chip b { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-light); line-height: 1; }
.chip span { font-size: 0.74rem; color: var(--cream-dim); max-width: 110px; }
.chip.c1 { top: 12%; left: -8%; }
.chip.c2 { bottom: 14%; right: -6%; animation-delay: 1.4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Organic dividers ---------- */
.wave { display: block; width: 100%; height: auto; line-height: 0; }
.wave svg { display: block; width: 100%; height: clamp(48px, 7vw, 110px); }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 30px 16px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.1rem); color: var(--gold-light); line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: 0.9rem; color: var(--cream-dim); }

/* ---------- Telegram band ---------- */
.tg-band { position: relative; overflow: hidden; }
.tg-card {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(120deg, rgba(216,164,69,0.16), rgba(42,122,86,0.14));
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.tg-card .tg-ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg,#2aabee,#229ed9); flex-shrink: 0; box-shadow: 0 14px 30px -14px rgba(34,158,217,.7); }
.tg-card .tg-ic svg { width: 34px; height: 34px; }

/* ---------- Cases ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { overflow: hidden; }
.case-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case:hover .case-img img { transform: scale(1.07); }
.case-num { position: absolute; top: 14px; left: 14px; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); background: var(--gold-light); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); }
.case-pct { position: absolute; bottom: 14px; right: 14px; background: rgba(10,36,25,.86); backdrop-filter: blur(8px); border: 1px solid var(--border); color: var(--gold-light); font-weight: 800; font-size: 1.05rem; padding: 6px 14px; border-radius: 100px; }
.case-body { padding: 22px 24px 26px; }
.case-body h3 { font-size: 1.32rem; margin-bottom: 8px; }
.case-body p { font-size: 0.95rem; color: var(--cream-dim); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(34px, 5vw, 64px); align-items: center; }
.about-art { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.about-art img { width: 100%; display: block; }
.about-art .badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  background: rgba(7,28,20,.78); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px;
}
.about-art .badge b { font-family: var(--font-display); color: var(--gold-light); font-size: 1.2rem; }
.about-art .badge span { display:block; font-size: .85rem; color: var(--cream-dim); }
.about p + p { margin-top: 16px; }
.about p { color: var(--cream-dim); }
.exp-list { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.exp-list li { position: relative; padding-left: 34px; color: var(--cream-dim); font-size: 0.97rem; }
.exp-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  background: radial-gradient(circle at 50% 40%, var(--gold-light), var(--gold-deep));
  border-radius: 50%; box-shadow: 0 0 0 4px rgba(216,164,69,.14);
}
.exp-list li b { color: var(--cream); font-weight: 700; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price { display: flex; flex-direction: column; padding: 32px 26px; }
.price.featured { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.price .tag { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.price h3 { font-size: 1.45rem; margin: 14px 0 4px; }
.price .amt { font-family: var(--font-display); font-size: 2.6rem; color: var(--cream); line-height: 1; margin: 16px 0 6px; }
.price .amt small { font-size: 1rem; color: var(--cream-dim); }
.price .per { font-size: .85rem; color: var(--cream-faint); }
.price ul { list-style: none; margin: 20px 0 26px; display: grid; gap: 11px; flex-grow: 1; }
.price ul li { position: relative; padding-left: 26px; font-size: .92rem; color: var(--cream-dim); }
.price ul li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.price .ribbon { position: absolute; top: 18px; right: -34px; transform: rotate(45deg); background: var(--gold); color: var(--ink); font-size: .68rem; font-weight: 800; letter-spacing: .12em; padding: 5px 40px; }

/* ---------- Articles ---------- */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article { padding: 28px 26px; display: flex; flex-direction: column; min-height: 200px; }
.article .cat { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.article h3 { font-size: 1.28rem; margin: 14px 0; flex-grow: 1; }
.article .more { color: var(--cream-dim); font-weight: 600; font-size: .9rem; display: inline-flex; gap: 8px; align-items: center; transition: gap .3s, color .3s; }
.article:hover .more { color: var(--gold-light); gap: 13px; }

/* ---------- Testimonials ---------- */
.tm-grid { columns: 3; column-gap: 22px; }
.tm {
  break-inside: avoid; margin-bottom: 22px; padding: 28px 28px 24px;
  position: relative;
}
.tm .quote-mark { font-family: var(--font-display); font-size: 4rem; line-height: .5; color: var(--gold); opacity: .4; height: 30px; display: block; }
.tm p { color: var(--cream-dim); font-size: 0.96rem; line-height: 1.6; }
.tm .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.tm .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold-deep)); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.1rem; flex-shrink: 0; }
.tm .who b { color: var(--cream); font-weight: 700; }
.tm .who span { display: block; font-size: .78rem; color: var(--cream-faint); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.contact-info { display: grid; gap: 18px; }
.ci-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.ci-row .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; flex-shrink: 0; }
.ci-row .ic svg { width: 22px; height: 22px; stroke: var(--gold-light); }
.ci-row .lbl { font-size: .78rem; color: var(--cream-faint); text-transform: uppercase; letter-spacing: .1em; }
.ci-row a, .ci-row .val { color: var(--cream); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.ci-row a:hover { color: var(--gold-light); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; color: var(--cream-dim); font-weight: 600; padding-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font-family: var(--font-body); font-size: .98rem;
  color: var(--cream); background: rgba(7,24,17,.6); border: 1px solid var(--border-soft);
  border-radius: 14px; transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--cream-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(7,24,17,.85);
  box-shadow: 0 0 0 4px rgba(216,164,69,.12);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23eecb74' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field select option { background: #0c2c20; color: var(--cream); }
.form-note { font-size: .82rem; color: var(--cream-faint); margin-top: 4px; }
.form-success { display: none; padding: 20px; border-radius: 14px; background: rgba(42,122,86,.18); border: 1px solid var(--green-500); color: var(--cream); text-align: center; font-weight: 600; }
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-soft); padding: 60px 0 34px; margin-top: 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .brand-name b { font-size: 1.3rem; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; color: var(--cream-dim); text-decoration: none; font-size: .94rem; margin-bottom: 11px; transition: color .3s, padding .3s; }
.footer-col a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--border-soft); color: var(--cream-faint); font-size: .86rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } .portrait-blob, .portrait-ring, .bg-aurora, .chip { animation: none !important; } }

/* slow rotating mandala accent */
.mandala-accent { position: absolute; pointer-events: none; opacity: .08; animation: spin 90s linear infinite; }

/* page hero (sub pages) */
.page-hero { padding-top: 150px; padding-bottom: 30px; text-align: center; }
.page-hero .display { font-size: clamp(2.4rem, 5vw, 4rem); margin: 18px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-grid { columns: 2; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .portrait-wrap { order: -1; width: min(82%, 360px); margin-bottom: 18px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cases-grid, .price-grid, .articles-grid { grid-template-columns: 1fr; }
  .tm-grid { columns: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .chip.c1 { left: 0; } .chip.c2 { right: 0; }
  .wrap { padding: 0 18px; }
}
