/* =========================================================================
   Prosper Pay — Design System
   Style: Swiss/Minimal base + subtle glassmorphism accents (fintech)
   Palette: Prosper brand purple #6a3dc3 (from app Figma) + deep plum darks;
            text #1c1440; green kept only for success/positive indicators
   Built with guidance from ui-ux-pro-max design intelligence
   ========================================================================= */

:root {
  /* ---- Dark plum scale (first violet brand — from app Figma) ---- */
  --navy-950: #160a2e;
  --navy-900: #1c1440;   /* primary dark text on light */
  --navy-800: #2c1d55;
  --navy-700: #4a4462;   /* secondary text */
  --navy-600: #6b6480;
  --slate-500: #7b7f85;
  --slate-400: #9aa0a8;
  --slate-300: #cbd0d6;
  --slate-200: #e6e8ec;
  --slate-100: #f2f2f4;
  --slate-50:  #f7f6fb;

  /* ---- Brand purple #6a3dc3 (from app Figma) ---- */
  --purple-800: #2a1556;
  --purple-700: #2f1866;   /* deep violet — accent-strong (text) */
  --purple-600: #3a1d78;   /* dark violet — brand / buttons / links */
  --purple-500: #7c4fd6;
  --purple-400: #9a72ec;
  --purple-200: #c4b5fd;
  --purple-100: #efe8fb;
  --purple-tint: rgba(106, 61, 195, 0.10);

  /* Helper gradient tokens (mapped to plum/purple) */
  --lav-1: #efe8fb; --lav-2: #f3edff; --peach: #f3e8ff; --sky: #eae6fb;
  --dark-1: #1c1440; --dark-2: #2c1d55; --dark-glow: #6a3dc3;

  --cyan: #7c4fd6; --cyan-bright: #9a72ec;
  --grad-aurora: linear-gradient(160deg, rgba(106, 61, 195, 0.9), var(--purple-700));
  --blue-600: #2563eb;

  /* ---- Positive / success ---- */
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-400: #4ade80;
  --green-glow: rgba(106, 61, 195, 0.32);

  /* ---- Semantic tokens ---- */
  --bg: #ffffff;
  --bg-alt: var(--slate-50);
  --surface: #ffffff;
  --text: var(--navy-900);
  --text-muted: var(--slate-500);
  --text-inverse: #ffffff;
  --primary: var(--purple-600);
  --accent: var(--purple-600);
  --accent-strong: var(--purple-700);
  --positive: var(--green-600);
  --link: var(--purple-600);
  --border: var(--slate-200);
  --ring: rgba(106, 61, 195, 0.40);

  /* ---- Type ---- */
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* ---- Spacing scale (8pt rhythm) ---- */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.10);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 10px 40px -10px var(--green-glow);

  --maxw: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Arabic / RTL ---- */
:root:lang(ar), [dir="rtl"] {
  --font-sans: 'Cairo', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Cairo', 'Segoe UI', system-ui, sans-serif;
}

/* =========================================================================
   Reset & base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }

/* =========================================================================
   Typography
   ========================================================================= */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; color: var(--navy-900); }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.01em; }
h4 { font-size: 1.12rem; letter-spacing: -0.01em; }
p  { color: var(--navy-700); }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; line-height: 1.35; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-strong);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

