/* ==========================================================================
   Naya AI — Technical Services, Dubai UAE
   Design system. Single stylesheet, no build step, no dependencies.
   Bilingual EN/AR with logical properties so RTL works without a second file.
   ========================================================================== */

:root {
  /* Brand — taken from the Naya mark: deep purple + turquoise ---------- */
  --ink:        #1C0A33;   /* headings, dark sections */
  --ink-2:      #261043;
  --ink-3:      #371A5E;
  --teal:       #17C4B2;   /* primary action colour, from the mark */
  --teal-deep:  #0D8578;
  --teal-soft:  #E3F9F6;
  --violet:     #6A1FA0;   /* brand purple, from the mark */
  --violet-soft:#F2E8FA;
  --gold:       #C8A44D;   /* sub-brand — Viora only */
  --gold-soft:  #FAF4E6;

  /* Neutrals ---------------------------------------------------------- */
  --bg:         #FFFFFF;
  --bg-2:       #F8F5FB;
  --bg-3:       #F0EAF6;
  --line:       #E6DFEE;
  --line-dark:  rgba(255,255,255,.12);
  --text:       #221733;
  --muted:      #675B78;
  --muted-dark: #B3A3C6;

  /* Type -------------------------------------------------------------- */
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;
  --font: var(--font-en);

  /* Shape & motion ---------------------------------------------------- */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(10,18,32,.06), 0 2px 8px rgba(10,18,32,.04);
  --shadow:    0 2px 6px rgba(10,18,32,.06), 0 12px 32px rgba(10,18,32,.08);
  --shadow-lg: 0 8px 24px rgba(10,18,32,.10), 0 32px 64px rgba(10,18,32,.12);
  --ease: cubic-bezier(.22,.61,.36,1);

  /* Layout ------------------------------------------------------------ */
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 116px);
}

html[lang="ar"] { --font: var(--font-ar); }

/* Set by the inline head script when Arabic is the stored preference, cleared
   by app.js once the text has been swapped. Holds the first paint for a few ms
   so the page never renders in English and then flips to Arabic. The attribute
   only ever exists if JS is running, so a no-JS visitor is unaffected. */
html[data-lang-pending] body { visibility: hidden; }

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* Typography ------------------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.022em; font-weight: 700; color: var(--ink); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.35rem); }
p  { color: var(--muted); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 14px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.eyebrow::before { content: ""; inline-size: 22px; block-size: 2px; background: var(--teal); border-radius: 2px; }

/* Layout ----------------------------------------------------------------- */
.wrap { max-inline-size: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--bg-2); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--muted-dark); }
.section--dark .eyebrow { color: var(--teal); }

