/* ============================================================
   MONAMI PRIJEVODI - styles.css  (shared across all 3 pages)
   Deep pine + terracotta + ivory. Spectral display + Manrope body.
   ============================================================ */

/* ---- FONTS (self-hosted) ---- */
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/manrope-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/manrope-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/manrope-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/manrope-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/manrope-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/manrope-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/manrope-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/manrope-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Spectral';font-style:italic;font-weight:500;font-display:swap;src:url('assets/fonts/spectral-500-i-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Spectral';font-style:italic;font-weight:500;font-display:swap;src:url('assets/fonts/spectral-500-i-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Spectral';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/spectral-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Spectral';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/spectral-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Spectral';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/spectral-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Spectral';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/spectral-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Spectral';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/spectral-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Spectral';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/spectral-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ---- ARABIC FONTS (self-hosted, Arabic subset only — Latin falls back to
   Spectral/Manrope; only fetched when Arabic glyphs render, i.e. in AR mode) ----
   Amiri = editorial naskh display (mirrors Spectral) · Noto Sans Arabic = clean
   body (mirrors Manrope). unicode-range scoped to the Arabic blocks. */
@font-face{font-family:'Amiri';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/amiri-400-arabic.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;}
@font-face{font-family:'Amiri';font-style:normal;font-weight:500 700;font-display:swap;src:url('assets/fonts/amiri-700-arabic.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;}
@font-face{font-family:'Noto Sans Arabic';font-style:normal;font-weight:400 700;font-display:swap;src:url('assets/fonts/noto-sans-arabic.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;}

/* ---- TOKENS ---- */
:root{
  --pine-900:#12352C; --pine-800:#164034; --pine-700:#1E4C3E; --pine-600:#2A5F4E;
  --ivory:#F4EFE4; --ivory-raised:#FBF8F1;
  --ink:#20211C; --muted:#55605A;
  --on-band:#EFE7D8; --on-band-muted:#C6D2C0;
  --accent:#B85C38; --accent-strong:#9F4A2A; --accent-soft:rgba(184,92,56,.12);
  --eyebrow-ink:#9F4A2A; --eyebrow-band:#E8B979; --sand:#D9A441;
  --line:rgba(18,53,44,.14); --line-band:rgba(239,231,216,.22); --hairline:rgba(18,53,44,.10);
  --radius:14px; --radius-pill:999px; --radius-input:10px; --radius-map:18px;
  --wrap:1180px;
  --ease:cubic-bezier(.16,1,.3,1);
  /* layered, pine-tinted depth (never pure black) — soft ambient + deep drop */
  --shadow:0 1px 2px rgba(18,53,44,.05),0 10px 24px -10px rgba(18,53,44,.20),0 30px 60px -28px rgba(18,53,44,.30);
  --shadow-sm:0 1px 2px rgba(18,53,44,.045),0 8px 20px -12px rgba(18,53,44,.16);
  --f-display:'Spectral',Georgia,'Times New Roman',serif;
  --f-body:'Manrope',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --f-ar-display:'Amiri','Spectral',Georgia,serif;
  --f-ar-body:'Noto Sans Arabic','Manrope',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  /* page-transition motion tokens (shared with the intro) */
  --tx-exit:420ms; --tx-hold:120ms; --tx-enter:520ms; --tx-failsafe:2200ms;
  --tx-ease:cubic-bezier(.22,1,.36,1); --tx-ease-in:cubic-bezier(.55,0,1,.45);
  /* shared motion tokens (micro-interactions, reveals, entrances) */
  --mo-micro:200ms;      /* hover / press feedback */
  --mo-state:260ms;      /* dropdown / small state changes */
  --mo-entrance:560ms;   /* hero + reveal entrances */
  --mo-stagger:60ms;     /* per-item stagger step */
  --ease-out:var(--ease);        /* confident deceleration (expo) */
  --ease-soft:var(--tx-ease);    /* slightly softer quint */
}

/* ---- RESET / BASE ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scrollbar-gutter:stable;-webkit-text-size-adjust:100%}
html.is-preloading{overflow:hidden}
body{
  font-family:var(--f-body);font-size:1.02rem;line-height:1.65;color:var(--ink);
  background:var(--ivory);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3{font-family:var(--f-display);font-weight:600;line-height:1.1;letter-spacing:-.015em;text-wrap:balance}
em{font-style:italic}
p{text-wrap:pretty}
:focus-visible{outline:2.5px solid var(--accent);outline-offset:3px;border-radius:4px}
.band :focus-visible,.page-hero :focus-visible,.cta-band :focus-visible{outline-color:var(--sand)}
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:clamp(1.1rem,4vw,2.4rem)}

.skip-link{position:fixed;top:-60px;left:14px;z-index:1000;background:var(--pine-800);color:var(--on-band);
  padding:.7rem 1.1rem;border-radius:10px;font-weight:600;transition:top .2s var(--ease)}
.skip-link:focus{top:14px}

/* ---- PRELOADER ---- */
@keyframes preloaderGuard{0%,78%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden;pointer-events:none}}
.no-js .preloader{display:none}
html:not(.is-preloading) .preloader{display:none}
.preloader{position:fixed;inset:0;z-index:900;display:grid;place-items:center;
  background:var(--pine-900);color:var(--on-band);transition:opacity .55s var(--ease),visibility .55s;
  animation:preloaderGuard 2s linear forwards}
.preloader.is-leaving{opacity:0;visibility:hidden;pointer-events:none}
.preloader__inner{display:flex;flex-direction:column;align-items:center;gap:.55rem;text-align:center}
.preloader__mark{width:58px;height:58px;display:grid;place-items:center;border:2px solid var(--sand);
  border-radius:50%;font-family:var(--f-display);font-size:1.7rem;color:var(--sand);
  animation:markPulse 1.6s var(--ease) infinite}
.preloader__word{font-family:var(--f-display);font-size:2rem;letter-spacing:.01em}
.preloader__bridge{display:block;width:0;height:2px;background:var(--accent);border-radius:2px;
  animation:bridgeDraw 1.2s var(--ease) forwards}
.preloader__sub{font-size:.8rem;letter-spacing:.22em;text-transform:uppercase;color:var(--on-band-muted)}
@keyframes bridgeDraw{from{width:0}to{width:150px}}
@keyframes markPulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.08);opacity:.72}}