/* =========================================================================
   Layout helpers
   ========================================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sp-5); }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--dark { background: radial-gradient(62vmax 42vmax at 50% -6%, rgba(106,61,195,0.38), transparent 60%), linear-gradient(160deg, var(--dark-1) 0%, var(--dark-2) 100%); color: rgba(255,255,255,0.85); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.72); }
.section--dark .eyebrow { color: var(--purple-200); }
.section--dark .eyebrow::before { background: var(--purple-200); }
.section--dark .value { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); }
.section--dark .value span, .section--dark .stat span { color: rgba(255,255,255,0.72); }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: var(--sp-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--sp-4); font-size: 1.12rem; color: var(--text-muted); }
.section--dark .section-head p { color: var(--slate-400); }

.grid { display: grid; gap: var(--sp-5); }
.text-accent { color: var(--accent-strong); }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 14px 26px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.98rem;
  border: 1.5px solid transparent; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { background: #4a2896; transform: translateY(-2px); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--light { background: #fff; color: var(--navy-900); border-color: var(--border); }
.btn--light:hover { border-color: var(--navy-900); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--slate-300); }
.btn--ghost:hover { border-color: var(--navy-900); background: var(--slate-50); }
.section--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.25); }
.section--dark .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* =========================================================================
   Navbar
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255,255,255,0.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: var(--sp-5); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; letter-spacing: -0.03em; color: var(--navy-900); }
.brand__mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--purple-500), var(--purple-700)); display: grid; place-items: center; color: #fff; font-weight: 900; box-shadow: var(--shadow-sm); }
.brand span b { color: var(--accent-strong); }

.nav__links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav__links a { padding: 8px 13px; border-radius: var(--radius-pill); font-size: 0.94rem; font-weight: 500; color: var(--navy-700); transition: background .2s, color .2s; }
.nav__links a:hover, .nav__links a.active { background: var(--slate-100); color: var(--navy-900); }
.nav__actions { display: flex; align-items: center; gap: var(--sp-3); }

/* Language switcher */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: #fff; font-weight: 600; font-size: 0.85rem; color: var(--navy-800); }
.lang__btn:hover { border-color: var(--navy-900); }
.lang__menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 6px; min-width: 150px; display: none; }
.lang__menu.open { display: block; animation: pop .18s var(--ease); }
.lang__menu button { display: flex; width: 100%; align-items: center; gap: 8px; padding: 9px 12px; border: 0; background: transparent; border-radius: 8px; font-size: 0.9rem; font-weight: 500; color: var(--navy-800); text-align: start; }
.lang__menu button:hover { background: var(--slate-100); }
.lang__menu button[aria-current="true"] { color: var(--accent-strong); font-weight: 700; }

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

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; padding-top: clamp(20px, 2.4vw, 38px); padding-bottom: clamp(44px, 6vw, 88px); overflow: hidden; background: radial-gradient(1200px 600px at 82% -10%, #efe8fb 0%, transparent 60%), radial-gradient(900px 520px at 0% 8%, #f3edff 0%, transparent 55%); }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--sp-8); align-items: center; }
.hero h1 { margin-top: var(--sp-2); font-size: clamp(1.9rem, 3.9vw, 3.35rem); line-height: 1.06; }
.hero__lead { margin-top: var(--sp-4); font-size: 1.2rem; color: var(--navy-700); max-width: 40ch; }
.hero__cta { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__trust { margin-top: var(--sp-6); display: flex; align-items: center; gap: var(--sp-4); color: var(--text-muted); font-size: 0.92rem; font-weight: 500; }
.hero__trust b { color: var(--navy-900); font-size: 1.15rem; }

/* Phone mockup */
.mock { position: relative; justify-self: center; }
.phone { width: 280px; aspect-ratio: 9/19; border-radius: 38px; background: var(--navy-950); padding: 12px; box-shadow: var(--shadow-lg); position: relative; }
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: var(--navy-950); border-radius: 0 0 14px 14px; z-index: 3; }
.phone__screen { height: 100%; border-radius: 28px; background: linear-gradient(160deg, #1c1440, #2c1d55); overflow: hidden; display: flex; flex-direction: column; padding: 34px 16px 16px; color: #fff; }
.phone__balance { font-size: 0.72rem; color: var(--slate-300); }
.phone__amount { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.phone__amount span { color: var(--purple-400); }
.phone__bar { height: 8px; border-radius: 6px; background: rgba(255,255,255,0.14); margin-top: 14px; overflow: hidden; }
.phone__bar i { display: block; height: 100%; width: 68%; background: linear-gradient(90deg, var(--purple-500), var(--purple-400)); border-radius: 6px; }
.phone__btn { margin-top: 16px; background: var(--accent); color: #fff; text-align: center; font-weight: 700; font-size: 0.82rem; padding: 12px; border-radius: 12px; }
.phone__list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.phone__row { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.06); border-radius: 12px; padding: 10px; }
.phone__ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(154,114,236,0.22); display: grid; place-items: center; color: var(--purple-400); flex: none; }
.phone__row small { color: var(--slate-400); font-size: 0.62rem; display: block; }
.phone__row b { font-size: 0.74rem; font-weight: 600; }
.mock__badge { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 600; color: var(--navy-900); }
.mock__badge svg { color: var(--accent-strong); }
.mock__badge--1 { top: 30px; inset-inline-start: -30px; animation: float 5s ease-in-out infinite; }
.mock__badge--2 { bottom: 60px; inset-inline-end: -26px; animation: float 6s ease-in-out infinite 0.6s; }

/* =========================================================================
   Logos / trust strip
   ========================================================================= */
.trustbar { border-block: 1px solid var(--border); background: #fff; }
.trustbar__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--sp-7); padding-block: var(--sp-7); }
@media (max-width: 640px) { .trustbar__inner { grid-template-columns: 1fr; gap: var(--sp-4); text-align: center; padding-block: var(--sp-6); } }
.trustbar__label { font-size: 0.98rem; font-weight: 600; color: var(--slate-300); max-width: 200px; line-height: 1.35; }
.trustbar__logos { display: flex; flex-wrap: wrap; gap: var(--sp-6); align-items: center; }
.logo-chip { font-weight: 700; color: var(--slate-400); letter-spacing: -0.02em; font-size: 1.05rem; filter: grayscale(1); opacity: .8; transition: .2s; }
.logo-chip:hover { opacity: 1; color: var(--navy-700); }

/* =========================================================================
   Cards / products
   ========================================================================= */
.cards { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; position: relative; overflow: hidden;
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(106,61,195,0.06), transparent 40%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--slate-300); }
.card:hover::after { opacity: 1; }
.card__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--purple-400); box-shadow: var(--shadow-sm); }
.card__tag { font-size: 0.78rem; font-weight: 600; color: var(--accent-strong); text-transform: uppercase; letter-spacing: 0.05em; }
.card h3 { margin-top: var(--sp-1); }
.card p { color: var(--text-muted); font-size: 0.98rem; flex: 1; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy-900); font-size: 0.95rem; }
.card__more svg { transition: transform .2s; }
.card:hover .card__more svg { transform: translateX(4px); }
[dir="rtl"] .card:hover .card__more svg { transform: translateX(-4px) scaleX(-1); }
[dir="rtl"] .card__more svg { transform: scaleX(-1); }

/* Feature (users) cards */
.features { grid-template-columns: repeat(4, 1fr); }
.feature { padding: var(--sp-6); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.feature__ic { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg, var(--lav-1), var(--sky)); color: var(--accent-strong); display: grid; place-items: center; margin-bottom: var(--sp-4); }
.feature h4 { margin-bottom: var(--sp-2); }
.feature p { color: var(--text-muted); font-size: 0.96rem; }