.head { max-inline-size: 62ch; margin-bottom: clamp(32px, 5vw, 56px); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head--center .lead { margin-inline: auto; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; min-block-size: 52px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { inline-size: 19px; block-size: 19px; flex: none; }
.btn--primary { background: var(--teal); color: #04241F; box-shadow: 0 6px 20px rgba(23,196,178,.34); }
.btn--primary:hover { background: #1DD9C5; box-shadow: 0 10px 30px rgba(23,196,178,.42); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--bg-2); }
.section--dark .btn--ghost, .hero .btn--ghost, .cta .btn--ghost { border-color: var(--line-dark); color: #fff; }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover, .cta .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.btn--gold { background: var(--gold); color: #241B04; box-shadow: 0 6px 20px rgba(200,164,77,.3); }
.btn--gold:hover { background: #D8B65E; }
.btn--sm { padding: 10px 18px; min-block-size: 42px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.head--center + .btn-row, .btn-row--center { justify-content: center; }

/* Arrow glyphs flip in RTL */
.rtl-flip { transition: transform .2s var(--ease); }
html[dir="rtl"] .rtl-flip { transform: scaleX(-1); }

/* Header ----------------------------------------------------------------- */
.hdr {
  position: sticky; inset-block-start: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-block-end: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.hdr.is-stuck { border-block-end-color: var(--line); box-shadow: 0 6px 24px rgba(10,18,32,.06); }
.hdr__in { display: flex; align-items: center; gap: 18px; min-block-size: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-size: 1.12rem; }
.brand__mark { inline-size: 34px; block-size: 34px; flex: none; }
.brand__sub { font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-block-start: -3px; white-space: nowrap; }
html[lang="ar"] .brand__sub { letter-spacing: 0; text-transform: none; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a {
  padding: 9px 13px; border-radius: var(--r-pill); font-size: .95rem; font-weight: 500;
  color: var(--muted); transition: color .18s, background .18s;
}
.nav a:hover { color: var(--ink); background: var(--bg-2); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; background: var(--bg-3); }
.nav a.nav--viora[aria-current="page"] { background: var(--gold-soft); color: #6B551B; }
/* The in-menu CTA is for the mobile drawer only — the header keeps its own. */
.nav > .btn { display: none; }

.hdr__act { display: flex; align-items: center; gap: 8px; }
.lang {
  border: 1px solid var(--line); background: #fff; border-radius: var(--r-pill);
  padding: 9px 16px; font-weight: 600; font-size: .88rem; cursor: pointer;
  transition: border-color .18s, background .18s;
}
.lang:hover { border-color: var(--ink); background: var(--bg-2); }

.burger { display: none; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 11px; cursor: pointer; }
.burger span { display: block; inline-size: 18px; block-size: 2px; background: var(--ink); border-radius: 2px; }
.burger span + span { margin-block-start: 4px; }

@media (max-width: 960px) {
  .burger { display: block; margin-inline-start: auto; }
  .hdr__act .btn { display: none; }
  .nav {
    position: fixed; inset-block-start: 74px; inset-inline: 0; inset-block-end: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 20px var(--gutter) 40px;
    border-block-start: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 15px 14px; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav > .btn { display: inline-flex; margin-block-start: 14px; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 520px at 82% -8%, rgba(23,196,178,.22), transparent 62%),
    radial-gradient(900px 560px at 6% 6%, rgba(138,49,184,.42), transparent 62%),
    linear-gradient(180deg, var(--ink) 0%, #2A0F4A 100%);
  color: #fff;
  padding-block: clamp(64px, 9vw, 108px) clamp(72px, 10vw, 120px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 520px at 50% 25%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 520px at 50% 25%, #000, transparent 75%);
}
.hero__in { position: relative; z-index: 1; display: grid; gap: clamp(36px, 5vw, 60px); align-items: center; }
@media (min-width: 981px) { .hero__in { grid-template-columns: 1.04fr .96fr; } }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { color: #C3D2E4; margin-block-start: 20px; font-size: clamp(1.04rem, 1.7vw, 1.25rem); }
.hero .eyebrow { color: var(--teal); }
.hero .btn-row { margin-block-start: 34px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  font-size: .84rem; color: #D8E4F2; font-weight: 500; margin-block-end: 22px;
}
.pill b { color: #fff; font-weight: 700; }
.pill__dot { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(23,196,178,.22); flex: none; margin-inline-start: 6px; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-block-start: 34px; padding-block-start: 26px; border-block-start: 1px solid rgba(255,255,255,.1); }
.hero__meta span { font-size: .88rem; color: #A9BCD2; display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { inline-size: 16px; block-size: 16px; color: var(--teal); flex: none; }

/* Hero visual — product abstraction, built in markup (no stock photo) ----- */
.panel {
  background: linear-gradient(165deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.panel__bar { display: flex; align-items: center; gap: 7px; margin-block-end: 18px; }
.panel__bar i { inline-size: 10px; block-size: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.panel__bar b { margin-inline-start: auto; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8FA3BC; }
html[lang="ar"] .panel__bar b { letter-spacing: 0; text-transform: none; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-block-end: 14px; }
.kpi { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-sm); padding: 13px; }
.kpi span { display: block; font-size: .68rem; color: #8FA3BC; text-transform: uppercase; letter-spacing: .07em; }
html[lang="ar"] .kpi span { text-transform: none; letter-spacing: 0; font-size: .74rem; }
.kpi b { display: block; font-size: 1.3rem; color: #fff; font-weight: 700; margin-block-start: 4px; letter-spacing: -.02em; }
.kpi--teal b { color: var(--teal); }
.kpi--violet b { color: #C8A4F0; }

.spark { display: flex; align-items: flex-end; gap: 5px; block-size: 84px; padding: 12px; background: rgba(255,255,255,.04); border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.08); }
.spark i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--teal), rgba(23,196,178,.25)); animation: rise .9s var(--ease) backwards; }
@keyframes rise { from { block-size: 4px !important; opacity: 0; } }

.flowline { display: flex; align-items: center; gap: 8px; margin-block-start: 14px; flex-wrap: wrap; }
.flowline i {
  flex: 1 1 0; min-inline-size: 58px; text-align: center; font-style: normal;
  font-size: .7rem; font-weight: 600; color: #C3D2E4;
  padding: 8px 6px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.flowline i:last-child { background: rgba(23,196,178,.18); border-color: rgba(23,196,178,.45); color: #7FF0E4; }

/* Logos / credibility strip ---------------------------------------------- */
.strip { padding-block: 26px; border-block-end: 1px solid var(--line); background: var(--bg); }
.strip__in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; justify-content: center; }
.strip p { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
html[lang="ar"] .strip p { letter-spacing: 0; text-transform: none; }
.strip__item { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.strip__item svg { inline-size: 18px; block-size: 18px; color: var(--teal-deep); flex: none; }

/* Cards ------------------------------------------------------------------ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 30px);
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
  block-size: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CFDBE6; }
.card h3 { margin-block-end: 9px; }
.card p { font-size: .97rem; }
.card__ico {
  inline-size: 48px; block-size: 48px; border-radius: 14px; margin-block-end: 18px;
  display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep);
}
.card__ico svg { inline-size: 24px; block-size: 24px; }
.card__ico--violet { background: var(--violet-soft); color: var(--violet); }
.card__ico--gold { background: var(--gold-soft); color: #9A7A22; }
.card__list { list-style: none; padding: 0; margin-block-start: 16px; display: grid; gap: 8px; }
.card__list li { font-size: .92rem; color: var(--muted); padding-inline-start: 22px; position: relative; }
.card__list li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .58em;
  inline-size: 7px; block-size: 7px; border-radius: 2px; background: var(--teal);
}
.card--dark { background: var(--ink-2); border-color: var(--line-dark); }
.card--dark:hover { border-color: rgba(255,255,255,.28); }
.card--feature { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-3) 100%); border-color: transparent; color: #fff; }
.card--feature h3 { color: #fff; } .card--feature p { color: var(--muted-dark); }

/* Numbered steps --------------------------------------------------------- */
.steps { counter-reset: s; display: grid; gap: 4px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding-block: 26px; border-block-end: 1px solid var(--line);
}
.step:last-child { border-block-end: 0; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.02rem;
  color: var(--teal-deep); background: var(--teal-soft);
  inline-size: 46px; block-size: 46px; border-radius: 50%; display: grid; place-items: center;
}
.step h3 { margin-block-end: 6px; }
.step p { font-size: .97rem; }
.section--dark .step { border-block-end-color: var(--line-dark); }
.section--dark .step::before { background: rgba(23,196,178,.16); color: var(--teal); }

/* Split feature ---------------------------------------------------------- */
.split { display: grid; gap: clamp(30px, 5vw, 60px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide { grid-template-columns: 1.15fr .85fr; } }
.split--rev > *:first-child { order: 2; }
@media (max-width: 899px) { .split--rev > *:first-child { order: 0; } }

/* Figure / image slot ---------------------------------------------------- */
.figure { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); box-shadow: var(--shadow); position: relative; }
.figure img { inline-size: 100%; block-size: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.figure--wide img { aspect-ratio: 16 / 9; }
.figure--square img { aspect-ratio: 1 / 1; }
.figure figcaption { font-size: .8rem; color: var(--muted); padding: 10px 14px; background: #fff; border-block-start: 1px solid var(--line); }

/* Stats ------------------------------------------------------------------ */
.stat { text-align: center; padding: 22px 14px; }
.stat b { display: block; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.section--dark .stat b { color: #fff; }
.stat span { font-size: .93rem; color: var(--muted); }
.stat--pending b { color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); font-weight: 600; }

/* Viora sub-brand theming ------------------------------------------------ */
.viora { --teal: var(--gold); --teal-deep: #8A6E1C; --teal-soft: var(--gold-soft); }
.viora .btn--primary { background: var(--gold); color: #241B04; box-shadow: 0 6px 20px rgba(200,164,77,.3); }
.viora .btn--primary:hover { background: #D8B65E; }
.viora .hero {
  background:
    radial-gradient(1100px 560px at 78% -10%, rgba(200,164,77,.22), transparent 62%),
    radial-gradient(700px 440px at 6% 10%, rgba(200,164,77,.10), transparent 60%),
    linear-gradient(180deg, #0A0A0C 0%, #14130F 100%);
}
.viora .hero h1 em, .viora .hero .eyebrow, .viora .pill__dot { color: var(--gold); }
.viora .pill__dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(200,164,77,.2); }
.viora .spark i { background: linear-gradient(180deg, var(--gold), rgba(200,164,77,.25)); }
.viora .flowline i:last-child { background: rgba(200,164,77,.18); border-color: rgba(200,164,77,.45); color: #EFD79A; }
.viora .hero__meta svg { color: var(--gold); }
.viora .kpi--teal b { color: #E3C77A; }

/* Chat mock (Viora) ------------------------------------------------------ */
.chat { display: grid; gap: 10px; }
.bubble {
  max-inline-size: 84%; padding: 12px 16px; border-radius: 18px; font-size: .94rem; line-height: 1.5;
  animation: pop .45s var(--ease) backwards;
}
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.bubble--in  { background: rgba(255,255,255,.1); color: #E8EEF6; border-start-start-radius: 6px; justify-self: start; }
.bubble--out { background: var(--gold); color: #241B04; border-start-end-radius: 6px; justify-self: end; font-weight: 500; }
.bubble small { display: block; font-size: .7rem; opacity: .65; margin-block-start: 4px; }

/* Pricing / plans -------------------------------------------------------- */
.plan { display: flex; flex-direction: column; }
.plan__price { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin-block: 10px 2px; }
.plan__price small { font-size: .82rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .btn { margin-block-start: auto; inline-size: 100%; }
.plan .card__list { margin-block-end: 24px; }
.badge {
  display: inline-block; padding: 4px 11px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--teal-soft); color: var(--teal-deep); margin-block-end: 8px;
}
html[lang="ar"] .badge { letter-spacing: 0; text-transform: none; }
.badge--tbc { background: var(--bg-3); color: var(--muted); }

/* FAQ -------------------------------------------------------------------- */
.faq { max-inline-size: 820px; margin-inline: auto; }
.faq details { border-block-end: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding-block: 22px; padding-inline-end: 40px;
  font-weight: 600; font-size: 1.04rem; color: var(--ink); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; inset-inline-end: 6px; inset-block-start: 28px;
  inline-size: 11px; block-size: 11px; border-inline-end: 2px solid var(--muted); border-block-end: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding-block-end: 22px; font-size: .98rem; max-inline-size: 68ch; }

/* CTA band --------------------------------------------------------------- */
.cta {
  border-radius: var(--r-lg); padding: clamp(34px, 5vw, 64px); text-align: center;
  background: linear-gradient(140deg, var(--ink) 0%, #14243D 55%, #0F3B38 100%);
  color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.viora .cta { background: linear-gradient(140deg, #0A0A0C 0%, #241F12 55%, #3A3016 100%); }
.cta h2 { color: #fff; max-inline-size: 22ch; margin-inline: auto; }
.cta p { color: #BFCFE2; max-inline-size: 54ch; margin: 14px auto 28px; }
.cta .btn-row { justify-content: center; }

/* Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; gap: 26px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.field { display: grid; gap: 7px; margin-block-end: 16px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  inline-size: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(23,196,178,.16);
}
.field textarea { min-block-size: 130px; resize: vertical; }
.field__err { display: block; font-size: .83rem; font-weight: 500; color: #C42525; min-block-size: 0; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #C42525; }
.field.has-error input:focus, .field.has-error textarea:focus, .field.has-error select:focus {
  box-shadow: 0 0 0 4px rgba(196,37,37,.14);
}
.form-note { font-size: .84rem; color: var(--muted); margin-block-start: 12px; }
.form-note a { color: var(--teal-deep); font-weight: 600; text-decoration: underline; }
.form-status { font-size: .92rem; font-weight: 500; margin-block-start: 12px; min-block-size: 1.4em; color: var(--muted); }
.form-status.is-ok { color: var(--teal-deep); }
.form-status.is-error { color: #C42525; }
.form-status a { text-decoration: underline; font-weight: 600; }
/* Honeypot: off-screen for humans, irresistible to bots. */
.hp { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding-block: 16px; border-block-end: 1px solid var(--line); }
.contact-list li:last-child { border-block-end: 0; }
.contact-list .ci { inline-size: 42px; block-size: 42px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; }
.contact-list .ci svg { inline-size: 20px; block-size: 20px; }
.contact-list b { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
html[lang="ar"] .contact-list b { text-transform: none; letter-spacing: 0; }
.contact-list span, .contact-list a { font-size: 1.02rem; color: var(--ink); font-weight: 500; }
.contact-list a:hover { color: var(--teal-deep); text-decoration: underline; }
.map { inline-size: 100%; block-size: 300px; border: 0; border-radius: var(--r); background: var(--bg-3); }

/* Placeholder for client-supplied data ----------------------------------- */
.tbc {
  display: inline-block; padding: 2px 9px; border-radius: 6px;
  background: repeating-linear-gradient(45deg, #FFF6E0, #FFF6E0 6px, #FFEFCC 6px, #FFEFCC 12px);
  border: 1px dashed #E0B863; color: #7A5A10; font-size: .82rem; font-weight: 600; white-space: nowrap;
}

/* Footer ----------------------------------------------------------------- */
.ftr { background: var(--ink); color: #fff; padding-block: clamp(46px, 6vw, 72px) 26px; }
.ftr__grid { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.ftr__grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .ftr__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } .ftr__grid > div:first-child { grid-column: auto; } }
.ftr .brand { color: #fff; }
.ftr p { color: var(--muted-dark); font-size: .94rem; margin-block-start: 14px; max-inline-size: 36ch; }
.ftr h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-block-end: 16px; }
html[lang="ar"] .ftr h4 { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.ftr ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.ftr ul a, .ftr ul span { color: var(--muted-dark); font-size: .94rem; transition: color .18s; }
.ftr ul a:hover { color: var(--teal); }
.social { display: flex; gap: 10px; margin-block-start: 18px; }
.social a {
  inline-size: 42px; block-size: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid var(--line-dark); color: #fff;
  transition: background .18s, transform .18s var(--ease), border-color .18s;
}
.social a:hover { background: rgba(23,196,178,.2); border-color: var(--teal); transform: translateY(-2px); }
.social a[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.social svg { inline-size: 19px; block-size: 19px; }
.ftr__btm {
  margin-block-start: 40px; padding-block-start: 22px; border-block-start: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center;
}
.ftr__btm p { color: #7E92AB; font-size: .86rem; margin: 0; max-inline-size: none; }

/* Sticky mobile CTA bar -------------------------------------------------- */
.dock {
  position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 90;
  display: none; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-block-start: 1px solid var(--line);
}
.dock .btn { flex: 1; min-block-size: 50px; }
@media (max-width: 760px) {
  .dock { display: flex; }
  body { padding-block-end: 74px; }
}

/* Floating contact bubble (desktop) --------------------------------------
   Default is the email channel. app.js adds .is-wa — and only then does it
   turn WhatsApp green — when a WhatsApp number is actually configured. */
.float-cta {
  position: fixed; inset-block-end: 26px; inset-inline-end: 26px; z-index: 90;
  inline-size: 58px; block-size: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal); color: #04241F;
  box-shadow: 0 8px 28px rgba(23,196,178,.4);
  transition: transform .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
}
.float-cta:hover { transform: scale(1.07); }
.float-cta svg { inline-size: 27px; block-size: 27px; }
.float-cta.is-wa { background: #25D366; color: #fff; box-shadow: 0 8px 28px rgba(37,211,102,.4); }
.viora .float-cta { background: var(--gold); color: #241B04; box-shadow: 0 8px 28px rgba(200,164,77,.4); }
.viora .float-cta.is-wa { background: #25D366; color: #fff; }
@media (max-width: 760px) { .float-cta { display: none; } }

/* Reveal on scroll ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Utilities -------------------------------------------------------------- */
.sr-only {
  position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; inset-inline-start: 12px; inset-block-start: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-sm);
  transition: top .2s;
}
.skip:focus { inset-block-start: 12px; }
.mt-l { margin-block-start: 34px; }
[hidden] { display: none !important; }