/* ---- BUTTONS ---- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;white-space:nowrap;
  font-family:var(--f-body);font-weight:600;font-size:.98rem;line-height:1;cursor:pointer;
  padding:.92rem 1.5rem;border-radius:var(--radius-pill);border:1.5px solid transparent;
  transition:transform .16s var(--ease),background .2s var(--ease),color .2s var(--ease),box-shadow .2s var(--ease)}
.btn--sm{padding:.62rem 1.05rem;font-size:.9rem}
.btn__ico{font-size:1.05em}
.btn--primary{background:var(--accent-strong);color:#FFF7EE;box-shadow:0 10px 22px -12px rgba(159,74,42,.7)}
.btn--primary:hover{background:#8c3f22;transform:translateY(-2px);box-shadow:0 16px 30px -14px rgba(159,74,42,.75)}
.btn--primary:active{transform:translateY(0)}
.btn--ghost-band{background:transparent;color:var(--on-band);border-color:var(--line-band)}
.btn--ghost-band:hover{background:rgba(239,231,216,.1);border-color:var(--on-band);transform:translateY(-2px)}
.btn--ghost-band:active{transform:translateY(0)}
.btn--ghost{background:transparent;color:var(--pine-800);border-color:var(--line)}
.btn--ghost:hover{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-strong);transform:translateY(-2px)}
.btn--ghost:active{transform:translateY(0)}

/* ---- HEADER ---- */
.site-header{position:sticky;top:0;z-index:120;background:rgba(244,239,228,.82);
  backdrop-filter:saturate(140%) blur(12px);-webkit-backdrop-filter:saturate(140%) blur(12px);
  border-bottom:1px solid transparent;transition:border-color .3s var(--ease),background .3s var(--ease),box-shadow .3s var(--ease)}
.site-header.is-scrolled{border-color:var(--line);box-shadow:0 8px 26px -22px rgba(18,53,44,.55)}
.header__row{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:70px}
.brand{display:flex;align-items:center;gap:.6rem;font-family:var(--f-display);font-size:1.24rem;color:var(--pine-800)}
.brand__mark{width:34px;height:34px;display:grid;place-items:center;background:var(--pine-800);color:var(--sand);
  border-radius:9px;font-size:1.05rem;line-height:1}
.brand__name{font-weight:600;letter-spacing:-.01em}
.brand__thin{color:var(--muted);font-weight:400}
.nav{display:flex;align-items:center;gap:1.55rem;font-family:var(--f-body);font-weight:500;font-size:.96rem}
.nav__link{color:var(--ink);position:relative;padding:.3rem 0;transition:color .2s var(--ease)}
.nav__link::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:2px;background:var(--accent);
  border-radius:2px;transition:width .25s var(--ease)}