/* Steps (how it works) */
.steps { grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.step { position: relative; padding-top: var(--sp-5); }
.step__num { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: var(--sp-3); }
.step h4 { font-size: 1rem; margin-bottom: var(--sp-1); }
.step p { font-size: 0.9rem; color: var(--text-muted); }

/* Value list (why us) */
.valuelist { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.value { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4); border-radius: var(--radius); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); }
.value__ic { flex: none; width: 40px; height: 40px; border-radius: 11px; background: rgba(154,114,236,0.20); color: var(--purple-400); display: grid; place-items: center; }
.value b { color: #fff; display: block; font-size: 1rem; }
.value span { color: var(--slate-400); font-size: 0.92rem; }

/* Audience pills */
.audience { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.pill { padding: 12px 22px; border-radius: var(--radius-pill); border: 1px solid var(--slate-300); font-weight: 600; color: var(--navy-800); background: #fff; }

/* Problems / challenges list */
.problems { grid-template-columns: repeat(2,1fr); gap: var(--sp-3); }
.problem { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.problem__x { flex: none; width: 28px; height: 28px; border-radius: 8px; background: #fef2f2; color: #dc2626; display: grid; place-items: center; font-weight: 800; }

/* =========================================================================
   Cases
   ========================================================================= */
.cases-grid { grid-template-columns: repeat(3, 1fr); }
.case { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: transform .25s var(--ease), box-shadow .25s; }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case__cover { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--purple-700), var(--purple-800)); position: relative; display: grid; place-items: center; color: #fff; padding: var(--sp-5); }
.case__cover--2 { background: linear-gradient(135deg, #064e3b, #16a34a); }
.case__cover--3 { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.case__cover b { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.case__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.case__tag { font-size: 0.78rem; font-weight: 700; color: var(--accent-strong); text-transform: uppercase; letter-spacing: 0.04em; }
.case__body p { font-size: 0.96rem; color: var(--text-muted); flex: 1; }

/* Media list */
.media-list { grid-template-columns: repeat(2, 1fr); }
.media-item { display: flex; gap: var(--sp-4); padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: .2s; }
.media-item:hover { border-color: var(--navy-900); transform: translateY(-3px); box-shadow: var(--shadow); }
.media-item__mark { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--slate-100); display: grid; place-items: center; color: var(--navy-700); font-weight: 800; }
.media-item h4 { font-size: 1.02rem; line-height: 1.3; }
.media-item small { color: var(--text-muted); font-weight: 500; }

/* =========================================================================
   Integration / partnership
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.checklist { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-5); }
.checklist li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: 1rem; }
.checklist__txt { display: flex; flex-direction: column; gap: 3px; }
.checklist__txt b { color: var(--navy-900); font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.checklist__txt span { color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; }
.section--dark .checklist__txt b { color: #fff; }
.section--dark .checklist__txt span { color: var(--slate-400); }
.checklist .ck { flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(34,197,94,0.15); color: var(--green-400); display: grid; place-items: center; }
.section:not(.section--dark) .checklist .ck { background: #dcfce7; color: var(--green-600); }
.badge-cert { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); font-size: 0.85rem; font-weight: 600; color: #fff; }

/* =========================================================================
   CTA / demo form
   ========================================================================= */
.cta { background: linear-gradient(135deg, #1c1440, #4f2ca9); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; box-shadow: var(--shadow-lg); }
.cta h2 { color: #fff; }
.cta p { color: var(--slate-400); margin-top: var(--sp-3); }
.form { display: grid; gap: var(--sp-4); }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--slate-300); }
.field input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); color: #fff; font-size: 1rem; transition: border-color .2s, background .2s; }
.field input::placeholder { color: var(--slate-500); }
.field input:focus { border-color: var(--purple-400); background: rgba(255,255,255,0.08); outline: none; }
.field--req label::after { content: " *"; color: var(--purple-400); }
.form__note { font-size: 0.82rem; color: var(--slate-500); }
.form__note a { color: var(--slate-300); text-decoration: underline; }
.form__ok { display: none; padding: var(--sp-5); border-radius: 12px; background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.35); color: #bbf7d0; font-weight: 600; text-align: center; }
.form__ok.show { display: block; animation: pop .3s var(--ease); }

/* =========================================================================
   Modal (product / case popups)
   ========================================================================= */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal__scrim { position: absolute; inset: 0; background: rgba(2,6,23,0.55); backdrop-filter: blur(4px); animation: fade .25s ease; }
.modal__panel {
  position: absolute; inset-inline: 0; bottom: 0; margin-inline: auto; max-width: 760px; width: 100%;
  max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow-lg); animation: slideUp .35s var(--ease);
}
@media (min-width: 720px) {
  .modal__panel { top: 50%; bottom: auto; transform: translateY(-50%); border-radius: 24px; animation: pop .3s var(--ease); }
}
.modal__head { position: sticky; top: 0; background: linear-gradient(180deg, var(--lav-1) 0%, rgba(255,255,255,0.94) 100%); backdrop-filter: blur(8px); display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-5) var(--sp-6); border-bottom: 1px solid var(--border); z-index: 2; }
.modal__head .card__tag { display: block; margin-bottom: 3px; }
.modal__head h3 { line-height: 1.15; }
.modal__hicon { flex: none; width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(106,61,195,0.35)); }
.modal__htxt { flex: 1; min-width: 0; }
.modal__close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; color: var(--navy-800); transition: .2s; }
.modal__close:hover { background: var(--slate-100); transform: rotate(90deg); }
.modal__body { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-5); }
.modal__body h4 { font-size: 1.05rem; }
.modal__body p { color: var(--navy-700); font-size: 1rem; }
.modal__lead { font-size: 1.08rem; color: var(--navy-700); }
.block { padding: var(--sp-5); border-radius: var(--radius); background: var(--slate-50); border: 1px solid var(--border); }
.block--warn { background: #fffbeb; border-color: #fde68a; }
.block--ok { background: #f0fdf4; border-color: #bbf7d0; }
.block__label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 6px; }
.block--warn .block__label { color: #b45309; }
.block--ok .block__label { color: var(--green-600); }

/* Product-modal blocks (design-system styled) */
.modal__ps { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 620px) { .modal__ps { grid-template-columns: 1fr; } }
.mblock { padding: var(--sp-5); border-radius: var(--radius); background: var(--slate-50); border: 1px solid var(--border); }
.mblock--warn { background: #fffbeb; border-color: #fde68a; }
.mblock--ok { background: #f0fdf4; border-color: #bbf7d0; }
.mblock__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mblock__ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--purple-100); color: var(--accent-strong); font-weight: 800; font-size: 0.95rem; }
.mblock--warn .mblock__ic { background: #fef3c7; color: #b45309; }
.mblock--ok .mblock__ic { background: #dcfce7; color: var(--green-600); }
.mblock__label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy-800); }
.mblock p { color: var(--navy-700); font-size: 0.98rem; }
.modal__inc h4 { margin-bottom: var(--sp-3); }
.modal ul.ticks { display: flex; flex-direction: column; gap: 10px; }
.modal ul.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.97rem; color: var(--navy-700); }
.modal ul.ticks .ck { flex: none; width: 24px; height: 24px; border-radius: 7px; background: #dcfce7; color: var(--green-600); display: grid; place-items: center; }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.price-table th, .price-table td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.price-table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.price-table td:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.modal__foot { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--border); padding: var(--sp-4) var(--sp-6); }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { background: var(--navy-950); color: var(--slate-400); padding-block: var(--sp-8) var(--sp-6); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-6); }
.footer .brand { color: #fff; }
.footer__about { margin-top: var(--sp-4); max-width: 34ch; font-size: 0.95rem; }
.footer h5 { color: #fff; font-size: 0.95rem; margin-bottom: var(--sp-4); font-weight: 600; }
.footer a { display: block; padding: 5px 0; font-size: 0.94rem; color: var(--slate-400); transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__bottom { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; font-size: 0.86rem; }
.footer__legal { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.footer__phone { color: #fff; font-weight: 700; font-size: 1.05rem; }

/* WhatsApp float */
.wa { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: var(--shadow-lg); color: #fff; transition: transform .2s; }
.wa:hover { transform: scale(1.08); }

/* =========================================================================
   Page hero (subpages)
   ========================================================================= */
.pagehero { padding-block: clamp(48px, 7vw, 96px); background: radial-gradient(900px 500px at 85% -10%, #eef6ff, transparent 60%); border-bottom: 1px solid var(--border); }
.pagehero p { margin-top: var(--sp-4); font-size: 1.15rem; color: var(--text-muted); max-width: 60ch; }

/* Team */
.team { grid-template-columns: repeat(4, 1fr); }
.member { text-align: center; padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.member__avatar { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto var(--sp-3); background: linear-gradient(135deg, var(--purple-600), var(--purple-800)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.5rem; }
.member b { display: block; font-size: 1rem; color: var(--navy-900); }
.member__loc { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; padding: 4px 11px; border-radius: var(--radius-pill); background: var(--purple-100); color: var(--purple-700); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.01em; }
.member span { font-size: 0.88rem; color: var(--text-muted); }

/* Stats */
.stats { grid-template-columns: repeat(4,1fr); text-align: center; }
.stat b { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; color: var(--navy-900); }
.section--dark .stat b { color: #fff; }
.stat span { color: var(--text-muted); font-size: 0.95rem; }

/* prose for case pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--sp-7); }
.prose h3 { margin-top: var(--sp-6); }
.prose p { margin-top: var(--sp-4); }
.prose ul.dashed li { position: relative; padding-inline-start: 22px; margin-top: 10px; color: var(--navy-700); }
.prose ul.dashed li::before { content: ""; position: absolute; inset-inline-start: 0; top: 12px; width: 10px; height: 2px; background: var(--accent); }
.quote { margin-top: var(--sp-6); padding: var(--sp-6); border-inline-start: 4px solid var(--accent); background: var(--slate-50); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.15rem; font-style: italic; color: var(--navy-800); }
.quote cite { display: block; margin-top: var(--sp-3); font-style: normal; font-size: 0.95rem; color: var(--text-muted); }
.metric-grid { grid-template-columns: repeat(3,1fr); margin-top: var(--sp-5); }
.metric { padding: var(--sp-5); border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.metric b { font-size: 2rem; font-weight: 800; color: var(--accent-strong); display: block; }
.metric span { font-size: 0.9rem; color: var(--text-muted); }

/* =========================================================================
   Reveal on scroll
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   Animations
   ========================================================================= */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .mock { grid-row: 1; margin-bottom: var(--sp-4); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; position: absolute; top: var(--nav-h); inset-inline: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--border); padding: var(--sp-3); gap: 2px; box-shadow: var(--shadow-lg); }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 14px; }
  .nav__burger { display: flex; }
  .nav__actions .btn--demo { display: none; }
  .cards, .cases-grid, .media-list, .problems, .valuelist, .metric-grid { grid-template-columns: 1fr; }
  .split, .cta { grid-template-columns: 1fr; }
  .stats, .team { grid-template-columns: repeat(2,1fr); }
  .cta { text-align: center; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding-inline: var(--sp-4); }
  .hero__trust { flex-wrap: wrap; }
  .features { grid-template-columns: 1fr; }
}

/* =========================================================================
   Motion & flourish
   ========================================================================= */
/* Scroll progress bar */
.scrollbar { position: fixed; inset-block-start: 0; inset-inline-start: 0; height: 3px; width: 0; z-index: 300;
  background: linear-gradient(90deg, var(--purple-600), var(--purple-400)); box-shadow: 0 0 12px var(--green-glow); }

/* Hero entrance stagger */
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes mockIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
.hero__copy > * { opacity: 0; animation: heroIn .7s var(--ease) forwards; }
.hero__copy > *:nth-child(1) { animation-delay: .05s; }
.hero__copy > *:nth-child(2) { animation-delay: .14s; }
.hero__copy > *:nth-child(3) { animation-delay: .23s; }
.hero__copy > *:nth-child(4) { animation-delay: .32s; }
.hero__copy > *:nth-child(5) { animation-delay: .41s; }
.mock { opacity: 0; animation: mockIn .9s var(--ease) .28s forwards; }

/* Animated aurora glow behind hero */
.hero::after { content: ""; position: absolute; inset-block-start: -18%; inset-inline-end: -6%; width: 520px; height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(124,79,214,.28), transparent 62%); filter: blur(26px);
  z-index: 0; pointer-events: none; animation: aurora 15s ease-in-out infinite; }
@keyframes aurora { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-46px,40px) scale(1.15); } }
.hero .container { position: relative; z-index: 1; }

/* Phone progress bar fill on load */
.phone__bar i { transform-origin: left center; animation: fillbar 1.3s var(--ease) .7s both; }
[dir="rtl"] .phone__bar i { transform-origin: right center; }
@keyframes fillbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Marquee (trust logos) */
.marquee { overflow: hidden; min-width: 0; max-width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--sp-8); width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee__track { animation-direction: reverse; }

/* Card 3D tilt + cursor shine */
.card { transform-style: preserve-3d; will-change: transform; }
.card > * { position: relative; z-index: 1; }
.card__shine { position: absolute; inset: 0; border-radius: inherit; z-index: 0; opacity: 0; pointer-events: none;
  transition: opacity .3s; background: radial-gradient(240px circle at var(--mx,50%) var(--my,0%), rgba(154,114,236,.20), transparent 60%); }
.card:hover .card__shine { opacity: 1; }

/* Primary button sheen sweep */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after { content: ""; position: absolute; top: 0; inset-inline-start: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent); transform: skewX(-18deg); }
.btn--primary:hover::after { animation: sheen .85s ease; }
@keyframes sheen { to { inset-inline-start: 135%; } }

/* Tabular figures for animated counters */
.count { font-variant-numeric: tabular-nums; }

/* Magnetic CTA lift already via .btn; add glow pulse on hero primary */
.hero__cta .btn--primary { animation: glowpulse 3.5s ease-in-out 1.4s infinite; }
@keyframes glowpulse { 0%,100% { box-shadow: 0 10px 40px -10px var(--green-glow); } 50% { box-shadow: 0 14px 52px -8px rgba(106,61,195,.55); } }

@media (prefers-reduced-motion: reduce) {
  .hero__copy > *, .mock { opacity: 1; animation: none; }
  .hero::after, .marquee__track, .phone__bar i, .hero__cta .btn--primary { animation: none; }
  .phone__bar i { transform: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; flex-wrap: wrap; }
  .tmq { -webkit-mask-image: none; mask-image: none; }
  .tmq__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 14px; }
}

/* =========================================================================
   Real app screenshot in a true-to-life iPhone frame (from Figma)
   iPhone 15/16 logical viewport ratio ≈ 393 : 852 (9 : 19.5)
   ========================================================================= */
.phone {
  width: 300px; aspect-ratio: 393 / 852; padding: 12px;
  background: linear-gradient(150deg, #2a2438, #100c1c 55%, #060409);
  border-radius: 58px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,0.07), 0 0 0 1px rgba(0,0,0,0.4);
  position: relative;
}
/* Dynamic Island */
.phone::before {
  display: block; content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 27px; background: #050409; border-radius: 16px; z-index: 4;
}
/* Titanium side buttons */
.phone::after {
  content: ""; position: absolute; z-index: 0;
  inset-inline-start: -3px; top: 150px; width: 3px; height: 96px; border-radius: 3px;
  background: #241d33;
  box-shadow: 0 -52px 0 -30px #241d33, 0 116px 0 6px #241d33;
}
[dir="rtl"] .phone::after { inset-inline-start: auto; inset-inline-end: -3px; }
.phone__img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  border-radius: 46px; display: block; background: #f7f7f7;
}
@media (max-width: 480px) { .phone { width: 264px; } }

/* =========================================================================
   Real brand logo + client logos (from official Tilda site)
   ========================================================================= */
.brand__logo { height: 30px; width: auto; display: block; }
@media (max-width: 480px) { .brand__logo { height: 26px; } }

/* Client-logo marquee on dark plum strip (logos are white PNGs) */
.trustbar { border-block-color: transparent; background:
  radial-gradient(60vmax 40vmax at 50% -12%, rgba(106,61,195,0.40), transparent 60%),
  linear-gradient(160deg, var(--dark-1) 0%, var(--dark-2) 100%); }
.trustbar__label { color: rgba(255,255,255,0.9); }

/* Partners row */
.partners { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.partners__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--sp-6); padding-block: var(--sp-5); }
@media (max-width: 640px) { .partners__inner { grid-template-columns: 1fr; gap: var(--sp-3); text-align: center; } }
.partners__label { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-strong); }
.partners__row { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-6) var(--sp-7); }
.partner { display: inline-flex; align-items: center; }
.partner img { height: 30px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0); opacity: 0.5; transition: opacity .2s; }
.partner b { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--navy-800); opacity: 0.62; transition: opacity .2s; }
.partner:hover img, .partner:hover b { opacity: 0.95; }
.client-logo { display: inline-flex; align-items: center; height: 74px; flex: none; }
.client-logo img { height: 52px; width: auto; max-width: 200px; object-fit: contain; opacity: 0.92; transition: opacity 0.2s; }
.client-logo:hover img { opacity: 1; }
@media (max-width: 640px) { .client-logo { height: 60px; } .client-logo img { height: 42px; } }

/* ===== Trust marquee "Нам доверяют" — 3 rows, alternating directions ===== */
.trust-mq { padding-block: clamp(40px, 6vw, 72px); background: var(--bg-alt); overflow: hidden; }
.trust-mq h2 { text-align: center; margin-bottom: clamp(24px, 3vw, 40px); }
.tmq-rows { display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 18px); }
.tmq { overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tmq__track { display: flex; flex-wrap: nowrap; width: max-content; gap: clamp(14px, 1.7vw, 24px);
  align-items: center; animation: tmq-scroll 55s linear infinite; will-change: transform; }
.tmq__track--rev { animation-duration: 64s; animation-direction: reverse; }
.tmq:hover .tmq__track { animation-play-state: paused; }
@keyframes tmq-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tmq__item { display: inline-flex; align-items: center; gap: 12px; flex: none; padding-right: 8px; }
.tmq__logo { width: 52px; height: 52px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: linear-gradient(150deg, #221845, #14102e); box-shadow: 0 6px 16px rgba(28,20,64,.16); }
.tmq__logo img { width: 62%; height: 62%; object-fit: contain; }
.tmq__item b { font-weight: 600; font-size: 1.02rem; color: var(--navy-900); white-space: nowrap; letter-spacing: -0.01em; }
@media (max-width: 640px) { .tmq__logo { width: 44px; height: 44px; border-radius: 12px; } .tmq__item b { font-size: 0.92rem; } }

/* =========================================================================
   3D glossy icons (from official site) + luminous "Tilda" UI treatment
   ========================================================================= */
/* Product-card 3D icon replaces the flat chip */
.card__ic3d { width: 72px; height: 72px; object-fit: contain; margin-bottom: 4px;
  filter: drop-shadow(0 10px 18px rgba(106, 61, 195, 0.35)); transition: transform .3s var(--ease); }
.card:hover .card__ic3d { transform: translateY(-4px) scale(1.05) rotate(-3deg); }

/* Feature-trio 3D icons */
.feature--3d { text-align: center; }
.feature__ic3d { width: 92px; height: 92px; object-fit: contain; margin: 0 auto var(--sp-4);
  filter: drop-shadow(0 12px 22px rgba(106, 61, 195, 0.38)); animation: float3d 5s ease-in-out infinite; }
.feature--3d:nth-child(2) .feature__ic3d { animation-delay: .5s; }
.feature--3d:nth-child(3) .feature__ic3d { animation-delay: 1s; }
.feature--3d h4, .feature--3d p { text-align: center; }

/* Integration section 3D accent */
.int-3d { width: 96px; height: 96px; object-fit: contain; margin-bottom: var(--sp-4);
  filter: drop-shadow(0 14px 26px rgba(106, 61, 195, 0.40)); animation: float3d 6s ease-in-out infinite; }

@keyframes float3d { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .feature__ic3d, .int-3d { animation: none; } }

/* Luminous card re-tune (borderless-glow feel, keeps border for contrast) */
.card { border-radius: 28px; }
.card::after { background: var(--grad-aurora); opacity: 0; }
.card:hover { box-shadow: 0 24px 60px -22px rgba(106, 61, 195, 0.45); }
.card:hover::after { opacity: 0.06; }

/* Aurora gradient primary button (hero accent only) */
.btn--aurora { background: var(--grad-aurora); color: #fff; box-shadow: 0 10px 40px -10px rgba(106, 61, 195, 0.35); }
.btn--aurora:hover { filter: brightness(1.06); transform: translateY(-2px); }

/* Airy display weight for the hero headline (echoes the site's elegant weight-500 type) */
.display--airy { font-weight: 600; letter-spacing: -0.015em; }

/* Decorative eclipse blobs (lightweight CSS, no heavy PNGs) */
.has-blobs { position: relative; overflow: hidden; }
.has-blobs > .container { position: relative; z-index: 1; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; pointer-events: none; z-index: 0; }
.blob--purple { background: radial-gradient(circle, rgba(106, 61, 195, 0.5), transparent 70%); }
.blob--cyan { background: radial-gradient(circle, rgba(106, 61, 195, 0.40), transparent 70%); }
.blob--1 { width: 460px; height: 460px; inset-inline-start: -140px; top: -120px; }
.blob--2 { width: 520px; height: 520px; inset-inline-end: -160px; bottom: -160px; }
@media (max-width: 640px) { .blob { opacity: 0.35; } }

/* Hero background — clean, business-oriented (no purple glow) */
.hero { background: linear-gradient(168deg, #fbfcfe 0%, #eef1f6 58%, #f4f6fa 100%); }
.hero::after { display: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(28,20,64,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28,20,64,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask: radial-gradient(135% 115% at 82% 0%, #000 0%, rgba(0,0,0,.30) 46%, transparent 72%);
  mask: radial-gradient(135% 115% at 82% 0%, #000 0%, rgba(0,0,0,.30) 46%, transparent 72%); }

/* Footer socials */
.footer__socials { display: flex; gap: 10px; margin-top: 14px; }
.footer__socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.07); color: var(--slate-300); border: 1px solid rgba(255,255,255,0.10); transition: background .2s, color .2s, transform .2s; padding: 0; }
.footer__socials a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* Certificates block (integration section) */
.certs { margin-top: var(--sp-6); }
.certs__label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: var(--sp-3); }
.certs__row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.cert-card { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; cursor: pointer; }
.cert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--slate-300); }
.cert-card:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.cert-card__view { margin-inline-start: auto; color: var(--slate-400); flex: none; transition: transform .2s, color .2s; }
.cert-card:hover .cert-card__view { color: var(--accent); transform: translateX(3px); }
[dir="rtl"] .cert-card__view svg { transform: scaleX(-1); }
[dir="rtl"] .cert-card:hover .cert-card__view { transform: translateX(-3px); }

/* Certificate viewer modal */
.cert-view { background: var(--slate-100); border-radius: var(--radius); overflow: hidden; }
.cert-view img { width: 100%; height: auto; display: block; }
.cert-view iframe { width: 100%; height: 72vh; border: 0; display: block; }
.cert-view--err { min-height: 160px; display: grid; place-items: center; }
.cert-view--err::after { content: "Документ недоступен"; color: var(--text-muted); font-weight: 600; }
/* PDF shown as a clickable document card (reliable across browsers / file://) */
.cert-view--pdf { background: transparent; }
.cert-doc { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-5); border-radius: var(--radius); background: var(--slate-50); border: 1px solid var(--border); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.cert-doc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--slate-300); }
.cert-doc__ic { flex: none; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--purple-100); color: var(--accent-strong); }
.cert-doc__t { flex: 1; min-width: 0; }
.cert-doc__t b { display: block; color: var(--navy-900); font-size: 1.02rem; }
.cert-doc__t span { color: var(--text-muted); font-size: 0.88rem; }
.cert-doc__go { flex: none; color: var(--accent); }
[dir="rtl"] .cert-doc__go svg { transform: scaleX(-1); }
.cert-modal .modal__foot { display: flex; gap: var(--sp-3); }
.cert-modal .modal__foot .btn { flex: 1; }
.cert-card__ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #dcfce7; color: var(--green-600); }
.cert-card__1c { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #ffd200; color: #b3111b; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.cert-card__txt b { display: block; font-size: 0.98rem; color: var(--navy-900); line-height: 1.2; }
.cert-card__txt span { font-size: 0.82rem; color: var(--text-muted); }

/* =========================================================================
   Structure rework: nav dropdown, timeline, FAQ, KPIs, contacts, placeholders
   ========================================================================= */

/* --- Nav "Компания" dropdown --- */
.navdrop { position: relative; display: flex; align-items: center; }
.navdrop__btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 13px; border: 0; background: transparent; border-radius: var(--radius-pill); font-size: 0.94rem; font-weight: 500; color: var(--navy-700); cursor: pointer; transition: background .2s, color .2s; font-family: inherit; }
.navdrop__btn:hover, .navdrop.open .navdrop__btn { background: var(--slate-100); color: var(--navy-900); }
.navdrop__chev { display: inline-flex; transition: transform .2s var(--ease); }
.navdrop.open .navdrop__chev { transform: rotate(180deg); }
.navdrop__menu { position: absolute; inset-inline-start: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 6px; min-width: 250px; display: none; z-index: 60; }
.navdrop.open .navdrop__menu { display: block; animation: pop .18s var(--ease); }
.navdrop__menu a { display: block; padding: 10px 13px; border-radius: 9px; font-size: 0.92rem; font-weight: 500; color: var(--navy-800); }
.navdrop__menu a:hover { background: var(--slate-100); color: var(--navy-900); }

/* --- Page lead paragraph --- */
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 62ch; margin-top: var(--sp-4); }

/* --- Info cards grid (generic feature/benefit cards) --- */
.info-grid { grid-template-columns: repeat(3, 1fr); }
.info-card { padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--slate-300); }
.info-card__ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--purple-100); color: var(--accent-strong); margin-bottom: var(--sp-4); }
.info-card h4 { font-size: 1.06rem; }
.info-card p { margin-top: 8px; color: var(--text-muted); font-size: 0.96rem; }

