/* ATHAR inner pages
   Shared stylesheet for every page under atharstudio.ae except the homepage.
   Values copied from the live homepage (theme "trace"). */

/* Fonts: the homepage already self-hosts these files */
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("/athar-home/assets/fonts/manrope-400n-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("/athar-home/assets/fonts/manrope-500n-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("/athar-home/assets/fonts/manrope-600n-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("/athar-home/assets/fonts/manrope-700n-latin.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("/athar-home/assets/fonts/eb-garamond-400i-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/athar-home/assets/fonts/jetbrains-mono-500n-latin.woff2") format("woff2"); }

:root {
  --bg: #f2f0e9;
  --surface: #e9e7df;
  --paper: #faf9f4;
  --fg: #222420;
  --muted: #656860;
  --line: rgba(29, 33, 29, .16);
  --accent: #a86022;
  --sand: #e8a455;
  --button: #232622;
  --button-fg: #faf9f4;
  --band: #0d100f;
  --band-fg: #eeeee8;
  --band-muted: #9ca59b;
  --band-line: rgba(230, 237, 224, .16);
  --band-accent: #efb550;

  --sans: "Manrope", Arial, sans-serif;
  --serif: "EB Garamond", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --arabic: "Noto Naskh Arabic", "Geeza Pro", "Arabic Typesetting", "Traditional Arabic", "Amiri", serif;

  --gutter: clamp(16px, 5.8vw, 100px);
  --max: 1280px;
  --radius-pill: 60px;
  --radius-card: 18px;

  /* motion: three timings only */
  --t-feedback: 120ms;
  --t-move: 200ms;
  --t-enter: 400ms;
  --t-out: 280ms;
  --ease: cubic-bezier(.22, .75, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.05em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.035em; line-height: 1.15; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
.prose a, .faq-answer a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
em.accent, .accent-word { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; padding: 10px 16px; background: var(--button); color: var(--button-fg); border-radius: var(--radius-pill); z-index: 100; }
.skip:focus { top: 16px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head p { max-width: 440px; color: var(--muted); }
.label { font: 500 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); }

/* ---------- interactive feedback: hover in 200ms, out 280ms ---------- */
.btn, .nav-link, .menu a, .card-link, .footer a, .text-link, .chat-fab, .wa-float {
  transition: color var(--t-out) var(--ease), background-color var(--t-out) var(--ease), border-color var(--t-out) var(--ease);
}
.btn:hover, .nav-link:hover, .menu a:hover, .card-link:hover, .footer a:hover, .text-link:hover, .chat-fab:hover, .wa-float:hover {
  transition-duration: var(--t-move);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 28px; border-radius: var(--radius-pill);
  font: 600 14px/1.2 var(--sans); white-space: nowrap;
  background: var(--button); color: var(--button-fg); border: 1px solid var(--button);
}
.btn:hover { background: #3a3e38; border-color: #3a3e38; }
.btn:active { transition-duration: var(--t-feedback); background: #111310; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn-light { background: #f4f1e8; color: #21241f; border-color: #f4f1e8; }
.btn-light:hover { background: #ffffff; border-color: #ffffff; }
.btn-ghost-light { background: transparent; color: var(--band-fg); border-color: rgba(238, 238, 232, .45); }
.btn-ghost-light:hover { background: transparent; border-color: var(--band-fg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.text-link:hover { color: var(--accent); }
.text-link svg { width: 14px; height: 14px; flex: none; }
.split-text .text-link { align-self: flex-start; }

/* ---------- header ---------- */
.site-header { padding-top: 20px; position: relative; z-index: 50; }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 10px 10px 10px 24px; box-shadow: 0 10px 40px rgba(25, 29, 25, .06);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { width: 28px; height: 30px; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: .19em; line-height: 1; }
.brand-ar { font-family: var(--arabic); font-size: 24px; line-height: 1; color: var(--accent); }
.primary-nav > ul { display: flex; align-items: center; gap: 6px; list-style: none; padding: 0; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--radius-pill); font-size: 14px; }
.nav-link:hover, .nav-item:focus-within > .nav-link { color: var(--accent); }
.nav-link[aria-current="page"] { color: var(--accent); }
.nav-link .caret { width: 10px; height: 10px; }
.nav-link[lang="ar"] { font-family: var(--arabic); font-size: 17px; }
.menu {
  position: absolute; left: 0; top: calc(100% + 8px); min-width: 250px;
  list-style: none; margin: 0; padding: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: 0 18px 50px rgba(25, 29, 25, .10);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity var(--t-out) var(--ease), transform var(--t-out) var(--ease), visibility 0s linear var(--t-out);
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-item:hover > .menu, .nav-item:focus-within > .menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity var(--t-move) var(--ease), transform var(--t-move) var(--ease), visibility 0s;
}
.menu a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.menu a:hover, .menu a:focus-visible { background: var(--surface); color: var(--fg); }
.menu a[aria-current="page"] { color: var(--accent); }
.menu .menu-hub { font-weight: 600; }
.nav-cta { min-height: 46px; padding: 12px 22px; font-size: 13px; letter-spacing: .06em; }

.mobile-nav { display: none; }
.mobile-nav summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] summary { background: var(--button); color: var(--button-fg); border-color: var(--button); }
.mobile-panel { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 18px; box-shadow: 0 18px 50px rgba(25, 29, 25, .12); }
.mobile-panel p { font: 500 12px/1.4 var(--mono); color: var(--muted); margin: 14px 0 6px; }
.mobile-panel p:first-child { margin-top: 0; }
.mobile-panel a { display: block; padding: 9px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
.mobile-panel .btn { margin-top: 16px; width: 100%; border-bottom: 0; }

/* ---------- breadcrumb ---------- */
.breadcrumb { padding-top: 36px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; font: 500 12px/1.4 var(--mono); color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 8px; color: var(--line); color: #9a9c95; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--fg); }

/* ---------- hero (centred, never animated) ---------- */
.hero { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 88px); text-align: center; }
.hero h1 { font-size: clamp(42px, 7vw, 88px); line-height: 1.02; letter-spacing: -0.06em; max-width: 20ch; margin-inline: auto; }
.hero .intro { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 58ch; margin: 24px auto 0; }
.hero .btn-row { justify-content: center; margin-top: 32px; }
.proof { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--muted); list-style: none; padding: 0; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 14px; height: 14px; color: var(--accent); }

/* ---------- price card(s) under hero ---------- */
.price-panel { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); padding: clamp(22px, 3vw, 36px); }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.price-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-cell { padding: 6px clamp(14px, 2vw, 28px); border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.price-cell:first-child { border-inline-start: 0; padding-inline-start: 0; }
.price-cell.is-recommended .price-name::after { content: "Recommended"; margin-inline-start: 10px; font: 500 11px/1 var(--mono); color: var(--accent); vertical-align: 2px; }
.price-name { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.price-amount { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -0.05em; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-amount .cur { font: 500 13px/1 var(--mono); color: var(--muted); letter-spacing: 0; margin-inline-end: 6px; }
.price-amount .per { font-size: 15px; color: var(--muted); letter-spacing: 0; margin-inline-start: 4px; }
.price-note { font-size: 14px; color: var(--muted); line-height: 1.55; }
.price-foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--muted); }
.price-foot strong { color: var(--fg); font-weight: 600; }

/* ---------- link cards (child pages, related) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card-link { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 24px; border: 1px solid var(--line); border-radius: var(--radius-card); background: transparent; min-height: 100%; }
.card-link:hover { border-color: var(--accent); }
.card-link h3 { font-size: 22px; }
.card-link p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.card-link .go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.card-link:hover .go { color: var(--accent); }
.card-link .go svg { width: 14px; height: 14px; }

/* ---------- zigzag ---------- */
.zig { display: grid; gap: clamp(72px, 9vw, 120px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-text { display: flex; flex-direction: column; gap: 18px; max-width: 520px; }
.split-text h2 { font-size: clamp(30px, 3.6vw, 48px); }
.split-text p { color: var(--muted); }
.split-media { margin: 0; border-radius: var(--radius-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.mini-list { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.mini-list li { display: flex; gap: 12px; }
.mini-list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .62em; background: var(--accent); transform: rotate(45deg); }

/* ---------- dark band with ticks ---------- */
.band { background: var(--band); color: var(--band-fg); }
.band h2 { color: var(--band-fg); }
.band .section-head p { color: var(--band-muted); }
.tick-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); }
.tick-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--band-line); font-size: 17px; line-height: 1.5; }
.tick-list li span { color: var(--band-muted); display: block; font-size: 15px; margin-top: 4px; }
.tick-list svg { width: 18px; height: 18px; color: var(--band-accent); margin-top: 3px; }
.band-note { margin-top: 32px; font-size: 15px; color: var(--band-muted); }
.band-note strong { color: var(--band-fg); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(32px, 7vw, 100px); align-items: start; }
.faq-layout > div:first-child p { color: var(--muted); margin-top: 18px; max-width: 360px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 18px; letter-spacing: -0.015em; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 300; line-height: 1; color: var(--accent); transition: transform var(--t-move) var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-answer { padding: 0 32px 24px 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ---------- CTA box ---------- */
.cta-box { background: var(--band); color: var(--band-fg); border-radius: 28px; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.cta-box h2 { color: var(--band-fg); font-size: clamp(32px, 4.4vw, 56px); }
.cta-box p { color: var(--band-muted); margin-top: 16px; }
.cta-contacts { display: grid; gap: 6px; margin-top: 22px; font-size: 16px; }
.cta-contacts a:hover { color: var(--band-accent); }
.cta-box .btn-row { justify-content: flex-end; }

/* ---------- footer (same as homepage) ---------- */
.footer { padding-block: 64px 28px; border-bottom: 3px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1fr; gap: 40px; }
.footer-tagline { font-size: 22px; line-height: 1.3; letter-spacing: -0.03em; margin-top: 22px; max-width: 280px; }
.footer-about { font-size: 15px; color: var(--muted); margin-top: 16px; max-width: 340px; }
.footer-heading { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer a:hover { color: var(--accent); }
.footer a[lang="ar"] { font-family: var(--arabic); font-size: 17px; }
.footer-audit h2 { font-size: 26px; letter-spacing: -0.04em; margin-bottom: 18px; }
.footer-bottom { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }

/* ---------- floating buttons (as on the homepage) ---------- */
.wa-float, .chat-fab { position: fixed; right: 26px; width: 43px; height: 43px; border-radius: 50%; display: grid; place-items: center; z-index: 60; border: 1px solid var(--line); }
.wa-float { bottom: 75px; background: var(--fg); color: var(--bg); box-shadow: 0 3px 24px rgba(0, 0, 0, .1); }
.chat-fab { bottom: 22px; background: var(--surface); color: var(--fg); cursor: pointer; padding: 0; }
.chat-fab:hover { background: var(--fg); color: var(--bg); }
.wa-float svg { width: 20px; height: 20px; }
.chat-fab svg { width: 17px; height: 18px; }

/* ---------- entrance (below the fold only, 400ms, content is visible without JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-enter] { opacity: 0; transform: translateY(12px); }
  .js [data-enter].is-in { opacity: 1; transform: none; transition: opacity var(--t-enter) var(--ease), transform var(--t-enter) var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .primary-nav, .nav-cta { display: none; }
  .mobile-nav { display: block; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .price-cell:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-bar { padding: 8px 8px 8px 18px; }
  .brand-name { font-size: 16px; }
  .split, .faq-layout, .cta-box { grid-template-columns: minmax(0, 1fr); }
  .split.reverse .split-media { order: 0; }
  .card-grid, .tick-list, .price-grid, .price-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .price-cell { border-inline-start: 0; padding-inline: 0; padding-block: 18px; border-top: 1px solid var(--line); }
  .price-cell:first-child { border-top: 0; padding-top: 0; }
  .price-cell:nth-child(3) { padding-block: 18px; }
  .cta-box .btn-row { justify-content: flex-start; }
  .btn-row .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .wa-float, .chat-fab { right: 16px; }
}


/* ---------- additions for the content bundle ---------- */
.price-summary { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; letter-spacing: -0.01em; max-width: 60ch; margin-inline: auto; text-align: center; }
.price-summary strong { font-weight: 600; white-space: nowrap; }
.price-panel .price-foot { justify-content: center; }
.hero .updated { margin-top: 18px; font: 500 12px/1.4 var(--mono); color: var(--muted); }

.split-text h3 { font-size: 20px; letter-spacing: -0.025em; margin-top: 6px; }
.split-text h3 + p { margin-top: -10px; }
.split-text a:not(.btn):not(.text-link), .prose a, .table-wrap a, .form-note a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.split-text a:not(.btn):not(.text-link):hover, .prose a:hover { color: var(--accent); }
.split-text strong, .prose strong { color: var(--fg); font-weight: 600; }
.split-text .mini-list, .split-text .steps { color: var(--muted); }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 14px; font-size: 16px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: baseline; }
.steps li::before { content: counter(step); font: 500 13px/1 var(--mono); color: var(--accent); width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }

.split.full { grid-template-columns: minmax(0, 1fr); }
.split.full .split-text { max-width: none; }
.split.full .split-text > p { max-width: 70ch; }
.split.full .split-media { aspect-ratio: 21 / 9; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); margin-block: 8px; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.data.cols-5, table.data.cols-6 { min-width: 980px; }
table.data th, table.data td { padding: 14px 18px; text-align: start; vertical-align: top; border-top: 1px solid var(--line); }
table.data thead th { border-top: 0; background: var(--surface); font-weight: 600; font-size: 14px; }
table.data td:first-child { font-weight: 600; white-space: nowrap; }
table.data td { color: var(--muted); }
table.data td:first-child, table.data td.num { color: var(--fg); }
table.data td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }

.prose { max-width: 72ch; margin-inline: auto; display: grid; gap: 16px; font-size: 17px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 28px; }
.prose ul { padding-inline-start: 22px; display: grid; gap: 8px; color: var(--muted); }
.prose p { color: var(--muted); }

/* brief form */
.brief { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); padding: clamp(24px, 4vw, 48px); max-width: 880px; margin-inline: auto; }
.brief h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: 15px; font-weight: 600; padding: 0; }
.field .req { color: var(--accent); margin-inline-start: 2px; }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; transition: border-color var(--t-out) var(--ease); }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(29,33,29,.35); transition-duration: var(--t-move); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .err { font-size: 13px; color: #b3261e; display: none; }
.field.has-error .err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 10px 18px; min-height: 44px; cursor: pointer; transition: border-color var(--t-out) var(--ease); }
.radio-row label:hover { border-color: var(--accent); transition-duration: var(--t-move); }
.radio-row input { accent-color: var(--accent); width: 18px; height: 18px; min-height: 0; margin: 0; }
.form-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { font-size: 15px; border-radius: 12px; padding: 14px 16px; }
.form-status[data-state="ok"] { background: #e3efe6; color: #1f5130; }
.form-status[data-state="error"] { background: #f7e4e2; color: #8a1f17; }

@media (max-width: 760px) {
  .split .split-media { order: -1; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .price-summary { text-align: start; }
}

/* ---------- right to left ---------- */
[dir="rtl"] body, body[dir="rtl"] { font-family: var(--arabic); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
[dir="rtl"] .btn, [dir="rtl"] .nav-link { font-family: var(--arabic); letter-spacing: 0; }
[dir="rtl"] .btn svg, [dir="rtl"] .go svg, [dir="rtl"] .text-link svg { transform: scaleX(-1); }
[dir="rtl"] .menu { left: auto; right: 0; }
[dir="rtl"] .wa-float, [dir="rtl"] .chat-fab { right: auto; left: 26px; }
[dir="rtl"] .faq-answer { padding: 0 0 24px 32px; }
[dir="rtl"] body { font-size: 18px; line-height: 1.85; }
[dir="rtl"] .split-text h3 { letter-spacing: 0; }
[dir="rtl"] .breadcrumb ol, [dir="rtl"] .label { font-family: var(--arabic); font-size: 14px; }
[dir="rtl"] .field input[type="url"], [dir="rtl"] .field input[type="email"], [dir="rtl"] .field input[type="tel"] { direction: ltr; text-align: right; }
[dir="rtl"] .price-summary strong, [dir="rtl"] .num { unicode-bidi: isolate; }

/* Full-width layout: content spans the whole screen, only side gutters remain */
:root { --max: 100%; }
.wrap { width: calc(100% - var(--gutter) * 2); }
.split-text { max-width: none; }
.brief { max-width: none; }
.split:not(:has(.split-media)), .split:has(.split-media[hidden]), .split:has(.split-media img[hidden]), .split:has(.split-media[style*="none"]) { grid-template-columns: minmax(0, 1fr); }
.split-text > p, .split-text li { max-width: none; }
