/* =========================================================
   Pavua Concepts — site stylesheet
   Colours live in the tokens below (light + dark).
   ========================================================= */

:root {
  --brand: #60c7cb;        /* portfolio teal — surfaces & accents */
  --brand-soft: #e6f5f5;   /* teal tint */
  --teal: #1f7a80;         /* readable teal for text/buttons */
  --teal-deep: #155e63;
  --coral: #e8835f;        /* warm accent: swoosh, dots */
  --sand: #f4ead9;
  --bg: #fbf7f1;           /* warm off-white */
  --surface: #ffffff;
  --ink: #17262b;
  --muted: #55666b;
  --line: #e7dfd3;
  --btn-text: #ffffff;
  --shadow: 0 1px 2px rgba(23, 38, 43, .06), 0 12px 32px -12px rgba(23, 38, 43, .18);
  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #60c7cb; --brand-soft: #173236; --teal: #7fd6d9; --teal-deep: #a6e4e6;
    --coral: #f09a7a; --sand: #24302f; --bg: #0f1a1d; --surface: #16252a; --ink: #eaf2f2;
    --muted: #a3b5b8; --line: #263a3f; --btn-text: #0f1a1d;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #60c7cb; --brand-soft: #173236; --teal: #7fd6d9; --teal-deep: #a6e4e6;
  --coral: #f09a7a; --sand: #24302f; --bg: #0f1a1d; --surface: #16252a; --ink: #eaf2f2;
  --muted: #a3b5b8; --line: #263a3f; --btn-text: #0f1a1d;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* Arabic typography */
:root[lang="ar"] {
  --font-head: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; font-variation-settings: "SOFT" 100, "opsz" 72; }
:root[lang="ar"] h1, :root[lang="ar"] h2, :root[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p { margin: 0 0 1em; }
ul { padding-inline-start: 1.2em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; color: var(--bg); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--brand-soft); }
.section--sand { background: var(--sand); }
.eyebrow { display: inline-flex; align-items: center; gap: .55em; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
:root[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--coral); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* Hand-drawn swoosh under key words (echoes the logo's underline) */
.mark { position: relative; white-space: nowrap; color: var(--teal); }
.mark svg { position: absolute; inset-inline-start: -2%; bottom: -.18em; width: 104%; height: .42em; overflow: visible; pointer-events: none; }
.mark path { fill: none; stroke: var(--coral); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s .35s ease-out forwards; }
:root[dir="rtl"] .mark svg { transform: scaleX(-1); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .8em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: var(--btn-text); }
.btn--primary:hover { background: var(--teal-deep); color: var(--btn-text); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: #fff; color: #17262b; }
.btn--light:hover { color: #155e63; background: #fff; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
:root[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 64px; width: auto; }
.logo .logo-dark { display: none; }
:root[data-theme="dark"] .logo .logo-light { display: none; }
:root[data-theme="dark"] .logo .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo .logo-dark { display: block; }
}
.nav { margin-inline-start: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: .5em .85em; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; }
.nav a:hover { background: var(--brand-soft); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { border-color: var(--teal); color: var(--teal); }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 700; font-size: .85rem; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 18px; height: 18px; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); min-width: 150px; }
.lang li a { display: block; padding: 8px 12px; border-radius: 9px; text-decoration: none; color: var(--ink); font-weight: 600; }
.lang li a:hover, .lang li a[aria-current="true"] { background: var(--brand-soft); }
.header-cta { display: none; }
.menu-toggle { display: none; }

@media (min-width: 1100px) { .header-cta { display: inline-flex; min-height: 44px; padding: .55em 1.2em; } }
@media (max-width: 899px) {
  .menu-toggle { display: inline-grid; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px; display: none; box-shadow: var(--shadow); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { padding: .85em 1em; font-size: 1.1rem; border-radius: 12px; }
  .header-tools { margin-inline-start: auto; }
}
@media (max-width: 420px) { .logo img { height: 46px; } .header-inner { gap: 10px; } .lang summary span { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.8rem; }
.hero-note { margin-top: 1.4rem; font-size: .95rem; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dot-live { width: 10px; height: 10px; border-radius: 50%; background: #3fb37f; box-shadow: 0 0 0 4px color-mix(in srgb, #3fb37f 25%, transparent); flex: none; }
.portrait { position: relative; aspect-ratio: 1 / 1.05; max-width: 480px; margin-inline: auto; width: 100%; }
.portrait::before { content: ""; position: absolute; inset: 12% 0 0 0; border-radius: 50% 50% var(--radius-lg) var(--radius-lg); background: var(--brand); }
.portrait img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.stripes { position: absolute; width: 130px; height: 130px; background: repeating-linear-gradient(135deg, var(--brand) 0 9px, transparent 9px 22px); opacity: .55; pointer-events: none; border-radius: 6px; }
.portrait .stripes { inset-inline-start: -28px; bottom: 40px; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--surface); color: var(--ink); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .86rem; font-weight: 600; line-height: 1.3; max-width: 230px; }
.chip b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--teal); line-height: 1; }
.chip--a { inset-inline-end: -12px; top: 58%; }
.chip--b { inset-inline-start: -12px; bottom: 6%; }
.chip .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); display: grid; place-items: center; color: var(--teal); flex: none; }
.chip .ico svg { width: 20px; height: 20px; }
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; }
  .chip--a { inset-inline-end: 0; } .chip--b { inset-inline-start: 0; }
}

