/* ==========================================================================
   VELIX WEB SOLUTIONS — public site stylesheet (v3)
   --------------------------------------------------------------------------
   Material: brushed aluminium and graphite, taken from the logo.
   Idea: a studio that builds in Arabic and English, so the two scripts
   share the page instead of one being a translation of the other.

   The admin dashboard (admin.html) still uses style.css.
   ========================================================================== */

/* Fonts (self-hosted) ------------------------------------------------------ */
@font-face {
  font-family: 'Archivo'; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url('../fonts/archivo-latin-standard-normal.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: 'Archivo'; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url('../fonts/archivo-latin-ext-standard-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: 'Noto Kufi Arabic'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('../fonts/noto-kufi-arabic-arabic-wght-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-display: swap; font-weight: 400; src: url('../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-display: swap; font-weight: 500; src: url('../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-display: swap; font-weight: 600; src: url('../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }

/* Tokens ------------------------------------------------------------------- */
:root {
  --alu: #050506;          /* page: night */
  --alu-hi: #0E0F11;       /* raised surfaces, inputs */
  --alu-lo: #17191C;       /* image wells, hover */
  --graphite: #EDEEF0;     /* text (silver white) */
  --steel: #8D939B;        /* secondary text */
  --black: #EDEEF0;        /* primary action fill */
  --on-black: #050506;
  --on-black-soft: #3A3E44;
  --rule: rgba(237, 238, 240, 0.12);
  --rule-strong: rgba(237, 238, 240, 0.26);
  --ok: #4CC38A;
  --danger: #FF8A80;

  /* Legacy token names still referenced by inline styles / JS markup */
  --color-white: var(--alu-hi);
  --color-ink: var(--graphite);
  --color-ink-soft: var(--steel);
  --color-muted: var(--steel);
  --color-border: var(--rule);
  --color-border-strong: var(--rule-strong);
  --color-bg-soft: var(--alu-hi);
  --color-primary: var(--black);
  --color-primary-tint: rgba(0,0,0,0.06);
  --color-royal: var(--black);
  --gradient-dark: var(--black);

  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --ar-display: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', Tahoma, sans-serif;
  --ar-text: 'IBM Plex Sans Arabic', 'Noto Kufi Arabic', Tahoma, sans-serif;
  --font-display: var(--sans);
  --font-body: var(--sans);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --radius-sm: 4px; --radius-md: 6px; --radius-lg: 6px; --radius-pill: 999px;

  --wrap: 1280px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: var(--ease);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  color-scheme: dark;
}

/* Base --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: var(--sans);
  font-size: 17px; line-height: 1.6;
  color: var(--graphite);
  background: var(--alu);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
}
html[lang="ar"] body { font-family: var(--ar-text); line-height: 1.8; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--graphite); color: var(--alu); }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
body.nav-open { overflow: hidden; }

/* Type --------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  font-weight: 600; font-stretch: 112%;
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--graphite);
  text-wrap: balance;
}
html[lang="ar"] :is(h1, h2, h3, h4, h5) { font-family: var(--ar-display); font-weight: 600; letter-spacing: 0; line-height: 1.45; }
h1 { font-size: clamp(2.6rem, 6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-size: 1.375rem; line-height: 1.2; font-stretch: 105%; letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; line-height: 1.3; font-stretch: 100%; letter-spacing: 0; }
h5 { font-size: 1rem; font-stretch: 100%; letter-spacing: 0; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
.lede { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--steel); max-width: 38em; }
/* Small descriptive label above a heading. Sentence case, no ornament. */
.eyebrow { display: block; font-size: 0.95rem; font-weight: 500; color: var(--steel); margin-bottom: 14px; }

/* Layout ------------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 152px); }
.section.tight { padding-block: clamp(56px, 7vw, 88px); }
.section.soft { background: var(--alu-hi); }
.grid { display: grid; gap: 24px; }
.section-head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { text-align: start; margin-inline: 0; }
.section-head p:not(.eyebrow) { margin-top: 18px; color: var(--steel); max-width: 38em; }
[data-reveal] { opacity: 1; transform: none; }

.skip-link { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 3000; padding: 10px 16px; background: var(--black); color: var(--alu); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; font-stretch: 105%; letter-spacing: 0;
  white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
html[lang="ar"] .btn { font-family: var(--ar-text); }
.btn svg { display: none; }
.btn-lg { min-height: 58px; padding: 0 32px; }
.btn-block { width: 100%; }
.btn-primary, .btn-quote, .btn-accent { background: var(--black); color: var(--alu); }
.btn-primary:hover, .btn-quote:hover, .btn-accent:hover { background: #FFFFFF; }
.btn-outline { border-color: var(--rule-strong); color: var(--graphite); }
.btn-outline:hover { border-color: var(--graphite); background: var(--alu-lo); }
.btn-white { background: var(--alu); color: var(--black); }
.btn-white:hover { background: #FFFFFF; }
.btn-outline-light { border-color: rgba(221,224,228,0.4); color: var(--on-black); }
.btn-outline-light:hover { border-color: var(--on-black); }
.btn-ghost, .text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--graphite);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--rule-strong);
  transition: text-decoration-color 0.2s;
}
.btn-ghost svg { display: none; }
.btn-ghost:hover, .text-link:hover { text-decoration-color: var(--graphite); }

/* Header ------------------------------------------------------------------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 800; height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--alu);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.navbar.is-scrolled { border-bottom-color: var(--rule); }
.navbar > .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 34px; height: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1; direction: ltr; }
.brand-word b { font-family: var(--sans); font-stretch: 125%; font-weight: 500; font-size: 1.05rem; letter-spacing: 0.32em; color: var(--graphite); }
.brand-word small { display: none; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { position: relative; font-size: 0.97rem; font-weight: 500; color: var(--steel); padding: 6px 0; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--graphite); }
.nav-links a.active::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--graphite); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-actions .btn { min-height: 44px; padding: 0 20px; font-size: 0.94rem; }

.lang-seg { display: inline-flex; align-items: center; gap: 2px; }
.lang-seg-btn { padding: 6px; font-size: 0.86rem; font-weight: 600; font-stretch: 110%; letter-spacing: 0.04em; color: var(--steel); }
.lang-seg-btn.is-active { color: var(--graphite); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.lang-seg-sep { display: block; width: 1px; height: 14px; background: var(--rule-strong); }
.lang-seg-lg .lang-seg-btn { font-size: 1rem; padding: 8px 10px; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--graphite); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav-backdrop { display: none; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 950; background: var(--alu);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0s linear 0.25s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transition: opacity 0.25s; }
.mobile-nav-top { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); border-bottom: 1px solid var(--rule); }
.mobile-nav-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.mobile-nav-close svg { width: 22px; height: 22px; }
.mobile-nav-body { flex: 1; overflow-y: auto; padding: 24px var(--gutter) 32px; display: flex; flex-direction: column; gap: 36px; }
.mobile-nav-links { display: flex; flex-direction: column; }
.mnav-link { padding: 8px 0; font-size: 2rem; font-weight: 600; font-stretch: 115%; letter-spacing: -0.02em; color: var(--steel); }
html[lang="ar"] .mnav-link { font-family: var(--ar-display); font-size: 1.7rem; letter-spacing: 0; }
.mnav-link.active, .mnav-link:hover { color: var(--graphite); }
.mobile-nav-cta { display: flex; flex-direction: column; gap: 10px; }
.mobile-nav-cta-hint { font-size: 0.9rem; color: var(--steel); }
.mobile-nav-lang { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--rule); }
.mobile-nav-lang-label { color: var(--steel); font-size: 0.95rem; }

/* Home: hero --------------------------------------------------------------- */
.hero-calm { padding: calc(var(--nav-h) + clamp(48px, 8vw, 120px)) 0 clamp(72px, 9vw, 128px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 0.42fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero-title { display: grid; gap: 18px; }
.hero-title .hero-en { font-family: var(--sans); font-size: clamp(2.5rem, 5.6vw, 5.4rem); font-stretch: 116%; font-weight: 600; line-height: 1; letter-spacing: -0.035em; color: var(--graphite); max-width: 12em; }
.hero-title .hero-ar { font-family: var(--ar-display); font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.5; letter-spacing: 0; color: var(--steel); text-align: right; justify-self: start; }
/* Arabic visitors: Arabic leads, English becomes the quiet line */
html[lang="ar"] .hero-title .hero-ar { order: -1; font-size: clamp(2.4rem, 5.4vw, 5rem); font-weight: 600; line-height: 1.35; color: var(--graphite); }
html[lang="ar"] .hero-title .hero-en { font-size: clamp(1.15rem, 1.8vw, 1.6rem); font-weight: 500; font-stretch: 105%; line-height: 1.4; letter-spacing: 0; color: var(--steel); direction: ltr; text-align: right; justify-self: stretch; max-width: none; }
.hero-calm .lede { margin-top: 28px; color: var(--graphite); max-width: 30em; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-ring { width: 100%; max-width: 400px; aspect-ratio: 549 / 453; justify-self: end; }
.hero-ring picture { display: block; width: 100%; height: 100%;
  -webkit-mask: url('../img/logo-mark-light.png') center / contain no-repeat;
          mask: url('../img/logo-mark-light.png') center / contain no-repeat; }
.hero-ring img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.2) brightness(1.15); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: lineIn 0.8s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.1s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.18s; }
  .hero-ring { animation: ringIn 1.4s var(--ease) 0.1s both; }
}
@keyframes lineIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ringIn { from { opacity: 0; transform: rotate(-80deg) scale(0.9); } to { opacity: 1; transform: none; } }

/* Home: services list ----------------------------------------------------- */
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); }
.svc-row { display: block; padding: 24px 0; border-top: 1px solid var(--rule); }
.svc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.svc-row h3 { font-size: 1.3rem; font-stretch: 110%; }
html[lang="ar"] .svc-row h3 { font-size: 1.2rem; }
.svc-row p { margin-top: 6px; color: var(--steel); font-size: 0.98rem; max-width: 30em; }
.svc-time { font-size: 0.9rem; font-weight: 500; color: var(--steel); white-space: nowrap; }
.svc-row:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.section-more { margin-top: 40px; }

/* Portfolio ---------------------------------------------------------------- */
.portfolio-wide { max-width: calc(var(--wrap) + var(--gutter) * 2); }
.portfolio-header-row { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.portfolio-header-text { max-width: 40rem; }
.portfolio-header-desc { margin-top: 18px; color: var(--steel); }
.portfolio-header-actions { display: flex; gap: 16px; }
.portfolio-nav-arrows { display: none; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 28px; }
.portfolio-empty { grid-column: 1 / -1; padding: 48px 0; color: var(--steel); border-top: 1px solid var(--rule); }
.portfolio-card { display: flex; flex-direction: column; gap: 16px; }
.portfolio-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--alu-lo); border-radius: var(--radius-sm); }
.portfolio-card-media .velix-img, .portfolio-card-media img { height: 100%; }
.portfolio-card-media .velix-img { position: absolute; inset: 0; }
.portfolio-card-media img { width: 100%; object-fit: cover; object-position: top center; transition: transform 0.8s var(--ease); }
.portfolio-card:hover .portfolio-card-media img { transform: scale(1.025); }
.portfolio-card-footer { display: flex; flex-direction: column-reverse; gap: 4px; }
.pcf-top { display: flex; gap: 12px; }
.pcf-cat { font-size: 0.95rem; color: var(--steel); }
.pcf-num, .pcf-arrow { display: none; }
.pcf-title { font-size: 1.3rem; font-weight: 600; font-stretch: 110%; letter-spacing: -0.01em; line-height: 1.25; }
html[lang="ar"] .pcf-title { font-family: var(--ar-display); }
.portfolio-card:hover .pcf-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.project-scene { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 24px; background: var(--alu-lo); }
.project-scene-text .tag { color: var(--steel); font-size: 0.9rem; }
.project-scene-text h4 { font-size: 1.4rem; }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-bottom: 40px; }
.portfolio-filters:empty { display: none; }
.portfolio-filters button { padding: 6px 0; font-weight: 500; color: var(--steel); }
.portfolio-filters button:hover { color: var(--graphite); }
.portfolio-filters button.active { color: var(--graphite); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }

