/* =====================================================================
   اصالة خالد — Main Stylesheet · "Bold Editorial" system
   Static, RTL-first. Depends on design-tokens.css.
   Design language: oversized Arabic display type, asymmetric off-grid,
   hairline rules instead of boxy cards, large index numbers, generous
   whitespace, magazine feel. Brand colors preserved.
   JS hook classes kept stable: reveal, reveal-stagger, data-count,
   data-carousel, port-filters, data-email, data-contact-form, nav.scrolled…
   ===================================================================== */
@import url("design-tokens.css");

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

body {
  font-family: var(--font-ar);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, textarea, select, button { font-family: inherit; }
ul, ol { list-style: none; padding: 0; }
:target { scroll-margin-top: 110px; }
h1,h2,h3,h4,h5 { line-height: var(--lh-head); letter-spacing: var(--track-head); font-weight: var(--fw-bold); }

/* ------------------------------ a11y ------------------------------- */
.skip-link { position: fixed; top: -60px; inset-inline-start: 16px; z-index: var(--z-top);
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: var(--r-sm); font-weight: var(--fw-semi); transition: top var(--t-fast); }
.skip-link:focus { top: 16px; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-xs); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ----------------------------- layout ------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--maxw-wide); }
.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: var(--section-y-tight); }
.bg-alt { background: var(--bg-alt); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.center-text { text-align: center; }
.mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); }
.measure { max-width: var(--maxw-prose); }

/* Hairline rule — the signature editorial divider */
.rule { height: 1px; background: var(--line-strong); border: 0; width: 100%; }
.section > .container > .rule, .rule.top { margin-bottom: var(--sp-7); }

/* Kicker label with parenthetical number: (01) قسم */
.kicker-label { display: inline-flex; align-items: baseline; gap: 10px; font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semi); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--brand-700); }
.kicker-label .n { font-feature-settings: "tnum"; color: var(--ink-mute); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-eyebrow); font-weight: var(--fw-semi);
  letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--brand-700); margin-bottom: var(--sp-4); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }

/* Editorial section header — headline left/large, note offset */
.sec-head { display: grid; grid-template-columns: 1.5fr .8fr; gap: var(--sp-6) var(--sp-8); align-items: end; margin-bottom: var(--sp-7); }
.sec-head.solo { grid-template-columns: 1fr; }
.sec-head .note { color: var(--text-soft); font-size: var(--fs-lead); align-self: end; }
.h-display { font-size: var(--fs-display); line-height: 1.06; letter-spacing: -.025em; font-weight: var(--fw-bold); }
.h-section { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -.02em; max-width: 16ch; }
.accent { color: var(--brand); }

/* Animated orange underline draw-in */
.underline-draw { position: relative; display: inline; background-image: linear-gradient(var(--brand), var(--brand));
  background-repeat: no-repeat; background-position: right 92%; background-size: 0% 4px; padding-bottom: 2px; }
.reveal.in .underline-draw, .in .underline-draw { transition: background-size var(--t-rev) .2s var(--e-out); background-size: 100% 4px; }

/* ---------------------------- buttons ------------------------------ */
.btn { display: inline-flex; align-items: center; gap: 12px; justify-content: center; padding: 15px 30px;
  border-radius: var(--r-pill); font-weight: var(--fw-semi); font-size: var(--fs-body);
  background: var(--brand); color: #fff; position: relative; overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-base); box-shadow: var(--glow-sm); }
.btn .arr { transition: transform var(--t-base); display: inline-block; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn:hover .arr { transform: translateX(-6px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { box-shadow: var(--ring), var(--glow-sm); }
.btn::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--rx,50%) var(--ry,50%), rgba(255,255,255,.35), transparent 45%); opacity: 0; transition: opacity .5s var(--e-out); }
.btn:active::after { opacity: 1; transition: none; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-dark { background: var(--ink); color: var(--on-dark); box-shadow: none; }
.btn-lg { padding: 18px 36px; font-size: var(--fs-lead); }

/* Editorial text link with sliding arrow + underline */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--fw-semi); color: var(--ink);
  position: relative; padding-bottom: 3px; }
.link-arrow::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px; background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform var(--t-base); }
.link-arrow .arr, .link-arrow span:last-child { transition: transform var(--t-base); color: var(--brand); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow:hover .arr, .link-arrow:hover span:last-child { transform: translateX(-6px); }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); color: var(--ink-soft); font-size: var(--fs-xs); font-weight: var(--fw-medium); }
.tag.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(46,158,91,.18); }
/* projects that are no longer live — no link means not active */
.tag.off { color: var(--ink-mute); }
.tag.off::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-mute); box-shadow: 0 0 0 3px rgba(138,127,118,.16); }

/* --------------------- scroll progress bar ------------------------- */
.progress-bar { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: var(--z-progress);
  background: var(--brand); transform: scaleX(0); transform-origin: right; will-change: transform; }

/* ------------------------------ nav -------------------------------- */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: var(--z-nav); padding-block: 20px;
  transition: padding var(--t-base), background var(--t-base), box-shadow var(--t-base); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); }
