/* Jazl website: brand styles. Colours and fonts live in :root so they can be changed in one place. */
:root {
  --petrol: #2E4652;
  --petrol-2: #2D687F;
  --copper: #9A5A45;
  --copper-light: #C98A72;
  --stone: #E8E2D8;
  --ink: #2A2A2A;
  --muted: #5E5B55;
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --line: #D9D2C5;

  --f-en: 'DM Sans', system-ui, sans-serif;
  --f-serif: 'Source Serif 4', Georgia, serif;
  --f-ar-head: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
  --f-ar-body: 'IBM Plex Sans Arabic', 'Cairo', sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-en);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: var(--f-ar-body); font-size: 18.5px; line-height: 1.85; }
img { max-width: 100%; display: block; }
a { color: var(--copper); }
a:hover { color: var(--petrol); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0; color: var(--petrol); line-height: 1.15; }
h1, h2 { font-family: var(--f-serif); font-weight: 600; letter-spacing: -0.01em; }
h3, h4 { font-family: var(--f-en); font-weight: 700; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 {
  font-family: var(--f-ar-head); font-weight: 700; letter-spacing: 0; line-height: 1.4;
}
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--stone { background: var(--stone); }
.section--petrol { background: var(--petrol); color: var(--paper); }
.section--petrol h2, .section--petrol h3 { color: var(--paper); }

/* Signature copper ring */
.ring {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  border: 3px solid var(--copper); flex: none;
}
.ring--lg { width: 22px; height: 22px; }
.section--petrol .ring { border-color: var(--copper-light); }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--copper);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.section--petrol .eyebrow { color: var(--stone); }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 12px; }
.section-head p { max-width: 520px; color: var(--muted); }
.section--petrol .section-head p { color: var(--stone); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250,250,247,.94); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
}
.nav-links a:hover { color: var(--copper); }
.nav-links a[aria-current="page"] { color: var(--copper); font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--petrol);
  background: transparent; color: var(--petrol); font: 700 14px var(--f-en); cursor: pointer;
}
html[lang="en"] .lang-toggle { font-family: var(--f-ar-head); font-size: 15px; }
.lang-toggle:hover { background: var(--petrol); color: var(--paper); }
.nav-links .mobile-only { display: none; }
.menu-btn { display: none; min-height: 44px; min-width: 44px; border: 0; background: transparent; cursor: pointer; color: var(--petrol); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: background .15s, color .15s;
}
.btn--primary { background: var(--copper); color: var(--paper); }
.btn--primary:hover { background: #82493A; color: var(--paper); }
.btn--dark { background: var(--petrol); color: var(--paper); }
.btn--dark:hover { background: #22363F; color: var(--paper); }
.btn--ghost { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn--ghost:hover { background: var(--petrol); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--petrol); }
.btn--light:hover { background: var(--stone); color: var(--petrol); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow::after { content: "→"; }
html[dir="rtl"] .arrow::after { content: "←"; }

/* Hero */
.hero { padding-block: clamp(56px, 9vw, 120px) clamp(64px, 9vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); margin-top: 20px; }
html[lang="ar"] .hero h1 { font-size: clamp(40px, 6vw, 70px); }
.hero-sub { font-size: clamp(18px, 1.8vw, 21px); color: var(--ink); border-inline-start: 3px solid var(--copper); padding-inline-start: 24px; }
.hero .btn-row { margin-top: 28px; }

/* Page header (inner pages) */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(38px, 5vw, 60px); margin-top: 16px; }
.page-head p { margin-top: 16px; max-width: 640px; font-size: 19px; color: var(--muted); }

/* Intro */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 6vw, 80px); }
.split h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 12px; }
.prose p + p { margin-top: 18px; }
.prose .note { color: var(--muted); font-size: .95em; }

/* Methodology */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.phase { position: relative; padding-top: 28px; }
.phase::before { content: ""; position: absolute; top: 9px; inset-inline: 30px -24px; border-top: 1.5px dashed var(--copper); }
.phase:last-child::before { display: none; }
.phase .ring { position: absolute; top: 0; inset-inline-start: 0; width: 20px; height: 20px; }
.phase-num { font-family: var(--f-serif); font-size: 44px; color: var(--copper); line-height: 1; margin-top: 14px; }
.phase h3 { font-size: 20px; margin-top: 12px; }
.phase p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.section--petrol .phase p { color: var(--stone); }

