/* ============================================================
   Tadkek — public stylesheet (the only CSS on public pages)
   Design language: "دفتر مدقّق" — ledger precision. Hairline
   rules, dotted leader lines, tabular numerals, brand blue on
   ink. One accent job per color; WhatsApp green only for
   WhatsApp actions.
   ============================================================ */

/* ---- Self-hosted Cairo (variable weight 400–900, Arabic only) ----
   Latin text and digits intentionally fall back to Segoe UI/Tahoma:
   dropping cairo-latin.woff2 saves 33KB on every page. Both fallbacks
   ship Arabic glyphs too, so text stays readable before Cairo loads
   (font-display: swap — no FOIT). ---- */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/cairo-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+1EE00-1EEF1;
}

/* ---- Tokens ---- */
:root {
  --ink: #0F1E33;
  --ink-soft: #1B2E4B;
  --blue: #1D63FF;
  --blue-deep: #0E3EAD;
  --sky: #EEF4FF;
  --tint: #F7FAFF;
  --line: #E3EAF6;
  --slate: #53627D;
  --paper: #FFFFFF;
  --wa: #1FAD5E;
  --wa-deep: #178A4B;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(15, 30, 51, .25);
  --font: 'Cairo', 'Segoe UI', Tahoma, system-ui, sans-serif;
}

/* ---- Reset (lite) ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.35; font-weight: 900; letter-spacing: -.3px; }
h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

.lead { font-size: 1.15rem; color: var(--slate); }

/* Money and figures always align like a ledger */
.num, .price, .hero-stats dd { font-variant-numeric: tabular-nums; }

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---- Accessibility ---- */
.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -64px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(29, 99, 255, .55);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 26px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 32px; font-size: 1.08rem; }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }

.btn-ghost { border-color: var(--line); color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--sky); }

.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--sky); }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-deep); }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 70px;
}
.brand-logo { width: 129px; height: 44px; object-fit: contain; }

.menu { display: flex; align-items: center; gap: 2px; font-weight: 700; font-size: .98rem; }
.menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--ink-soft);
}
.menu > li > a:hover { color: var(--blue); background: var(--sky); }
.caret { font-size: .62em; color: var(--slate); }

/* Dropdown panels (CSS only: hover + focus-within) */
.has-sub { position: relative; }
.sub {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  min-width: 240px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.sub::before { /* hover bridge so the panel doesn't close in the gap */
  content: "";
  position: absolute;
  top: -12px;
  inset-inline: 0;
  height: 12px;
}
.has-sub:hover .sub,
.has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(4px); }
.sub a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.sub a:hover { background: var(--sky); color: var(--blue); }
.sub .sub-all { color: var(--blue); font-weight: 700; border-top: 1px dotted var(--line); border-radius: 0 0 9px 9px; margin-top: 4px; }