.nav.scrolled { padding-block: 11px; background: rgba(255,248,244,.78);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: var(--fw-bold); font-size: 1.15rem; color: var(--ink); letter-spacing: -.01em; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; display: inline-flex; box-shadow: var(--sh-sm); flex: none; }
.brand-mark img { width: 100%; height: 100%; }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu a { position: relative; padding: 8px 12px; color: var(--ink-soft); font-size: var(--fs-sm); font-weight: var(--fw-medium); transition: color var(--t-fast); }
.nav-menu a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 1.5px; background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform var(--t-base); }
.nav-menu a:hover { color: var(--ink); }
.nav-menu a:hover::after, .nav-menu a[aria-current="page"]::after { transform: scaleX(1); }
.nav-menu a[aria-current="page"] { color: var(--ink); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--on-dark); font-size: var(--fs-sm); font-weight: var(--fw-semi); transition: transform var(--t-fast), background var(--t-base); }
.nav-cta span { transition: transform var(--t-base); }
.nav-cta:hover { transform: translateY(-2px); background: var(--brand); }
.nav-cta:hover span { transform: translateX(-5px); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r-sm); color: var(--ink); }
.nav-toggle:hover { background: var(--brand-tint); }

/* --------------------------- mobile drawer ------------------------- */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); background: var(--ink); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: var(--gutter);
  /* reserve room for the absolutely-positioned .drawer-foot so the centered
     link list never crowds it on short screens */
  padding-bottom: 116px;
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(-100%); visibility: hidden; transition: transform var(--t-base), visibility var(--t-base); }
.drawer.open { transform: translateY(0); visibility: visible; }
/* line-height: these are display-size links, so they must not inherit the
   body's 1.9 body-copy leading — at 1.9 the 9 links stack to ~670px and
   overflow 640/667px-tall phones (first link clipped above the viewport,
   last one hidden behind .drawer-foot, with no way to scroll to either). */
.drawer a { font-size: clamp(1.7rem, 8vw, 2.6rem); font-weight: var(--fw-bold); color: var(--on-dark); letter-spacing: -.02em;
  line-height: var(--lh-tight);
  padding: 8px 4px; opacity: 0; transform: translateY(18px); display: flex; align-items: baseline; gap: 14px; }
.drawer a::before { content: "0" counter(dcount); counter-increment: dcount; font-size: .42em; color: var(--brand-400); font-feature-settings: "tnum"; }
.drawer { counter-reset: dcount; }
.drawer.open a { animation: drawerIn .5s var(--e-out) forwards; }
.drawer.open a:nth-child(2){animation-delay:.05s}.drawer.open a:nth-child(3){animation-delay:.10s}.drawer.open a:nth-child(4){animation-delay:.15s}
.drawer.open a:nth-child(5){animation-delay:.20s}.drawer.open a:nth-child(6){animation-delay:.25s}.drawer.open a:nth-child(7){animation-delay:.30s}
.drawer.open a:nth-child(8){animation-delay:.35s}.drawer.open a:nth-child(9){animation-delay:.40s}
.drawer a span { display: none; }
.drawer a:hover { color: var(--brand-400); }
@keyframes drawerIn { to { opacity: 1; transform: translateY(0); } }
.drawer-close { position: absolute; top: 22px; inset-inline-start: 22px; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); color: var(--on-dark); background: rgba(255,255,255,.06); }
.drawer-close:hover { background: rgba(255,255,255,.14); }
/* Bottom actions — kept visually separate from the nav list above
   (a hairline + reserved space via .drawer padding-bottom), and styled as
   two distinct buttons rather than plain links that read as list items. */
.drawer-foot { position: absolute; bottom: 0; inset-inline: var(--gutter);
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding-block: 20px 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.drawer-foot a { font-size: var(--fs-sm); font-weight: var(--fw-semi); opacity: 1; transform: none; animation: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-pill); min-height: 44px; }
.drawer-foot a::before { content: none; }
.drawer-foot a:first-child { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.drawer-foot a:first-child:hover { background: rgba(255, 255, 255, .1); color: var(--on-dark); }
.drawer-foot a:last-child { background: var(--brand); color: #fff; }
.drawer-foot a:last-child:hover { background: var(--brand-400); color: #fff; }
body.no-scroll { overflow: hidden; }

/* ============================ EDITORIAL HERO ======================== */
.hero { position: relative; padding-top: clamp(130px, 16vw, 200px); padding-bottom: var(--section-y-tight); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 92% 4%, rgba(232,85,30,.10), transparent 60%); }
.hero-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 52px); }
.hero-top .meta { color: var(--ink-mute); font-size: var(--fs-sm); }

.hero-display { font-size: var(--fs-mega); line-height: 1.08; letter-spacing: -.03em; font-weight: var(--fw-bold); }
.hero-display .ln { display: block; overflow: hidden; padding-block: .04em; }
.hero-display .ln > span { display: inline-block; transform: translateY(110%); }
.hero.in .hero-display .ln > span { animation: lineUp .85s var(--e-out) forwards; }
.hero.in .hero-display .ln:nth-child(2) > span { animation-delay: .10s; }
.hero.in .hero-display .ln:nth-child(3) > span { animation-delay: .20s; }
.hero.in .hero-display .ln:nth-child(4) > span { animation-delay: .30s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero-display .out { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
@supports not (-webkit-text-stroke: 1px #000) { .hero-display .out { color: var(--ink-mute); } }

.hero-lower { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-6) var(--sp-8); align-items: start;
  margin-top: clamp(28px, 4vw, 56px); padding-top: var(--sp-6); border-top: 1px solid var(--line-strong); }
.hero-lede { font-size: var(--fs-lead); color: var(--text-soft); max-width: 46ch; }
.hero-actions { display: flex; flex-direction: column; gap: 18px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-direction: column; gap: 8px; color: var(--ink-soft); font-size: var(--fs-sm); }
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

/* oversized decorative brand mark bleeding off-grid */
.hero-deco { position: absolute; top: clamp(60px,10vw,120px); inset-inline-start: -6%; width: clamp(180px, 26vw, 420px);
  opacity: .07; z-index: -1; pointer-events: none; }
.hero.in .hero-deco { animation: floaty 16s var(--e-inout) infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-22px) rotate(6deg); } }

