/* ==========================================================================
   متين للاستشارات الإدارية — MATEEN Management Consulting
   Design System  |  Palette derived strictly from the gold/bronze logo
   ========================================================================== */

/* ---------- Fonts ---------- */
/* IBM Plex Sans Arabic + IBM Plex Sans loaded via <link> in each page head.
   Arial is forced ONLY on numeric glyphs through a unicode-range @font-face. */
@font-face {
  font-family: 'NumArial';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  unicode-range: U+0030-0039, U+0025, U+002B, U+002C, U+002E;
  font-display: swap;
}

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */
:root {
  /* Brand gold gradient (extracted from logo) */
  --gold-deep:      #4C3314;   /* logo darkest bronze */
  --gold-800:       #6B4A1F;
  --gold-700:       #7A5A2E;   /* link on light (AA 5.95) */
  --gold-600:       #8A6535;
  --gold:           #A7804C;   /* logo median — primary brand */
  --gold-btn:       #B8924F;   /* button bg w/ ink text (AA 6.16) */
  --gold-500:       #C9A45C;   /* gold text on dark (AAA 7.59) */
  --gold-400:       #D0B070;   /* light gold highlight */
  --gold-300:       #E0CB97;
  --gold-200:       #EFE3C5;   /* champagne */
  --gold-100:       #F6EFDD;

  /* Warm neutrals (shades/tints of the bronze hue) */
  --ink:            #1C1710;   /* main dark / dark text (AAA on cream) */
  --ink-deep:       #14100A;
  --charcoal:       #2A2218;
  --charcoal-2:     #352B1E;
  --cream:          #FBF8F2;   /* light background */
  --cream-2:        #F4EEE2;   /* alt section */
  --cream-3:        #EDE4D2;
  --line:           #E7DECB;   /* warm border on light */
  --line-dark:      #3A3020;   /* warm border on dark */
  --muted:          #6B5E4A;   /* muted text on light (AA 5.96) */
  --muted-dark:     #B8AC95;   /* muted text on dark (AAA 7.95) */
  --white:          #FFFFFF;

  /* Semantic */
  --bg:             var(--cream);
  --text:           var(--ink);
  --whatsapp:       #1FA855;

  /* Typography */
  --ff-ar: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, sans-serif;
  --ff-en: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --ff: 'NumArial', var(--ff-ar);

  /* Fluid type scale */
  --fs-hero:  clamp(2.1rem, 1.3rem + 3.6vw, 4.2rem);
  --fs-h1:    clamp(1.85rem, 1.2rem + 2.6vw, 3.1rem);
  --fs-h2:    clamp(1.55rem, 1.1rem + 1.9vw, 2.4rem);
  --fs-h3:    clamp(1.2rem, 1rem + 0.9vw, 1.55rem);
  --fs-lead:  clamp(1.05rem, 0.98rem + 0.5vw, 1.3rem);
  --fs-body:  1rem;
  --fs-sm:    0.9rem;

  /* Spacing & layout */
  --container: 1200px;
  --container-narrow: 880px;
  --gutter: clamp(1.1rem, 0.6rem + 2.4vw, 2.2rem);
  --section-y: clamp(3.6rem, 2.4rem + 4.5vw, 7rem);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;

  /* Shadows (warm-tinted) */
  --shadow-sm: 0 2px 10px rgba(76, 51, 20, 0.07);
  --shadow:    0 14px 40px -16px rgba(76, 51, 20, 0.22);
  --shadow-lg: 0 30px 70px -28px rgba(28, 23, 16, 0.42);
  --shadow-gold: 0 18px 50px -18px rgba(167, 128, 76, 0.5);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s;
  --t: 0.32s;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--ff);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="en"] body { font-family: 'NumArial', var(--ff-en); }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }

/* Force Arial on standalone numbers wrapped in .num */
.num { font-family: 'NumArial', sans-serif; font-feature-settings: "tnum" 1; letter-spacing: 0; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--gold-300); color: var(--ink); }