.nav__link:hover{color:var(--accent-strong)}
.nav__link:hover::after{width:100%}
.nav__link.is-current{color:var(--accent-strong)}
.nav__link.is-current::after{width:100%}
.header__actions{display:flex;align-items:center;gap:.85rem}
.langswitch{display:flex;align-items:center;gap:.15rem;font-weight:600;font-size:.86rem}
.langswitch__btn{background:none;border:none;cursor:pointer;color:var(--muted);padding:.25rem .35rem;border-radius:6px;
  font-family:var(--f-body);font-weight:600;transition:color .2s var(--ease);
  min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.langswitch__btn.is-active{color:var(--accent-strong);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
.langswitch__btn:hover{color:var(--ink)}
.langswitch__sep{color:var(--line);font-weight:400}
.hamburger{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;
  background:none;border:none;cursor:pointer;padding:10px}
.hamburger span{display:block;height:2px;width:100%;background:var(--pine-800);border-radius:2px;transition:transform .3s var(--ease),opacity .2s var(--ease)}
.hamburger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger[aria-expanded="true"] span:nth-child(2){opacity:0}
.hamburger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---- DROPDOWN (desktop mega-nav) ---- */
.nav__item--drop{position:relative;display:flex;align-items:center;gap:.1rem}
.nav__caret{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;
  border:none;background:none;cursor:pointer;color:var(--ink);border-radius:7px;
  transition:color .2s var(--ease),background .2s var(--ease)}
.nav__caret:hover{color:var(--accent-strong);background:var(--accent-soft)}
.nav__chev{width:12px;height:8px;transition:transform .28s var(--ease)}
.nav__item--drop:hover .nav__chev,
.nav__item--drop:focus-within .nav__chev,
.nav__item--drop.is-open .nav__chev{transform:rotate(180deg)}
.nav__menu{position:absolute;top:calc(100% + 12px);left:-14px;min-width:264px;display:flex;flex-direction:column;gap:.1rem;
  background:var(--ivory-raised);border:1px solid var(--line);border-radius:16px;padding:.55rem;
  box-shadow:0 26px 60px -28px rgba(18,53,44,.6);opacity:0;visibility:hidden;
  transform:translateY(8px) scale(.97);transform-origin:30px -6px;
  pointer-events:none;transition:opacity var(--mo-state) var(--ease),transform var(--mo-state) var(--ease),visibility var(--mo-state);z-index:130}
.nav__menu::before{content:"";position:absolute;top:-14px;left:0;right:0;height:14px}
.nav__item--drop:hover .nav__menu,
.nav__item--drop:focus-within .nav__menu,
.nav__item--drop.is-open .nav__menu{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.nav__menu-link{position:relative;padding:.62rem .8rem;border-radius:10px;font-size:.92rem;font-weight:500;
  color:var(--ink);display:flex;align-items:center;min-height:44px;gap:.6rem;transition:background .18s var(--ease),color .18s var(--ease)}
.nav__menu-link::after{display:none!important}
.nav__menu-link::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent);flex:0 0 auto;
  opacity:.55;transition:opacity .18s var(--ease),transform .18s var(--ease)}
.nav__menu-link:hover{background:var(--accent-soft);color:var(--accent-strong)}
.nav__menu-link:hover::before{opacity:1;transform:scale(1.25)}

/* ---- MOBILE NAV ---- */
.mobile-nav{display:none;flex-direction:column;gap:.2rem;padding:0 clamp(1.1rem,4vw,2.4rem) 1rem;
  background:rgba(244,239,228,.98);border-bottom:1px solid var(--line)}
.mobile-nav.is-open{display:flex}
.mobile-nav>a{padding:.85rem .2rem;font-weight:600;border-bottom:1px solid var(--line);color:var(--ink)}
.mobile-nav>a.is-current{color:var(--accent-strong)}
.mobile-nav .btn{margin-top:.6rem;justify-content:center;border-bottom:none}
.mnav-group{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.mnav-group__link{flex:1;padding:.85rem .2rem;font-weight:600;color:var(--ink)}
.mnav-group__link.is-current{color:var(--accent-strong)}
.mnav-group__toggle{width:44px;height:44px;background:none;border:none;cursor:pointer;color:var(--pine-800);
  display:flex;align-items:center;justify-content:center}
.mnav-group__toggle .nav__chev{transition:transform .25s var(--ease)}
.mnav-group__toggle[aria-expanded="true"] .nav__chev{transform:rotate(180deg)}
.mnav-sub{display:none;flex-direction:column;padding:.1rem 0 .3rem .95rem;border-bottom:1px solid var(--line)}
.mnav-sub.is-open{display:flex}
.mnav-sub a{padding:.62rem .2rem;font-weight:500;font-size:.95rem;color:var(--muted);border-bottom:1px solid var(--line)}
.mnav-sub a:last-child{border-bottom:none}

/* ---- BANDS / SECTIONS ---- */
.band{background:linear-gradient(165deg,var(--pine-700),var(--pine-800) 48%,var(--pine-900));color:var(--on-band)}
.band h1,.band h2,.band h3{color:var(--on-band)}
.section{padding:clamp(3.6rem,8vw,6.4rem) 0}
main [id],.trust{scroll-margin-top:86px}
.section--soft{background:linear-gradient(180deg,var(--ivory-raised),#F7F1E6)}
.section__head{max-width:none;margin-bottom:2.6rem}
.section__title{font-size:clamp(2rem,4vw,3rem);max-width:16ch}
.band .section__title{max-width:20ch}
.section__lead{font-size:1.1rem;color:var(--muted);max-width:58ch;margin-top:1rem}
.band .section__lead{color:var(--on-band-muted)}
.section__note{color:var(--muted);font-size:.98rem;max-width:56ch;margin:1.6rem auto 1.8rem;text-align:center}
.eyebrow{font-family:var(--f-body);font-weight:700;font-size:.76rem;text-transform:uppercase;
  letter-spacing:.18em;color:var(--eyebrow-ink);display:inline-flex;align-items:center;gap:.55rem}
.eyebrow::before{content:"";width:26px;height:2px;background:currentColor;border-radius:2px}
.band .eyebrow{color:var(--eyebrow-band)}

/* ---- HERO ---- */
.hero{padding:clamp(2.4rem,6vw,4.2rem) 0 clamp(3rem,6vw,4.6rem);position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 80% at 85% 0%,rgba(42,95,78,.55),transparent 60%)}
.hero__grid{position:relative;z-index:1;display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(1.8rem,4vw,3.4rem);align-items:center}
.hero__title{font-size:clamp(2.5rem,5vw,3.7rem);letter-spacing:-.02em;margin:1.1rem 0 0}
.hero__title span{display:block}
.hero__title em{display:block;color:var(--sand);font-weight:500;line-height:1.14;padding-bottom:.06em}
.hero__lead{font-size:clamp(1.05rem,1.6vw,1.22rem);color:var(--on-band-muted);max-width:46ch;margin-top:1.35rem}
.hero__cta{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.9rem}
.nap{display:flex;flex-wrap:wrap;gap:.2rem 2.2rem;margin-top:2.1rem;padding-top:1.6rem;
  border-top:1px solid var(--line-band);font-style:normal}
.nap__item{display:flex;flex-direction:column;gap:.15rem;padding:.35rem 0}
.nap__k{font-size:.72rem;text-transform:uppercase;letter-spacing:.16em;color:var(--eyebrow-band)}
.nap__v{font-weight:600;color:var(--on-band);font-size:1.02rem}
a.nap__v:hover{color:var(--sand)}
.hero__figure{position:relative;border-radius:calc(var(--radius) + 6px);overflow:hidden;box-shadow:var(--shadow);margin:0}
.hero__figure img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3.2}
.hero__sig{position:absolute;left:0;right:0;bottom:0;display:flex;flex-wrap:wrap;justify-content:center;
  align-items:center;gap:.5rem;padding:1.6rem 1rem .95rem;font-family:var(--f-display);font-size:1.02rem;
  color:#fdf7ea;background:linear-gradient(to top,rgba(18,53,44,.88),transparent)}
.hero__sig .dot{color:var(--sand)}
.hero__sig [lang="ar"]{font-size:1.25em}

/* ---- PAGE HERO (services / contact) ---- */
.page-hero{background:linear-gradient(165deg,var(--pine-700),var(--pine-800) 50%,var(--pine-900));color:var(--on-band);position:relative;overflow:hidden;
  padding:clamp(3rem,7vw,5rem) 0 clamp(2.6rem,6vw,4rem)}
.page-hero::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 90% at 88% 0%,rgba(42,95,78,.55),transparent 62%)}
.page-hero__inner{position:relative;z-index:1;max-width:62ch}
.page-hero__title{font-size:clamp(2.2rem,5vw,3.6rem);letter-spacing:-.02em;margin:1rem 0 0}
.page-hero__lead{color:var(--on-band-muted);font-size:clamp(1.05rem,1.6vw,1.2rem);margin-top:1.2rem;max-width:54ch}
.page-hero__cta{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.9rem}
.crumbs{font-size:.82rem;letter-spacing:.04em;color:var(--on-band-muted);display:flex;gap:.5rem;align-items:center}
.crumbs a:hover{color:var(--sand)}
.crumbs span{opacity:.6}

/* ---- TRUST STRIP ---- */
.trust{background:var(--ivory-raised);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.trust__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.trust__item{padding:1.5rem clamp(.6rem,2vw,1.4rem);text-align:center;border-left:1px solid var(--line)}
.trust__item:first-child{border-left:none}
.trust__k{font-weight:600;font-size:.98rem;color:var(--pine-700)}

/* ---- CARDS (services) ---- */
.cards{display:grid;gap:1.3rem}
.cards--3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.card{background:var(--ivory-raised);border:1px solid var(--hairline);border-radius:var(--radius);
  padding:2rem 1.7rem;display:flex;flex-direction:column;height:100%;position:relative;box-shadow:var(--shadow-sm);
  transition:transform .25s var(--ease),box-shadow .25s var(--ease),border-color .25s var(--ease)}
.card::before{content:"";position:absolute;left:1.7rem;right:1.7rem;top:0;height:2px;border-radius:2px;
  background:linear-gradient(90deg,var(--accent),var(--sand));transform:scaleX(0);transform-origin:left;
  transition:transform .34s var(--ease)}
.card:hover,.card:focus-within{transform:translateY(-4px);box-shadow:var(--shadow);border-color:rgba(184,92,56,.4)}
.card:hover::before,.card:focus-within::before{transform:scaleX(1)}
.card__ico{width:44px;height:44px;color:var(--accent);margin-bottom:1rem}
.card__ico svg{width:100%;height:100%;display:block}
.card__title{font-size:1.4rem;margin-bottom:.6rem;color:var(--pine-800)}
.card__body{color:var(--muted);font-size:1rem}
.card__more{margin-top:1.1rem;font-weight:600;color:var(--accent-strong);font-size:.92rem;display:inline-flex;align-items:center;gap:.35rem}
.card__more::after{content:"\2192";transition:transform .2s var(--ease)}
.card:hover .card__more::after{transform:translateX(4px)}

/* ---- LANGUAGES ---- */
.lang__grid{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(1.8rem,4vw,3.4rem);align-items:start}
.lang__list{list-style:none;display:flex;flex-direction:column;gap:1rem}
.lang__pair{display:grid;grid-template-columns:64px 1fr;grid-template-rows:auto auto;column-gap:1.1rem;
  align-items:center;padding:1.3rem 1.4rem;background:rgba(239,231,216,.06);border:1px solid var(--line-band);
  border-radius:var(--radius);transition:background .25s var(--ease),transform .25s var(--ease)}
.lang__pair:hover{background:rgba(239,231,216,.12);transform:translateX(4px)}
.lang__from{grid-row:1/3;width:64px;height:64px;display:grid;place-items:center;border-radius:12px;
  background:rgba(217,164,65,.14);color:var(--sand);font-family:var(--f-display);font-size:1.35rem}
.lang__from[lang="ar"]{font-size:1.7rem}
.lang__name{font-weight:700;font-size:1.15rem;color:var(--on-band)}
.lang__meta{font-size:.9rem;color:var(--on-band-muted)}

/* ---- SERVICE DETAIL (services page) ---- */
.svc{border-top:1px solid var(--line)}
.svc:first-of-type{border-top:none}
.svc__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(1.8rem,4vw,3.4rem);align-items:start}
.svc__ico{width:52px;height:52px;color:var(--accent);margin-bottom:1.1rem}
.svc__ico svg{width:100%;height:100%}
.svc__body{color:var(--muted);margin-top:1rem;max-width:56ch}
.svc__body+.svc__body{margin-top:.9rem}
.svc__list{list-style:none;display:flex;flex-direction:column;gap:.7rem;margin-top:1.4rem}
.svc__list li{position:relative;padding-left:1.7rem;color:var(--ink);font-weight:500}
.svc__list li::before{content:"";position:absolute;left:0;top:.5em;width:9px;height:9px;border-radius:50%;
  background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.svc__panel{background:var(--ivory-raised);border:1px solid var(--hairline);border-radius:var(--radius);padding:1.8rem 1.7rem;box-shadow:var(--shadow-sm)}
.svc__panel-h{font-family:var(--f-body);font-weight:700;font-size:.76rem;text-transform:uppercase;letter-spacing:.16em;
  color:var(--eyebrow-ink);margin-bottom:1rem}
.svc__cta{margin-top:1.6rem}

/* ---- STORY / ABOUT ---- */
.prica__grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(1.8rem,4vw,3.6rem);align-items:center}
.prica__figure{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);margin:0}
.prica__figure img{width:100%;object-fit:cover;aspect-ratio:4/3.4}
.prica__content p{color:var(--muted);margin-top:1.1rem;max-width:56ch}
.prica__content p:first-of-type{color:var(--ink)}
.prica__sign,.footer__sig,.hero__sig{font-family:var(--f-display)}
.prica__sign{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-top:1.8rem;
  font-size:1.1rem;color:var(--pine-700)}