/* ----------------------------- ticker ------------------------------ */
.ticker { overflow: hidden; padding-block: 16px; border-block: 1px solid var(--ink);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: inline-flex; white-space: nowrap; will-change: transform; animation: marquee var(--t-marquee) linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 20px; padding-inline: 20px; font-size: clamp(1.1rem,2vw,1.6rem); font-weight: var(--fw-semi); color: var(--ink); }
.ticker-item .star { color: var(--brand); }
@keyframes marquee { to { transform: translateX(50%); } }

/* ===================== INDEX LIST (services etc.) =================== */
.idx { border-top: 1px solid var(--line-strong); }
.idx-row { display: grid; grid-template-columns: auto 1.1fr 1.6fr auto; gap: var(--sp-5) var(--sp-6);
  align-items: center; padding: clamp(22px, 3vw, 38px) 8px; border-bottom: 1px solid var(--line-strong);
  position: relative; transition: padding-inline var(--t-base), background var(--t-base); }
.idx-row::before { content: ""; position: absolute; inset: 0; background: var(--brand); transform: scaleY(0); transform-origin: bottom; transition: transform var(--t-base); z-index: 0; }
.idx-row > * { position: relative; z-index: 1; }
.idx-row:hover { background: var(--brand); color: #fff; padding-inline: 22px; }
.idx-row:hover::before { transform: scaleY(1); }
.idx-num { font-size: clamp(1.2rem,2vw,1.6rem); font-weight: var(--fw-bold); color: var(--brand); font-feature-settings: "tnum"; transition: color var(--t-base); }
.idx-row:hover .idx-num { color: rgba(255,255,255,.85); }
.idx-title { font-size: var(--fs-h3); font-weight: var(--fw-bold); letter-spacing: -.01em; }
.idx-desc { color: var(--text-soft); font-size: var(--fs-body); transition: color var(--t-base); }
.idx-row:hover .idx-desc { color: rgba(255,255,255,.9); }
.idx-go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink); transition: all var(--t-base); flex: none; }
.idx-go svg { width: 20px; height: 20px; }
.idx-row:hover .idx-go { border-color: #fff; color: #fff; transform: rotate(-45deg); }

/* ========================= FEATURE / WHY grid ====================== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.feat { padding: var(--sp-7) var(--sp-5) var(--sp-6); border-bottom: 1px solid var(--line-strong);
  border-inline-start: 1px solid var(--line-strong); transition: background var(--t-base); }
.feat:hover { background: var(--surface); }
.feat .fn { font-size: 1.4rem; font-weight: var(--fw-bold); color: var(--brand-200); font-feature-settings: "tnum"; }
.feat:hover .fn { color: var(--brand); }
.feat .fico { width: 46px; height: 46px; margin: 18px 0 16px; color: var(--brand); }
.feat .fico svg { width: 100%; height: 100%; }
.feat h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.feat p { color: var(--text-soft); }
/* borders: make left column edge clean */
.feat-grid.cols-3 .feat:nth-child(3n+1) { border-inline-start: 0; }
.feat-grid.cols-2 { grid-template-columns: repeat(2,1fr); }
.feat-grid.cols-2 .feat:nth-child(2n+1) { border-inline-start: 0; }

/* ------------------------------ stats ------------------------------ */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.stat { padding: clamp(28px,4vw,48px) var(--sp-5); border-inline-start: 1px solid var(--line-strong); }
.stat:nth-child(4n+1) { border-inline-start: 0; }
.stat .num { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: var(--fw-bold); color: var(--brand); line-height: 1; display: flex; align-items: baseline; gap: 3px; font-feature-settings: "tnum"; letter-spacing: -.03em; }
.stat .num .sym { font-size: .4em; color: var(--ink); font-weight: var(--fw-semi); }
.stat .lbl { margin-top: 14px; color: var(--text-soft); font-size: var(--fs-sm); max-width: 22ch; }

/* ------------------------------ process ---------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); counter-reset: step; }
.step { padding: var(--sp-7) var(--sp-5) var(--sp-6); border-inline-start: 1px solid var(--line-strong); position: relative; }
.step:nth-child(4n+1) { border-inline-start: 0; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 2.6rem; font-weight: var(--fw-bold); color: var(--brand-200); line-height: 1; margin-bottom: var(--sp-5); font-feature-settings: "tnum"; transition: color var(--t-base); }
.step:hover::before { color: var(--brand); }
.step h4 { font-size: var(--fs-h4); margin-bottom: 10px; }
.step p { color: var(--text-soft); font-size: var(--fs-sm); }

/* ---------------------------- portfolio ---------------------------- */
.port-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--sp-6); }
.port-filters button { padding: 8px 18px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--ink-soft); font-size: var(--fs-sm); font-weight: var(--fw-medium); transition: all var(--t-fast); }
.port-filters button:hover { border-color: var(--brand); color: var(--brand-700); }
.port-filters button[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,3vw,40px) var(--grid-gap); }
.port-card { position: relative; }
.port-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r-md); background: var(--cream-2); border: 1px solid var(--line); }
.port-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.port-card:hover .port-thumb img { transform: scale(1.05); }
.port-status { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; background: rgba(255,248,244,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.port-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line-strong); }
.port-meta .cat { color: var(--brand-700); font-size: var(--fs-xs); font-weight: var(--fw-semi); letter-spacing: .06em; text-transform: uppercase; }
.port-meta .no { color: var(--ink-mute); font-size: var(--fs-xs); font-feature-settings: "tnum"; }
.port-card h3 { font-size: var(--fs-h4); margin-top: 12px; }
.port-card p { color: var(--text-soft); font-size: var(--fs-sm); margin-top: 6px; }
.port-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--brand-700); font-weight: var(--fw-semi); font-size: var(--fs-sm); }
.port-link span { transition: transform var(--t-base); }
.port-card:hover .port-link span { transform: translateX(-5px); }
.port-card.hide { display: none; }