/* Filter tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--petrol); background: transparent;
  color: var(--petrol); font: 700 14px inherit; font-family: inherit; cursor: pointer;
}
.tab[aria-pressed="true"] { background: var(--petrol); color: var(--paper); }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); }
.card { background: var(--paper); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.section--stone .card { background: var(--paper); }
.section:not(.section--stone):not(.section--petrol) .card { background: var(--white); border: 1px solid var(--line); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-meta { font-family: var(--f-serif); font-style: italic; color: var(--copper); font-size: 15px; }
html[lang="ar"] .card-meta { font-family: var(--f-ar-body); font-style: normal; }
.card h3 { font-size: 21px; color: var(--petrol); }
.card p { color: var(--ink); font-size: 16px; }
.card .link { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15px; text-decoration: none; }

/* Products */
.product { background: var(--petrol-2); color: var(--paper); border-radius: 22px; padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.product h3 { color: var(--paper); font-size: 24px; }
.product p { color: var(--paper); }
.product ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; font-size: 15px; }
.product .foot { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(232,226,216,.45); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.product .price { color: var(--stone); font-size: 14px; }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--stone); color: var(--petrol); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
html[lang="ar"] .badge { letter-spacing: 0; font-size: 13px; }
.product--featured { background: var(--paper); color: var(--ink); grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px 48px; align-items: center; padding: clamp(28px, 4vw, 48px); }
.product--featured h3 { color: var(--petrol); font-size: clamp(26px, 3vw, 34px); }
.product--featured p, .product--featured ul { color: var(--ink); }
.product--featured .badge { background: var(--copper); color: var(--paper); }
.product--featured .foot { border-top-color: var(--line); grid-column: 1 / -1; }
.product--featured .price { color: var(--muted); }
.product--featured .side { display: grid; gap: 14px; }

/* Clients */
.client-group + .client-group { margin-top: 48px; }
.client-group h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin-bottom: 18px; }
html[lang="ar"] .client-group h3 { letter-spacing: 0; font-size: 18px; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 18px; }
.logo-tile { background: var(--white); border: 1px solid var(--line); border-radius: 14px; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px; text-align: center; }
.logo-tile img { max-height: 56px; width: auto; object-fit: contain; }
.logo-tile .name { font-weight: 700; color: var(--petrol); font-size: 16px; line-height: 1.35; }
.logo-tile .name-alt { color: var(--muted); font-size: 13px; }
.prior-note { margin-top: 12px; color: var(--muted); font-style: italic; font-size: 15px; }
html[lang="ar"] .prior-note { font-style: normal; }
.client-strip { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; }
.client-strip span { font-weight: 700; color: var(--petrol); font-size: 18px; }
.client-strip img { max-height: 44px; width: auto; }

/* Engagements */
.engagements { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.engagement { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding: 22px 26px; background: var(--paper); border-radius: 14px; }
.engagement h3 { font-size: 19px; }
.engagement .client { color: var(--copper); font-weight: 700; font-size: 15px; }
.engagement .years { font-family: var(--f-serif); color: var(--muted); align-self: start; }
.engagement .outcome { grid-column: 1 / -1; color: var(--ink); font-size: 16px; }
.engagement .tag { font-size: 12px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-inline-start: 8px; }

/* Testimonial */
.quote { background: var(--stone); border-radius: 22px; padding: clamp(28px, 4vw, 48px); }
.quote blockquote { margin: 0; font-family: var(--f-serif); font-size: clamp(22px, 2.6vw, 30px); color: var(--petrol); line-height: 1.35; }
html[lang="ar"] .quote blockquote { font-family: var(--f-ar-head); font-weight: 600; line-height: 1.6; }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-weight: 700; color: var(--copper); }

/* About */
.why { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 28px; }
.why-item { border-top: 3px solid var(--copper); padding-top: 18px; }
.why-item h3 { font-size: 20px; }
.why-item p { margin-top: 8px; color: var(--muted); }
.founder { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.founder-card { background: var(--petrol); color: var(--paper); border-radius: 22px; padding: 32px; display: grid; gap: 10px; }
.founder-card img { border-radius: 14px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-bottom: 8px; }
.founder-card h3 { color: var(--paper); font-size: 24px; }
.founder-card .role { color: var(--stone); }
.founder blockquote { margin: 28px 0 0; padding-inline-start: 22px; border-inline-start: 3px solid var(--copper); font-family: var(--f-serif); font-size: 22px; color: var(--petrol); line-height: 1.45; }
html[lang="ar"] .founder blockquote { font-family: var(--f-ar-head); font-weight: 600; }
.creds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 0 32px; }
.creds li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.creds strong { display: block; color: var(--petrol); }
.creds span { color: var(--copper); font-size: 15px; }