/* --- KPI / investor metrics --- */
.kpi-grid { grid-template-columns: repeat(4, 1fr); }
.kpi { padding: var(--sp-5); border-radius: var(--radius); background: var(--slate-50); border: 1px solid var(--border); text-align: center; }
.kpi b { display: block; font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.kpi span { display: block; margin-top: 6px; color: var(--text-muted); font-size: 0.92rem; }
.kpi .kpi__ph { color: var(--purple-400); }
.section--dark .kpi { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.section--dark .kpi b { color: #fff; }
.section--dark .kpi span { color: var(--slate-400); }

/* Placeholder chip for data to be filled in later */
.ph { color: var(--purple-500); background: var(--purple-tint); border: 1px dashed var(--purple-400); border-radius: 8px; padding: 1px 8px; font-weight: 700; font-size: 0.9em; }
.mail-link { color: inherit; text-decoration: none; font-weight: 600; border-bottom: 1px solid currentColor; transition: opacity 0.2s; }
.mail-link:hover { opacity: 0.7; }
.ph-note { margin-top: var(--sp-5); padding: var(--sp-4) var(--sp-5); border-radius: var(--radius); background: var(--purple-tint); border: 1px dashed var(--purple-400); color: var(--purple-700); font-size: 0.92rem; }
.section--dark .ph-note { background: rgba(255,255,255,0.06); border-color: var(--purple-200); color: var(--purple-200); }

/* --- Timeline (About) --- */
.timeline { position: relative; margin-top: var(--sp-6); padding-inline-start: 30px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--purple-400), var(--purple-200)); }
.tl-item { position: relative; padding-bottom: var(--sp-6); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; inset-inline-start: -30px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--purple-200); }
.tl-item__year { font-weight: 800; color: var(--accent-strong); font-size: 0.95rem; letter-spacing: 0.02em; }
.tl-item h4 { margin-top: 4px; font-size: 1.1rem; }
.tl-item p { margin-top: 6px; color: var(--text-muted); font-size: 0.96rem; max-width: 60ch; }

