/* ==========================================================
   Taqdom — تقدّم | Design System
   Glassmorphism · Light & Glowing · RTL Arabic
   ========================================================== */

:root {
  /* Palette — light & luminous */
  --bg: #f4f7ff;
  --bg-2: #eef3ff;
  --surface: rgba(255, 255, 255, 0.55);
  --surface-strong: rgba(255, 255, 255, 0.78);
  --surface-soft: rgba(255, 255, 255, 0.35);
  --border: rgba(255, 255, 255, 0.65);
  --border-dim: rgba(99, 102, 241, 0.14);

  --ink: #141a33;
  --ink-2: #3c4566;
  --ink-3: #6b7494;

  --brand: #6d5cff;
  --brand-2: #38bdf8;
  --brand-3: #c084fc;
  --mint: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;

  --grad: linear-gradient(120deg, #6d5cff 0%, #38bdf8 55%, #34d399 100%);
  --grad-soft: linear-gradient(120deg, rgba(109, 92, 255, .14), rgba(56, 189, 248, .14), rgba(52, 211, 153, .14));

  --glow-brand: 0 0 40px rgba(109, 92, 255, .35);
  --glow-cyan: 0 0 46px rgba(56, 189, 248, .35);

  --shadow-sm: 0 4px 14px rgba(30, 41, 82, .07);
  --shadow-md: 0 14px 44px rgba(30, 41, 82, .12);
  --shadow-lg: 0 30px 80px rgba(30, 41, 82, .16);

  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 34px;

  --font-head: "Cairo", "Tajawal", sans-serif;
  --font-body: "Tajawal", "Cairo", sans-serif;

  --nav-h: 76px;
  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
::selection { background: rgba(109, 92, 255, .25); }

/* ---------- Ambient glowing background ---------- */
.bg-scene {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(56, 189, 248, .18), transparent 60%),
    radial-gradient(1000px 620px at 8% 12%, rgba(109, 92, 255, .16), transparent 60%),
    radial-gradient(900px 700px at 50% 115%, rgba(52, 211, 153, .14), transparent 60%),
    linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
}
.bg-scene::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
  animation: float 14s ease-in-out infinite;
}
.orb-1 { width: 420px; height: 420px; top: -120px; inset-inline-start: -80px; background: radial-gradient(circle, #a5b4fc, transparent 70%); }
.orb-2 { width: 380px; height: 380px; top: 20vh; inset-inline-end: -120px; background: radial-gradient(circle, #7dd3fc, transparent 70%); animation-delay: -4s; }
.orb-3 { width: 340px; height: 340px; bottom: -100px; inset-inline-start: 30%; background: radial-gradient(circle, #6ee7b7, transparent 70%); animation-delay: -8s; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-38px) scale(1.06); }
}

/* ---------- Layout helpers ---------- */
.container { width: min(var(--container), 92%); margin-inline: auto; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }

.skip-link {
  position: absolute; top: -60px; inset-inline-start: 16px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 10px;
  transition: top .25s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Glass primitives ---------- */
.glass {
  background: var(--surface);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.glass-strong {
  background: var(--surface-strong);
  backdrop-filter: blur(26px) saturate(1.6);
  -webkit-backdrop-filter: blur(26px) saturate(1.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.35; font-weight: 800; color: var(--ink); }
.h-display { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 900; line-height: 1.22; }
.h-1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 900; }
.h-2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.h-3 { font-size: 1.3rem; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 720px; }
.text-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-muted { color: var(--ink-3); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Eyebrow / badge ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border-dim);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: .86rem; font-weight: 700; color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px rgba(109, 92, 255, .8); }
.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; font-family: var(--font-head);
  transition: transform .25s, box-shadow .25s, background .25s;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px rgba(109, 92, 255, .4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 42px rgba(109, 92, 255, .5); color: #fff; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost {
  background: var(--surface-strong); color: var(--ink);
  border: 1px solid var(--border-dim);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--brand); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 14px; inset-inline: 0; z-index: 100;
  transition: top .3s;
}
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 22px;
  border-radius: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 900; font-size: 1.35rem; }
.brand img { width: 42px; height: 42px; filter: drop-shadow(0 4px 12px rgba(109, 92, 255, .4)); }
.brand small { display: block; font-size: .68rem; font-weight: 500; color: var(--ink-3); letter-spacing: .12em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: .98rem;
  color: var(--ink-2); transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(109, 92, 255, .09); color: var(--brand); }
.nav-links a.active { background: rgba(109, 92, 255, .13); color: var(--brand); font-weight: 800; }
.nav-cta { padding: 11px 24px; font-size: .95rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; background: var(--surface-strong); border: 1px solid var(--border-dim); }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 84px) 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.stat-chip {
  padding: 14px 22px; border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}
.stat-chip b { display: block; font-family: var(--font-head); font-size: 1.45rem; font-weight: 900; }
.stat-chip span { font-size: .85rem; color: var(--ink-3); }
.hero-visual { position: relative; }
.hero-visual .glass-frame {
  padding: 18px; border-radius: var(--radius-lg);
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.hero-visual img { border-radius: calc(var(--radius-lg) - 12px); width: 100%; height: auto; }
.float-card {
  position: absolute; padding: 14px 20px; border-radius: 16px;
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-family: var(--font-head); font-size: .95rem;
  box-shadow: var(--shadow-md);
  animation: heroFloat 6s ease-in-out infinite;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .76rem; color: var(--ink-3); }
.fc-1 { top: 6%; inset-inline-start: -26px; animation-delay: -2s; }
.fc-2 { bottom: 8%; inset-inline-end: -20px; animation-delay: -4s; }

/* ---------- Marquee ---------- */
.marquee { padding: 22px 0; overflow: hidden; border-block: 1px solid var(--border-dim); background: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink-2); white-space: nowrap; }
.marquee-track span::before { content: "✦"; color: var(--brand); }
@keyframes marquee { to { transform: translateX(50%); } }

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

.card { padding: 34px 30px; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .7); }
.card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
}
.card:hover::before { opacity: 1; }
.card .ic {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 20px;
  display: grid; place-items: center; color: #fff;
  background: var(--grad); box-shadow: var(--glow-brand);
}
.card .ic.cyan { background: linear-gradient(135deg, #38bdf8, #22d3ee); box-shadow: var(--glow-cyan); }
.card .ic.mint { background: linear-gradient(135deg, #34d399, #2dd4bf); box-shadow: 0 0 40px rgba(52, 211, 153, .35); }
.card .ic.violet { background: linear-gradient(135deg, #c084fc, #818cf8); box-shadow: 0 0 40px rgba(192, 132, 252, .35); }
.card .ic.amber { background: linear-gradient(135deg, #fbbf24, #fb923c); box-shadow: 0 0 40px rgba(251, 191, 36, .35); }
.card .ic.rose { background: linear-gradient(135deg, #fb7185, #f472b6); box-shadow: 0 0 40px rgba(251, 113, 133, .35); }
.card .ic svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: .98rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 800; color: var(--brand); font-size: .95rem; }
.card .card-link svg { width: 16px; height: 16px; transition: transform .25s; }
.card:hover .card-link svg { transform: translateX(-5px); }

/* ---------- Product showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.product-card { padding: 44px 38px; position: relative; overflow: hidden; }
.product-card .tag {
  position: absolute; top: 26px; inset-inline-end: 26px;
  padding: 6px 16px; border-radius: 999px; font-size: .8rem; font-weight: 800;
  background: var(--grad); color: #fff; box-shadow: var(--glow-brand);
}
.product-card .p-ic {
  width: 76px; height: 76px; border-radius: 22px; margin-bottom: 24px;
  display: grid; place-items: center; color: #fff;
  background: var(--grad); box-shadow: var(--glow-brand);
}
.product-card.cyan .p-ic { background: linear-gradient(135deg, #38bdf8, #22d3ee); box-shadow: var(--glow-cyan); }
.product-card .p-ic svg { width: 38px; height: 38px; }
.product-card h3 { font-size: 1.7rem; margin-bottom: 4px; }
.product-card .en { font-size: .9rem; font-weight: 700; color: var(--brand); letter-spacing: .08em; margin-bottom: 16px; display: block; }
.product-card p { color: var(--ink-2); margin-bottom: 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; color: var(--ink-2); font-size: .97rem; }
.check-list li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 4px; color: var(--mint); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { padding: 32px 26px; text-align: center; position: relative; }
.step::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: 18px; inset-inline-start: 18px;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 900; font-size: 1.1rem;
  background: var(--grad); color: #fff; box-shadow: var(--glow-brand);
}
.step .ic { width: 66px; height: 66px; margin: 26px auto 18px; border-radius: 20px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border-dim); color: var(--brand); }
.step .ic svg { width: 30px; height: 30px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--ink-2); }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .media { padding: 16px; border-radius: var(--radius-lg); }
.split .media img { border-radius: calc(var(--radius-lg) - 10px); }
.split h2 { margin-bottom: 18px; }
.split .lead { margin-bottom: 26px; }

/* ---------- Stats band ---------- */
.stats-band { padding: 56px 8%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-band b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 900; }
.stats-band span { color: var(--ink-3); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  color: var(--ink); text-align: start;
}
.faq-q .chev { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--grad-soft); color: var(--brand); transition: transform .3s; }
.faq-q .chev svg { width: 18px; height: 18px; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 26px 24px; color: var(--ink-2); }

/* ---------- Pricing ---------- */
.price-card { padding: 42px 34px; display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid transparent; background: linear-gradient(var(--surface-strong), var(--surface-strong)) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg), var(--glow-brand); transform: scale(1.03); }
.price-card .plan { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--brand); }
.price-card .amount { font-family: var(--font-head); font-weight: 900; font-size: 3rem; margin: 12px 0 4px; }
.price-card .amount small { font-size: 1rem; font-weight: 600; color: var(--ink-3); }
.price-card .per { color: var(--ink-3); font-size: .9rem; margin-bottom: 26px; }
.price-card ul { flex: 1; margin-bottom: 28px; }
.price-card .ribbon { position: absolute; top: 22px; inset-inline-end: 22px; padding: 5px 14px; border-radius: 999px; background: var(--grad); color: #fff; font-size: .76rem; font-weight: 800; }

/* ---------- Blog ---------- */
.post-card { overflow: hidden; display: flex; flex-direction: column; padding: 0; }
.post-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.post-card .meta { display: flex; gap: 14px; font-size: .82rem; color: var(--ink-3); margin-bottom: 10px; }
.post-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.post-card p { color: var(--ink-2); font-size: .95rem; flex: 1; }
.post-card .card-link { margin-top: 18px; }

/* ---------- Article ---------- */
.article { max-width: 800px; margin-inline: auto; }
.article-hero { padding: calc(var(--nav-h) + 70px) 0 40px; }
.article-body { font-size: 1.06rem; color: var(--ink-2); }
.article-body h2 { margin: 44px 0 16px; font-size: 1.6rem; }
.article-body h3 { margin: 32px 0 12px; font-size: 1.25rem; }
.article-body p { margin-bottom: 18px; }
.article-body ul { margin-bottom: 18px; padding-inline-start: 4px; }
.article-body ul li { position: relative; padding-inline-start: 26px; margin-bottom: 10px; }
.article-body ul li::before { content: "✦"; position: absolute; inset-inline-start: 0; color: var(--brand); }
.article-body blockquote {
  margin: 30px 0; padding: 24px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  border-inline-start: 4px solid var(--brand);
  font-family: var(--font-head); font-weight: 700; color: var(--ink);
}
.article-figure { margin: 34px 0; padding: 14px; border-radius: var(--radius); }
.article-figure img { border-radius: calc(var(--radius) - 8px); }
.article-figure figcaption { text-align: center; font-size: .85rem; color: var(--ink-3); padding-top: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: start; }
.contact-info .info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border-dim); }
.contact-info .info-row:last-child { border: none; }
.contact-info .ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border-dim); color: var(--brand); }
.contact-info .ic svg { width: 22px; height: 22px; }
.contact-info b { display: block; font-family: var(--font-head); }
.contact-info span { color: var(--ink-2); font-size: .94rem; direction: ltr; unicode-bidi: plaintext; }
.form { padding: 40px 36px; display: grid; gap: 18px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; font-family: var(--font-head); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--border-dim);
  color: var(--ink); outline: none; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brand); box-shadow: 0 0 0 4px rgba(109, 92, 255, .15);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .84rem; color: var(--ink-3); }
.form-status { display: none; padding: 14px 18px; border-radius: 14px; background: rgba(52, 211, 153, .15); border: 1px solid rgba(52, 211, 153, .4); color: #047857; font-weight: 700; }
.form-status.show { display: block; }

/* ---------- CTA band ---------- */
.cta-band { padding: 70px 8%; text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-soft);
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lead { margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.footer { margin-top: 90px; padding: 64px 0 34px; border-top: 1px solid var(--border-dim); background: rgba(255, 255, 255, .4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer .brand { margin-bottom: 16px; }
.footer p.about { color: var(--ink-2); font-size: .94rem; max-width: 320px; }
.footer h4 { font-size: 1rem; margin-bottom: 16px; color: var(--ink); }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--ink-2); font-size: .94rem; transition: color .2s; }
.footer ul a:hover { color: var(--brand); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-strong); border: 1px solid var(--border-dim);
  color: var(--ink-2); transition: all .25s;
}
.socials a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); box-shadow: var(--glow-brand); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { padding-top: 26px; border-top: 1px solid var(--border-dim); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--ink-3); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 90;
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: var(--glow-brand); opacity: 0; pointer-events: none;
  transform: translateY(16px); transition: all .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--nav-h) + 80px) 0 60px; text-align: center; }
.page-hero .lead { margin: 18px auto 0; }
.breadcrumb { display: flex; justify-content: center; gap: 10px; font-size: .88rem; color: var(--ink-3); margin-bottom: 20px; }
.breadcrumb a { color: var(--brand); font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.err-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 5%; }
.err-page .code { font-family: var(--font-head); font-weight: 900; font-size: clamp(6rem, 18vw, 11rem); line-height: 1; }
.err-page p { color: var(--ink-2); margin: 18px 0 30px; font-size: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .split .media { order: -1; }
}
@media (max-width: 760px) {
  .section { padding: 70px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .fc-1 { inset-inline-start: 0; } .fc-2 { inset-inline-end: 0; }
  .price-card.featured { transform: none; }

  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; top: calc(var(--nav-h) + 12px); inset-inline: 4%;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 18px; border-radius: 20px;
    background: var(--surface-strong);
    backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
    border: 1px solid var(--border); box-shadow: var(--shadow-lg);
    opacity: 0; pointer-events: none; transform: translateY(-14px);
    transition: all .3s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 14px 18px; }
  .nav-cta { display: none; }
}