/* Process (a real sequence, so it is numbered) ----------------------------- */
.band-black { background: var(--black); color: var(--on-black); }
.band-black :is(h1, h2, h3, h4) { color: var(--on-black); }
.band-black .eyebrow, .band-black p { color: var(--on-black-soft); }
.process-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; counter-reset: none; }
.process-step { padding-top: 20px; border-top: 2px solid var(--graphite); }
.process-icon { display: none; }
.process-num { font-size: 0.95rem; font-weight: 600; font-stretch: 120%; color: var(--steel); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.process-step h4 { font-size: 1.3rem; font-stretch: 110%; margin-bottom: 8px; }
html[lang="ar"] .process-step h4 { font-family: var(--ar-display); }
.process-step p { font-size: 0.97rem; color: var(--steel); }
.process-note { margin-top: clamp(40px, 5vw, 64px); max-width: 36em; font-size: 1.1rem; }
.band-black .process-note { color: var(--on-black); }

/* Founder ------------------------------------------------------------------ */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.founder h2 { max-width: 12em; }
.founder-body { display: grid; gap: 18px; font-size: 1.08rem; color: var(--steel); max-width: 34em; }
.founder-body p:first-child { color: var(--graphite); }

/* FAQ ---------------------------------------------------------------------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq-aside p:not(.eyebrow) { margin-top: 18px; color: var(--steel); }
.faq-aside .btn { margin-top: 28px; }
.faq-list { max-width: 52rem; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 1.15rem; font-weight: 600; font-stretch: 105%; }
html[lang="ar"] .faq-item summary { font-size: 1.1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; flex-shrink: 0; width: 14px; height: 14px;
  background: linear-gradient(var(--graphite), var(--graphite)) center / 14px 2px no-repeat, linear-gradient(var(--graphite), var(--graphite)) center / 2px 14px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 24px; color: var(--steel); max-width: 40em; }

/* Closing contact band ----------------------------------------------------- */
.talk { padding-block: clamp(88px, 12vw, 168px); }
.talk h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-stretch: 118%; letter-spacing: -0.03em; max-width: 12em; }
.talk-ar { display: block; margin-top: 10px; font-family: var(--ar-display); font-weight: 500; font-size: clamp(1.6rem, 3.6vw, 3.2rem); color: var(--on-black-soft); direction: rtl; text-align: right; line-height: 1.5; }
html[lang="ar"] .talk-ar { display: none; }
.talk-grid { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding-top: 32px; border-top: 1px solid rgba(221,224,228,0.25); }
.talk-lines { display: grid; gap: 8px; }
.talk-lines small { display: block; margin-bottom: 8px; color: var(--on-black-soft); font-size: 1rem; }
.talk-lines a { font-size: clamp(1.4rem, 2.8vw, 2.2rem); font-weight: 500; font-stretch: 110%; color: var(--on-black); width: fit-content; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; text-decoration-color: rgba(221,224,228,0.35); }
.talk-lines a:hover { text-decoration-color: var(--on-black); }