/* --- Photo placeholders (business-style gallery) --- */
.photo-grid { grid-template-columns: repeat(3, 1fr); }
.ph-photo { aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(135deg, var(--purple-100), #e9eefb); border: 1px solid var(--border); display: grid; place-items: center; color: var(--purple-400); text-align: center; padding: var(--sp-4); }
.ph-photo span { display: block; font-size: 0.82rem; font-weight: 600; color: var(--purple-500); margin-top: 8px; }

/* --- FAQ accordion --- */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--sp-3); }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq__item.open { border-color: var(--purple-200); box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-5); border: 0; background: transparent; text-align: start; font-family: inherit; font-size: 1.04rem; font-weight: 600; color: var(--navy-900); cursor: pointer; }
.faq__q:hover { color: var(--accent-strong); }
.faq__chev { flex: none; color: var(--accent); transition: transform .25s var(--ease); }
.faq__item.open .faq__chev { transform: rotate(180deg); }
.faq__a { display: none; padding: 0 var(--sp-5) var(--sp-5); }
.faq__item.open .faq__a { display: block; animation: pop .2s var(--ease); }
.faq__a p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.65; }

/* --- Contacts section --- */
.contact-grid { grid-template-columns: repeat(3, 1fr); }
.contact-card { padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.contact-card__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--purple-100); color: var(--accent-strong); margin-bottom: var(--sp-4); }
.contact-card h4 { font-size: 1.04rem; }
.contact-card p { margin-top: 6px; color: var(--text-muted); font-size: 0.93rem; }
.contact-card a { color: var(--link); font-weight: 600; }
.contact-card a:hover { color: var(--accent-strong); }
.contact-card .contact-card__row { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.contact-socials { display: flex; gap: var(--sp-3); margin-top: 12px; }
.contact-socials a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--navy-800); }
.contact-socials a:hover { border-color: var(--accent); color: var(--accent); }