/* Headings */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--cream); }
.section--cream2 { background: var(--cream-2); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; inset-inline-start: 1rem; top: -100px; z-index: 2000;
  background: var(--gold-btn); color: var(--ink); padding: 0.7rem 1.2rem;
  border-radius: 8px; font-weight: 600; transition: top var(--t);
}
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   4. Section heading kit
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--gold-700); text-transform: uppercase;
  margin-bottom: 1rem;
}
.section--dark .eyebrow { color: var(--gold-400); }
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px;
}
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: var(--fs-h2); }
.section-sub { margin-top: 1rem; font-size: var(--fs-lead); color: var(--muted); }
.section--dark .section-sub { color: var(--muted-dark); }

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.btn {
  --btn-py: 0.95rem; --btn-px: 1.7rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: var(--btn-py) var(--btn-px);
  font-weight: 600; font-size: 0.98rem; line-height: 1;
  border-radius: 999px; border: 1.5px solid transparent;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold-btn), var(--gold-600));
  color: var(--ink); box-shadow: var(--shadow-gold);
}
.btn--primary:hover { box-shadow: 0 22px 56px -16px rgba(167,128,76,0.62); filter: brightness(1.04); }

.btn--ghost {
  background: transparent; color: var(--gold-700);
  border-color: var(--gold);
}
.section--dark .btn--ghost, .btn--ghost-light { color: var(--gold-300); border-color: var(--gold-600); }
.btn--ghost:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--ghost-light:hover { background: var(--gold-500); color: var(--ink); border-color: var(--gold-500); }

.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--charcoal); }

.btn--white { background: var(--cream); color: var(--ink); }
.btn--white:hover { background: var(--white); }

.btn--lg { --btn-py: 1.1rem; --btn-px: 2.1rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* arrow nudges with direction awareness */
.btn .ico-arrow { transition: transform var(--t); }
.btn:hover .ico-arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .ico-arrow { transform: translateX(-4px); }

/* ==========================================================================
   6. Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251, 248, 242, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand img { height: 50px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.brand__tag { font-size: 0.7rem; color: var(--gold-700); letter-spacing: 0.02em; }

.nav__menu { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  position: relative; padding: 0.6rem 0.95rem; border-radius: 10px;
  font-size: 0.96rem; font-weight: 500; color: var(--ink);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link::after {
  content: ""; position: absolute; inset-inline: 0.95rem; bottom: 0.42rem; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0);
  transform-origin: center; transition: transform var(--t) var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold-700); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 0.6rem; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 0.85rem; border-radius: 999px;
  border: 1.5px solid var(--line); font-weight: 600; font-size: 0.85rem;
  color: var(--ink); transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold-700); }
.lang-toggle svg { width: 17px; height: 17px; }

.nav__cta { display: inline-flex; }

/* Hamburger */
.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--line); align-items: center; justify-content: center;
  color: var(--ink); transition: border-color var(--t-fast), background var(--t-fast);
}
.nav__toggle:hover { border-color: var(--gold); }
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle .ico-close { display: none; }
.nav__toggle[aria-expanded="true"] .ico-open { display: none; }
.nav__toggle[aria-expanded="true"] .ico-close { display: block; }

/* Mobile drawer */
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(20,16,10,0.5); z-index: 998;
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

@media (max-width: 980px) {
  .nav__menu, .nav__cta-desktop { display: none; }
  .nav__toggle { display: inline-flex; }
  .mobile-nav {
    position: fixed; top: 0; inset-inline-end: 0; z-index: 999;
    width: min(86vw, 360px); height: 100dvh;
    background: var(--cream); box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    display: flex; flex-direction: column; padding: 1.5rem;
    transition: transform var(--t) var(--ease);
    overflow-y: auto;
  }
  html[dir="rtl"] .mobile-nav { transform: translateX(-100%); }
  body.nav-open .mobile-nav { transform: translateX(0); }
}
@media (min-width: 981px) { .mobile-nav { display: none; } }