/* Forms & surveys */
.form-card .type { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
html[lang="ar"] .form-card .type { letter-spacing: 0; font-size: 14px; }
.form-card .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.share .label { font-weight: 700; color: var(--petrol); margin-inline-end: 4px; }
.embed { margin-top: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.embed iframe { width: 100%; height: 80vh; min-height: 640px; border: 0; display: block; }
.status { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--stone); color: var(--petrol); }
.status--closed { background: #F1E3DE; color: var(--copper); }
.toast { position: fixed; inset-inline-start: 50%; bottom: 24px; transform: translateX(-50%); background: var(--petrol); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 50; }
html[dir="rtl"] .toast { transform: translateX(50%); }
.toast.show { opacity: 1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 72px); }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--petrol); font-size: 15px; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--petrol-2); outline: none; box-shadow: 0 0 0 3px rgba(45,104,127,.18); }
.hidden { display: none !important; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }

/* CTA band */
.cta-band { background: var(--stone); }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta-inner h2 { font-size: clamp(28px, 3.6vw, 42px); max-width: 680px; }

/* Footer */
.site-footer { background: var(--petrol); color: var(--stone); padding-block: 48px 32px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer-grid img { height: 64px; width: auto; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 32px; }
.footer-links a, .site-footer a { color: var(--stone); text-decoration: none; }
.footer-links a:hover, .site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(232,226,216,.25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }

.empty { color: var(--muted); font-style: italic; }
.loading { min-height: 40vh; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .founder, .contact-grid, .product--featured { grid-template-columns: minmax(0, 1fr); }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phase::before { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; position: absolute; top: 84px; inset-inline: 0; flex-direction: column; align-items: stretch; background: var(--paper); padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { min-height: 48px; }
  .nav-links .mobile-only { display: block; }
  .nav-actions .btn { display: none; }
}
@media (max-width: 560px) {
  .phases { grid-template-columns: minmax(0, 1fr); }
  .engagement { grid-template-columns: minmax(0, 1fr); }
  .brand img { height: 44px; }
  .embed iframe { min-height: 560px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ───────── Career Discovery (career.html) ───────── */
.cd-section { padding-top: 48px; }
.cd-panel { max-width: 860px; margin: 0 auto; background: var(--white); border-radius: 22px; padding: clamp(24px, 4.5vw, 48px); box-shadow: 0 1px 0 var(--line); }
.cd-h2 { font-size: clamp(26px, 3vw, 34px); outline: none; }
.cd-intro { margin-top: 8px; color: var(--muted); }
.cd-privacy { margin-top: 24px; color: var(--muted); font-size: 15px; }
.cd-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; margin-top: 24px; }
.cd-choice {
  display: grid; gap: 10px; text-align: start; padding: 28px; border-radius: 18px; border: 2px solid var(--line);
  background: var(--paper); cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, transform .15s;
}
.cd-choice:hover, .cd-choice:focus-visible { border-color: var(--copper); transform: translateY(-2px); }
.cd-choice-title { font-weight: 700; font-size: 22px; color: var(--petrol); }
html[lang="ar"] .cd-choice-title { font-family: var(--f-ar-head); font-size: 24px; }
.cd-choice-sub { color: var(--muted); }
.cd-choice-go { color: var(--copper); font-weight: 700; font-size: 20px; }
.cd-progress { margin-bottom: 28px; }
.cd-progress-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 14px; color: var(--muted); font-weight: 500; }
.cd-track { color: var(--petrol); }
.cd-bar { height: 6px; background: var(--stone); border-radius: 999px; margin-top: 10px; overflow: hidden; }
.cd-bar span { display: block; height: 100%; background: var(--copper); border-radius: 999px; transition: width .3s; }
.cd-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; margin-top: 26px; }
.cd-fields > * { grid-column: 1 / -1; }
.cd-fields > .field--half { grid-column: auto; }
.cd-fields fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.cd-fields legend { font-weight: 700; color: var(--petrol); font-size: 15px; padding: 0; margin-bottom: 10px; }
.req { color: var(--copper); }
.help { color: var(--muted); font-size: 14px; margin-top: -2px; }
.field-err { color: #A13A26; font-size: 14px; font-weight: 500; min-height: 0; }
.field-err:empty { display: none; }
.has-error input, .has-error select, .has-error textarea { border-color: #A13A26 !important; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; font-size: 16px; }
.opt:hover { border-color: var(--petrol-2); }
.opt input { width: 20px; height: 20px; accent-color: var(--copper); margin: 0; flex: none; }
.opt:has(input:checked) { border-color: var(--copper); background: #F6EEEA; }
.opt:has(input:focus-visible) { outline: 3px solid var(--copper); outline-offset: 2px; }
.opt--block { display: flex; width: 100%; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row input[type="range"] { flex: 1; accent-color: var(--copper); min-height: 44px; border: 0; padding: 0; background: transparent; }
.range-val { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--petrol); color: var(--paper); font-weight: 700; }
.range-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.holland { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.holland label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; font-weight: 500; }
.holland input { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); min-height: 44px; }
.field input[type="file"] { padding: 10px; background: var(--paper); }
.cd-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.linklike { background: none; border: 0; padding: 4px 2px; min-height: 32px; font: inherit; font-weight: 700; color: var(--copper); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cd-review-sec { margin-top: 24px; padding: 20px 22px; background: var(--paper); border-radius: 14px; }
.cd-review-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cd-review-head h3 { font-size: 18px; }
.cd-review-sec dl { margin: 12px 0 0; display: grid; gap: 10px; }
.cd-review-sec dt { font-size: 14px; color: var(--muted); }
.cd-review-sec dd { margin: 2px 0 0; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.cd-review-sec dd.muted { color: #8A867E; font-style: italic; }
.cd-consent { margin-top: 28px; display: grid; gap: 10px; }
.cd-done { text-align: start; }
.cd-done p { margin-top: 12px; font-size: 18px; }
.cd-done .ring { margin-bottom: 14px; }
@media (max-width: 560px) {
  .cd-fields { grid-template-columns: minmax(0, 1fr); }
  .holland { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cd-nav { flex-direction: column-reverse; }
  .cd-nav .btn { width: 100%; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.file-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.file-row input:focus-visible + .file-btn { outline: 3px solid var(--copper); outline-offset: 3px; }
.file-name { color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
html[dir="rtl"] input[dir="ltr"] { text-align: right; }

/* ───────── Pictures uploaded in /admin ───────── */
.pic { margin: 0; overflow: hidden; border-radius: 22px; background: var(--stone); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic--wide { margin-top: clamp(32px, 5vw, 56px); aspect-ratio: 21 / 9; }
.pic--side { margin-top: 28px; aspect-ratio: 4 / 3; max-width: 520px; }
.pic--card { aspect-ratio: 16 / 10; border-radius: 14px; margin-bottom: 4px; }
.product .pic--card { background: rgba(250,250,247,.15); }
@media (max-width: 560px) { .pic--wide { aspect-ratio: 4 / 3; } }

/* ───────── Built-in forms (form.html) ───────── */
.fb-fields { grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
.fb-section { padding-top: 18px; border-top: 1px solid var(--line); }
.fb-section:first-child { border-top: 0; padding-top: 0; }
.fb-section h3 { font-size: 22px; color: var(--petrol); }
html[lang="ar"] .fb-section h3 { font-size: 24px; }
.fb-section .help { margin-top: 6px; }
.field-label { font-weight: 700; color: var(--petrol); font-size: 15px; }
.fb-fields fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fb-fields legend { font-weight: 700; color: var(--petrol); font-size: 15px; padding: 0; margin-bottom: 10px; }
.scale { display: flex; flex-wrap: wrap; gap: 8px; }
.scale-pt { position: relative; }
.scale-pt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scale-pt span { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; color: var(--petrol); cursor: pointer; }
.scale-pt input:checked + span { background: var(--copper); border-color: var(--copper); color: var(--paper); }
.scale-pt input:focus-visible + span { outline: 3px solid var(--copper); outline-offset: 2px; }