/* ---------- Logos / proof strip ---------- */
.proof { border-block: 1px solid var(--line); padding-block: 26px; }
.proof-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.proof-label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); flex: none; }
.proof ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.proof li { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); opacity: .78; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); position: relative; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin: 0; }
.service .num { font-family: var(--font-head); font-size: .95rem; color: var(--coral); font-weight: 700; display: block; margin-bottom: 18px; }
.service .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--brand-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 18px; }
.service .ico svg { width: 28px; height: 28px; }
.service ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.service li, .tag { font-size: .8rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); }
.service { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand); }

/* Work cards */
.work-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform .3s ease, box-shadow .3s ease; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.work-card figure { margin: 0; aspect-ratio: 4 / 3; background: var(--brand-soft); overflow: hidden; }
.work-card figure img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.work-card:hover figure img { transform: scale(1.04); }
.work-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work-card .meta { font-size: .82rem; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
:root[lang="ar"] .work-card .meta { letter-spacing: 0; }
.work-card h3 { margin: 0; }
.work-card p { color: var(--muted); margin: 0; font-size: .97rem; }
.work-card .more { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--teal); display: inline-flex; gap: 6px; align-items: center; }
.work-card .more svg { width: 18px; height: 18px; }
:root[dir="rtl"] .work-card .more svg { transform: scaleX(-1); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.stat { padding: 30px 26px; border-inline-end: 1px solid var(--line); }
.stat:last-child { border-inline-end: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--teal); line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .stat { border-inline-end: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }

/* Process */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: var(--surface); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 700; margin-bottom: 16px; font-family: var(--font-head); }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--teal-deep); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; }
:root[data-theme="dark"] .cta-band { background: #134a4e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-band { background: #134a4e; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #d7eeee; margin: 0; max-width: 56ch; }
.cta-band .stripes { inset-inline-end: -20px; top: -20px; opacity: .35; }
.cta-band .btn--ghost { border-color: #fff; color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: #155e63; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Page header ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero .stripes { inset-inline-end: 4%; top: 30px; }
.page-hero h1 { max-width: 18ch; }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.about-intro .portrait { max-width: 400px; }
.prose p { color: var(--ink); }
.prose p + p { margin-top: 0; }
@media (max-width: 860px) { .about-intro { grid-template-columns: 1fr; } }

.cap h3 { display: flex; align-items: center; gap: 10px; }
.cap h3::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--brand); transform: rotate(45deg); flex: none; }
.cap ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 9px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-inline-start: 44px; padding-bottom: 34px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 4px solid var(--brand); }
.timeline .when { font-size: .85rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }
.timeline h3 { margin: 4px 0 2px; font-size: 1.25rem; }
.timeline .org { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.timeline p { color: var(--muted); margin: 0; max-width: 70ch; }
.timeline-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(24px, 5vw, 64px); }
.timeline-grid .section-head { position: sticky; top: 110px; align-self: start; }
@media (max-width: 860px) { .timeline-grid { grid-template-columns: 1fr; } .timeline-grid .section-head { position: static; } }