.prica__sign .dot,.footer__sig .dot{color:var(--accent)}
.prica__sign [lang="ar"],.footer__sig [lang="ar"]{font-size:1.2em}

/* ---- SIGNATURE DIVIDER (bilingual brand mark as a slim centered section rule) ---- */
.sig-rule{display:flex;align-items:center;justify-content:center;gap:.55rem;flex-wrap:wrap;
  font-family:var(--f-display);font-size:clamp(1rem,2vw,1.15rem);color:var(--pine-700);
  padding:clamp(2.2rem,5vw,3.4rem) 0}
.sig-rule::before,.sig-rule::after{content:"";flex:1 1 0;max-width:110px;height:1px;background:var(--line)}
.sig-rule .dot{color:var(--accent)}
.sig-rule [lang="ar"]{font-size:1.22em}

/* ---- FEATURE / WHY ROWS (editorial: borderless columns under a hairline rule
   with a terracotta lead-in tick — deliberately NOT the services card grid) ---- */
.feat{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:clamp(1.6rem,3.4vw,3rem)}
.feat__item{position:relative;background:none;border:none;border-radius:0;padding:1.7rem 0 0}
.feat__item::before{content:"";position:absolute;left:0;top:0;width:100%;height:1px;background:var(--line)}
.feat__item::after{content:"";position:absolute;left:0;top:0;width:34px;height:2px;border-radius:2px;background:var(--accent)}
.band .feat__item::before{background:var(--line-band)}
.band .feat__item::after{background:var(--sand)}
.feat__t{font-family:var(--f-display);font-size:1.3rem;color:var(--pine-800);margin-bottom:.55rem;letter-spacing:-.01em}
.band .feat__t{color:var(--on-band)}
.feat__p{color:var(--muted);font-size:.99rem;max-width:38ch}
.band .feat__p{color:var(--on-band-muted)}

/* ---- PROCESS (timeline: three numeral nodes linked by a connecting rule —
   deliberately NOT three equal boxes) ---- */
.steps{list-style:none;position:relative;display:grid;grid-template-columns:repeat(3,1fr);
  gap:clamp(1.6rem,3vw,2.6rem);counter-reset:step;text-align:center}
.steps::before{content:"";position:absolute;top:26px;left:16.666%;right:16.666%;height:2px;border-radius:2px;
  background:linear-gradient(90deg,var(--accent),var(--sand));opacity:.45}
.step{position:relative;display:flex;flex-direction:column;align-items:center;background:none;border:none;padding:0}
/* numeral background is an opaque terracotta tint (accent-soft composited over a
   solid) so it masks the connector line where the node sits */
