@charset "utf-8";
/* ==========================================================================
   رفد لتحليل الأعمال — RAFD Business Analysis
   Design system · one stylesheet serves AR (RTL) and EN (LTR) via logical props
   Palette derived from the brand mark: deep forest + gold
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* brand — sampled from the logo artwork */
  --ink:            #151A11;
  --forest-900:     #1A2116;
  --forest-800:     #232C1D;
  --forest-700:     #2F3A29;   /* primary brand green */
  --forest-600:     #3A4634;
  --forest-500:     #4B5744;
  --sage-400:       #646E5F;
  --sage-300:       #8E9885;
  --sage-200:       #B7BEAE;

  --gold-600:       #A5875A;
  --gold-500:       #C9A45F;   /* primary accent */
  --gold-400:       #DFC08A;
  --gold-200:       #EFE0C4;

  --paper:          #FAF8F3;
  --paper-2:        #F3F0E7;
  --card:           #FFFFFF;
  --line:           rgba(47, 58, 41, .12);
  --line-strong:    rgba(47, 58, 41, .22);
  --line-dark:      rgba(239, 224, 196, .14);

  --text:           #1F2719;
  --text-soft:      #55604C;
  --text-mute:      #7C8674;
  --text-on-dark:   #F2F0E8;
  --text-on-dark-2: #BCC3B2;

  /* typography */
  --font: "IBM Plex Sans Arabic", "IBM Plex Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-num: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;

  /* rhythm */
  --shell: 1200px;
  --shell-wide: 1340px;
  --pad: clamp(18px, 4.2vw, 34px);
  --sec-y: clamp(64px, 9vw, 118px);
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* elevation */
  --sh-1: 0 1px 2px rgba(26, 33, 22, .05), 0 4px 14px rgba(26, 33, 22, .05);
  --sh-2: 0 2px 6px rgba(26, 33, 22, .06), 0 14px 40px rgba(26, 33, 22, .09);
  --sh-3: 0 30px 70px rgba(26, 33, 22, .17);
  --sh-gold: 0 12px 34px rgba(165, 135, 90, .28);

  /* motion */
  --e-out: cubic-bezier(.22, 1, .36, 1);
  --e-in-out: cubic-bezier(.65, .05, .36, 1);
  --e-spring: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: .18s;
  --t: .32s;
  --t-slow: .62s;

  --header-h: 78px;
}

@media (max-width: 900px) { :root { --header-h: 66px; } }

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-block-start: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(15.5px, 1.02vw, 17px);
  line-height: 1.85;
  color: var(--text);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }

/* Every injected icon needs a size floor. Without it an <svg> with only a
   viewBox expands to fill its container — a 20px glyph became 110px. */
.ico { inline-size: 20px; block-size: 20px; flex: 0 0 auto; }
.ico-gold { color: var(--gold-500); }
.ico-sage { color: var(--sage-300); }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-400); color: var(--forest-900); }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.28; font-weight: 700; letter-spacing: -.005em; color: var(--forest-800); }
h1 { font-size: clamp(2.05rem, 5.1vw, 3.65rem); line-height: 1.19; letter-spacing: -.015em; }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.65rem); line-height: 1.24; letter-spacing: -.012em; }
h3 { font-size: clamp(1.16rem, 1.9vw, 1.42rem); }
h4 { font-size: clamp(1.02rem, 1.5vw, 1.12rem); }

/* Latin digits & technical values keep LTR order inside Arabic text.
   Without the isolation "8 × 4K" renders as "4K × 8" in RTL. */
.num, .ltr {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums lining-nums;
  direction: ltr;
  unicode-bidi: isolate;
  font-feature-settings: "tnum" 1;
}
[dir="rtl"] .ltr-inline { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.lead { font-size: clamp(1.02rem, 1.55vw, 1.16rem); color: var(--text-soft); line-height: 1.95; }
.muted { color: var(--text-mute); }
strong, b { font-weight: 700; color: var(--forest-800); }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: var(--pad); }
.shell-wide { width: min(100%, var(--shell-wide)); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--sec-y); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 74px); }
.section--paper2 { background: var(--paper-2); }

.grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-auto-260 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.g-auto-300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g-auto-340 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.center { text-align: center; }
.mi-auto { margin-inline: auto; }
.mw-64 { max-width: 64ch; }
.mw-56 { max-width: 56ch; }
.mw-48 { max-width: 48ch; }
.min0 { min-width: 0; } /* required on any grid/flex child that scrolls */

/* --------------------------------------------------------------------------
   5. Dark surfaces
   -------------------------------------------------------------------------- */
.dark {
  background:
    radial-gradient(1200px 620px at 82% -10%, rgba(201, 164, 95, .16), transparent 62%),
    radial-gradient(900px 520px at 6% 105%, rgba(100, 110, 95, .3), transparent 60%),
    linear-gradient(168deg, var(--forest-800) 0%, var(--forest-900) 52%, var(--ink) 100%);
  color: var(--text-on-dark);
  position: relative;
  isolation: isolate;
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lead, .dark p { color: var(--text-on-dark-2); }
.dark strong, .dark b { color: #fff; }

/* faint measurement grid — reads as "analysis" without noise */
.dark::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(239, 224, 196, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(239, 224, 196, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 92% 72% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 92% 72% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   6. Eyebrow / section heading
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  color: var(--gold-600); text-transform: none;
  margin-block-end: 14px;
}
.eyebrow::before {
  content: ""; inline-size: 26px; block-size: 2px; border-radius: 2px;
  background: linear-gradient(to right, var(--gold-500), transparent);
  flex: 0 0 auto;
}
.dark .eyebrow { color: var(--gold-400); }

.sec-head { margin-block-end: clamp(30px, 4vw, 52px); }
.sec-head .lead { margin-block-start: 14px; }
.sec-head--center { text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .lead { margin-inline: auto; }

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--forest-700);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-block-size: 50px;
  padding-inline: 26px; padding-block: 13px;
  border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .96rem; line-height: 1;
  border: 1px solid transparent;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform var(--t) var(--e-out), box-shadow var(--t) var(--e-out),
              background-color var(--t) var(--e-out), color var(--t) var(--e-out),
              border-color var(--t) var(--e-out);
  will-change: transform;
}
.btn > * { position: relative; z-index: 1; }
.btn::after { /* sheen */
  content: ""; position: absolute; inset-block: 0; inline-size: 42%;
  inset-inline-start: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .3), transparent);
  transform: skewX(-18deg); transition: inset-inline-start .62s var(--e-out);
  z-index: 0;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn:hover::after { inset-inline-start: 120%; }
.btn:active { transform: translateY(0); }

.btn--gold { --btn-bg: var(--gold-500); --btn-fg: var(--forest-900); }
.btn--gold:hover { box-shadow: var(--sh-gold); background: var(--gold-400); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--forest-800); border-color: var(--line); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--forest-700);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: rgba(47, 58, 41, .05); }
/* The drawer and cookie bar are dark surfaces without the .dark class, so the
   default dark-green ghost label was invisible on them. */