.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.mobile-nav__close { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; }
.mobile-nav__links { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav__links a {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.95rem 0.9rem;
  border-radius: 12px; font-weight: 500; font-size: 1.05rem;
  transition: background var(--t-fast), color var(--t-fast);
}
.mobile-nav__links a:hover, .mobile-nav__links a[aria-current="page"] { background: var(--cream-2); color: var(--gold-700); }
.mobile-nav__links a svg { width: 20px; height: 20px; color: var(--gold); }
.mobile-nav__foot { margin-top: auto; padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; }

/* ==========================================================================
   7. Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 520px at 80% -10%, rgba(167,128,76,0.22), transparent 60%),
    radial-gradient(800px 480px at 10% 110%, rgba(201,164,92,0.14), transparent 55%),
    linear-gradient(160deg, var(--ink-deep) 0%, var(--ink) 45%, var(--charcoal) 100%);
  color: var(--cream);
  padding-block: clamp(4rem, 3rem + 8vw, 8.5rem);
  isolation: isolate;
}
.hero__grid {
  position: absolute; inset: 0; z-index: -2; opacity: 0.5;
  background-image:
    linear-gradient(rgba(167,128,76,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,128,76,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero__watermark {
  position: absolute; z-index: -1; inset-inline-end: -6%; top: 50%;
  transform: translateY(-50%); width: min(46%, 520px); opacity: 0.08;
  filter: grayscale(0.2) brightness(1.6);
  pointer-events: none;
  animation: floatY 9s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(-54%); } }

.hero__inner { max-width: 760px; position: relative; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: rgba(167,128,76,0.12); border: 1px solid rgba(208,176,112,0.3);
  color: var(--gold-300); font-size: 0.85rem; font-weight: 500; margin-bottom: 1.6rem;
}
.hero__badge svg { width: 16px; height: 16px; }
.hero h1 {
  font-size: var(--fs-hero); color: var(--cream); font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 1.3rem;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500), var(--gold-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead {
  font-size: var(--fs-lead); color: var(--muted-dark);
  max-width: 60ch; margin-bottom: 2.2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.2rem);
  margin-top: clamp(2.6rem, 5vw, 4rem); padding-top: 2.2rem;
  border-top: 1px solid var(--line-dark);
}
.hero__stat .n {
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); font-weight: 700;
  color: var(--gold-400); line-height: 1;
}
.hero__stat .l { font-size: 0.9rem; color: var(--muted-dark); margin-top: 0.5rem; }

/* ==========================================================================
   8. Cards: Services / Values / Feature
   ========================================================================== */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 15px;
  background: linear-gradient(140deg, var(--gold-100), var(--cream));
  border: 1px solid var(--line); color: var(--gold-700);
  transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t);
}
.icon-badge svg { width: 27px; height: 27px; }

.card {
  position: relative; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-400));
  transform: scaleX(0); transform-origin: inline-start; transition: transform var(--t) var(--ease);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.card:hover::before { transform: scaleX(1); }
.card:hover .icon-badge { transform: translateY(-2px); background: linear-gradient(140deg, var(--gold-btn), var(--gold-600)); color: var(--ink); box-shadow: var(--shadow-gold); }
.card h3 { font-size: var(--fs-h3); margin: 1.2rem 0 0.6rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card__link {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.1rem;
  font-weight: 600; font-size: 0.92rem; color: var(--gold-700);
}
.card__link svg { width: 17px; height: 17px; transition: transform var(--t); }
.card:hover .card__link svg { transform: translateX(4px); }
html[dir="rtl"] .card:hover .card__link svg { transform: translateX(-4px); }

/* dark variant for value cards on dark sections */
.card--dark { background: var(--charcoal); border-color: var(--line-dark); }
.card--dark h3 { color: var(--cream); }
.card--dark p { color: var(--muted-dark); }
.card--dark .icon-badge { background: rgba(167,128,76,0.14); border-color: var(--line-dark); color: var(--gold-300); }
.card--dark:hover { border-color: var(--gold-700); }

/* numbered service detail block (services page) */
.svc-detail {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start; padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}
.svc-detail:hover { box-shadow: var(--shadow); border-color: var(--gold-300); }
.svc-detail__num {
  font-family: 'NumArial', sans-serif; font-weight: 700; font-size: 1.05rem;
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold-400);
}
.svc-detail h3 { font-size: var(--fs-h3); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.6rem; }
.svc-detail h3 svg { width: 22px; height: 22px; color: var(--gold-700); }
.svc-detail p { color: var(--muted); }
.svc-detail__list { margin-top: 1rem; display: grid; gap: 0.5rem; }
.svc-detail__list li { display: flex; gap: 0.6rem; color: var(--muted); font-size: 0.95rem; align-items: flex-start; }
.svc-detail__list li svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 0.28rem; }