.step__n{position:relative;z-index:1;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;
  background-image:linear-gradient(var(--accent-soft),var(--accent-soft));background-color:var(--ivory-raised);
  color:var(--accent-strong);font-family:var(--f-display);font-size:1.45rem;margin-bottom:1.1rem}
.step__title{font-size:1.3rem;color:var(--pine-800);margin-bottom:.5rem}
.step__body{color:var(--muted);font-size:1rem;max-width:32ch;margin-inline:auto}

/* ---- FAQ ---- */
.faq{display:flex;flex-direction:column;gap:.8rem;max-width:840px;margin-top:2rem}
.faq__item{border:1px solid var(--hairline);border-radius:12px;background:var(--ivory-raised);overflow:hidden;box-shadow:var(--shadow-sm)}
.band .faq__item{background:rgba(239,231,216,.05);border-color:var(--line-band)}
.faq__q{cursor:pointer;list-style:none;padding:1.1rem 1.3rem;font-family:var(--f-display);font-size:1.1rem;
  font-weight:600;color:var(--pine-800);display:flex;justify-content:space-between;gap:1rem;align-items:center}
.band .faq__q{color:var(--on-band)}
.faq__q::-webkit-details-marker{display:none}
.faq__q::after{content:"+";font-family:var(--f-body);font-size:1.5rem;color:var(--accent);line-height:1;flex:0 0 auto}
.faq__item[open] .faq__q{color:var(--accent-strong)}
.band .faq__item[open] .faq__q{color:var(--sand)}
.faq__item[open] .faq__q::after{content:"\2013"}
.faq__a{padding:0 1.3rem 1.2rem;color:var(--muted)}
.band .faq__a{color:var(--on-band-muted)}
.faq__a a{color:var(--accent-strong);font-weight:600;text-decoration:underline}
.band .faq__a a{color:var(--sand)}

/* ---- CONTACT DETAILS (no map) ---- */
.contact__grid{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(1.8rem,4vw,3.4rem);align-items:start}
.contact__list{list-style:none;display:flex;flex-direction:column;gap:.1rem;margin:1.8rem 0}
.contact__list li{display:flex;gap:1.2rem;padding:.85rem 0;border-bottom:1px solid var(--line-band);align-items:baseline}
.contact__k{flex:0 0 96px;font-size:.74rem;text-transform:uppercase;letter-spacing:.14em;color:var(--eyebrow-band)}
.contact__v{font-weight:600;color:var(--on-band);font-size:1.05rem}
a.contact__v:hover{color:var(--sand)}
.contact__cta{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:.5rem}
.contact__aside{background:rgba(239,231,216,.05);border:1px solid var(--line-band);border-radius:var(--radius-map);
  padding:clamp(1.8rem,4vw,2.6rem);display:flex;flex-direction:column;gap:1.1rem;text-align:center;
  align-items:center;justify-content:center;min-height:260px}
.contact__aside-mark{width:60px;height:60px;display:grid;place-items:center;border:2px solid var(--sand);
  border-radius:50%;font-family:var(--f-display);font-size:1.7rem;color:var(--sand)}
.contact__aside-sig{font-family:var(--f-display);display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;
  align-items:center;font-size:1.15rem;color:var(--on-band)}
.contact__aside-sig .dot{color:var(--sand)}
.contact__aside-sig [lang="ar"]{font-size:1.25em}
.contact__aside-note{color:var(--on-band-muted);font-size:.95rem;max-width:34ch}

/* ---- CTA BAND ---- */
.cta-band{background:linear-gradient(180deg,var(--pine-800),var(--pine-900) 62%);color:var(--on-band);text-align:center;padding:clamp(3.4rem,7vw,5.4rem) 0}
.cta-band__title{font-size:clamp(1.9rem,4vw,2.8rem);max-width:22ch;margin:0 auto;color:var(--on-band)}
.cta-band__lead{color:var(--on-band-muted);max-width:54ch;margin:1rem auto 2rem}
.cta-band__actions{display:flex;flex-wrap:wrap;gap:.9rem;justify-content:center}
.cta-band .btn--ghost{color:var(--on-band);border-color:var(--line-band)}
.cta-band .btn--ghost:hover{background:rgba(239,231,216,.1);border-color:var(--on-band);color:var(--on-band)}

/* ---- CARD GRID VARIANTS + FEATURED (flagship) CARD ---- */
.cards--2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.cards--4{grid-template-columns:repeat(auto-fit,minmax(238px,1fr))}
.card--feature{border-color:rgba(184,92,56,.45);box-shadow:var(--shadow)}
.card--feature::before{transform:scaleX(1)}
.card__badge{align-self:flex-start;margin-bottom:.9rem}

/* ---- BADGE (pill label) ---- */
.badge{display:inline-flex;align-items:center;gap:.4rem;padding:.34rem .74rem;border-radius:var(--radius-pill);
  background:var(--accent-soft);color:var(--accent-strong);font-family:var(--f-body);font-weight:700;
  font-size:.7rem;text-transform:uppercase;letter-spacing:.12em;line-height:1}
.badge::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.band .badge,.page-hero .badge,.hero .badge{background:rgba(232,185,121,.16);color:var(--sand)}

/* ---- CLIENTS STRIP (client-type tags) ---- */
.clients__grid{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.8rem}
.clients__tag{padding:.6rem 1.15rem;border:1px solid var(--line);border-radius:var(--radius-pill);
  background:var(--ivory-raised);font-weight:600;font-size:.95rem;color:var(--pine-700);
  box-shadow:var(--shadow-sm)}
.band .clients__tag{border-color:var(--line-band);background:rgba(239,231,216,.07);color:var(--on-band)}

/* ---- PRICING CALLOUT ---- */
.callout{display:grid;grid-template-columns:auto 1fr;gap:.4rem 1.6rem;align-items:center;
  background:var(--ivory-raised);border:1px solid var(--hairline);border-inline-start:3px solid var(--accent);
  border-radius:var(--radius);padding:1.6rem 1.9rem;box-shadow:var(--shadow-sm);max-width:780px;margin-top:.4rem}
.callout__num{grid-row:1/3;font-family:var(--f-display);font-size:2.6rem;color:var(--accent-strong);line-height:1;padding-inline-end:.4rem}
.callout__t{font-weight:700;color:var(--pine-800);font-size:1.08rem}
.callout__d{color:var(--muted);font-size:.98rem}

/* ---- MAP ---- */
.map{position:relative;border-radius:var(--radius-map);overflow:hidden;box-shadow:var(--shadow);
  border:1px solid var(--line-band);min-height:340px;height:100%}