/* --- Two-column feature split for pages --- */
.split--center { align-items: start; }

@media (max-width: 860px) {
  .navdrop { display: block; }
  .navdrop__btn { width: 100%; justify-content: space-between; padding: 12px 14px; }
  .navdrop__menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .navdrop.open .navdrop__menu { animation: none; }
  .info-grid, .kpi-grid, .photo-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Documents page --- */
a.info-card { display: block; }
.info-card h4 { color: var(--navy-900); }
.doc-badge { display: inline-flex; align-items: center; margin-top: 14px; padding: 3px 11px; border-radius: var(--radius-pill); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; background: var(--slate-100); color: var(--text-muted); }
.doc-badge--ok { background: #dcfce7; color: var(--green-600); }
.info-card--soon { opacity: 0.92; }

/* =========================================================================
   Bento — "Эффект для бизнеса" (glassmorphism + uniform 3D)
   ========================================================================= */
.section--effect { position: relative; background: #F5F4F8; padding-block: clamp(20px, 2vw, 30px); }
.section--effect .section-head { margin-bottom: var(--sp-3); }
.section--effect .section-head h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.section--effect .section-head p { margin-top: var(--sp-3); font-size: 1.02rem; }
.section--effect::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(56vmax 40vmax at 88% 4%, rgba(124,79,214,.10), transparent 60%),
              radial-gradient(48vmax 38vmax at 2% 98%, rgba(109,40,217,.07), transparent 62%); }
.section--effect .container { position: relative; z-index: 1; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: var(--sp-4); }
.bento__card { position: relative; display: block; padding: 12px 18px; border-radius: 18px;
  container-type: inline-size;
  background: linear-gradient(158deg, rgba(255,255,255,.66), rgba(240,236,251,.5));
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,.55); box-shadow: 0 6px 24px rgba(76,29,149,.08);
  transition: transform .28s var(--ease), box-shadow .28s, border-color .28s; }
.bento__card:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(76,29,149,.16); border-color: rgba(124,79,214,.4); }
/* 3D floats into the top-right corner; heading/body wrap beside and below it */
.bento__ic { float: right; width: clamp(88px, 29cqi, 128px); height: clamp(88px, 29cqi, 128px); margin: 0 0 8px 18px; }
.bento__ic img { width: 100%; height: 100%; object-fit: contain; display: block;
  filter: drop-shadow(0 7px 14px rgba(76,29,149,.28)); animation: hvfloat 8s ease-in-out infinite; }