/* ----------------------------- pricing ----------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.price { display: flex; flex-direction: column; padding: var(--sp-7) var(--sp-5); border-inline-start: 1px solid var(--line-strong); position: relative; transition: background var(--t-base); }
.price:nth-child(3n+1) { border-inline-start: 0; }
.price:hover { background: var(--surface); }
.price.popular { background: var(--ink); color: var(--on-dark); border-inline-start-color: var(--ink); }
.price.popular .amount .val, .price.popular h3 { color: var(--on-dark); }
.price.popular .amount .per, .price.popular .renew, .price.popular li { color: var(--on-dark-soft); }
.price.popular li svg { color: var(--brand-400); }
.price .ptag { font-size: var(--fs-xs); font-weight: var(--fw-semi); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; min-height: 1em; }
.price h3 { font-size: var(--fs-h3); }
.price .amount { display: flex; align-items: baseline; gap: 6px; margin-block: var(--sp-4) 4px; }
.price .amount .val { font-size: clamp(2.2rem, 3vw, 3rem); font-weight: var(--fw-bold); color: var(--ink); letter-spacing: -.03em; font-feature-settings: "tnum"; }
.price .amount .per { color: var(--ink-mute); font-size: var(--fs-sm); }
.price .renew { color: var(--ink-mute); font-size: var(--fs-xs); margin-bottom: var(--sp-5); padding-bottom: var(--sp-5); border-bottom: 1px solid var(--line-strong); }
.price.popular .renew { border-color: var(--ink-700); }
.price ul { display: grid; gap: 12px; margin-bottom: var(--sp-6); flex: 1; }
.price li { display: flex; gap: 11px; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-soft); }
.price li svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 5px; }
.price .btn { width: 100%; }

/* --------------------------- testimonials -------------------------- */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform var(--t-slow); }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }
.tcard { flex: 0 0 100%; padding-inline: 2px; }
.tcard .stars { color: var(--brand); margin-bottom: var(--sp-5); letter-spacing: 4px; font-size: 1.1rem; }
.tcard .quote { font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.5; color: var(--ink); font-weight: var(--fw-medium); letter-spacing: -.01em; max-width: 26ch; }
.tcard .quote::before { content: "”"; color: var(--brand); font-size: 1.2em; line-height: 0; margin-inline-end: 6px; }
.who { display: flex; align-items: center; gap: 14px; margin-top: var(--sp-6); }
.ava { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-weight: var(--fw-bold); font-size: 1.2rem; color: #fff; background: var(--brand); flex: none; }
.who .name { font-weight: var(--fw-bold); } .who .role { color: var(--ink-mute); font-size: var(--fs-sm); }
.carousel-nav { display: flex; align-items: center; gap: 18px; margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--line-strong); }
.carousel-dots { display: flex; gap: 8px; margin-inline-end: auto; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); transition: all var(--t-base); }
.carousel-dots button[aria-selected="true"] { background: var(--brand); width: 28px; border-radius: var(--r-pill); }
.carousel-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink); transition: all var(--t-fast); }
.carousel-arrow:hover { border-color: var(--brand); color: var(--brand); }
.carousel-arrow svg { width: 20px; height: 20px; }

/* ------------------------------- faq ------------------------------- */
.faq { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { list-style: none; cursor: pointer; padding: 26px 4px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-weight: var(--fw-semi); font-size: var(--fs-h3); transition: color var(--t-fast); }
.faq-item summary:hover { color: var(--brand-700); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { width: 26px; height: 26px; flex: none; position: relative; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; inset-inline: 3px; top: 12px; height: 2px; background: var(--brand); border-radius: 2px; transition: transform var(--t-base); }
.faq-item summary .plus::after { transform: rotate(90deg); }
.faq-item[open] summary .plus::after { transform: rotate(0); }
.faq-item .faq-a { padding: 0 4px 26px; color: var(--text-soft); max-width: 68ch; font-size: var(--fs-body); }

/* ----------------------------- cta banner -------------------------- */
.cta { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; inset-inline-end: -160px; top: -220px; background: radial-gradient(circle, rgba(232,85,30,.4), transparent 65%); pointer-events: none; }
.cta .container { position: relative; }
.cta .cta-head { font-size: var(--fs-display); line-height: 1.05; letter-spacing: -.025em; max-width: 18ch; }
.cta .cta-sub { color: var(--on-dark-soft); font-size: var(--fs-lead); margin-top: var(--sp-5); max-width: 52ch; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--sp-6); }
.cta .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.cta .btn-ghost:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; }