.dark .btn--ghost,
.drawer .btn--ghost,
.cookie .btn--ghost { --btn-fg: var(--text-on-dark); border-color: var(--line-dark); }
.dark .btn--ghost:hover,
.drawer .btn--ghost:hover,
.cookie .btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(201, 164, 95, .5); }
.btn--sm { min-block-size: 42px; padding-inline: 18px; font-size: .88rem; }
.btn--lg { min-block-size: 58px; padding-inline: 34px; font-size: 1.02rem; }
.btn--block { display: flex; inline-size: 100%; }
.btn .ico { inline-size: 18px; block-size: 18px; }
[dir="rtl"] .btn .ico--dir { transform: scaleX(-1); }

/* text link with animated rule */
.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--forest-700); position: relative;
  padding-block-end: 3px;
}
.tlink::after {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-end: 0;
  block-size: 1.5px; inline-size: 0; background: var(--gold-500);
  transition: inline-size var(--t) var(--e-out);
}
.tlink:hover::after { inline-size: 100%; }
.tlink .ico { inline-size: 16px; block-size: 16px; transition: transform var(--t) var(--e-out); }
.tlink:hover .ico { transform: translateX(3px); }
[dir="rtl"] .tlink .ico { transform: scaleX(-1); }
[dir="rtl"] .tlink:hover .ico { transform: scaleX(-1) translateX(3px); }
.dark .tlink { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   8. Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 900;
  block-size: var(--header-h);
  display: flex; align-items: center;
  background: rgba(26, 33, 22, .82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-block-end: 1px solid rgba(239, 224, 196, .1);
  transition: background var(--t) var(--e-out), block-size var(--t) var(--e-out),
              box-shadow var(--t) var(--e-out);
}
.header.is-stuck {
  background: rgba(21, 26, 17, .95);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .28);
}
.header__inner {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 30px);
  inline-size: 100%;
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { block-size: clamp(34px, 3.6vw, 44px); inline-size: auto; }
.brand__txt { display: none; }