/* CTA band (inner pages) --------------------------------------------------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; padding: clamp(36px, 6vw, 72px); background: var(--black); color: var(--on-black); border-radius: var(--radius-md); }
.cta-band h2 { color: var(--on-black); }
.cta-band-copy p { margin-top: 16px; color: var(--on-black-soft); max-width: 34em; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section-cta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.section-cta p { color: var(--steel); }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: var(--alu); padding: clamp(64px, 8vw, 104px) 0 32px; border-top: 1px solid var(--rule); }
.footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.8fr)) minmax(0, 1.2fr); gap: 40px 32px; }
.footer-brand img { width: 74px; height: auto; margin-bottom: 22px; }
.footer-brand p { color: var(--steel); font-size: 0.95rem; max-width: 22em; }
.footer-social { display: flex; gap: 18px; margin-top: 20px; }
.footer-social a { color: var(--steel); }
.footer-social a:hover { color: var(--graphite); }
.footer-social svg { width: 20px; height: 20px; }
.footer-col h5 { font-size: 0.95rem; font-weight: 600; margin-bottom: 16px; }
html[lang="ar"] .footer-col h5 { font-family: var(--ar-text); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col span { color: var(--steel); font-size: 0.95rem; }
.footer-col a:hover { color: var(--graphite); text-decoration: underline; text-underline-offset: 4px; }
.footer-col p { color: var(--steel); font-size: 0.95rem !important; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--steel); }
.footer-newsletter { display: flex; border-bottom: 1px solid var(--graphite); }
.footer-newsletter input { flex: 1; min-width: 0; height: 46px; background: transparent; border: 0; outline: 0; font-size: 16px; }
.footer-newsletter input::placeholder { color: var(--steel); }
.footer-newsletter button { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; }
.footer-newsletter button svg { width: 18px; height: 18px; }
[dir="rtl"] .footer-newsletter button svg { transform: scaleX(-1); }
.footer-bottom { margin-top: clamp(48px, 7vw, 88px); padding-top: 22px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: 0.9rem; color: var(--steel); }
.footer-bottom [data-year] { margin-inline: 0.3em; }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a:hover { color: var(--graphite); }
.footer-giant { display: none; }
[dir="rtl"] a[href^="tel:"]:not(:has(*)), [dir="rtl"] a[href^="tel:"] span { direction: ltr; unicode-bidi: isolate; }

/* Inner page header -------------------------------------------------------- */
.page-header { padding: calc(var(--nav-h) + clamp(48px, 7vw, 104px)) 0 clamp(48px, 6vw, 88px); }
.page-header .eyebrow { display: none; }
.page-header h1 { max-width: 15em; font-size: clamp(2.4rem, 5.4vw, 4.75rem); }
.page-header .lede { margin-top: 24px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 0.92rem; color: var(--steel); }
.breadcrumb a:hover { color: var(--graphite); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb svg { width: 14px; height: 14px; }
[dir="rtl"] .breadcrumb svg { transform: scaleX(-1); }

/* Shared quiet panels ------------------------------------------------------ */
.service-card, .testimonial-card, .narrative-card, .value-card { background: var(--alu-hi); border-radius: var(--radius-md); }
.service-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--graphite); margin-bottom: 18px; }
.service-icon svg { width: 26px; height: 26px; }
.service-card { padding: 28px; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--steel); }
.service-link, .card-num { display: none; }
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.testimonial-card { padding: 28px; }
.testimonial-avatar { display: none; }
.testimonial-card strong { display: block; font-size: 1.2rem; }
.testimonial-card p { margin-top: 8px; color: var(--steel); }