/* ==========================================================================
   9. Feature / Why-us split + stat band
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.feature-list { display: grid; gap: 1.3rem; margin-top: 1.8rem; }
.feature-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.feature-item .icon-badge { width: 48px; height: 48px; border-radius: 13px; }
.feature-item .icon-badge svg { width: 23px; height: 23px; }
.feature-item h4 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.feature-item p { color: var(--muted); font-size: 0.95rem; }
.section--dark .feature-item p { color: var(--muted-dark); }
.section--dark .feature-item h4 { color: var(--cream); }

.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--charcoal), var(--ink));
  border: 1px solid var(--line-dark); aspect-ratio: 4 / 3.4;
  display: grid; place-items: center; padding: 2rem;
}
.media-frame img { width: min(70%, 320px); opacity: 0.96; filter: brightness(1.5); }
.media-frame::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 300px at 70% 20%, rgba(167,128,76,0.28), transparent 60%);
}

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 760px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
.stat {
  text-align: center; padding: clamp(1.4rem,3vw,2.2rem) 1rem;
  border-radius: var(--radius); border: 1px solid var(--line-dark);
  background: linear-gradient(160deg, rgba(167,128,76,0.07), transparent);
}
.stat .n { font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); font-weight: 700; color: var(--gold-400); line-height: 1; }
.stat .l { margin-top: 0.7rem; color: var(--muted-dark); font-size: 0.92rem; }

/* ==========================================================================
   10. Packages / Pricing
   ========================================================================== */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: stretch; }
@media (max-width: 1080px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }

.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem 1.5rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured {
  background: linear-gradient(180deg, var(--ink), var(--charcoal));
  border-color: var(--gold-700); box-shadow: var(--shadow-lg);
}
.price-card.featured * { color: var(--cream); }
.price-card.featured .price-card__name,
.price-card.featured .price-amount { color: var(--cream); }
.price-card.featured .price-currency { color: var(--gold-400); }
.price-badge {
  position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-btn), var(--gold-600)); color: var(--ink);
  font-size: 0.78rem; font-weight: 700; padding: 0.35rem 1rem; border-radius: 999px;
  white-space: nowrap; box-shadow: var(--shadow-gold);
}
html[dir="rtl"] .price-badge { transform: translateX(50%); }
.price-card__name { font-size: 1.2rem; font-weight: 700; }
.price-card__desc { font-size: 0.9rem; color: var(--muted); margin-top: 0.4rem; min-height: 2.6em; }
.price-card.featured .price-card__desc { color: var(--muted-dark); }
.price-row { display: flex; align-items: baseline; gap: 0.4rem; margin: 1.3rem 0 0.2rem; flex-wrap: wrap; }
.price-amount { font-family: 'NumArial', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--ink); line-height: 1; }
.price-currency { font-size: 0.95rem; font-weight: 600; color: var(--gold-700); }
.price-period { font-size: 0.85rem; color: var(--muted); width: 100%; }
.price-card.featured .price-period { color: var(--muted-dark); }
.price-divider { height: 1px; background: var(--line); margin: 1.4rem 0; }
.price-card.featured .price-divider { background: var(--line-dark); }
.price-features { display: grid; gap: 0.7rem; margin-bottom: 1.6rem; flex-grow: 1; }
.price-features li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.93rem; }
.price-features li svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 0.22rem; }
.price-features li.off { opacity: 0.4; }
.price-features li.off svg { color: var(--muted); }
.price-card .btn { margin-top: auto; }

.price-note {
  text-align: center; margin-top: 2rem; color: var(--muted); font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center; width: 100%;
}
.price-note svg { width: 18px; height: 18px; color: var(--gold-700); }

/* Custom package slider */
.custom-pkg {
  background: linear-gradient(160deg, var(--ink), var(--charcoal)); color: var(--cream);
  border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3.2rem);
  border: 1px solid var(--line-dark);
}
.custom-pkg__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
@media (max-width: 860px) { .custom-pkg__grid { grid-template-columns: 1fr; } }
.slider-value { display: flex; align-items: baseline; gap: 0.5rem; margin: 1.4rem 0; }
.slider-value .v { font-family: 'NumArial', sans-serif; font-size: clamp(2.2rem,5vw,3.2rem); font-weight: 700; color: var(--gold-400); line-height: 1; }
.slider-value .c { color: var(--gold-300); font-weight: 600; }
.slider-tier { color: var(--muted-dark); font-size: 0.95rem; margin-bottom: 1.5rem; }
.slider-tier strong { color: var(--gold-300); }
input[type="range"].range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px;
  border-radius: 999px; background: var(--line-dark); outline: none; cursor: pointer;
}
input[type="range"].range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  border: 3px solid var(--ink); box-shadow: var(--shadow-gold);
}
input[type="range"].range::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--ink);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
}
.range-minmax { display: flex; justify-content: space-between; margin-top: 0.7rem; font-size: 0.8rem; color: var(--muted-dark); }
.unlock-list { display: grid; gap: 0.6rem; }
.unlock-list li {
  display: flex; gap: 0.65rem; align-items: center; font-size: 0.94rem;
  color: var(--muted-dark); opacity: 0.4; transition: opacity var(--t), color var(--t);
}
.unlock-list li svg { width: 19px; height: 19px; color: var(--muted-dark); flex-shrink: 0; transition: color var(--t); }
.unlock-list li.on { opacity: 1; color: var(--cream); }
.unlock-list li.on svg { color: var(--gold-400); }