.header-cta { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.menu-bars { display: grid; gap: 5px; width: 20px; }
.menu-bars span { height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] .menu-bars span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-bars span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile panel */
.mobile-panel {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 6px 20px 20px;
}
.mobile-panel > a, .mobile-panel summary {
  display: block;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.mobile-panel summary { list-style: none; position: relative; }
.mobile-panel summary::-webkit-details-marker { display: none; }
.mobile-panel summary::after {
  content: "▾";
  position: absolute;
  inset-inline-end: 4px;
  color: var(--slate);
  font-size: .8em;
  transition: transform .2s ease;
}
.mobile-panel details[open] summary::after { transform: rotate(180deg); }
.mobile-panel details ul { padding: 4px 14px 10px; border-bottom: 1px solid var(--line); }
.mobile-panel details a { display: block; padding: 9px 2px; font-weight: 600; color: var(--ink-soft); }
.mobile-panel details a:hover { color: var(--blue); }
.mobile-panel .mobile-cta { margin-top: 16px; border-bottom: none; text-align: center; color: #fff; }

/* ---- Eyebrow: ledger leader line (signature) ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 42px;
  border-top: 2px dotted rgba(29, 99, 255, .45);
}

/* ---- Sections (shared scaffolding for all pages) ---- */
section { scroll-margin-top: 82px; }
.sec { padding: 76px 0; }
.sec-tint { background: var(--tint); border-block: 1px solid var(--line); }
.sec-head { max-width: 660px; margin: 0 auto 46px; text-align: center; }
.sec-head p { color: var(--slate); font-size: 1.1rem; margin-top: 10px; }

/* ---- Breadcrumbs ---- */
.breadcrumbs { background: var(--tint); border-bottom: 1px solid var(--line); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 11px 0; font-size: .86rem; color: var(--slate); }
.breadcrumbs li { display: flex; align-items: center; gap: 4px; }
.breadcrumbs li + li::before { content: "›"; color: var(--slate); opacity: .6; padding-inline: 4px; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 700; }

/* ---- Hero (Phase 1 minimal) ---- */
.hero {
  background:
    radial-gradient(760px 380px at 88% -8%, var(--sky) 0%, rgba(255, 255, 255, 0) 62%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 76px 0 68px;
}
.hero h1 { margin-bottom: 16px; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 8px;
  margin-top: 42px;
  max-width: 520px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 8px;
}
.hero-stats .stat {
  flex: 1;
  display: flex;
  flex-direction: column-reverse;
  text-align: center;
  padding-inline: 10px;
}
.hero-stats .stat + .stat { border-inline-start: 1px dotted var(--line); }
.hero-stats dd { font-size: 1.7rem; font-weight: 900; color: var(--blue-deep); line-height: 1.2; }
.hero-stats dt { font-size: .86rem; font-weight: 600; color: var(--slate); }

/* ---- CTA band (reused across pages) ---- */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  padding: 54px 32px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: #C4D0E4; max-width: 560px; margin: 0 auto 26px; }
.cta-band .cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: #A9B6CC;
  padding: 54px 0 26px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 38px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-logo { filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-brand p { font-size: .95rem; max-width: 300px; }
.footer-wa { display: inline-block; margin-top: 14px; font-weight: 700; color: #fff; }
.footer-wa:hover { color: #6BE3A2; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer-col a { display: block; padding: 4px 0; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; text-align: center; font-size: .88rem; color: #7487A3; }

/* ---- Floating WhatsApp ---- */
.wa-fab {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px -8px rgba(31, 173, 94, .65);
  transition: transform .15s ease;
}
.wa-fab:hover { transform: translateY(-3px); }

/* ---- Error page ---- */
.error-page { padding: 90px 0; text-align: center; }
.error-code {
  font-size: clamp(4.5rem, 12vw, 7rem);
  font-weight: 900;
  line-height: 1;
  color: var(--sky);
  -webkit-text-stroke: 2px var(--blue);
  font-variant-numeric: tabular-nums;
}
.error-page h1 { margin: 10px 0 8px; }
.error-page .lead { max-width: 460px; margin: 0 auto 26px; }
.error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.error-links a {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--tint);
}
.error-links a:hover { color: var(--blue); border-color: var(--blue); background: var(--sky); }

/* ---- Page head (internal pages) ---- */
.page-head {
  background:
    radial-gradient(700px 340px at 88% -10%, var(--sky) 0%, rgba(255, 255, 255, 0) 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 50px;
}
.page-head h1 { max-width: 760px; margin-bottom: 14px; }
.page-head .lead { max-width: 640px; margin-bottom: 6px; }
.page-head .hero-actions { margin-top: 24px; }

.container-narrow { max-width: 820px; }
.pt-0 { padding-top: 0; }
.h3 { font-size: 1.2rem; font-weight: 800; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.text-link { color: var(--blue); font-weight: 700; }
.text-link:hover { color: var(--blue-deep); text-decoration: underline; }
.sec-foot { text-align: center; margin-top: 30px; color: var(--slate); font-weight: 600; }

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.card h3, .card .h3 { margin-bottom: 8px; }
.card p { color: var(--slate); font-size: .97rem; }
.card-ic {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 13px;
  background: var(--sky);
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.card-link { position: relative; transition: border-color .15s ease, transform .15s ease; }
.card-link:hover { border-color: var(--blue); transform: translateY(-3px); }
.card-link h3 a::after, .card-link .h3 a::after { content: ""; position: absolute; inset: 0; }
.card-link h3 a:hover, .card-link .h3 a:hover { color: var(--blue); }
.card-more { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 700; font-size: .92rem; }

.card-service .btn { margin-top: 16px; }

/* Tick lists (ledger checkmarks) */
.ticks { display: grid; gap: 9px; margin: 14px 0 6px; }
.ticks li { position: relative; padding-inline-start: 26px; font-size: .97rem; color: var(--ink-soft); }
.ticks li::before { content: "✔"; position: absolute; inset-inline-start: 0; color: var(--wa); font-weight: 900; font-size: .9em; }
.ticks-lg li { font-size: 1.05rem; padding-block: 3px; }
.container-narrow h2 { margin: 34px 0 14px; }
.container-narrow h2:first-child { margin-top: 0; }

/* ---- Chips (industry links) ---- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips a {
  display: inline-block;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--tint);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink-soft);
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.chips a:hover { border-color: var(--blue); color: var(--blue); background: var(--sky); }
.chips .chip-all { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips .chip-all:hover { background: var(--blue-deep); color: #fff; }
.chips-grid { justify-content: flex-start; }

/* ---- Plans ---- */
.plan {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
}
.plan-head { text-align: center; padding-bottom: 18px; border-bottom: 1px dotted var(--line); }
.plan-price { margin-top: 8px; }
.plan-price .price { font-size: 2.6rem; font-weight: 900; letter-spacing: -1px; line-height: 1.1; }
.plan-price .price.ondemand { font-size: 1.7rem; letter-spacing: 0; }
.plan-price .cur { font-size: 1.25rem; font-weight: 800; margin-inline-start: 5px; }
.plan-per { color: var(--slate); font-size: .92rem; }
.plan-feats { display: grid; gap: 11px; padding: 20px 2px; flex: 1; }
.plan-feats li { display: flex; align-items: baseline; gap: 10px; font-weight: 600; font-size: .95rem; }
.plan-feats .fi { font-weight: 900; font-size: .85em; }
.plan-feats .yes .fi { color: var(--wa); }
.plan-feats .no { color: #A2ADC0; }
.plan-feats .no .fi { color: #C4CCDA; }
.plan-feats .no .txt { text-decoration: line-through; }
.plan-foot { text-align: center; border-top: 1px dotted var(--line); padding-top: 20px; }
.plan-foot .btn { min-width: 160px; }

.plan.is-featured, .plan-mini.is-featured {
  background: linear-gradient(170deg, var(--ink) 0%, #14315F 100%);
  border-color: transparent;
  color: #fff;
}
.plan.is-featured .plan-head, .plan.is-featured .plan-foot { border-color: rgba(255, 255, 255, .25); }
.plan.is-featured .plan-per, .plan.is-featured .plan-feats li { color: #D7E1F2; }
.plan.is-featured .plan-feats .yes .fi { color: #6BE3A2; }
.plan.is-featured .plan-feats .no { color: rgba(255, 255, 255, .55); }
.plan.is-featured .plan-feats .no .fi { color: rgba(255, 255, 255, .4); }

/* Homepage pricing summary */
.plan-mini { text-align: center; display: flex; flex-direction: column; gap: 8px; }
.plan-mini .btn { margin-top: auto; }
.plan-mini-price .price { font-size: 2.1rem; font-weight: 900; }
.plan-mini-price .price.ondemand { font-size: 1.4rem; }
.plan-mini-price .cur { font-weight: 800; margin-inline-start: 4px; }
.plan-mini-price .per { display: block; color: var(--slate); font-size: .88rem; }
.plan-mini.is-featured p, .plan-mini.is-featured .plan-mini-price .per { color: #D7E1F2; }

/* ---- Steps ---- */
.step { text-align: center; }
.step-n {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
}
.steps-detailed { display: grid; gap: 18px; max-width: 820px; margin-inline: auto; }
.steps-detailed .card { display: flex; gap: 20px; align-items: flex-start; }
.steps-detailed .step-n { margin: 4px 0 0; flex-shrink: 0; }
.steps-detailed h2 { margin-bottom: 6px; }

/* ---- FAQ (pure HTML details, content always in source) ---- */
.faq-list { display: grid; gap: 12px; margin-bottom: 44px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 16px 0;
  padding-inline-end: 34px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h2 { display: inline; font-size: 1.08rem; font-weight: 700; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px dotted var(--line); }
.faq-item > p { padding: 14px 0 18px; color: var(--slate); }

/* ---- Hero split (homepage) ---- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}
/* CSS-drawn dashboard */
.dash {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dash-top {
  display: flex;
  gap: 6px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  background: var(--tint);
}
.dash-top .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dash-top .dot:first-child { background: #FF5F57; }
.dash-top .dot:nth-child(2) { background: #FEBC2E; }
.dash-top .dot:nth-child(3) { background: #28C840; }
.dash-body { padding: 18px; display: grid; gap: 14px; }
.dash-row { display: flex; gap: 12px; }
.dash-stat {
  flex: 1;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.dash-top { align-items: center; }
.dash-title { margin-inline-start: 8px; font-size: .76rem; font-weight: 700; color: var(--ink-soft); }
.dash-demo {
  margin-inline-start: auto;
  font-size: .66rem;
  font-weight: 700;
  color: var(--slate);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 9px;
  white-space: nowrap;
}
.dash-stat .t { display: block; font-size: .78rem; color: var(--slate); font-weight: 600; }
.dash-stat .v { display: block; font-size: 1.25rem; font-weight: 900; }
.dash-stat .v.up { color: var(--wa-deep); }
.dash-stat .d { display: block; margin-top: 2px; font-size: .68rem; font-weight: 700; color: var(--slate); }
.dash-stat .d.up { color: var(--wa-deep); }
.dash-chart-wrap {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 15px 8px;
}
.dash-chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.dash-chart-head .t { font-size: .78rem; color: var(--slate); font-weight: 600; }
.dash-chart-head .total { font-size: .92rem; font-weight: 900; }
.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 104px;
  padding-top: 18px; /* room for the peak-day value flag */
  border-bottom: 1px dotted var(--line);
}
.dash-chart i { flex: 1; position: relative; background: linear-gradient(to top, var(--blue), #6FA0FF); border-radius: 6px 6px 3px 3px; }
.dash-chart i.hi { background: linear-gradient(to top, var(--blue-deep), var(--blue)); }
.dash-chart i.hi::after {
  content: attr(data-v);
  position: absolute;
  bottom: 100%;
  inset-inline-start: 50%;
  transform: translateX(50%) translateY(-4px);
  font-size: .62rem;
  font-weight: 700;
  color: var(--blue-deep);
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 6px;
  white-space: nowrap;
}
.dash-days { display: flex; gap: 9px; margin-top: 5px; }
.dash-days span { flex: 1; text-align: center; font-size: .64rem; font-weight: 600; color: var(--slate); }
.dash-mini .dash-cell {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 14px;
}
.dash-cell .t { font-size: .76rem; color: var(--slate); font-weight: 600; }
.dash-cell .v { font-weight: 900; font-size: .95rem; }
.dash-conn { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--wa-deep); font-size: .78rem; white-space: nowrap; }
.dash-conn .cdot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); flex-shrink: 0; }
.dash-invoice {
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--tint);
  border: 1px dotted var(--line);
  border-radius: 12px;
  padding: 11px 14px;
}
.dash-invoice .ok {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  font-size: .8rem;
  flex-shrink: 0;
}

/* ---- Contact ---- */
.contact-card { text-align: center; max-width: 560px; margin: 0 auto 36px; padding: 36px 28px; }
.contact-number { font-size: 1.9rem; font-weight: 900; color: var(--blue-deep); margin: 6px 0 4px; }
.contact-links { margin-top: 8px; }

/* ---- Industries hub groups ---- */
.industry-group { max-width: 900px; margin: 0 auto 30px; }
.industry-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 13px;
}
.industry-group-title::after {
  content: "";
  flex: 1;
  border-top: 2px dotted var(--line);
}

/* Long-form paragraphs on tinted sections */
.prose-p { color: var(--ink-soft); margin-bottom: 16px; }
.prose-p:last-child { margin-bottom: 0; }

/* ---- Buttons on dark ---- */
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }

/* ---- Responsive ---- */
@media (min-width: 1021px) {
  .mobile-panel { display: none !important; }
}
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 600px) {
  .header-cta .btn-primary { display: none; }
}
@media (max-width: 1020px) and (min-width: 761px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sec { padding: 58px 0; }
  .hero { padding: 54px 0 50px; }
  .hero-actions .btn { flex: 1; min-width: 150px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .plans-full .plan { max-width: 440px; margin-inline: auto; width: 100%; }
  .steps-detailed .card { flex-direction: column; }
  .page-head { padding: 44px 0 40px; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-stats { max-width: none; }
}

/* ---- Blog (Phase 6) ---- */
.post-meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 0.84rem; color: var(--slate); margin-bottom: 10px;
}
.post-category { color: var(--blue); font-weight: 700; }
.post-card h2 { margin-bottom: 8px; }
.post-card .post-cover { border-radius: 10px; margin: -6px 0 14px; border: 1px solid var(--line); }
.article-cover { margin-bottom: 30px; }
.article-cover img { border-radius: var(--radius); border: 1px solid var(--line); }
.blog-pagination { display: flex; gap: 12px; justify-content: center; margin-top: 34px; }

.article-body { font-size: 1.04rem; }
.article-body h2 {
  font-size: 1.45rem; margin: 40px 0 14px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.article-body h3 { font-size: 1.12rem; margin: 26px 0 10px; }
.article-body p { color: var(--slate); line-height: 2; margin-bottom: 14px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-inline-start: 22px; }
.article-body li { color: var(--slate); line-height: 1.95; margin-bottom: 8px; }
.article-body li strong, .article-body p strong { color: var(--ink); }
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--blue-deep); }
/* Editor-insertable elements (allowed by the sanitizer) */
.article-body img { border-radius: var(--radius); margin: 18px 0; }
.article-body figure { margin: 18px 0; }
.article-body figcaption { font-size: .86rem; color: var(--slate); text-align: center; margin-top: 8px; }
.article-body blockquote {
  margin: 18px 0; padding: 12px 18px;
  border-inline-start: 3px solid var(--blue);
  background: var(--tint); border-radius: 0 10px 10px 0;
  color: var(--ink-soft);
}
.article-body .table-wrap, .article-body table { max-width: 100%; }
.article-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .95rem; display: block; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 9px 13px; text-align: start; }
.article-body th { background: var(--tint); font-weight: 700; color: var(--ink); }
.article-body td { color: var(--slate); }

.article-tags { margin-top: 30px; }
.chip-static {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--sky); border: 1px solid var(--line);
  color: var(--slate); font-size: 0.84rem;
}

/* ============================================================
   Motion polish (homepage trial) — transform/opacity only,
   ease-out, 180–600ms. Nothing here hides content without JS:
   the reveal states exist only under html.js-reveal, which is
   added by site.js; the hero entrance is pure CSS and always
   ends fully visible. All of it dies in the reduced-motion
   block below.
   ============================================================ */
:root { --ease-out: cubic-bezier(.22, .7, .3, 1); }

/* Header gains a hint of depth once the page is scrolled (class via JS) */
.site-header { transition: box-shadow .22s var(--ease-out), border-color .22s var(--ease-out); }
.site-header.is-scrolled { border-bottom-color: #D5DEEF; box-shadow: 0 6px 16px -14px rgba(15, 30, 51, .4); }

/* Mobile menu opens softly (falls back to instant without the class) */
.mobile-panel:not(.is-open):not([hidden]) { opacity: 0; transform: translateY(-6px); }
.mobile-panel.is-open { opacity: 1; transform: none; transition: opacity .24s var(--ease-out), transform .24s var(--ease-out); }

/* Hero entrance — pure CSS, staggered, everything settled by 660ms */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: rise .42s var(--ease-out) both; }
.hero-text > :nth-child(2) { animation-delay: .06s; }
.hero-text > :nth-child(3) { animation-delay: .12s; }
.hero-text > :nth-child(5) { animation-delay: .24s; }
.hero-text > .hero-actions { animation: none; } /* the buttons stagger individually instead */
.hero-text .hero-actions .btn { animation: rise .42s var(--ease-out) both; }
.hero-text .hero-actions .btn:nth-child(1) { animation-delay: .18s; }
.hero-text .hero-actions .btn:nth-child(2) { animation-delay: .24s; }
.hero-visual .dash { animation: settle .56s var(--ease-out) .1s both; }

/* The one ambient indicator: the JoFotara tick breathes gently */
@keyframes tick-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.dash-invoice .ok { animation: tick-pulse 2.6s ease-in-out .9s infinite; }

/* Reveal-once on scroll — states exist only when JS added .js-reveal */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.js-reveal [data-reveal].in { opacity: 1; transform: none; }
.js-reveal [data-reveal]:nth-child(2) { transition-delay: .06s; }
.js-reveal [data-reveal]:nth-child(3) { transition-delay: .12s; }
.js-reveal [data-reveal]:nth-child(4) { transition-delay: .18s; }

/* Feature cards: quiet lift, icon follows by 2px */
#features .card { transition: border-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
#features .card:hover { transform: translateY(-3px); border-color: #C9D8F5; box-shadow: 0 10px 22px -18px rgba(15, 30, 51, .45); }
#features .card-ic { transition: transform .2s var(--ease-out); }
#features .card:hover .card-ic { transform: translateY(-2px); }

/* Pricing: border/background shift only — no scale, no glow */
#pricing .plan-mini { transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out); }
#pricing .plan-mini:not(.is-featured):hover { border-color: #C9D8F5; background-color: var(--tint); }

/* Industry chips: underline fades in under the existing hover colors */
#industries .chips a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: border-color .15s ease, color .15s ease, background .15s ease, text-decoration-color .2s var(--ease-out);
}
#industries .chips a:hover { text-decoration-color: currentColor; }

/* WhatsApp button: one restrained nudge per session (class via JS) */
@keyframes fab-nudge { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px); } }
.wa-fab.wa-nudge { animation: fab-nudge .55s var(--ease-out) 2; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-text > *, .hero-text .hero-actions .btn, .hero-visual .dash { opacity: 1 !important; transform: none !important; }
}