/* Services page ------------------------------------------------------------ */
.service-detail { padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--rule); }
.service-detail > .container { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.service-detail > .container > div:first-child { position: sticky; top: calc(var(--nav-h) + 32px); }
.service-detail-num { font-size: 1rem; font-weight: 600; font-stretch: 120%; color: var(--steel); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.service-detail-icon { display: none; }
.service-detail h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.service-detail .lede { color: var(--graphite); }
.service-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 28px; border-top: 1px solid var(--rule); }
.service-feature-list li { display: flex; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.service-feature-list svg { width: 15px; height: 15px; flex-shrink: 0; transform: translateY(2px); }
.service-meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.service-meta-item h5 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.service-meta-item p { color: var(--steel); font-size: 0.95rem; }
.service-detail-cta { margin-top: 32px; }

/* About -------------------------------------------------------------------- */
.about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.about-grid > div:first-child { order: 2; }
.about-story { display: grid; gap: 40px; }
.about-timeline { border-top: 1px solid var(--graphite); }
.about-timeline-item { padding: 22px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 9em 1fr; gap: 16px; }
.about-timeline-item .year { font-weight: 600; }
.about-timeline-item p { color: var(--steel); }
.glass-stats { display: none; }
.value-card { padding: 28px; }
.value-card p { color: var(--steel); }

/* Contact / quote / forms -------------------------------------------------- */
.contact-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-form-card, .quote-card { padding: 0; }
.contact-info-list { display: grid; margin-top: 24px; border-top: 1px solid var(--graphite); }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact-info-item .service-icon { margin: 2px 0 0; width: 22px; height: 22px; }
.contact-info-item .service-icon svg { width: 20px; height: 20px; }
.contact-info-item strong { font-weight: 500; color: var(--steel); font-size: 0.92rem; }
.contact-info-item a, .contact-info-item span { font-size: 1.1rem; font-weight: 500; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; position: relative; }
.field label { font-size: 0.95rem; font-weight: 600; }
.label-optional { font-weight: 400; color: var(--steel); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 54px; padding: 14px 16px; font-size: 16px; color: var(--graphite);
  background: var(--alu-hi); border: 1px solid var(--rule-strong); border-radius: var(--radius-sm);
  appearance: none; -webkit-appearance: none; transition: border-color 0.2s, background-color 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select { padding-inline-end: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EDEEF0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 16px center; }
[dir="rtl"] .field select { background-position: left 16px center; }
.field input::placeholder, .field textarea::placeholder { color: #5E646C; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--graphite); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--black); outline-offset: 0; border-color: var(--black); background: var(--alu-lo); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--danger); outline-color: var(--danger); }
.field-error { font-size: 0.9rem; color: var(--danger); }
.field-error:empty { display: none; }
.form-success, .form-error-banner { display: none; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 16px 18px; border-radius: var(--radius-sm); }
.form-success.is-visible, .form-error-banner.is-visible { display: flex; }
.form-success { background: rgba(76,195,138,0.12); color: #9FE3C1; }
.form-error-banner { background: rgba(255,138,128,0.12); color: #FFC4BE; }
.form-success svg, .form-error-banner svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
form > div[aria-hidden="true"][style*="-9999px"] { position: absolute !important; left: auto !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
form { position: relative; }
.quote-submit-note { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; color: var(--steel); font-size: 0.92rem; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.75fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.quote-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field-full { grid-column: 1 / -1; }
.quote-submit-row { display: grid; gap: 14px; margin-top: 8px; }
.quote-aside { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 40px; }
.quote-steps { margin-top: 24px; border-top: 1px solid var(--graphite); }
.quote-step { display: grid; grid-template-columns: 2em 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.quote-step-num { font-weight: 600; font-stretch: 120%; }
.quote-step h4 { margin-bottom: 4px; }
.quote-step p { color: var(--steel); font-size: 0.95rem; }
.quote-direct { display: grid; gap: 10px; }
.quote-direct a { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 500; }
.quote-direct svg { width: 18px; height: 18px; color: var(--steel); }

/* News / legal / 404 ------------------------------------------------------- */
.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.news-card { display: flex; flex-direction: column; gap: 16px; }
.news-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--alu-lo); border-radius: var(--radius-sm); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { display: grid; gap: 8px; }
.news-cat, .news-date { font-size: 0.92rem; color: var(--steel); }
.news-card h4 { font-size: 1.3rem; font-stretch: 108%; line-height: 1.25; }
.news-card:hover h4 { text-decoration: underline; text-underline-offset: 5px; }
.news-card p { color: var(--steel); }
.news-post-body, .legal-content { max-width: 40rem; font-size: 1.08rem; line-height: 1.75; }
html[lang="ar"] :is(.news-post-body, .legal-content) { line-height: 1.95; }
.news-post-body > * + *, .legal-content > * + * { margin-top: 18px; }
.news-post-body h2, .legal-content h2 { margin-top: 48px; font-size: 1.6rem; }
.news-post-body a, .legal-content a { text-decoration: underline; text-underline-offset: 4px; }
.news-post-body ul, .legal-content ul { padding-inline-start: 1.2em; list-style: disc; display: grid; gap: 8px; }
.news-post-body img { border-radius: var(--radius-sm); }
#articleCover img, #articleCover video { border-radius: var(--radius-sm) !important; }
.legal-updated { color: var(--steel); font-size: 0.95rem; }
.error-page { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 48px) var(--gutter) 80px; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; }
.error-code { font-size: clamp(6rem, 22vw, 16rem); font-weight: 700; font-stretch: 125%; line-height: 0.85; letter-spacing: -0.05em; }
.error-page h1 { margin-top: 24px; font-size: clamp(1.8rem, 4vw, 3rem); }
.error-page p { margin-top: 16px; max-width: 30em; color: var(--steel); }
.error-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Project page ------------------------------------------------------------- */
.project-back { position: absolute; z-index: 5; top: calc(var(--nav-h) + 24px); inset-inline-start: var(--gutter); display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--steel); }
.project-back svg { width: 16px; height: 16px; }
[dir="rtl"] .project-back svg { transform: scaleX(-1); }
.project-back:hover { color: var(--graphite); }
.pgv { position: relative; padding: calc(var(--nav-h) + 72px) 0 56px; }
.pgv-container { display: flex; flex-direction: column; }
.pgv-topbar { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.pgv-counter { font-weight: 600; color: var(--steel); direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.pgv-counter-sep { margin: 0 4px; }
.pgv-stage { position: relative; }
.pgv-frame { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--alu-lo); cursor: zoom-in; }
.pgv-frame img { width: 100%; max-height: min(66vh, 720px); object-fit: contain; }
.pgv-frame .velix-img { background: transparent; }
.pgv-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--black); color: var(--alu); border-radius: 50%; }
.pgv-nav svg { width: 18px; height: 18px; }
.pgv-nav.prev { left: 16px; } .pgv-nav.next { right: 16px; }
.pgv-info { margin-top: 32px; display: grid; gap: 6px; }
.pgv-num { display: none; }
.pgv-cat { color: var(--steel); }
.pgv-title { font-size: clamp(2.2rem, 5vw, 4.5rem); }
.pgv-thumbs { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.pgv-thumb { width: 92px; height: 58px; overflow: hidden; border-radius: 3px; opacity: 0.55; outline: 2px solid transparent; outline-offset: 2px; }
.pgv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pgv-thumb.is-active { opacity: 1; outline-color: var(--graphite); }
.project-subheader { padding-bottom: 40px; }
.project-subheader .container { display: grid; gap: 28px; }
.project-subheader .lede:empty { display: none; }
.project-meta-row { display: flex; flex-wrap: wrap; gap: 20px 56px; padding-top: 22px; border-top: 1px solid var(--graphite); }
.project-meta-row > div { display: grid; gap: 2px; }
.project-meta-row span { color: var(--steel); font-size: 0.92rem; }
.project-meta-row strong { font-size: 1.05rem; }
.project-hero-actions:empty { display: none; }
.project-narrative { padding-block: clamp(64px, 9vw, 120px); }
.project-narrative-head { max-width: 44rem; }
.narrative-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.narrative-card { padding: 28px; }
.narrative-card.wide { grid-column: 1 / -1; }
.narrative-icon { display: none; }
.narrative-card h3 { margin-bottom: 10px; }
.narrative-card p { color: var(--steel); }
.narrative-card ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; }
.narrative-card li { display: flex; gap: 10px; align-items: baseline; }
.narrative-card li svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--ok); transform: translateY(2px); }
.tech-chips { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; }
.tech-chips span { font-weight: 500; }
.tech-chips span:not(:last-child)::after { content: '/'; margin-inline-start: 20px; color: var(--steel); }
.next-project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.next-project-card { display: grid; gap: 10px; }
.next-project-card .velix-img { aspect-ratio: 16 / 9; height: auto; border-radius: var(--radius-sm); }
.next-project-card .velix-img img { object-fit: cover; object-position: top; }
.next-project-label { display: inline-flex; align-items: center; gap: 8px; color: var(--steel); }
.next-project-label svg { width: 16px; height: 16px; }
[dir="rtl"] .next-project-label svg { transform: scaleX(-1); }
.next-project-title { font-size: 1.4rem; font-weight: 600; font-stretch: 110%; }
.next-project-card:hover .next-project-title { text-decoration: underline; text-underline-offset: 5px; }

/* Images / lightbox -------------------------------------------------------- */
.velix-img { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--alu-lo); }
.velix-img img { width: 100%; height: 100%; opacity: 0; transition: opacity 0.4s; }
.velix-img:not(.is-loading):not(.is-error) img { opacity: 1; }
.velix-img-fallback { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: var(--steel); font-size: 0.85rem; }
.velix-img-fallback svg { width: 24px; height: 24px; }
.velix-img.is-error .velix-img-fallback { display: flex; }
.velix-img.is-error img { display: none; }
.velix-lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 56px); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0s linear 0.25s; }
.velix-lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.25s; }
.velix-lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.92); }
body.velix-lightbox-lock { overflow: hidden; }
.velix-lightbox-shell { position: relative; z-index: 1; width: 100%; max-width: 1200px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.velix-lightbox-stage { position: relative; width: 100%; display: flex; justify-content: center; }
.velix-lightbox-media { width: 100%; max-height: 80vh; overflow: hidden; border-radius: 3px; }
.velix-lightbox-media img { width: 100%; max-height: 80vh; object-fit: contain; }
.velix-lightbox-close, .velix-lightbox-nav { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--alu); color: var(--black); }
.velix-lightbox-close svg, .velix-lightbox-nav svg { width: 18px; height: 18px; }
.velix-lightbox-close { position: absolute; top: -8px; inset-inline-end: -8px; z-index: 3; }
.velix-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.velix-lightbox-nav.prev { left: 12px; } .velix-lightbox-nav.next { right: 12px; }
.velix-lightbox-footer { display: flex; gap: 16px; color: var(--on-black-soft); font-size: 0.9rem; }
.velix-lightbox-caption { color: var(--on-black); }