/* ------------------------------ contact ---------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px,5vw,72px); align-items: start; }
.form-card { }
.field { margin-bottom: var(--sp-5); }
.field label { display: block; font-weight: var(--fw-semi); font-size: var(--fs-sm); margin-bottom: 9px; }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 4px; border: 0; border-bottom: 1.5px solid var(--line-strong); background: transparent; font-size: var(--fs-body); color: var(--ink); transition: border-color var(--t-fast); border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.form-note { color: var(--ink-mute); font-size: var(--fs-sm); }
.contact-aside { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.contact-method { display: flex; gap: 16px; align-items: center; padding: var(--sp-5) 4px; border-bottom: 1px solid var(--line-strong); transition: padding-inline var(--t-base); }
.contact-method:hover { padding-inline: 12px; }
.contact-method .cico { width: 40px; height: 40px; color: var(--brand); flex: none; }
.contact-method .cico svg { width: 100%; height: 100%; }
.contact-method .m-label { font-size: var(--fs-xs); color: var(--ink-mute); }
.contact-method .m-value { font-weight: var(--fw-semi); }
.form-status { padding: 14px 18px; border-radius: var(--r-md); font-weight: var(--fw-semi); display: none; margin-top: var(--sp-4); }
.form-status.show { display: block; }
.form-status.ok { background: #eaf7ef; color: #1d6b3f; }
.list-check { display: grid; gap: 14px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); }
.list-check svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 3px; }

/* ------------------------------ footer ----------------------------- */
.foot { background: var(--ink); color: var(--on-dark-soft); padding-top: clamp(56px,7vw,96px); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--sp-6); padding-bottom: var(--sp-7); border-bottom: 1px solid var(--ink-700); }
.foot .brand { color: var(--on-dark); margin-bottom: 16px; }
.foot .blurb { color: var(--on-dark-mute); max-width: 34ch; }
.foot h5 { color: var(--on-dark); font-size: var(--fs-xs); margin-bottom: var(--sp-4); letter-spacing: .12em; text-transform: uppercase; }
.foot-col a { display: block; padding: 6px 0; color: var(--on-dark-soft); font-size: var(--fs-sm); transition: color var(--t-fast), transform var(--t-fast); }
.foot-col a:hover { color: var(--brand-400); transform: translateX(-5px); }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: var(--sp-5); color: var(--on-dark-mute); font-size: var(--fs-sm); }

/* --------------------------- wa floater ---------------------------- */
.wa-floater { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: var(--z-float); width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform var(--t-base); }
.wa-floater svg { width: 30px; height: 30px; }
.wa-floater::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: waPulse 2.6s var(--e-out) infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 70%,100% { transform: scale(1.9); opacity: 0; } }
.wa-floater:hover { transform: scale(1.08); }
.wa-tip { position: fixed; bottom: 34px; inset-inline-start: 92px; z-index: var(--z-float); background: var(--ink); color: #fff; padding: 9px 14px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: var(--fw-medium); box-shadow: var(--sh-md); opacity: 0; transform: translateX(-8px); pointer-events: none; transition: all var(--t-base); white-space: nowrap; }
.wa-floater:hover + .wa-tip { opacity: 1; transform: translateX(0); }

/* ------------------------- reveal / motion ------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-rev), transform var(--t-rev); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity var(--t-rev), transform var(--t-rev); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1){transition-delay:.02s}.reveal-stagger.in > *:nth-child(2){transition-delay:.09s}
.reveal-stagger.in > *:nth-child(3){transition-delay:.16s}.reveal-stagger.in > *:nth-child(4){transition-delay:.23s}
.reveal-stagger.in > *:nth-child(5){transition-delay:.30s}.reveal-stagger.in > *:nth-child(6){transition-delay:.37s}
.reveal-stagger.in > *:nth-child(7){transition-delay:.44s}.reveal-stagger.in > *:nth-child(8){transition-delay:.51s}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-display .ln > span { transform: none !important; animation: none !important; }
  .ticker-track, .hero-deco, .wa-floater::before { animation: none !important; }
  .underline-draw { background-size: 100% 4px !important; }
  .btn:hover, .idx-row:hover { transform: none; }
}

/* ------------------------------- loader ---------------------------- */
.loader { position: fixed; inset: 0; z-index: var(--z-top); background: var(--ink); display: grid; place-items: center; transition: opacity .5s var(--e-out), visibility .5s; }
.loader.done { opacity: 0; visibility: hidden; }
.lo-mark { display: inline-flex; align-items: center; gap: 12px; color: var(--on-dark); font-weight: var(--fw-bold); font-size: 1.4rem; letter-spacing: -.01em; }
.lo-mark .d { width: 40px; height: 40px; border-radius: 11px; background: var(--brand); animation: loPulse 1.2s var(--e-inout) infinite; }
@keyframes loPulse { 0%,100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.05); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lo-mark .d { animation: none; } }

/* ------------------------------ page hero -------------------------- */
.page-hero { padding-top: clamp(140px, 16vw, 210px); padding-bottom: var(--section-y-tight); position: relative; overflow: hidden; }
.page-hero .hero-bg { background: radial-gradient(55% 60% at 92% 0%, rgba(232,85,30,.09), transparent 62%); }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--ink-mute); font-size: var(--fs-sm); margin-bottom: var(--sp-5); }
.breadcrumb a:hover { color: var(--brand-700); }
.page-hero h1 { font-size: var(--fs-display); line-height: 1.05; letter-spacing: -.03em; max-width: 18ch; margin-bottom: var(--sp-5); }
.page-hero .lede { font-size: var(--fs-lead); color: var(--text-soft); max-width: 56ch; }
/* flex-direction must be reset explicitly: the .hero-actions rule (used by the
   homepage hero) sets column, which otherwise leaks in here and stretches the
   buttons to full width on every page-hero. */
.page-hero .hero-actions { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: var(--sp-6); }