.bento__card h3 { font-size: .98rem; font-weight: 600; color: #4C1D95; letter-spacing: -.01em; line-height: 1.24; }
.bento__card p { margin-top: 4px; color: #6B7280; font-size: .84rem; line-height: 1.45; }
.bento__card--hero { grid-column: span 3; grid-row: span 2; padding: 18px 22px;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(158deg, rgba(255,255,255,.72), rgba(230,223,249,.62)); }
.bento__card--hero .bento__ic { float: none; align-self: flex-end; width: clamp(140px, 33cqi, 184px); height: clamp(140px, 33cqi, 184px); margin: 0 0 4px 0; }
.bento__card--hero h3 { font-size: 1.16rem; margin-top: 2px; }
.bento__card--hero p { font-size: .9rem; max-width: 34ch; margin-top: 6px; }
.bento__card--wide { grid-column: span 3; }
.bento__card--sm { grid-column: span 2; }
.bento__card--cta { border: 0; color: #fff; overflow: hidden;
  background: linear-gradient(152deg, #4C1D95 0%, #2a0e60 100%); box-shadow: 0 14px 34px rgba(76,29,149,.32); }
.bento__card--cta h3 { color: #fff; font-size: 1.08rem; }
.bento__card--cta p { color: rgba(255,255,255,.82); }
.bento__card--cta .bento__ic img { filter: drop-shadow(0 7px 14px rgba(0,0,0,.42)); }
.bento__card--cta .btn { display: inline-block; margin-top: 12px; clear: right; }
[dir="rtl"] .bento__ic { float: left; margin: 0 16px 8px 0; }
[dir="rtl"] .bento__card--hero .bento__ic { float: none; align-self: flex-start; margin: 0 0 4px 0; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--hero, .bento__card--wide, .bento__card--sm, .bento__card--cta { grid-column: span 1; grid-row: auto; }
  .bento__card--hero { justify-content: flex-start; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

/* =========================================================================
   Animated hero visual (app / personal-cabinet scenes + orbiting widgets + 3D)
   ========================================================================= */
.hero { overflow: hidden; }
.heroviz { position: relative; min-height: 560px; }
@media (min-width: 861px) { .heroviz { min-height: 580px; } }
.hv-scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.hv-scene.hv-on { opacity: 1; }
.hv-decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hv-decor img { position: absolute; filter: drop-shadow(0 22px 34px rgba(50,22,110,.4)); animation: hvfloat 9s ease-in-out infinite; }
@keyframes hvfloat { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-14px) rotate(4deg)} }
.hv-d1 { top: 2%; left: 4%; width: 96px; }
.hv-d2 { bottom: 3%; left: 0%; width: 120px; animation-delay: -3s; }
.hv-d3 { top: 0%; right: 6%; width: 100px; animation-delay: -1.5s; }
.hv-d4 { bottom: 10%; right: 3%; width: 74px; animation-delay: -5.5s; }
.hv-3d { display: block; height: auto; max-width: none; transform: translate(-50%,-50%); filter: drop-shadow(0 16px 28px rgba(50,22,110,.42)); }
.hv-orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 4; animation: hvorb 80s linear infinite; }
@keyframes hvorb { to { transform: rotate(360deg); } }
.hv-slot { position: absolute; left: 0; top: 0; transform: rotate(var(--a)) translate(var(--r)); }
.hv-detilt { transform: rotate(calc(var(--a) * -1)); }
.hv-spinc { animation: hvorbrev 80s linear infinite; }
@keyframes hvorbrev { to { transform: rotate(-360deg); } }
.hv-fl { animation: hvfl 6s ease-in-out infinite; }
@keyframes hvfl { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.hv-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 6; }
.hv-phone { width: 202px; background: #0d0d12; border-radius: 36px; padding: 8px; box-shadow: 0 46px 80px -34px rgba(60,28,120,.55); }
.hv-phone img { width: 100%; height: auto; display: block; border-radius: 30px; }
.hv-laptop { width: 500px; max-width: 84%; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.85); box-shadow: 0 46px 90px -36px rgba(60,28,120,.5); }
.hv-laptop .hv-bar { height: 30px; background: #f3f0fa; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #eee; }
.hv-laptop .hv-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7d2e6; display: block; }
.hv-laptop img { width: 100%; display: block; }
.hv-lg { transform: translate(-50%,-50%); border-radius: 18px; background: rgba(255,255,255,.5);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255,255,255,.8); box-shadow: 0 18px 44px -20px rgba(80,40,160,.42), inset 0 1px 0 rgba(255,255,255,.9);
  padding: 12px 14px; width: max-content; }
.hv-lg--v { background: linear-gradient(150deg, rgba(124,79,214,.9), rgba(79,44,169,.84)); border-color: rgba(255,255,255,.35); }
.hv-t { font-size: 12px; font-weight: 700; color: var(--navy-900); }
.hv-lg--v .hv-t { color: #fff; }
.hv-s { font-size: 11px; color: var(--text-muted); margin-top: 2px; font-weight: 500; }
.hv-big { font-size: 18px; font-weight: 800; color: var(--navy-900); letter-spacing: -.02em; }
.hv-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12.5px; color: var(--navy-900); white-space: nowrap; }
.hv-chip .hv-d { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--purple-100); color: var(--purple-700); flex: none; font-size: 13px; }
.hv-chip .hv-g { background: #dcfce7; color: #16a34a; }
.hv-bars { display: flex; align-items: flex-end; gap: 6px; height: 38px; margin: 8px 0 2px; }
.hv-bars i { width: 9px; background: linear-gradient(#34d399,#22c55e); border-radius: 3px; display: block; }
.hv-bars i:nth-child(1){height:40%}.hv-bars i:nth-child(2){height:66%}.hv-bars i:nth-child(3){height:100%}.hv-bars i:nth-child(4){height:54%}.hv-bars i:nth-child(5){height:78%}
.hv-grn { color: #16a34a; font-weight: 800; }
.hv-row { display: flex; align-items: center; gap: 8px; }
.hv-row .hv-bk { width: 24px; height: 24px; border-radius: 7px; background: #16a34a; color: #fff; font-weight: 800; font-size: 10px; display: grid; place-items: center; flex: none; }
[dir="rtl"] .hv-s, [dir="rtl"] .hv-chip { text-align: right; }
@media (prefers-reduced-motion: reduce) { .hv-orbit, .hv-spinc, .hv-fl, .hv-decor img { animation: none !important; } }
@media (max-width: 860px) {
  .heroviz { min-height: 0; margin-top: var(--sp-4); }
  .hv-orbit, .hv-decor { display: none; }
  .hv-scene { position: static; display: none; opacity: 1; transition: none; }
  .hv-scene.hv-on { display: block; }
  .hv-center { position: static; transform: none; display: flex; justify-content: center; }
  .hv-laptop { width: min(460px, 92%); }
  .hv-phone { width: 210px; }
}

/* --- Contacts modal --- */
.cmodal { display: flex; flex-direction: column; gap: 10px; }
.cmodal__row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--navy-800); font-weight: 600; font-size: 0.95rem; transition: border-color .2s, color .2s, background .2s; }
.cmodal__row:hover { border-color: var(--accent); color: var(--accent-strong); background: var(--purple-tint); }
.cmodal__ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--purple-100); color: var(--accent-strong); }
.cmodal__socials { display: flex; gap: 12px; margin-top: 18px; }
.cmodal__socials a { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--navy-800); transition: border-color .2s, color .2s; }
.cmodal__socials a:hover { border-color: var(--accent); color: var(--accent); }