.map iframe{display:block;width:100%;height:100%;min-height:340px;border:0}

/* ---- REVEAL ---- */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.is-in{opacity:1;transform:none}
.no-js .reveal{opacity:1;transform:none}

/* ---- FOOTER ---- */
.site-footer{padding:clamp(2.8rem,6vw,4rem) 0 1.6rem;background:var(--pine-900)}
.footer__grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:2rem}
.brand--footer{color:var(--on-band)}
.brand--footer .brand__thin{color:var(--on-band-muted)}
.footer__sig{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:1.1rem;font-size:1.02rem;color:var(--on-band)}
.footer__tag{color:var(--on-band-muted);font-size:.92rem;margin-top:1rem;max-width:34ch}
.footer__col{display:flex;flex-direction:column;gap:.5rem;color:var(--on-band-muted);font-size:.96rem}
.footer__col a:hover{color:var(--sand)}
.footer__h{font-weight:700;color:var(--on-band);text-transform:uppercase;letter-spacing:.14em;font-size:.74rem;margin-bottom:.35rem}
.footer__bottom{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;
  margin-top:2.6rem;padding-top:1.4rem;border-top:1px solid var(--line-band);color:var(--on-band-muted);font-size:.88rem}
.footer__top:hover{color:var(--sand)}

/* ---- CHATBOT ---- */
.mchat-launch{position:fixed;right:clamp(14px,3vw,26px);bottom:clamp(14px,3vw,26px);z-index:200;
  display:flex;align-items:center;gap:.5rem;padding:.85rem 1.2rem;border:none;cursor:pointer;
  background:var(--pine-800);color:var(--on-band);border-radius:var(--radius-pill);font-family:var(--f-body);
  font-weight:600;font-size:.95rem;box-shadow:0 14px 32px -12px rgba(18,53,44,.75);
  transition:transform .18s var(--ease),background .2s var(--ease)}
.mchat-launch:hover{transform:translateY(-2px);background:var(--pine-700)}
.mchat-launch__dot{width:9px;height:9px;border-radius:50%;background:var(--sand);box-shadow:0 0 0 0 rgba(217,164,65,.6);animation:chatDot 2.4s var(--ease) infinite}
@keyframes chatDot{0%{box-shadow:0 0 0 0 rgba(217,164,65,.55)}70%{box-shadow:0 0 0 9px rgba(217,164,65,0)}100%{box-shadow:0 0 0 0 rgba(217,164,65,0)}}
.mchat-launch.is-hidden{opacity:0;visibility:hidden;transform:scale(.9)}
.mchat-panel{position:fixed;right:clamp(14px,3vw,26px);bottom:clamp(14px,3vw,26px);z-index:210;
  width:min(380px,calc(100vw - 28px));height:min(560px,calc(100dvh - 40px));display:flex;flex-direction:column;
  background:var(--ivory);border:1px solid var(--line);border-radius:18px;overflow:hidden;
  box-shadow:0 30px 70px -26px rgba(18,53,44,.6);opacity:0;visibility:hidden;transform:translateY(16px) scale(.98);
  transition:opacity .24s var(--ease),transform .24s var(--ease),visibility .24s}
.mchat-panel.is-open{opacity:1;visibility:visible;transform:none}
.mchat-head{display:flex;align-items:center;gap:.7rem;padding:1rem 1.1rem;background:var(--pine-800);color:var(--on-band)}
.mchat-head__mark{width:34px;height:34px;display:grid;place-items:center;background:rgba(217,164,65,.16);
  color:var(--sand);border-radius:9px;font-family:var(--f-display)}
.mchat-head__t{font-weight:700;font-size:.98rem;line-height:1.1}
.mchat-head__s{font-size:.76rem;color:var(--on-band-muted)}
.mchat-close{margin-left:auto;background:none;border:none;color:var(--on-band);cursor:pointer;width:44px;height:44px;
  display:grid;place-items:center;border-radius:8px;font-size:1.3rem;line-height:1;transition:background .2s var(--ease)}
.mchat-close:hover{background:rgba(239,231,216,.14)}
.mchat-log{flex:1;overflow-y:auto;padding:1.1rem;display:flex;flex-direction:column;gap:.7rem;background:var(--ivory)}
.mchat-msg{max-width:85%;padding:.7rem .95rem;border-radius:14px;font-size:.94rem;line-height:1.5}
.mchat-msg--bot{align-self:flex-start;background:var(--ivory-raised);border:1px solid var(--line);border-bottom-left-radius:5px;color:var(--ink)}
.mchat-msg--user{align-self:flex-end;background:var(--pine-800);color:var(--on-band);border-bottom-right-radius:5px}
.mchat-msg a{color:var(--accent-strong);font-weight:600;text-decoration:underline}
.mchat-msg--user a{color:var(--sand)}
.mchat-chips{display:flex;flex-wrap:wrap;gap:.45rem;padding:.6rem 1.1rem;border-top:1px solid var(--line);background:var(--ivory-raised)}
.mchat-chip{background:var(--ivory);border:1px solid var(--line);color:var(--pine-800);cursor:pointer;
  padding:.45rem .8rem;min-height:44px;display:inline-flex;align-items:center;border-radius:var(--radius-pill);
  font-family:var(--f-body);font-weight:600;font-size:.82rem;
  transition:background .18s var(--ease),color .18s var(--ease),border-color .18s var(--ease)}