.cursor-dot, .cursor-ring, .page-loader { display: none !important; }

/* Chat widget -------------------------------------------------------------- */
.velix-chat { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 900; font-family: var(--sans); }
html[lang="ar"] .velix-chat { font-family: var(--ar-text); }
.velix-chat-toggle { width: 56px; height: 56px; border-radius: 50%; position: relative; display: flex; align-items: center; justify-content: center; background: var(--black); color: var(--alu); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.velix-chat-toggle svg { width: 24px; height: 24px; position: absolute; transition: opacity 0.2s, transform 0.3s var(--ease); }
.velix-chat-toggle .ic-close { opacity: 0; transform: rotate(-45deg); }
.velix-chat-toggle.is-open .ic-chat { opacity: 0; transform: rotate(45deg); }
.velix-chat-toggle.is-open .ic-close { opacity: 1; transform: none; }
.velix-chat-dot { position: absolute; top: 2px; inset-inline-end: 2px; width: 12px; height: 12px; border-radius: 50%; background: #2DBE73; border: 2px solid var(--black); }
.velix-chat-toggle.is-open .velix-chat-dot { opacity: 0; }
.velix-chat-panel { position: absolute; bottom: 70px; inset-inline-end: 0; width: 380px; max-width: calc(100vw - 40px); height: 560px; max-height: 74vh; display: flex; flex-direction: column; overflow: hidden; background: var(--alu-hi); border: 1px solid var(--rule-strong); border-radius: var(--radius-md); box-shadow: 0 24px 60px rgba(0,0,0,0.22); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.25s, transform 0.3s var(--ease); }
.velix-chat-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.velix-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--black); color: var(--alu); flex-shrink: 0; }
.velix-chat-avatar { position: relative; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--alu); color: var(--black); font-weight: 700; flex-shrink: 0; }
.velix-chat-avatar::after { content: ''; position: absolute; bottom: -1px; inset-inline-end: -1px; width: 10px; height: 10px; border-radius: 50%; background: #2DBE73; border: 2px solid var(--black); }
.velix-chat-head-info { min-width: 0; flex: 1; }
.velix-chat-head strong.velix-chat-name { display: block; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.velix-chat-head span.velix-chat-status { font-size: 0.78rem; color: var(--on-black-soft); }
.velix-chat-close-mobile { display: none; }
.velix-chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.velix-bubble { max-width: 86%; padding: 10px 14px; border-radius: 12px; font-size: 0.92rem; line-height: 1.55; overflow-wrap: anywhere; }
.velix-bubble a { text-decoration: underline; }
.velix-bubble.is-bot { align-self: flex-start; background: var(--alu); border-end-start-radius: 3px; }
.velix-bubble.is-user { align-self: flex-end; background: var(--black); color: var(--alu); border-end-end-radius: 3px; }
.velix-typing-row { display: flex; align-items: flex-end; gap: 8px; align-self: flex-start; }
.velix-typing-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--black); color: var(--alu); font-size: 0.6rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.velix-bubble.is-typing { display: flex; gap: 5px; padding: 13px 15px; }
.velix-bubble.is-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--steel); animation: typing 1.1s infinite; }
.velix-bubble.is-typing span:nth-child(2) { animation-delay: 0.15s; }
.velix-bubble.is-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.35; } 30% { opacity: 1; } }
.velix-quote-card { display: grid; gap: 6px; min-width: 220px; }
.velix-quote-ref, .velix-quote-note { font-size: 0.75rem; color: var(--steel); }
.velix-quote-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.86rem; padding: 4px 0; border-bottom: 1px solid var(--rule); }
.velix-quote-total { font-weight: 700; border-top: 1px solid var(--graphite); padding-top: 8px; }
.velix-lead-form { display: grid; gap: 8px; }
.velix-lead-form input, .velix-lead-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--rule-strong); border-radius: 4px; background: var(--alu-hi); font-size: 16px; }
.velix-lead-form button { min-height: 42px; }
.velix-chat-quick { display: flex; gap: 8px; padding: 0 16px 12px; overflow-x: auto; scrollbar-width: none; }
.velix-quick-btn { flex-shrink: 0; padding: 7px 12px; border: 1px solid var(--rule-strong); border-radius: 4px; font-size: 0.84rem; }
.velix-quick-btn:hover { border-color: var(--graphite); }
.velix-chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--rule); flex-shrink: 0; }
.velix-chat-input input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--rule-strong); border-radius: 4px; background: var(--alu-lo); font-size: 16px; }
.velix-chat-input input:focus { outline: 2px solid var(--black); outline-offset: 0; }
.velix-chat-input button { width: 44px; height: 44px; border-radius: 4px; display: flex; align-items: center; justify-content: center; background: var(--black); color: var(--alu); flex-shrink: 0; }
.velix-chat-input button svg { width: 16px; height: 16px; }
[dir="rtl"] .velix-chat-input button svg { transform: scaleX(-1); }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions { margin-inline-start: auto; }
  .faq-layout, .contact-grid, .quote-layout, .about-grid, .service-detail > .container { grid-template-columns: 1fr; }
  .faq-aside, .quote-aside, .service-detail > .container > div:first-child { position: static; }
  .about-grid > div:first-child { order: 0; }
  .process-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .svc-list { grid-template-columns: 1fr; }
  .portfolio-grid, .news-grid, .services-grid, .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-actions .btn-quote { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-ring { order: -1; justify-self: start; width: 132px; margin-bottom: 8px; }
  .founder { grid-template-columns: 1fr; }
  .talk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .section { padding-block: 72px; }
  .section-head { margin-bottom: 32px; }
  .hero-calm { padding: calc(var(--nav-h) + 32px) 0 16px; }
  .hero-ring { width: 104px; }
  .process-track { grid-template-columns: 1fr; gap: 28px; }
  .svc-row { padding: 20px 0; }
  .talk { padding-block: 80px; }
  .talk-lines a { font-size: 1.35rem; }
  .talk-grid .btn { width: 100%; }
  .nav-actions .lang-seg { display: none; }
  .portfolio-grid, #homeFeaturedGrid, .news-grid, .services-grid, .testimonial-grid, .value-grid, .narrative-grid, .next-project-grid { grid-template-columns: 1fr; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band-actions .btn { flex: 1 1 100%; }
  .quote-form-grid, .service-feature-list, .service-meta-grid { grid-template-columns: 1fr; }
  .about-timeline-item { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .pgv-thumbs { display: none; }
  .pgv-nav { width: 40px; height: 40px; }
  .velix-chat { inset-inline-end: 14px; bottom: 14px; }
  .velix-chat-toggle { width: 52px; height: 52px; }
  .velix-chat-panel { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; height: min(88vh, 640px); max-height: 88vh; border-radius: 8px 8px 0 0; }
  .velix-chat-close-mobile { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; color: var(--alu); }
  .velix-chat-close-mobile svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .navbar, .mobile-nav, .velix-chat, .site-footer { display: none !important; }
}
/* Some legal and service copy is English-only; let each paragraph take its own direction */
[dir="rtl"] :is(.legal-content, .service-meta-item, .service-detail-cta, .testimonial-card) :is(p, li, h2, h5, a, strong) { unicode-bidi: plaintext; text-align: start; }

/* Dark theme adjustments ---------------------------------------------------- */
.cta-band { background: var(--alu-hi); color: var(--graphite); border: 1px solid var(--rule); }
.cta-band h2 { color: var(--graphite); }
.cta-band-copy p { color: var(--steel); }
.btn-white { background: var(--graphite); color: var(--alu); }
.btn-outline-light { border-color: var(--rule-strong); color: var(--graphite); }
.btn-outline-light:hover { border-color: var(--graphite); }
.velix-chat-toggle { box-shadow: 0 8px 24px rgba(0,0,0,0.6); }
.velix-chat-dot, .velix-chat-avatar::after { border-color: var(--alu); }
.velix-chat-head { background: var(--alu-lo); color: var(--graphite); }
.velix-chat-avatar { background: var(--graphite); color: var(--alu); }
.velix-bubble.is-bot { background: var(--alu-lo); }
.velix-lightbox-close, .velix-lightbox-nav { background: var(--graphite); color: var(--alu); }
.pgv-nav { background: rgba(5,5,6,0.7); color: var(--graphite); border: 1px solid var(--rule-strong); }