.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav a {
  position: relative; padding: 10px 13px; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 500; color: rgba(242, 240, 232, .82);
  transition: color var(--t-fast) var(--e-out), background var(--t-fast) var(--e-out);
  white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; inset-block-end: 4px;
  inset-inline-start: 50%; translate: -50% 0;
  block-size: 2px; inline-size: 0; border-radius: 2px; background: var(--gold-500);
  transition: inline-size var(--t) var(--e-out);
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a:hover::after, .nav a.is-active::after { inline-size: 20px; }
.nav a.is-active { color: #fff; }

.header__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: var(--r-pill);
  border: 1px solid rgba(239, 224, 196, .24); color: var(--text-on-dark);
  font-size: .85rem; font-weight: 600; letter-spacing: .01em;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.lang-switch:hover { background: rgba(255, 255, 255, .09); border-color: var(--gold-500); transform: translateY(-1px); }
.lang-switch .ico { inline-size: 15px; block-size: 15px; opacity: .85; }

.burger {
  display: none; inline-size: 46px; block-size: 46px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm); border: 1px solid rgba(239, 224, 196, .22);
  order: -1; margin-inline-end: auto;
}
.burger span {
  display: block; inline-size: 20px; block-size: 2px; border-radius: 2px;
  background: var(--text-on-dark); position: relative;
  transition: transform var(--t) var(--e-out), background var(--t) var(--e-out);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; inset-inline-start: 0;
  inline-size: 20px; block-size: 2px; border-radius: 2px; background: inherit;
  transition: transform var(--t) var(--e-out), inline-size var(--t) var(--e-out);
}
.burger span::before { inset-block-start: -6.5px; }
.burger span::after { inset-block-start: 6.5px; inline-size: 13px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { background: var(--text-on-dark); transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { background: var(--text-on-dark); inline-size: 20px; transform: translateY(-6.5px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset-block-start: var(--header-h); inset-inline: 0; inset-block-end: 0;
  z-index: 890; background: var(--forest-900);
  padding: 26px var(--pad) calc(34px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; translate: 0 -12px;
  transition: opacity var(--t) var(--e-out), translate var(--t) var(--e-out), visibility var(--t);
}
.drawer.is-open { opacity: 1; visibility: visible; translate: 0 0; }
.drawer a.drawer__link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 4px; font-size: 1.06rem; font-weight: 600; color: var(--text-on-dark);
  border-block-end: 1px solid rgba(239, 224, 196, .1);
}
.drawer a.drawer__link .ico { inline-size: 17px; block-size: 17px; color: var(--gold-500); opacity: .75; }
[dir="rtl"] .drawer a.drawer__link .ico { transform: scaleX(-1); }
.drawer__cta { margin-block-start: 24px; display: grid; gap: 11px; }
.drawer__meta { margin-block-start: 26px; display: grid; gap: 12px; font-size: .9rem; color: var(--text-on-dark-2); }
.drawer__meta a { display: flex; align-items: center; gap: 10px; }
.drawer__meta .ico { inline-size: 17px; block-size: 17px; color: var(--gold-500); flex: 0 0 auto; }
body.is-locked { overflow: hidden; }

/* scroll progress bar */
.progress {
  position: fixed; inset-block-start: 0; inset-inline-start: 0; z-index: 950;
  block-size: 2.5px; inline-size: 0;
  background: linear-gradient(to right, var(--gold-600), var(--gold-400));
  transition: inline-size .08s linear;
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding-block-start: calc(var(--header-h) + clamp(46px, 7vw, 92px));
  padding-block-end: clamp(56px, 8vw, 104px);
  min-block-size: min(94svh, 880px);
  display: flex; align-items: center;
}
.hero__canvas {
  position: absolute; inset: 0; z-index: -1; inline-size: 100%; block-size: 100%;
  opacity: .55;
}
.hero__inner {
  display: grid; gap: clamp(34px, 5vw, 62px);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center; inline-size: 100%;
}
.hero h1 { margin-block-end: 20px; }
.hero .lead { max-width: 54ch; }
.hero__cta { margin-block-start: 32px; display: flex; flex-wrap: wrap; gap: 13px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 12px; border-radius: var(--r-pill);
  background: rgba(201, 164, 95, .12); border: 1px solid rgba(201, 164, 95, .3);
  font-size: .84rem; font-weight: 600; color: var(--gold-400);
  margin-block-end: 22px;
}
.pill__dot {
  inline-size: 7px; block-size: 7px; border-radius: 50%;
  background: var(--gold-500); flex: 0 0 auto;
  box-shadow: 0 0 0 0 rgba(201, 164, 95, .6);
  animation: pulse-dot 2.4s var(--e-out) infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(201, 164, 95, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(201, 164, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 164, 95, 0); }
}

/* rotating headline word */
.rotate {
  display: inline-grid; vertical-align: bottom;
  color: var(--gold-500);
}
.rotate > span {
  grid-area: 1 / 1; opacity: 0;
  translate: 0 .42em; filter: blur(5px);
  transition: opacity .5s var(--e-out), translate .5s var(--e-out), filter .5s var(--e-out);
  white-space: nowrap;
}
.rotate > span.is-on { opacity: 1; translate: 0 0; filter: blur(0); }

/* hero visual: live analytics panel */
.hero__panel {
  position: relative; padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(239, 224, 196, .16);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .34);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: float-y 7s var(--e-in-out) infinite;
}
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

.panel__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 18px; }
.panel__title { font-size: .93rem; font-weight: 600; color: #fff; }
.panel__tag {
  font-size: .72rem; font-weight: 600; padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(201, 164, 95, .16); color: var(--gold-400); border: 1px solid rgba(201, 164, 95, .28);
}
.panel__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-block-end: 18px; }
.kpi {
  padding: 13px 12px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(239, 224, 196, .1);
}
.kpi__v { font-size: 1.24rem; font-weight: 700; color: #fff; line-height: 1.2; }
.kpi__l { font-size: .72rem; color: var(--text-on-dark-2); margin-block-start: 3px; }
.kpi__d { font-size: .7rem; color: var(--gold-400); margin-block-start: 5px; display: flex; align-items: center; gap: 4px; }
.kpi__d .ico { inline-size: 12px; block-size: 12px; }

.chart { inline-size: 100%; block-size: auto; }
.chart .bar { transform-origin: bottom; }
.chart .grid-line { stroke: rgba(239, 224, 196, .12); stroke-width: 1; }
.chart .trend {
  fill: none; stroke: var(--gold-500); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 620; stroke-dashoffset: 620;
}
.is-live .chart .trend { animation: draw 2.1s var(--e-out) .35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.is-live .chart .bar { animation: grow-bar .95s var(--e-out) backwards; }
@keyframes grow-bar { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.chart .node { opacity: 0; }
.is-live .chart .node { animation: pop-node .5s var(--e-spring) backwards; animation-fill-mode: forwards; }
@keyframes pop-node { from { opacity: 0; r: 0; } to { opacity: 1; } }

/* floating chips around the panel */
.chip-float {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-pill);
  background: rgba(21, 26, 17, .84); border: 1px solid rgba(239, 224, 196, .18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .78rem; font-weight: 600; color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
  animation: float-y 5.4s var(--e-in-out) infinite;
}
.chip-float .ico { inline-size: 15px; block-size: 15px; color: var(--gold-500); }
.chip-float--a { inset-block-start: -16px; inset-inline-start: -18px; animation-delay: -1.4s; }
.chip-float--b { inset-block-end: 24px; inset-inline-end: -22px; animation-delay: -3.1s; }

/* scroll cue */
.scroll-cue {
  position: absolute; inset-block-end: 22px; inset-inline-start: 50%; translate: -50% 0;
  display: grid; place-items: center; gap: 7px;
  font-size: .72rem; color: var(--text-on-dark-2); letter-spacing: .05em;
}
.scroll-cue__line {
  inline-size: 1.5px; block-size: 40px; border-radius: 2px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
  animation: cue 2.2s var(--e-in-out) infinite;
}
@keyframes cue { 0%, 100% { opacity: .25; transform: scaleY(.55); } 50% { opacity: 1; transform: scaleY(1); } }

/* --------------------------------------------------------------------------
   10. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.phero {
  position: relative; overflow: hidden;
  padding-block-start: calc(var(--header-h) + clamp(48px, 6vw, 82px));
  padding-block-end: clamp(48px, 6vw, 82px);
}
.phero__inner { position: relative; z-index: 2; max-width: 72ch; }
.phero h1 { margin-block-end: 18px; }
.phero .lead { max-width: 62ch; }
.phero__deco {
  position: absolute; inset-block-start: 50%; inset-inline-end: -6%;
  translate: 0 -50%; inline-size: min(46%, 430px); aspect-ratio: 1;
  opacity: .3; pointer-events: none;
  background:
    conic-gradient(from 210deg, transparent 0deg, rgba(201, 164, 95, .5) 90deg, transparent 200deg);
  border-radius: 50%;
  filter: blur(2px);
  animation: spin-slow 26s linear infinite;
}
@keyframes spin-slow { to { rotate: 360deg; } }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--text-on-dark-2); margin-block-end: 18px;
}
.crumbs a:hover { color: var(--gold-400); }
.crumbs .sep { opacity: .45; }

/* --------------------------------------------------------------------------
   11. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 30px);
  transition: transform var(--t) var(--e-out), box-shadow var(--t) var(--e-out),
              border-color var(--t) var(--e-out);
  overflow: hidden; block-size: 100%;
}
.card::before { /* top hairline that draws on hover */
  content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0;
  block-size: 3px; inline-size: 0;
  background: linear-gradient(to right, var(--gold-500), var(--gold-400));
  transition: inline-size var(--t-slow) var(--e-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(201, 164, 95, .4); }
.card:hover::before { inline-size: 100%; }
.card h3 { margin-block-end: 10px; }
.card p { color: var(--text-soft); font-size: .96rem; }
.dark .card {
  background: rgba(255, 255, 255, .045); border-color: var(--line-dark);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.dark .card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(201, 164, 95, .42); }

.ico-box {
  inline-size: 54px; block-size: 54px; border-radius: 16px;
  display: grid; place-items: center; margin-block-end: 18px;
  background: linear-gradient(150deg, rgba(201, 164, 95, .17), rgba(47, 58, 41, .07));
  border: 1px solid rgba(201, 164, 95, .26);
  color: var(--gold-600);
  transition: transform var(--t) var(--e-spring), background var(--t) var(--e-out), color var(--t);
}
.ico-box .ico { inline-size: 25px; block-size: 25px; }
.card:hover .ico-box { transform: translateY(-3px) rotate(-5deg) scale(1.06); }
.dark .ico-box { color: var(--gold-400); background: linear-gradient(150deg, rgba(201, 164, 95, .2), rgba(255, 255, 255, .04)); }

.card__n {
  position: absolute; inset-block-start: 16px; inset-inline-end: 20px;
  font-family: var(--font-num); font-size: 2.5rem; font-weight: 700; line-height: 1;
  color: rgba(47, 58, 41, .07); pointer-events: none;
}
.dark .card__n { color: rgba(255, 255, 255, .07); }

/* service card (linked) */
.svc { display: flex; flex-direction: column; }
.svc__body { flex: 1; }
.svc ul { margin-block-start: 15px; display: grid; gap: 8px; }
.svc ul li {
  position: relative; padding-inline-start: 20px;
  font-size: .9rem; color: var(--text-soft); line-height: 1.7;
}
.svc ul li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .62em;
  inline-size: 6px; block-size: 6px; border-radius: 50%;
  background: var(--gold-500);
}
.dark .svc ul li { color: var(--text-on-dark-2); }
/* corner badge — kept out of the flow so every card title stays on one line */
.svc__tag {
  position: absolute; inset-block-start: 18px; inset-inline-end: 18px; z-index: 2;
  padding: 5px 12px; border-radius: var(--r-pill); white-space: nowrap;
  font-size: .72rem; font-weight: 700; color: var(--forest-900);
  background: linear-gradient(120deg, var(--gold-600), var(--gold-400));
  box-shadow: 0 6px 16px rgba(165, 135, 90, .3);
}
.svc__foot { margin-block-start: 18px; padding-block-start: 16px; border-block-start: 1px solid var(--line); }
.dark .svc__foot { border-color: var(--line-dark); }

/* --------------------------------------------------------------------------
   12. Stats
   -------------------------------------------------------------------------- */
.stats { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat {
  padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line); text-align: center;
  transition: transform var(--t) var(--e-out), box-shadow var(--t) var(--e-out);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--sh-1); }
.stat__v {
  font-family: var(--font-num); font-weight: 700; line-height: 1.05;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  background: linear-gradient(140deg, var(--gold-600), var(--gold-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  direction: ltr; unicode-bidi: isolate;
}
.stat__l { margin-block-start: 8px; font-size: .9rem; color: var(--text-soft); font-weight: 500; }
.dark .stat { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); }
.dark .stat__l { color: var(--text-on-dark-2); }

/* --------------------------------------------------------------------------
   13. Process / timeline
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: clamp(16px, 2.2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: st; position: relative; }
.step {
  position: relative; padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--r-lg); background: var(--card);
  border: 1px solid var(--line);
  transition: transform var(--t) var(--e-out), box-shadow var(--t) var(--e-out), border-color var(--t);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(201, 164, 95, .4); }
.step__n {
  inline-size: 46px; block-size: 46px; border-radius: 14px;
  display: grid; place-items: center; margin-block-end: 16px;
  font-family: var(--font-num); font-size: 1.05rem; font-weight: 700;
  background: var(--forest-700); color: var(--gold-400);
  box-shadow: 0 8px 20px rgba(47, 58, 41, .24);
}
.step h3 { margin-block-end: 8px; font-size: 1.08rem; }
.step p { font-size: .93rem; color: var(--text-soft); }
.dark .step { background: rgba(255, 255, 255, .045); border-color: var(--line-dark); }
.dark .step p { color: var(--text-on-dark-2); }
.dark .step__n { background: var(--gold-500); color: var(--forest-900); }

/* vertical journey */
.journey { position: relative; display: grid; gap: 0; }
.journey::before {
  content: ""; position: absolute; inset-block: 8px;
  inset-inline-start: 21px; inline-size: 2px;
  background: linear-gradient(to bottom, var(--gold-500), rgba(201, 164, 95, .12));
}
.jitem { position: relative; padding-inline-start: 60px; padding-block-end: 34px; }
.jitem:last-child { padding-block-end: 0; }
.jitem__dot {
  position: absolute; inset-inline-start: 10px; inset-block-start: 4px;
  inline-size: 24px; block-size: 24px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold-500);
  display: grid; place-items: center;
}
.jitem__dot::after { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--gold-500); }
.jitem__y {
  font-family: var(--font-num); font-size: .82rem; font-weight: 700;
  color: var(--gold-600); letter-spacing: .04em; direction: ltr; unicode-bidi: isolate;
}
.jitem h3 { margin-block: 4px 6px; font-size: 1.08rem; }
.jitem p { font-size: .94rem; color: var(--text-soft); }
.dark .journey::before { background: linear-gradient(to bottom, var(--gold-500), rgba(201, 164, 95, .1)); }
.dark .jitem__dot { background: var(--forest-900); }
.dark .jitem p { color: var(--text-on-dark-2); }
.dark .jitem__y { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   14. Marquee (sectors) — pure CSS, duplicated track
   -------------------------------------------------------------------------- */
.marquee {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex; inline-size: max-content;
  animation: marquee 40s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }
.mq-item {
  display: inline-flex; align-items: center; gap: 10px;
  margin-inline-end: 14px; padding: 13px 22px;
  border-radius: var(--r-pill); white-space: nowrap;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(239, 224, 196, .13);
  font-size: .92rem; font-weight: 500; color: var(--text-on-dark);
}
.mq-item .ico { inline-size: 17px; block-size: 17px; color: var(--gold-500); flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   15. Feature split
   -------------------------------------------------------------------------- */
.split { display: grid; gap: clamp(30px, 4.6vw, 62px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: center; }
.split--rev > *:first-child { order: 2; }

.checks { display: grid; gap: 14px; margin-block-start: 24px; }
.checks li { display: flex; gap: 13px; align-items: flex-start; }
.checks .tick {
  flex: 0 0 auto; inline-size: 24px; block-size: 24px; border-radius: 8px;
  display: grid; place-items: center; margin-block-start: 3px;
  background: rgba(201, 164, 95, .16); border: 1px solid rgba(201, 164, 95, .34);
  color: var(--gold-600);
}
.checks .tick .ico { inline-size: 13px; block-size: 13px; }
.checks strong { display: block; margin-block-end: 2px; }
.checks p, .checks span.d { font-size: .93rem; color: var(--text-soft); display: block; }
.dark .checks .tick { color: var(--gold-400); }
.dark .checks p, .dark .checks span.d { color: var(--text-on-dark-2); }

/* framed visual */
.frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line); background: var(--card); box-shadow: var(--sh-2);
}
.frame img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.frame--dark { border-color: var(--line-dark); background: rgba(255, 255, 255, .04); }

/* value grid inside a dark band */
.vgrid { display: grid; gap: 1px; background: rgba(239, 224, 196, .12); border: 1px solid rgba(239, 224, 196, .12); border-radius: var(--r-lg); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.vgrid > div { background: var(--forest-900); padding: clamp(22px, 2.6vw, 30px); transition: background var(--t); }
.vgrid > div:hover { background: var(--forest-800); }
.vgrid h4 { margin-block: 14px 8px; color: #fff; }
.vgrid p { font-size: .93rem; }
.vgrid .ico { inline-size: 24px; block-size: 24px; color: var(--gold-500); }

/* --------------------------------------------------------------------------
   16. Packages
   -------------------------------------------------------------------------- */
/* 250px keeps all four plans on one row inside the 1200px shell
   (4×250 + 3×22 gap = 1098 < 1132 available). 268px overshot by 6px and
   dropped the fourth card onto its own line. */
.plans { display: grid; gap: clamp(16px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 2.8vw, 32px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--t) var(--e-out), box-shadow var(--t) var(--e-out), border-color var(--t);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(201, 164, 95, .42); }
.plan--pop {
  border-color: var(--gold-500); box-shadow: var(--sh-gold);
  background: linear-gradient(178deg, #fff, #FFFDF8);
}
.plan--pop:hover { box-shadow: 0 24px 60px rgba(165, 135, 90, .34); }
.plan__badge {
  position: absolute; inset-block-start: -13px; inset-inline-start: 50%; translate: -50% 0;
  padding: 6px 17px; border-radius: var(--r-pill); white-space: nowrap;
  background: linear-gradient(120deg, var(--gold-600), var(--gold-400));
  color: var(--forest-900); font-size: .76rem; font-weight: 700;
  box-shadow: 0 8px 20px rgba(165, 135, 90, .35);
}
.plan__name { font-size: 1.2rem; font-weight: 700; color: var(--forest-800); }
.plan__for { font-size: .87rem; color: var(--text-mute); margin-block-start: 5px; min-block-size: 2.8em; }
.plan__price {
  display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap;
  margin-block: 18px 4px; padding-block-end: 18px; border-block-end: 1px solid var(--line);
}
.plan__amt {
  font-family: var(--font-num); font-size: clamp(1.9rem, 3.4vw, 2.35rem); font-weight: 700;
  color: var(--forest-800); line-height: 1; direction: ltr; unicode-bidi: isolate;
}
.plan__cur { font-size: .92rem; font-weight: 600; color: var(--text-mute); }
.plan__from { font-size: .78rem; color: var(--text-mute); inline-size: 100%; }
.plan__feats { display: grid; gap: 11px; margin-block: 20px; flex: 1; }
.plan__feats li { display: flex; gap: 11px; align-items: flex-start; font-size: .91rem; line-height: 1.65; color: var(--text-soft); }
.plan__feats .ico { inline-size: 17px; block-size: 17px; color: var(--gold-600); flex: 0 0 auto; margin-block-start: 4px; }
.plan__feats li.off { opacity: .42; }
.plan__feats li.off .ico { color: var(--text-mute); }
.plan__note {
  margin-block-start: 14px; font-size: .8rem; color: var(--text-mute);
  padding-block-start: 13px; border-block-start: 1px dashed var(--line-strong);
}

/* custom package builder */
.builder {
  padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid rgba(239, 224, 196, .18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.builder__grid { display: grid; gap: clamp(26px, 3.4vw, 46px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.builder__amount { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin-block-end: 6px; }
#customAmt, .builder__amt {
  font-family: var(--font-num); font-weight: 700; line-height: 1;
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  background: linear-gradient(140deg, var(--gold-400), var(--gold-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  direction: ltr; unicode-bidi: isolate;
}
.builder__cur { font-size: 1rem; font-weight: 600; color: var(--gold-400); }
.builder__tier {
  display: inline-flex; align-items: center; gap: 8px;
  margin-block: 12px 22px; padding: 7px 16px; border-radius: var(--r-pill);
  background: rgba(201, 164, 95, .15); border: 1px solid rgba(201, 164, 95, .32);
  font-size: .85rem; font-weight: 600; color: var(--gold-400);
}
.builder__tier .ico { inline-size: 15px; block-size: 15px; }

/* range input — RTL aware: right = min, left = max */
.range-wrap { position: relative; padding-block: 6px 4px; }
input[type="range"].range {
  inline-size: 100%; block-size: 34px; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer;
}
input[type="range"].range::-webkit-slider-runnable-track {
  block-size: 8px; border-radius: var(--r-pill);
  background: linear-gradient(to right, rgba(255, 255, 255, .12), rgba(255, 255, 255, .12));
  border: 1px solid rgba(239, 224, 196, .16);
}
input[type="range"].range::-moz-range-track {
  block-size: 8px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(239, 224, 196, .16);
}
input[type="range"].range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  inline-size: 28px; block-size: 28px; margin-block-start: -11px;
  border-radius: 50%; background: linear-gradient(150deg, var(--gold-400), var(--gold-600));
  border: 3px solid var(--forest-900);
  box-shadow: 0 4px 16px rgba(201, 164, 95, .5);
  transition: transform var(--t-fast) var(--e-spring), box-shadow var(--t-fast);
}
input[type="range"].range::-webkit-slider-thumb:hover { transform: scale(1.14); }
input[type="range"].range:active::-webkit-slider-thumb { transform: scale(1.2); box-shadow: 0 4px 26px rgba(201, 164, 95, .75); }
input[type="range"].range::-moz-range-thumb {
  inline-size: 22px; block-size: 22px; border-radius: 50%;
  background: linear-gradient(150deg, var(--gold-400), var(--gold-600));
  border: 3px solid var(--forest-900); box-shadow: 0 4px 16px rgba(201, 164, 95, .5);
}
.range-fill {
  position: absolute; inset-block-start: 19px; block-size: 8px;
  border-radius: var(--r-pill); pointer-events: none;
  background: linear-gradient(to right, var(--gold-600), var(--gold-400));
  inline-size: 0;
}
.range-legend {
  display: flex; justify-content: space-between; gap: 12px;
  margin-block-start: 8px; font-size: .8rem; color: var(--text-on-dark-2);
}
.range-legend span { font-family: var(--font-num); direction: ltr; unicode-bidi: isolate; }

/* unlockable service list */
.unlock { display: grid; gap: 9px; max-block-size: 430px; overflow-y: auto; padding-inline-end: 6px; }
.unlock::-webkit-scrollbar { inline-size: 6px; }
.unlock::-webkit-scrollbar-track { background: rgba(255, 255, 255, .05); border-radius: 4px; }
.unlock::-webkit-scrollbar-thumb { background: rgba(201, 164, 95, .45); border-radius: 4px; }
.unlock li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 15px; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(239, 224, 196, .08);
  font-size: .89rem; line-height: 1.5;
  /* locked by default — JS only adds .on */
  color: rgba(188, 195, 178, .42);
  transition: background var(--t) var(--e-out), border-color var(--t) var(--e-out),
              color var(--t) var(--e-out), transform var(--t) var(--e-out);
}
.unlock li .ico { inline-size: 17px; block-size: 17px; flex: 0 0 auto; opacity: .4; transition: opacity var(--t), color var(--t); }
.unlock li .ico-on { display: none; }
.unlock li.on {
  background: rgba(201, 164, 95, .1); border-color: rgba(201, 164, 95, .3);
  color: var(--text-on-dark); transform: translateX(0);
}
.unlock li.on .ico-off { display: none; }
.unlock li.on .ico-on { display: block; opacity: 1; color: var(--gold-500); }
.unlock__count { font-size: .84rem; color: var(--text-on-dark-2); margin-block-end: 12px; }
.unlock__count b { color: var(--gold-400); font-family: var(--font-num); }

/* comparison table */
.cmp-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.cmp { min-inline-size: 720px; font-size: .92rem; }
.cmp th, .cmp td { padding: 15px 18px; text-align: start; border-block-end: 1px solid var(--line); }
.cmp thead th { background: var(--forest-700); color: #fff; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.cmp thead th:first-child { border-start-start-radius: var(--r-lg); }
.cmp thead th:last-child { border-start-end-radius: var(--r-lg); }
.cmp tbody tr:nth-child(even) { background: rgba(47, 58, 41, .028); }
.cmp tbody tr:hover { background: rgba(201, 164, 95, .07); }
.cmp td:first-child { font-weight: 600; color: var(--forest-800); }
.cmp .yes { color: var(--gold-600); }
.cmp .no { color: var(--sage-300); }
.cmp .ico { inline-size: 17px; block-size: 17px; }

/* --------------------------------------------------------------------------
   17. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: border-color var(--t), box-shadow var(--t);
}
.faq__item.is-open { border-color: rgba(201, 164, 95, .45); box-shadow: var(--sh-1); }
.faq__q {
  inline-size: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; text-align: start; font-weight: 600; font-size: 1rem;
  color: var(--forest-800); cursor: pointer;
}
.faq__q .ico { inline-size: 19px; block-size: 19px; color: var(--gold-600); flex: 0 0 auto; transition: transform var(--t) var(--e-out); }
.faq__item.is-open .faq__q .ico { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-slow) var(--e-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 22px 20px; font-size: .95rem; color: var(--text-soft); }
.dark .faq__item { background: rgba(255, 255, 255, .045); border-color: var(--line-dark); }
.dark .faq__q { color: #fff; }
.dark .faq__a p { color: var(--text-on-dark-2); }

/* --------------------------------------------------------------------------
   18. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > label { font-size: .88rem; font-weight: 600; color: var(--forest-800); }
.field .req { color: var(--gold-600); }
.input, .select, .textarea {
  inline-size: 100%; padding: 14px 16px; font-size: 16px; /* 16px stops iOS zoom */
  border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  background: var(--card); color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.textarea { min-block-size: 140px; resize: vertical; line-height: 1.7; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355604C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px;
  background-position: left 16px center; padding-inline-end: 16px; padding-inline-start: 44px;
}
[dir="ltr"] .select { background-position: right 16px center; padding-inline-start: 16px; padding-inline-end: 44px; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(201, 164, 95, .16);
}
.input::placeholder, .textarea::placeholder { color: var(--text-mute); opacity: .8; }
.field .err { font-size: .8rem; color: #B4432F; display: none; }
.field.is-bad .input, .field.is-bad .select, .field.is-bad .textarea { border-color: #B4432F; }
.field.is-bad .err { display: block; }
.form__row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* honeypot — must not create horizontal overflow (never use left:-9999px) */
.hp { position: absolute !important; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px;
      overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .87rem; color: var(--text-soft); }
.consent input { inline-size: 19px; block-size: 19px; margin-block-start: 3px; accent-color: var(--gold-600); flex: 0 0 auto; }
.form__note { font-size: .82rem; color: var(--text-mute); }
.form__ok {
  display: none; align-items: center; gap: 11px; padding: 15px 18px; border-radius: var(--r-sm);
  background: rgba(201, 164, 95, .12); border: 1px solid rgba(201, 164, 95, .34);
  color: var(--forest-800); font-size: .92rem; font-weight: 600;
}
.form__ok.is-on { display: flex; }
.form__ok .ico { inline-size: 20px; block-size: 20px; color: var(--gold-600); flex: 0 0 auto; }

/* contact channel cards */
.chan {
  display: flex; gap: 16px; align-items: flex-start;
  padding: clamp(20px, 2.4vw, 26px); border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line); block-size: 100%;
  transition: transform var(--t) var(--e-out), box-shadow var(--t) var(--e-out), border-color var(--t);
}
.chan:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: rgba(201, 164, 95, .4); }
.chan__ic {
  flex: 0 0 auto; inline-size: 46px; block-size: 46px; border-radius: 14px;
  display: grid; place-items: center; color: var(--gold-600);
  background: rgba(201, 164, 95, .14); border: 1px solid rgba(201, 164, 95, .28);
}
.chan__ic .ico { inline-size: 21px; block-size: 21px; }
.chan h4 { margin-block-end: 4px; }
.chan .v { font-family: var(--font-num); font-size: .95rem; color: var(--forest-700); font-weight: 600; direction: ltr; unicode-bidi: isolate; display: block; word-break: break-word; }
.chan .d { font-size: .84rem; color: var(--text-mute); margin-block-start: 4px; }
.chan--wa .chan__ic { background: rgba(37, 211, 102, .12); border-color: rgba(37, 211, 102, .32); color: #128C4A; }

.map {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--sh-1); line-height: 0; background: var(--paper-2);
}
.map iframe { inline-size: 100%; block-size: clamp(300px, 42vw, 430px); border: 0; }

/* --------------------------------------------------------------------------
   19. CTA band
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band .shell { position: relative; z-index: 2; }
.cta-band h2 { margin-block-end: 16px; }
.cta-band .lead { margin-inline: auto; }
.cta-band__actions { margin-block-start: 30px; display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }
.cta-band__glow {
  position: absolute; inset-block-start: -30%; inset-inline-start: 50%; translate: -50% 0;
  inline-size: min(760px, 96%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 164, 95, .25), transparent 66%);
  pointer-events: none; animation: breathe 8s var(--e-in-out) infinite;
}
@keyframes breathe { 0%, 100% { opacity: .55; scale: 1; } 50% { opacity: 1; scale: 1.1; } }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--text-on-dark-2); padding-block: clamp(52px, 6vw, 76px) 0; }
.footer__grid {
  display: grid; gap: clamp(28px, 3.4vw, 48px);
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  padding-block-end: 42px;
}
.footer__brand img { block-size: 58px; inline-size: auto; margin-block-end: 18px; }
.footer__about { font-size: .92rem; line-height: 1.9; max-width: 40ch; }
.footer h5 {
  font-size: .95rem; font-weight: 700; color: #fff; margin-block-end: 16px;
  display: flex; align-items: center; gap: 9px;
}
.footer h5::before { content: ""; inline-size: 14px; block-size: 2px; background: var(--gold-500); border-radius: 2px; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: .91rem; transition: color var(--t-fast), padding-inline-start var(--t-fast); }
.footer__links a:hover { color: var(--gold-400); padding-inline-start: 5px; }
.footer__contact { display: grid; gap: 13px; }
.footer__contact a, .footer__contact div { display: flex; gap: 11px; align-items: flex-start; font-size: .91rem; }
.footer__contact .ico { inline-size: 17px; block-size: 17px; color: var(--gold-500); flex: 0 0 auto; margin-block-start: 4px; }
.footer__contact .v { font-family: var(--font-num); direction: ltr; unicode-bidi: isolate; }
.footer__contact a:hover { color: var(--gold-400); }

.social { display: flex; gap: 10px; margin-block-start: 20px; }
.social a {
  inline-size: 40px; block-size: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid rgba(239, 224, 196, .16); color: var(--text-on-dark-2);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}
.social a:hover { background: var(--gold-500); color: var(--forest-900); border-color: var(--gold-500); transform: translateY(-3px); }
.social .ico { inline-size: 18px; block-size: 18px; }

.footer__bar {
  border-block-start: 1px solid rgba(239, 224, 196, .1);
  padding-block: 22px; display: flex; flex-wrap: wrap; gap: 14px 26px;
  align-items: center; justify-content: space-between; font-size: .85rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__legal a:hover { color: var(--gold-400); }
.footer__credit a { color: var(--gold-400); font-weight: 600; }
.footer__credit a:hover { text-decoration: underline; }

/* floating whatsapp */
.wa-float {
  position: fixed; inset-block-end: calc(20px + env(safe-area-inset-bottom));
  inset-inline-end: 20px; z-index: 880;
  inline-size: 56px; block-size: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, #2ED06A, #128C4A);
  box-shadow: 0 12px 30px rgba(18, 140, 74, .42);
  transition: transform var(--t) var(--e-spring), box-shadow var(--t);
}
.wa-float:hover { transform: scale(1.09) translateY(-2px); box-shadow: 0 16px 40px rgba(18, 140, 74, .55); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(46, 208, 106, .55); animation: ring 2.6s var(--e-out) infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float .ico { inline-size: 27px; block-size: 27px; position: relative; }

/* back to top */
.to-top {
  position: fixed; inset-block-end: calc(20px + env(safe-area-inset-bottom));
  inset-inline-start: 20px; z-index: 870;
  inline-size: 46px; block-size: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--forest-700); color: #fff; border: 1px solid rgba(239, 224, 196, .2);
  opacity: 0; visibility: hidden; translate: 0 12px;
  transition: opacity var(--t), visibility var(--t), translate var(--t), background var(--t);
}
.to-top.is-on { opacity: 1; visibility: visible; translate: 0 0; }
.to-top:hover { background: var(--gold-500); color: var(--forest-900); }
.to-top .ico { inline-size: 19px; block-size: 19px; }

/* cookie bar */
.cookie {
  position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 940;
  padding: 16px var(--pad) calc(16px + env(safe-area-inset-bottom));
  background: rgba(21, 26, 17, .97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-block-start: 1px solid rgba(201, 164, 95, .28);
  translate: 0 110%; transition: translate .5s var(--e-out);
}
.cookie.is-on { translate: 0 0; }
.cookie__in {
  width: min(100%, var(--shell)); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
}
.cookie p { font-size: .88rem; color: var(--text-on-dark-2); max-width: 74ch; margin: 0; }
.cookie p a { color: var(--gold-400); text-decoration: underline; }
.cookie__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   21. Legal pages
   -------------------------------------------------------------------------- */
.legal { display: grid; gap: clamp(26px, 4vw, 48px); grid-template-columns: minmax(0, 260px) minmax(0, 1fr); align-items: start; }
.legal__toc {
  position: sticky; inset-block-start: calc(var(--header-h) + 20px);
  padding: 22px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line);
}
.legal__toc h4 { font-size: .94rem; margin-block-end: 14px; }
.legal__toc a {
  display: block; padding: 8px 10px; border-radius: var(--r-xs);
  font-size: .88rem; color: var(--text-soft);
  transition: background var(--t-fast), color var(--t-fast);
  border-inline-start: 2px solid transparent;
}
.legal__toc a:hover, .legal__toc a.is-active { background: rgba(201, 164, 95, .1); color: var(--forest-800); border-inline-start-color: var(--gold-500); }

.prose { max-width: 78ch; }
.prose h2 { font-size: clamp(1.28rem, 2.2vw, 1.6rem); margin-block: 42px 14px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-block-start: 0; }
.prose h3 { font-size: 1.08rem; margin-block: 26px 10px; }
.prose p { margin-block-end: 15px; color: var(--text-soft); }
.prose ul, .prose ol { margin-block-end: 18px; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-inline-start: 22px; color: var(--text-soft); }
.prose ul li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .68em;
  inline-size: 7px; block-size: 7px; border-radius: 2px; background: var(--gold-500); rotate: 45deg;
}
.prose ol { counter-reset: p; }
.prose ol li { position: relative; padding-inline-start: 32px; color: var(--text-soft); counter-increment: p; }
.prose ol li::before {
  content: counter(p); position: absolute; inset-inline-start: 0; inset-block-start: .12em;
  inline-size: 22px; block-size: 22px; border-radius: 7px; display: grid; place-items: center;
  background: rgba(201, 164, 95, .15); color: var(--gold-600);
  font-family: var(--font-num); font-size: .76rem; font-weight: 700;
}
.prose a { color: var(--gold-600); text-decoration: underline; text-underline-offset: 3px; }
.callout {
  margin-block: 22px; padding: 18px 22px; border-radius: var(--r-md);
  background: rgba(201, 164, 95, .09); border: 1px solid rgba(201, 164, 95, .3);
  border-inline-start: 3px solid var(--gold-500);
}
.callout strong { display: block; margin-block-end: 6px; color: var(--forest-800); }
.callout p { margin: 0; font-size: .93rem; }
.legal__meta { font-size: .85rem; color: var(--text-mute); margin-block-end: 26px; padding-block-end: 18px; border-block-end: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   22. 404
   -------------------------------------------------------------------------- */
.e404 { min-block-size: 100svh; display: grid; place-items: center; text-align: center; padding-block: calc(var(--header-h) + 40px) 60px; }
.e404__code {
  font-family: var(--font-num); font-weight: 700; line-height: .9;
  font-size: clamp(6rem, 22vw, 13rem);
  background: linear-gradient(150deg, var(--gold-400), rgba(201, 164, 95, .18));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  direction: ltr; unicode-bidi: isolate;
}

/* --------------------------------------------------------------------------
   23. Motion utilities
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0; translate: 0 26px;
  transition: opacity .78s var(--e-out), translate .78s var(--e-out);
  transition-delay: var(--d, 0ms);
}
/* Horizontal entrances only where there is room for them. Below 900px a
   26px sideways offset pushes full-width blocks past the viewport and
   creates a horizontal scrollbar, so those stay vertical. */
@media (min-width: 901px) {
  [data-reveal="right"] { translate: 26px 0; }
  [data-reveal="left"] { translate: -26px 0; }
}
[data-reveal="zoom"] { translate: 0 0; scale: .94; transition-property: opacity, scale; }
[data-reveal].is-in { opacity: 1; translate: 0 0; scale: 1; }

.tilt { transition: transform var(--t) var(--e-out); transform-style: preserve-3d; }

.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center; background: var(--forest-900);
  transition: opacity .6s var(--e-out), visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader img { inline-size: clamp(90px, 16vw, 130px); animation: beat 1.5s var(--e-in-out) infinite; }
@keyframes beat {
  0%, 100% { transform: scale(1); opacity: .75; }
  50% { transform: scale(1.09); opacity: 1; }
}
.preloader__bar {
  margin-block-start: 22px; inline-size: 150px; block-size: 2px;
  border-radius: 2px; background: rgba(239, 224, 196, .16); overflow: hidden;
}
.preloader__bar i { display: block; block-size: 100%; inline-size: 40%; border-radius: 2px;
  background: var(--gold-500); animation: slide 1.1s var(--e-in-out) infinite; }
@keyframes slide { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero { min-block-size: auto; }
  .hero .lead, .hero__inner > div:first-child { max-width: none; }
  .chip-float--a { inset-inline-start: -8px; }
  .chip-float--b { inset-inline-end: -8px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1000px) {
  .builder__grid { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .legal__toc a { display: inline-block; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__inner { position: relative; }
  .header__actions { margin-inline-start: auto; }
  /* Centre the lockup with PHYSICAL left/transform. `inset-inline-start:50%`
     plus `translate:-50%` lands off-centre in RTL and pushed the logo out of
     view entirely. */
  .brand {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%); translate: none;
    margin-inline: 0;
  }
  /* the header CTA lives in the drawer on small screens — keeping both here
     squeezed the centred logo out of its slot */
  .header__actions > .btn { display: none; }
  .split--rev > *:first-child { order: 0; }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .panel__kpis { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .kpi { padding: 10px 8px; }
  .kpi__v { font-size: 1.05rem; }
  .kpi__l { font-size: .66rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { justify-content: center; text-align: center; }
  .footer__legal { justify-content: center; }
  .chip-float { display: none; }
  .hero__panel { animation: none; }
  .cookie__in { justify-content: stretch; }
  .cookie__btns { inline-size: 100%; }
  .cookie__btns .btn { flex: 1; }
  .scroll-cue { display: none; }
  .to-top { inline-size: 42px; block-size: 42px; }
  .wa-float { inline-size: 52px; block-size: 52px; }
}

@media (max-width: 460px) {
  .btn { inline-size: 100%; }
  .hero__cta .btn, .cta-band__actions .btn { inline-size: 100%; }
  .plan__amt { font-size: 1.85rem; }
  .brand img { block-size: 36px; }
  .lang-switch { padding: 8px 11px; font-size: .8rem; }
  .lang-switch span.lbl { display: none; }
}

/* landscape phones */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { min-block-size: auto; padding-block-start: calc(var(--header-h) + 34px); }
  .drawer { padding-block: 16px; }
}

/* pointer-coarse: no hover transforms that stick */
@media (hover: none) {
  .card:hover, .step:hover, .plan:hover, .chan:hover, .stat:hover { transform: none; }
  .btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; translate: 0 !important; scale: 1 !important; }
  .marquee__track { animation: none !important; }
}

/* print */
@media print {
  .header, .drawer, .footer, .wa-float, .to-top, .cookie, .preloader, .progress, .hero__canvas { display: none !important; }
  body { background: #fff; color: #000; }
  .dark { background: #fff !important; color: #000 !important; }
}