/* comparison table */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; background: var(--cream); }
.compare th, .compare td { padding: 1rem 1.1rem; text-align: start; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--ink); color: var(--cream); font-weight: 600; }
.compare thead th:first-child { border-start-start-radius: 0; }
.compare tbody td { color: var(--muted); font-size: 0.95rem; }
.compare tbody td:first-child { color: var(--ink); font-weight: 500; }
.compare .yes svg { width: 20px; height: 20px; color: var(--gold-700); }
.compare .no svg { width: 18px; height: 18px; color: var(--line); }
.compare tbody tr:hover { background: var(--cream-2); }

/* ==========================================================================
   11. Timeline (About)
   ========================================================================== */
.timeline { position: relative; margin-top: 2rem; }
.timeline::before {
  content: ""; position: absolute; inset-inline-start: 15px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--gold), var(--line));
}
.tl-item { position: relative; padding-inline-start: 52px; padding-bottom: 2.2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; inset-inline-start: 6px; top: 4px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--cream); border: 3px solid var(--gold);
  display: grid; place-items: center;
}
.tl-dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.tl-year { font-family: 'NumArial', sans-serif; font-weight: 700; color: var(--gold-700); font-size: 0.95rem; }
.tl-item h4 { margin: 0.2rem 0 0.4rem; font-size: 1.1rem; }
.tl-item p { color: var(--muted); font-size: 0.95rem; }

/* values pill grid */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
@media (max-width: 760px){ .values-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px){ .values-grid { grid-template-columns: 1fr; } }
.value-pill {
  display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.2rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.value-pill:hover { transform: translateY(-3px); border-color: var(--gold-300); box-shadow: var(--shadow-sm); }
.value-pill .icon-badge { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.value-pill .icon-badge svg { width: 22px; height: 22px; }
.value-pill span { font-weight: 600; }

/* ==========================================================================
   12. Marquee (logos / sectors)
   ========================================================================== */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
html[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.sector {
  display: inline-flex; align-items: center; gap: 0.7rem; margin-inline-end: 14px;
  padding: 0.9rem 1.5rem; background: var(--cream); border: 1px solid var(--line);
  border-radius: 999px; white-space: nowrap; color: var(--ink); font-weight: 500;
}
.sector svg { width: 20px; height: 20px; color: var(--gold-700); }

/* ==========================================================================
   13. Testimonials
   ========================================================================== */
.quote-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem); position: relative;
  transition: transform var(--t), box-shadow var(--t);
}
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.quote-mark { font-family: Georgia, serif; font-size: 4rem; line-height: 0.6; color: var(--gold-300); height: 30px; }
.quote-card p { color: var(--ink); font-size: 1.02rem; margin: 0.5rem 0 1.4rem; }
.quote-author { display: flex; align-items: center; gap: 0.8rem; }
.quote-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-btn), var(--gold-600)); color: var(--ink);
  display: grid; place-items: center; font-weight: 700;
}
.quote-author .name { font-weight: 600; font-size: 0.96rem; }
.quote-author .role { font-size: 0.84rem; color: var(--muted); }

/* ==========================================================================
   14. FAQ accordion
   ========================================================================== */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 0.3rem; text-align: start; font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.faq-q .faq-ico {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line);
  display: grid; place-items: center; transition: transform var(--t), background var(--t), border-color var(--t), color var(--t);
  color: var(--gold-700);
}
.faq-q .faq-ico svg { width: 18px; height: 18px; }
.faq-q[aria-expanded="true"] .faq-ico { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: var(--ink); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height var(--t) var(--ease); }
.faq-a > div { padding: 0 0.3rem 1.4rem; color: var(--muted); }