/* ------------------------ currency: ريال عُماني --------------------- */
/* The official Omani Rial mark. Rendered as a CSS mask rather than <img>
   because an <img> is a separate document and cannot inherit currentColor —
   it would render black on the dark pricing card. The mask paints with
   background-color, so the glyph follows the surrounding text colour. */
.omr {
  display: inline-block;
  width: 1.16em; height: .58em;      /* viewBox 729.6×365.93 ≈ 2:1 */
  background-color: currentColor;
  -webkit-mask: url("../img/omr.svg") no-repeat center / contain;
  mask: url("../img/omr.svg") no-repeat center / contain;
  vertical-align: baseline;
  flex: none;
}
/* pairs the mark with a number: ٨٠ <mark> */
.omr-pair { display: inline-flex; align-items: baseline; gap: .22em; white-space: nowrap; }

/* ---------------------------- products ----------------------------- */
.prod-list { display: grid; gap: clamp(56px, 8vw, 120px); }
.prod { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.prod:nth-child(even) .prod-media { order: 2; }
.prod-media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--sh-lg); background: var(--cream-2); aspect-ratio: 4/3; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform var(--t-slow); }
.prod:hover .prod-media img { transform: scale(1.03); }
.prod-no { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: var(--fw-bold); color: var(--brand); font-feature-settings: "tnum"; }
.prod h2 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -.025em; margin: 10px 0 6px; }
.prod .p-tag { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-xs); font-weight: var(--fw-semi);
  letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700); }
.prod .p-lede { font-size: var(--fs-lead); color: var(--text-soft); margin-top: var(--sp-4); max-width: 46ch; }
.prod-feats { display: grid; gap: 11px; margin-top: var(--sp-5); }
.prod-feats li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-soft); font-size: var(--fs-sm); }
.prod-feats svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 5px; }
.prod-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: var(--sp-5); border-top: 1px solid var(--line-strong); }
.prod-stats div { padding: 16px 22px 0 0; margin-inline-end: 22px; border-inline-end: 1px solid var(--line-strong); }
.prod-stats div:last-child { border-inline-end: 0; margin-inline-end: 0; }
.prod-stats .v { font-size: 1.5rem; font-weight: var(--fw-bold); color: var(--ink); font-feature-settings: "tnum"; line-height: 1; }
.prod-stats .k { font-size: var(--fs-xs); color: var(--ink-mute); margin-top: 5px; }
.prod-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--sp-6); }

@media (max-width: 900px) {
  .prod { grid-template-columns: 1fr; }
  .prod:nth-child(even) .prod-media { order: 0; }
  .prod-media { order: 0; }
}
@media (max-width: 480px) {
  .prod-stats div { padding-inline-end: 14px; margin-inline-end: 14px; }
  .prod-stats .v { font-size: 1.25rem; }
}

/* ---------------------------- estimator ---------------------------- */
.est-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px,4vw,56px); align-items: start; }
.est-block { padding-block: var(--sp-6); border-top: 1px solid var(--line-strong); }
.est-block:first-child { border-top: 0; padding-top: 0; }
.est-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: var(--sp-5); }
.est-head .s-no { font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--brand); font-feature-settings: "tnum"; }
.est-head h3 { font-size: var(--fs-h3); letter-spacing: -.01em; }
.est-head .hint { color: var(--ink-mute); font-size: var(--fs-xs); margin-inline-start: auto; }

/* choice cards (radio) */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-in { display: block; padding: 18px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--surface); transition: border-color var(--t-fast), background var(--t-base), transform var(--t-fast); height: 100%; }
.opt-in .t { font-weight: var(--fw-semi); display: block; }
.opt-in .p { color: var(--ink-mute); font-size: var(--fs-xs); display: block; margin-top: 5px; }
.opt:hover .opt-in { border-color: var(--brand-300); transform: translateY(-2px); }
.opt input:checked + .opt-in { border-color: var(--brand); background: var(--brand-tint); }
.opt input:checked + .opt-in .p { color: var(--brand-700); }
.opt input:focus-visible + .opt-in { box-shadow: var(--ring); }

/* add-on rows (checkbox) */
.addons { border-top: 1px solid var(--line); }
.addon { display: flex; align-items: center; gap: 14px; padding: 15px 4px; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: padding-inline var(--t-fast); }
.addon:hover { padding-inline: 10px; background: var(--surface); }
.addon input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.addon .box { width: 22px; height: 22px; border: 1.5px solid var(--line-strong); border-radius: 6px; flex: none;
  display: grid; place-items: center; transition: all var(--t-fast); }
.addon .box svg { width: 14px; height: 14px; color: #fff; opacity: 0; transition: opacity var(--t-fast); }
.addon input:checked + .box { background: var(--brand); border-color: var(--brand); }
.addon input:checked + .box svg { opacity: 1; }
.addon input:focus-visible + .box { box-shadow: var(--ring); }
.addon .ad-t { font-weight: var(--fw-medium); }
.addon .ad-d { display: block; color: var(--ink-mute); font-size: var(--fs-xs); margin-top: 2px; }
.addon .ad-p { margin-inline-start: auto; font-weight: var(--fw-semi); color: var(--brand-700); font-feature-settings: "tnum"; white-space: nowrap; }

/* included-free services (shown under the paid add-ons) */
.est-included { margin-top: var(--sp-4); padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: var(--r-md); background: var(--surface); }
.est-included .inc-h { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--fw-semi); font-size: var(--fs-sm); color: var(--brand-700); }
.est-included .inc-h svg { width: 16px; height: 16px; color: var(--ok); }
.est-included ul { margin: 10px 0 0; display: grid; gap: 6px; }
.est-included li { position: relative; padding-inline-start: 18px; font-size: var(--fs-sm); color: var(--text-soft); }
.est-included li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--ok); font-weight: var(--fw-bold); }