.mchat-chip:hover{background:var(--pine-800);color:var(--on-band);border-color:var(--pine-800)}
.mchat-form{display:flex;gap:.5rem;padding:.75rem;border-top:1px solid var(--line);background:var(--ivory-raised)}
.mchat-input{flex:1;border:1px solid var(--line);border-radius:var(--radius-input);padding:.65rem .85rem;
  font-family:var(--f-body);font-size:.92rem;color:var(--ink);background:#fff}
.mchat-input::placeholder{color:var(--muted)}
.mchat-input:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.mchat-send{flex:0 0 auto;width:44px;border:none;border-radius:var(--radius-input);background:var(--accent-strong);
  color:#fff;cursor:pointer;font-size:1.1rem;transition:background .2s var(--ease)}
.mchat-send:hover{background:#8c3f22}

/* ============================================================
   CINEMATIC PAGE TRANSITIONS  ("bridge draw + pine curtain")
   ============================================================ */
.px-transition{position:fixed;inset:0;z-index:800;display:grid;place-items:center;
  background:var(--pine-900);color:var(--on-band);opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity var(--tx-exit) var(--tx-ease),visibility var(--tx-exit)}
html.px-cover .px-transition{opacity:1;visibility:visible;pointer-events:auto}
/* CSS-only failsafe: if JS never clears the overlay on the destination, it self-dismisses
   (mirrors preloaderGuard). The JS entrance path sets animation:none so its fade wins. */
@keyframes pxGuard{0%,70%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden;pointer-events:none}}
html.px-cover .px-transition{animation:pxGuard 2.4s linear forwards}
html.px-in .px-transition{opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity var(--tx-enter) var(--tx-ease),visibility var(--tx-enter)}
.px-transition__inner{display:flex;flex-direction:column;align-items:center;gap:.6rem;
  opacity:0;transform:translateY(8px);transition:opacity .3s var(--tx-ease),transform .3s var(--tx-ease)}
html.px-cover .px-transition__inner{opacity:1;transform:none;transition-delay:.04s}
.px-transition__word{font-family:var(--f-display);font-size:1.9rem;letter-spacing:.02em;color:var(--on-band)}
.px-transition__bridge{display:block;width:0;height:2px;background:var(--accent);border-radius:2px}
html.px-cover .px-transition__bridge{animation:bridgeDraw .5s var(--tx-ease) forwards}
.px-transition__sub{font-size:.72rem;letter-spacing:.24em;text-transform:uppercase;color:var(--on-band-muted)}
.px-transition__sub [lang="ar"]{font-size:1.15em;color:var(--sand)}
html.px-arrive main{animation:pxRise var(--tx-enter) var(--tx-ease) both}
@keyframes pxRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* ============================================================
   MOTION LAYER  (transform/opacity only · GPU-friendly · no CLS)
   Signature: one coordinated hero entrance per page; everything
   else is quiet, consistent micro-motion built ON the existing
   reveal / transition / dropdown systems.
   ============================================================ */

/* ---- SCROLL-REVEAL STAGGER (list rhythm within grids/lists) ----
   The .reveal + IntersectionObserver system is untouched; we only
   add a small per-item transition-delay so siblings cascade in. */
.cards>.reveal:nth-child(2),.steps>.reveal:nth-child(2),.feat>.reveal:nth-child(2),
.lang__list>.reveal:nth-child(2),.trust__grid>.reveal:nth-child(2),.faq>.reveal:nth-child(2),
.svc__grid>.reveal:nth-child(2){transition-delay:calc(var(--mo-stagger)*1)}
.cards>.reveal:nth-child(3),.steps>.reveal:nth-child(3),.feat>.reveal:nth-child(3),
.lang__list>.reveal:nth-child(3),.trust__grid>.reveal:nth-child(3),.faq>.reveal:nth-child(3){transition-delay:calc(var(--mo-stagger)*2)}
.cards>.reveal:nth-child(4),.feat>.reveal:nth-child(4),.trust__grid>.reveal:nth-child(4),
.faq>.reveal:nth-child(4){transition-delay:calc(var(--mo-stagger)*3)}

/* ---- PROCESS STEP NUMERAL (scales in after its card rises) ---- */
html.js .step .step__n{transform:scale(.6);opacity:0;
  transition:transform .5s var(--ease) .16s,opacity .4s var(--ease) .16s}
html.js .step.is-in .step__n{transform:scale(1);opacity:1}

/* ---- HERO SIGNATURE ENTRANCE ----
   Runs once, coordinated with the intro/preloader via html.hero-play
   (added by JS at hand-off). The hero block itself stays visible; its
   lines/eyebrow/CTAs/NAP fade-and-rise with a small stagger, the italic
   second line settles a beat later, and the figure gently settles from a
   subtle zoom. A CSS guard self-heals visibility if JS never runs; the
   LCP hero image is never faded (transform-only) and never delayed. */
html.js .hero__content.reveal,html.js .hero__aside.reveal{opacity:1;transform:none;transition:none}

/* guarded initial state (self-reveals ~1.3s even without hero-play) */
html.js .hero__content .eyebrow,
html.js .hero__title span,
html.js .hero__title em,
html.js .hero__lead,
html.js .hero__cta,
html.js .hero__content .nap,
html.js .hero__sig{animation:heroGuard 1.5s linear both}

@keyframes heroGuard{0%,84%{opacity:0;transform:translateY(14px)}100%{opacity:1;transform:none}}
@keyframes heroRise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes heroRiseEm{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
@keyframes heroFigure{from{transform:scale(1.045)}to{transform:scale(1)}}

/* coordinated play (JS adds .hero-play once the intro lifts) */
html.hero-play .hero__content .eyebrow{animation:heroRise var(--mo-entrance) var(--ease) both}
html.hero-play .hero__title span{animation:heroRise var(--mo-entrance) var(--ease) .08s both}
html.hero-play .hero__title em{animation:heroRiseEm var(--mo-entrance) var(--ease) .17s both}
html.hero-play .hero__lead{animation:heroRise var(--mo-entrance) var(--ease) .26s both}
html.hero-play .hero__cta{animation:heroRise var(--mo-entrance) var(--ease) .34s both}
html.hero-play .hero__content .nap{animation:heroRise var(--mo-entrance) var(--ease) .41s both}
html.hero-play .hero__sig{animation:heroRise var(--mo-entrance) var(--ease) .48s both}

/* figure: LCP-safe settle — transform only, opacity stays 1 */
html.js .hero__figure img{transform:scale(1.045)}
html.hero-play .hero__figure img{animation:heroFigure 1200ms var(--ease) both}

/* arriving via a page transition: pxRise already moves <main>, so show
   the hero pieces instantly (no double motion) */
html.px-arrive .hero__content .eyebrow,
html.px-arrive .hero__title span,
html.px-arrive .hero__title em,
html.px-arrive .hero__lead,
html.px-arrive .hero__cta,
html.px-arrive .hero__content .nap,
html.px-arrive .hero__sig{animation:none;opacity:1;transform:none}
html.px-arrive .hero__figure img{transform:none}

/* ---- CHATBOT LAUNCHER (gentle first appearance) ---- */
html.js .mchat-launch{animation:chatLaunchIn .5s var(--ease) 1.1s backwards}
@keyframes chatLaunchIn{from{opacity:0;transform:translateY(12px) scale(.9)}to{opacity:1;transform:none}}

/* ---- RESPONSIVE ---- */
@media (max-width:1040px){
  .footer__grid{grid-template-columns:1fr 1fr 1fr}
  .footer__brand{grid-column:1/-1}
}
@media (max-width:960px){
  .hero__grid,.lang__grid,.prica__grid,.contact__grid,.svc__grid{grid-template-columns:1fr}
  .prica__figure{order:2}
  .hero__aside{order:-1}
  .trust__grid{grid-template-columns:1fr 1fr}
  .trust__item:nth-child(1),.trust__item:nth-child(2){border-bottom:1px solid var(--line)}
  .trust__item:nth-child(odd){border-left:none}
}
@media (max-width:900px){
  .nav{display:none}
  .header__cta{display:none}
  .hamburger{display:flex}
  .hero__title{font-size:clamp(2.3rem,8vw,3rem)}
  .nap{gap:.2rem 1.4rem}
  /* trilingual switch + hamburger must fit next to the brand on phones */
  .header__actions{gap:.35rem}
  .langswitch{gap:0}
  .langswitch__sep{display:none}
  .langswitch__btn{min-width:34px;padding:.25rem .12rem}
  /* mobile uses overlay scrollbars — the reserved gutter only shifts RTL content */
  html{scrollbar-gutter:auto}
}
@media (max-width:760px){
  .footer__grid{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr;gap:2rem}
  .steps::before{display:none}
}
@media (max-width:600px){
  .trust__grid{grid-template-columns:1fr}
  .trust__item{border-left:none;border-bottom:1px solid var(--line);text-align:left}
  .trust__item:last-child{border-bottom:none}
  .footer__grid{grid-template-columns:1fr}
  .footer__bottom{justify-content:flex-start}
}
@media (max-width:420px){
  .btn{width:100%}
  .hero__cta,.contact__cta,.page-hero__cta,.cta-band__actions{flex-direction:column}
  .hero__cta .btn,.contact__cta .btn,.page-hero__cta .btn,.cta-band__actions .btn{width:100%}
}
/* prevent brand wrapping on very narrow screens */
.brand__name{white-space:nowrap}
@media (max-width:360px){
  .mchat-launch .mchat-launch__t{display:none}
  .mchat-launch{width:48px;height:48px;padding:0;border-radius:50%;justify-content:center;gap:0}
  .mchat-launch__dot{margin:0}
  .brand__thin{display:none}
}

/* ---- PRINT ---- */
@media print{
  .preloader,.site-header,.mchat-launch,.mchat-panel,.px-transition,
  .footer__top,.skip-link{display:none!important}
  body{background:#fff;color:#111;font-size:11pt}
  .band,.page-hero,.cta-band{background:#fff!important;color:#111!important}
  a[href]::after{content:" (" attr(href) ")"}
  a[href^="#"]::after,a[href^="tel:"]::after,a[href^="mailto:"]::after{content:""}
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none}
  .preloader__bridge{width:150px}
  /* motion layer: everything visible, static, no entrance */
  .hero__content .eyebrow,.hero__title span,.hero__title em,.hero__lead,.hero__cta,
  .hero__content .nap,.hero__sig,.hero__figure img,.step .step__n{
    animation:none!important;opacity:1!important;transform:none!important}
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
}

/* ============================================================
   ARABIC + RTL LAYER  (trilingual HR / EN / AR)
   JS sets html[lang="ar"][dir="rtl"] in AR mode. Latin text keeps
   Spectral/Manrope; Arabic script uses Amiri (display) + Noto Sans
   Arabic (body). Kept LAST so logical-direction overrides win.
   ============================================================ */

/* Tracking is removed on Arabic (it breaks the cursive joining). */
[lang="ar"],[dir="rtl"]{letter-spacing:normal}
/* Arabic webfonts are fetched ONLY in full AR mode — this keeps the HR/EN pages
   from downloading a 100KB+ naskh just for the decorative "صديق" (it uses the
   system Arabic font there). In AR mode, inline snippets use the editorial naskh. */
html[lang="ar"] [lang="ar"]{font-family:var(--f-ar-display)}

/* Full Arabic mode: swap the two global font tokens so all body/headings become
   Arabic, and give the script the leading it needs. */
html[lang="ar"]{--f-display:var(--f-ar-display);--f-body:var(--f-ar-body)}
html[lang="ar"] body{font-size:1.05rem;line-height:1.9}
html[lang="ar"] h1,html[lang="ar"] h2,html[lang="ar"] h3{line-height:1.35;letter-spacing:normal}
html[lang="ar"] *{letter-spacing:normal}
/* keep Latin runs inside Arabic text (brand name, phone, email) upright */
html[lang="ar"] .brand__name,html[lang="ar"] .preloader__word,html[lang="ar"] .px-transition__word{font-family:var(--f-display)}

/* keep phone / email / address numerals reading left-to-right inside RTL flow */
[dir="rtl"] .num,[dir="rtl"] a[href^="tel:"],[dir="rtl"] a[href^="mailto:"]{direction:ltr;unicode-bidi:isolate;display:inline-block}

/* ---- RTL layout mirroring (physical → visual) ---- */
[dir="rtl"] .skip-link{left:auto;right:14px}
[dir="rtl"] .nav__link::after{left:auto;right:0}
[dir="rtl"] .nav__menu{left:auto;right:-14px;transform-origin:right top}
[dir="rtl"] .card::before{transform-origin:right}
[dir="rtl"] .card__more::after{content:"\2190"}
[dir="rtl"] .card:hover .card__more::after,[dir="rtl"] .card:focus-within .card__more::after{transform:translateX(-4px)}
[dir="rtl"] .svc__list li{padding-left:0;padding-right:1.7rem}
[dir="rtl"] .svc__list li::before{left:auto;right:0}
[dir="rtl"] .lang__pair:hover{transform:translateX(-4px)}
[dir="rtl"] .feat__item::after{left:auto;right:0}
[dir="rtl"] .mnav-sub{padding-left:0;padding-right:.95rem}
[dir="rtl"] .contact__list li{text-align:right}
[dir="rtl"] .footer__top{direction:ltr}

/* chatbot mirrors to the left in RTL; bubble tails flip */
[dir="rtl"] .mchat-launch,[dir="rtl"] .mchat-panel{right:auto;left:clamp(14px,3vw,26px)}
[dir="rtl"] .mchat-msg--bot{border-bottom-left-radius:14px;border-bottom-right-radius:5px}
[dir="rtl"] .mchat-msg--user{border-bottom-right-radius:14px;border-bottom-left-radius:5px}
[dir="rtl"] .mchat-close{margin-left:0;margin-right:auto}