/* ==========================================================================
   15. Forms
   ========================================================================== */
.form-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.5rem; }
.field label .req { color: var(--gold-700); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.9rem 1.05rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(167,128,76,0.15); outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: #A99C86; }
.field.error input, .field.error textarea, .field.error select { border-color: #C0492F; }
.field .err-msg { display: none; color: #C0492F; font-size: 0.82rem; margin-top: 0.4rem; }
.field.error .err-msg { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.form-success {
  display: none; align-items: flex-start; gap: 0.8rem; padding: 1.1rem 1.3rem;
  background: rgba(31,168,85,0.1); border: 1px solid rgba(31,168,85,0.35);
  border-radius: var(--radius-sm); color: #1A7A42; margin-bottom: 1.2rem;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }

/* contact info cards */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem,4vw,3rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid > * { min-width: 0; }
.contact-channels { display: grid; gap: 1rem; min-width: 0; }
.contact-channel {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; min-width: 0;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.contact-channel > :last-child { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 0.12rem; }
.contact-channel .l { display: block; }
.contact-channel .v { display: block; overflow-wrap: anywhere; line-height: 1.4; }
.contact-channel:hover { transform: translateY(-3px); border-color: var(--gold-300); box-shadow: var(--shadow-sm); }
.contact-channel .icon-badge { flex-shrink: 0; }
.contact-channel .l { font-size: 0.82rem; color: var(--muted); }
.contact-channel .v { font-weight: 600; font-size: 1rem; }
.contact-channel.is-wa .icon-badge { background: rgba(31,168,85,0.12); color: var(--whatsapp); border-color: rgba(31,168,85,0.3); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; margin-top: 1.4rem; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2); }

/* ==========================================================================
   16. CTA band
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden;
  background: radial-gradient(800px 400px at 80% 0%, rgba(167,128,76,0.25), transparent 60%), linear-gradient(160deg, var(--ink-deep), var(--charcoal));
  color: var(--cream); border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 4rem); text-align: center;
}
.cta-band h2 { color: var(--cream); font-size: var(--fs-h2); margin-bottom: 1rem; }
.cta-band p { color: var(--muted-dark); max-width: 56ch; margin: 0 auto 2rem; font-size: var(--fs-lead); }
.cta-band__btns { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.cta-band__mark { position: absolute; inset-inline-end: -40px; bottom: -40px; width: 220px; opacity: 0.07; filter: brightness(1.7); }

/* ==========================================================================
   17. Footer
   ========================================================================== */
.site-footer { background: var(--ink-deep); color: var(--muted-dark); padding-top: clamp(3rem,5vw,4.5rem); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(1.6rem,3vw,2.5rem); padding-bottom: 2.6rem; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 64px; width: auto; margin-bottom: 1rem; filter: brightness(1.05); }
.footer-brand p { color: var(--muted-dark); font-size: 0.93rem; max-width: 34ch; }
.footer-col h4 { color: var(--cream); font-size: 1rem; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a { color: var(--muted-dark); font-size: 0.93rem; transition: color var(--t-fast), padding var(--t-fast); }
.footer-col a:hover { color: var(--gold-300); padding-inline-start: 4px; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.8rem; font-size: 0.93rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-500); flex-shrink: 0; margin-top: 0.18rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-dark);
  display: grid; place-items: center; color: var(--muted-dark);
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.footer-social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.6rem; font-size: 0.86rem; }
.footer-bottom a:hover { color: var(--gold-300); }
.footer-credit { color: var(--muted-dark); }
.footer-credit a { color: var(--gold-500); font-weight: 500; }

/* ==========================================================================
   18. Cookie banner
   ========================================================================== */
.cookie {
  position: fixed; inset-inline: 1rem; bottom: 1rem; z-index: 1500;
  max-width: 560px; margin-inline: auto;
  background: var(--ink); color: var(--cream); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-lg);
  display: none; gap: 1rem; align-items: flex-start;
  transform: translateY(20px); opacity: 0; transition: transform var(--t), opacity var(--t);
}
.cookie.show { display: flex; transform: translateY(0); opacity: 1; }
.cookie__ico { color: var(--gold-400); flex-shrink: 0; }
.cookie__ico svg { width: 26px; height: 26px; }
.cookie p { font-size: 0.9rem; color: var(--muted-dark); }
.cookie p a { color: var(--gold-300); text-decoration: underline; }
.cookie__actions { display: flex; gap: 0.6rem; margin-top: 0.9rem; flex-wrap: wrap; }
.cookie .btn { --btn-py: 0.6rem; --btn-px: 1.1rem; font-size: 0.85rem; }

/* ==========================================================================
   19. Page hero (inner pages)
   ========================================================================== */
.page-hero {
  background:
    radial-gradient(700px 360px at 85% -20%, rgba(167,128,76,0.2), transparent 60%),
    linear-gradient(160deg, var(--ink-deep), var(--ink) 60%, var(--charcoal));
  color: var(--cream); padding-block: clamp(3rem, 4vw, 5rem); position: relative; overflow: hidden; clip-path: inset(0);
}
.page-hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.4;
  background-image: linear-gradient(rgba(167,128,76,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(167,128,76,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 70%);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { color: var(--cream); font-size: var(--fs-h1); margin-bottom: 1rem; }
.page-hero p { color: var(--muted-dark); font-size: var(--fs-lead); max-width: 60ch; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted-dark); margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb svg { width: 15px; height: 15px; opacity: 0.6; }
html[dir="rtl"] .breadcrumb svg { transform: scaleX(-1); }

/* ==========================================================================
   20. Legal / prose
   ========================================================================== */
.prose { max-width: 820px; }
.prose h2 { font-size: var(--fs-h3); margin: 2.2rem 0 0.9rem; color: var(--ink); }
.prose h3 { font-size: 1.15rem; margin: 1.6rem 0 0.6rem; }
.prose p { color: var(--muted); margin-bottom: 1rem; }
.prose ul { display: grid; gap: 0.6rem; margin: 0.8rem 0 1.4rem; }
.prose ul li { position: relative; padding-inline-start: 1.15rem; color: var(--muted); overflow-wrap: anywhere; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.62rem; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.prose strong { color: var(--ink); }
.prose .updated { font-size: 0.88rem; color: var(--muted); margin-bottom: 2rem; }
.legal-callout {
  background: var(--gold-100); border: 1px solid var(--gold-300); border-inline-start: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin: 1.6rem 0;
}
.legal-callout p { color: var(--gold-800); margin: 0; }
.legal-callout strong { color: var(--gold-deep); }
.legal-toc {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; margin-bottom: 2.2rem;
}
.legal-toc h4 { margin-bottom: 0.8rem; font-size: 1rem; }
.legal-toc ol { list-style: decimal; padding-inline-start: 1.2rem; display: grid; gap: 0.4rem; }
.legal-toc a { color: var(--gold-700); font-size: 0.93rem; }
.legal-toc a:hover { text-decoration: underline; }

/* ==========================================================================
   21. Scroll reveal
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.40s; }

/* loading bar */
.page-loader {
  position: fixed; inset: 0; z-index: 3000; background: var(--ink);
  display: grid; place-items: center; transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.done { opacity: 0; visibility: hidden; }
.page-loader img { width: 90px; animation: pulse 1.4s ease-in-out infinite; filter: brightness(1.4); }
@keyframes pulse { 0%,100% { opacity: 0.5; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1); } }

/* ==========================================================================
   22. Animated brand illustrations (replace static logo art)
   ========================================================================== */
.illus {
  position: relative; width: 100%; aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--charcoal), var(--ink));
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg);
}
.illus::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.55;
  background-image:
    linear-gradient(rgba(167,128,76,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,128,76,0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 82% 82% at 50% 42%, #000 35%, transparent 80%);
          mask-image: radial-gradient(ellipse 82% 82% at 50% 42%, #000 35%, transparent 80%);
}
.illus::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(420px 300px at 72% 16%, rgba(167,128,76,0.30), transparent 62%);
}
.illus > svg { position: relative; z-index: 1; width: 100%; height: 100%; display: block; }
.illus__shine {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(239,227,197,0.13) 48%, transparent 64%);
  transform: translateX(-130%); animation: illusShine 7s ease-in-out infinite;
}
@keyframes illusShine { 0%, 40% { transform: translateX(-130%); } 70%, 100% { transform: translateX(130%); } }
html[dir="rtl"] .illus__shine { animation-name: illusShineRtl; }
@keyframes illusShineRtl { 0%, 40% { transform: translateX(130%); } 70%, 100% { transform: translateX(-130%); } }

/* SVG animation primitives — only when motion is allowed (reduced-motion users see full static art) */
@media (prefers-reduced-motion: no-preference) {
  .an-rise { transform-box: fill-box; transform-origin: bottom; animation: anRise 0.9s var(--ease) backwards; }
  .an-rise.r1 { animation-delay: 0.15s; } .an-rise.r2 { animation-delay: 0.35s; }
  .an-rise.r3 { animation-delay: 0.55s; } .an-rise.r4 { animation-delay: 0.75s; }
  .an-rise.r5 { animation-delay: 0.95s; } .an-rise.r6 { animation-delay: 1.15s; }
  @keyframes anRise { 0% { transform: scaleY(0); opacity: 0; } 100% { transform: scaleY(1); opacity: 1; } }

  .an-draw { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); animation: anDraw 2.4s var(--ease) 0.3s forwards; }
  @keyframes anDraw { to { stroke-dashoffset: 0; } }

  .an-dot { opacity: 0; animation: anDot 0.6s var(--ease) 2.3s forwards, anFloat 5s ease-in-out 2.9s infinite; }
  @keyframes anDot { to { opacity: 1; } }

  .an-float { animation: anFloat 5s ease-in-out infinite; }
  .an-float.d1 { animation-delay: 0.7s; } .an-float.d2 { animation-delay: 1.4s; } .an-float.d3 { animation-delay: 2.1s; }
  @keyframes anFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

  .an-pulse { transform-box: fill-box; transform-origin: center; animation: anPulse 2.8s ease-in-out infinite; }
  .an-pulse.p1 { animation-delay: 0.5s; } .an-pulse.p2 { animation-delay: 1s; } .an-pulse.p3 { animation-delay: 1.5s; }
  @keyframes anPulse { 0%, 100% { transform: scale(1); opacity: 0.95; } 50% { transform: scale(1.22); opacity: 0.6; } }

  .an-spin { transform-box: fill-box; transform-origin: center; animation: anSpin 26s linear infinite; }
  .an-spin-rev { transform-box: fill-box; transform-origin: center; animation: anSpin 32s linear infinite reverse; }
  @keyframes anSpin { to { transform: rotate(360deg); } }
}

/* hero corner motif (inner page heroes) */
.hero-motif {
  position: absolute; z-index: 0; inset-inline-end: 3%; top: 50%;
  width: min(34%, 290px); transform: translateY(-50%); opacity: 0.9; pointer-events: none;
}
@media (max-width: 760px) { .hero-motif { display: none; } }
.hero-motif svg { width: 100%; height: auto; display: block; }

/* ---- Real-photo frames (replace the static logo art) ---- */
.photo-frame {
  position: relative; width: 100%; aspect-ratio: 4 / 3.4; isolation: isolate;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg);
}
.photo-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  animation: kenBurns 24s ease-in-out infinite alternate;
}
.photo-frame__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(150deg, rgba(20,16,10,0.46), rgba(20,16,10,0.04) 56%),
    radial-gradient(360px 280px at 78% 10%, rgba(167,128,76,0.26), transparent 62%);
}
.photo-frame__ring { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(208,176,112,0.2); }
.photo-frame .illus__shine { z-index: 3; }
@keyframes kenBurns { from { transform: scale(1.05); } to { transform: scale(1.18) translate(-2.2%, -1.6%); } }

/* ---- Page-hero background photo ---- */
.page-hero__bg {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 45%; opacity: 0.78;
  animation: panBg 34s ease-in-out infinite alternate;
}
@keyframes panBg { from { object-position: 50% 36%; } to { object-position: 50% 62%; } }
.page-hero__veil {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16,12,8,0.93), rgba(16,12,8,0.55) 56%, rgba(16,12,8,0.30)),
    radial-gradient(620px 340px at 88% 6%, rgba(167,128,76,0.24), transparent 60%);
}
html[dir="rtl"] .page-hero__veil {
  background:
    linear-gradient(270deg, rgba(16,12,8,0.93), rgba(16,12,8,0.55) 56%, rgba(16,12,8,0.30)),
    radial-gradient(620px 340px at 12% 6%, rgba(167,128,76,0.24), transparent 60%);
}

/* helpers */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: var(--fs-lead); color: var(--muted); }
.section--dark .lead { color: var(--muted-dark); }
.divider-dot { display:inline-block; width:5px; height:5px; border-radius:50%; background:var(--gold); margin-inline:0.5rem; vertical-align:middle; }