/* summary panel */
.est-summary { position: sticky; top: 96px; background: var(--ink); color: var(--on-dark); border-radius: var(--r-lg);
  padding: var(--sp-6); box-shadow: var(--sh-lg); }
.est-summary h3 { color: #fff; font-size: var(--fs-h4); margin-bottom: var(--sp-4); }
.est-total { font-size: clamp(2.4rem,5vw,3.2rem); font-weight: var(--fw-bold); color: var(--brand-400); line-height: 1;
  letter-spacing: -.03em; font-feature-settings: "tnum"; display: flex; align-items: baseline; gap: 6px; }
.est-total .cur { font-size: .32em; color: var(--on-dark-soft); font-weight: var(--fw-semi); }
.est-sub { color: var(--on-dark-mute); font-size: var(--fs-xs); margin-top: 8px; }
.est-lines { margin-block: var(--sp-5); display: grid; gap: 9px; max-height: 230px; overflow-y: auto; }
.est-lines li { display: flex; gap: 10px; font-size: var(--fs-sm); color: var(--on-dark-soft); }
.est-lines .v { margin-inline-start: auto; color: #fff; font-feature-settings: "tnum"; white-space: nowrap; }
.est-meta { display: grid; gap: 8px; padding-block: var(--sp-4); border-top: 1px solid var(--ink-700); border-bottom: 1px solid var(--ink-700); margin-bottom: var(--sp-5); }
.est-meta div { display: flex; font-size: var(--fs-sm); color: var(--on-dark-soft); }
.est-meta .v { margin-inline-start: auto; color: #fff; font-weight: var(--fw-semi); font-feature-settings: "tnum"; }
.est-summary .btn { width: 100%; }
.est-note { color: var(--on-dark-mute); font-size: var(--fs-xs); margin-top: 14px; line-height: 1.7; }
.est-disclaimer { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--brand-tint); color: var(--brand-700); font-size: var(--fs-sm); margin-top: var(--sp-5); }
.est-disclaimer svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }

@media (max-width: 1024px) {
  .est-grid { grid-template-columns: 1fr; }
  .est-summary { position: static; }
}

/* ------------------------------ blog ------------------------------- */
.blog-list { border-top: 1px solid var(--ink); }
.blog-row { display: grid; grid-template-columns: auto 1fr auto; gap: var(--sp-4) var(--sp-6); align-items: center;
  padding: clamp(24px,3.5vw,44px) 8px; border-bottom: 1px solid var(--line-strong); position: relative; transition: padding-inline var(--t-base), background var(--t-base); }
.blog-row:hover { background: var(--surface); padding-inline: 20px; }
.blog-row .b-no { font-size: clamp(1.1rem,2vw,1.5rem); font-weight: var(--fw-bold); color: var(--brand); font-feature-settings: "tnum"; align-self: start; padding-top: 6px; }
.blog-row .b-main { min-width: 0; }
.blog-row .b-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-bottom: 10px; font-size: var(--fs-xs); color: var(--ink-mute); }
.blog-row .b-cat { color: var(--brand-700); font-weight: var(--fw-semi); letter-spacing: .06em; text-transform: uppercase; }
.blog-row h2 { font-size: var(--fs-h3); letter-spacing: -.01em; }
.blog-row .b-ex { color: var(--text-soft); margin-top: 8px; max-width: 62ch; }
.blog-row .b-go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink); transition: all var(--t-base); flex: none; }
.blog-row .b-go svg { width: 20px; height: 20px; }
.blog-row:hover .b-go { border-color: var(--brand); color: var(--brand); transform: rotate(-45deg); }

/* article (post) */
.article-hero { padding-top: clamp(128px,15vw,190px); padding-bottom: var(--section-y-tight); }
.article-hero .a-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--ink-mute); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.article-hero .a-cat { color: var(--brand-700); font-weight: var(--fw-semi); letter-spacing: .06em; text-transform: uppercase; }
.article-hero h1 { font-size: var(--fs-display); line-height: 1.08; letter-spacing: -.03em; max-width: 20ch; }
.article { max-width: 72ch; margin-inline: auto; }
.article > * + * { margin-top: 1.5rem; }
.article p { font-size: var(--fs-lead); line-height: 2; color: var(--ink-800); }
.article h2 { font-size: var(--fs-h2); letter-spacing: -.02em; margin-top: 2.6rem; }
.article h3 { font-size: var(--fs-h3); margin-top: 2rem; }
.article ul, .article ol { padding-inline-start: 1.2em; display: grid; gap: 12px; }
.article ul li { list-style: none; position: relative; padding-inline-start: 26px; color: var(--ink-800); line-height: 1.9; }
.article ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 13px; width: 12px; height: 2px; background: var(--brand); border-radius: 2px; }
.article ol { counter-reset: ol; }
.article ol li { list-style: none; position: relative; padding-inline-start: 40px; color: var(--ink-800); line-height: 1.9; }
.article ol li::before { counter-increment: ol; content: counter(ol); position: absolute; inset-inline-start: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-700); font-weight: var(--fw-bold); font-size: .85rem; display: grid; place-items: center; }
.article strong { font-weight: var(--fw-bold); color: var(--ink); }
.article em { font-style: normal; color: var(--brand-700); font-weight: var(--fw-medium); }
.article code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; background: var(--brand-tint); color: var(--brand-700); padding: 2px 7px; border-radius: 6px; direction: ltr; unicode-bidi: isolate; }
.article blockquote { border-inline-start: 3px solid var(--brand); padding-inline-start: 20px; color: var(--ink); font-size: var(--fs-h4); font-weight: var(--fw-medium); }
.article a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
.article-cta { margin-top: var(--sp-8); padding: clamp(24px,4vw,40px); border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--bg-alt); }
.article-cta h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.article-cta p { color: var(--text-soft); margin-bottom: var(--sp-4); }
.article-share { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--line-strong); color: var(--ink-mute); font-size: var(--fs-sm); }
.post-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: var(--sp-6); }