.tools { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tools li { padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }

.quote { margin: 0; }
.quote blockquote { margin: 0 0 18px; font-family: var(--font-head); font-size: 1.2rem; line-height: 1.5; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3.4rem; line-height: .6; color: var(--brand); margin-bottom: 8px; }
.quote figcaption { font-weight: 700; }
.quote figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: .92rem; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { font: inherit; font-weight: 700; font-size: .92rem; padding: .55em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.filters button:hover { border-color: var(--teal); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.case { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.case:nth-of-type(even) .case-media { order: 2; }
.case-media { position: sticky; top: 100px; display: grid; gap: 14px; }
.case-media figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-soft); border: 1px solid var(--line); }
.case-media figure img { width: 100%; }
.case-media a { display: block; }
.case .meta-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 18px 0 24px; padding: 0; list-style: none; }
.case .meta-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: .92rem; }
.case .meta-list b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 2px; }
:root[lang="ar"] .case .meta-list b { letter-spacing: 0; font-size: .8rem; }
.case h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); margin: 22px 0 6px; font-weight: 800; }
:root[lang="ar"] .case h4 { letter-spacing: 0; font-size: .95rem; }
.case p { color: var(--muted); }
.case .tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.case .outcomes { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.case .outcomes li { position: relative; padding-inline-start: 30px; }
.case .outcomes li::before { content: ""; position: absolute; inset-inline-start: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a80' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.case[hidden] { display: none; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .case:nth-of-type(even) .case-media { order: 0; } .case-media { position: static; } }

.mini-case { display: flex; flex-direction: column; gap: 10px; }
.mini-case .meta { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); }
.mini-case[hidden] { display: none; }

/* ---------- Book / Contact ---------- */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--teal); display: grid; place-items: center; flex: none; }
.checks .ico svg { width: 20px; height: 20px; }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: .96rem; }
.embed-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; min-height: 560px; display: grid; }
.embed-placeholder { display: grid; place-items: center; text-align: center; padding: 40px 24px; gap: 14px; }
.embed-placeholder .cal { width: 76px; height: 76px; border-radius: 22px; background: var(--brand-soft); color: var(--teal); display: grid; place-items: center; margin-inline: auto; }
.embed-placeholder .cal svg { width: 38px; height: 38px; }
.embed-placeholder p { color: var(--muted); max-width: 42ch; margin: 0 auto; font-size: .95rem; }
.calendly-inline-widget { min-width: 280px; width: 100%; height: 720px; }

.contact-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.contact-list a:hover { border-color: var(--teal); color: var(--ink); }
.contact-list .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--teal); display: grid; place-items: center; flex: none; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; }
.contact-list b { font-weight: 700; word-break: break-word; }
[dir="rtl"] .ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .93rem; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; min-height: 50px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 30%, transparent); }
.field [aria-invalid="true"] { border-color: #c0492b; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: 14px 16px; font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: color-mix(in srgb, #3fb37f 16%, var(--surface)); color: var(--ink); border: 1px solid #3fb37f; }
.form-status.is-err { display: block; background: color-mix(in srgb, #c0492b 12%, var(--surface)); color: var(--ink); border: 1px solid #c0492b; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Footer ---------- */
.site-footer { background: #142225; color: #c9d6d8; padding-block: 64px 28px; margin-top: clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.site-footer a { color: #e7f2f2; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h2 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #8fa4a7; margin-bottom: 14px; font-weight: 800; }
:root[lang="ar"] .footer-grid h2 { letter-spacing: 0; font-size: .95rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-logo img { height: 54px; width: auto; margin-bottom: 16px; }
.footer-grid p { font-size: .96rem; max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #2f4448; display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #2a3c40; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: #8fa4a7; }
.site-footer .stripes { inset-inline-end: -10px; top: -10px; opacity: .14; width: 200px; height: 200px; }
.site-footer { padding-bottom: 96px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp floating button */
.wa-float { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Cookie notice */
.cookie { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 60; max-width: 520px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; display: none; }
.cookie.is-visible { display: block; }
.cookie p { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.cookie .btn { min-height: 42px; padding: .5em 1.1em; font-size: .92rem; }
.cookie.is-visible ~ .wa-float { bottom: 18px; }

/* 404 */
.notfound { text-align: center; padding-block: 120px; }
.notfound b { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 10rem); color: var(--brand); line-height: 1; display: block; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Privacy page */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--muted); }

@media print { .site-header, .site-footer, .wa-float, .cookie { display: none; } body { background: #fff; color: #000; } }
@media (max-width: 700px) { .page-hero .stripes { display: none; } }
.quote-note { margin: 24px 0 0; font-size: .9rem; color: var(--muted); }
.quote figcaption span { line-height: 1.45; margin-top: 2px; }
@media (max-width: 899px) {
  .chip { max-width: 190px; font-size: .8rem; padding: 8px 12px; }
  .chip b { font-size: 1.25rem; }
  .chip--a { top: auto; bottom: 34%; }
  .chip--b { bottom: 4%; }
}
.btn { max-width: 100%; }
.btn-row .btn { overflow-wrap: anywhere; text-align: center; }