@media (max-width: 720px) {
  .blog-row { grid-template-columns: auto 1fr; }
  .blog-row .b-go { display: none; }
}

/* about editorial */
.about-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px,5vw,72px); align-items: center; }
.portrait { aspect-ratio: 4/5; border-radius: var(--r-lg); background: var(--brand); position: relative; overflow: hidden; box-shadow: var(--sh-lg); display: grid; place-items: center; }
.portrait .mark { width: 44%; opacity: .96; filter: drop-shadow(0 12px 34px rgba(0,0,0,.28)); }
.portrait::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 28% 18%, rgba(255,255,255,.28), transparent 55%); }

/* --------------------------- responsive ---------------------------- */
@media (max-width: 1024px) {
  .hero-lower { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; }
  .feat-grid.cols-3 { grid-template-columns: repeat(2,1fr); }
  .feat-grid.cols-3 .feat:nth-child(3n+1) { border-inline-start: 1px solid var(--line-strong); }
  .feat-grid.cols-3 .feat:nth-child(2n+1) { border-inline-start: 0; }
  .proof { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(4n+1) { border-inline-start: 1px solid var(--line-strong); }
  .stat:nth-child(2n+1) { border-inline-start: 0; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .step:nth-child(4n+1) { border-inline-start: 1px solid var(--line-strong); }
  .step:nth-child(2n+1) { border-inline-start: 0; }
  .price-grid, .port-grid { grid-template-columns: repeat(2,1fr); }
  .price:nth-child(3n+1) { border-inline-start: 1px solid var(--line-strong); }
  .price:nth-child(2n+1) { border-inline-start: 0; }
  .contact-grid, .about-split { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .idx-row { grid-template-columns: auto 1fr auto; }
  .idx-desc { grid-column: 2 / 3; }
}
/* The 10-link desktop menu needs ~766px at default spacing. Between 1080 and
   1199 that wraps to 2 rows, so tighten the link padding just in that band —
   cheaper than pushing yet more laptops to the hamburger. Wide screens keep
   the roomier spacing. */
@media (max-width: 1199px) {
  .nav-menu a { padding-inline: 7px; }
}
/* With 11 links the tightened menu measures ~709px; beside the brand + CTA it
   wraps below ~1102px viewport (measured), so hand over to the drawer from
   1119px down. It carries all 11 links + a CTA in .drawer-foot — nothing lost. */
@media (max-width: 1119px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  .feat-grid, .feat-grid.cols-3, .feat-grid.cols-2 { grid-template-columns: 1fr; }
  .feat, .feat:nth-child(n) { border-inline-start: 0 !important; }
  .proof, .steps, .price-grid, .port-grid, .form-row, .foot-top { grid-template-columns: 1fr; }
  .stat, .step, .price { border-inline-start: 0 !important; }
  .idx-row { grid-template-columns: auto 1fr; gap: 8px 16px; padding-block: 22px; }
  .idx-desc { grid-column: 1 / -1; }
  .idx-go { display: none; }
  .idx-row:hover { padding-inline: 14px; }
  .hero-top { gap: 8px; }
  .wa-tip { display: none; }
  .foot-bot { flex-direction: column; }
  /* landing-stores.html sets a 2-col .port-grid inline (an intentional
     desktop choice), but an inline style outranks every media query, so the
     cards stayed 2-up — 156px wide — down to 320px. !important is the only
     way to beat it from CSS; desktop keeps the author's 2-col layout. */
  .port-grid { grid-template-columns: 1fr !important; }
  /* touch target: 34px is under the ~44px minimum */
}

/* ---------------- services dropdown (header) ---------------- */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.nav-drop > a .chev { flex: none; margin-inline-start: 0; transition: transform var(--t-fast); }
.nav-drop:hover > a .chev, .nav-drop:focus-within > a .chev { transform: rotate(180deg); }
.nav-drop-menu { position: absolute; top: 100%; inset-inline-start: 0; z-index: var(--z-nav);
  min-width: 195px; padding: 8px; display: grid; gap: 2px;
  background: var(--cream); border: var(--border); border-radius: var(--r-md);
  box-shadow: 0 18px 40px rgba(30, 26, 23, .14);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast); }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .nav-drop-menu a { display: block; padding: 9px 12px; border-radius: var(--r-sm); }
.nav-menu .nav-drop-menu a::after { content: none; }
.nav-menu .nav-drop-menu a:hover { background: rgba(232, 85, 30, .08); color: var(--ink); }
.nav-menu .nav-drop-menu a[aria-current="page"] { color: var(--brand); }

/* services sub-links inside the mobile drawer */
.drawer .d-subs { display: flex; flex-wrap: wrap; gap: 0 18px; padding-inline-start: 2.1em; margin: -2px 0 4px; }
.drawer a.d-sub { font-size: clamp(1.05rem, 4.5vw, 1.35rem); font-weight: var(--fw-semi); color: var(--on-dark-mute); padding: 4px; }
.drawer a.d-sub::before { content: none; }
.drawer a.d-sub:hover { color: var(--brand-400); }
