/* Hatimah Home Services — Riyadh maid service
   Palette: Emerald #0F5132 · Gold #C9A961 · Cream #F5EFE0 · Sand #E8DCC4 · Charcoal #1F1F1F
   Type: Cormorant Garamond (display) + Inter (body) */

/* ---------- Tokens ---------- */
:root {
  --emerald: #0F5132;
  --emerald-deep: #0b3d26;
  --emerald-soft: #16694a;
  --gold: #c9a961;
  --gold-deep: #b0904a;
  --cream: #f5efe0;
  --sand: #e8dcc4;
  --sand-line: #d9c9a8;
  --charcoal: #1f1f1f;
  --ink-soft: #4a4740;
  --white: #fffdf8;
  --wa: #25d366;
  --wa-deep: #1da851;

  --font-display: "Amiri", "Times New Roman", Georgia, serif;
  --font-body: "Tajawal", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --wrap: 1180px;
  --gap: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --shadow: 0 18px 45px -28px rgba(15, 81, 50, 0.55);
  --shadow-soft: 0 12px 30px -22px rgba(31, 31, 31, 0.4);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1rem;
  display: inline-block;
}
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 54ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.75rem); }

/* ---------- Star + mashrabiya accents ---------- */
.star { width: 1em; height: 1em; display: inline-block; fill: none; stroke: currentColor; stroke-width: 6; }

.divider { display: flex; align-items: center; gap: 1.1rem; color: var(--gold); max-width: 340px; margin: 1.6rem auto; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: linear-gradient(to var(--dir, right), transparent, var(--sand-line)); }
.divider::before { --dir: left; }
.divider .star { width: 20px; height: 20px; color: var(--gold); }

/* faint geometric band between major sections */
.mashrabiya {
  height: 46px;
  background-color: transparent;
  background-image:
    repeating-linear-gradient(45deg, var(--sand-line) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-45deg, var(--sand-line) 0 1px, transparent 1px 14px);
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--emerald);
  --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.95rem 1.6rem;
  min-height: 52px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bg); border-radius: var(--radius);
  cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  letter-spacing: 0.01em;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-call { --btn-bg: var(--emerald); }
.btn-call:hover { background: var(--emerald-deep); border-color: var(--emerald-deep); }
.btn-wa { --btn-bg: var(--wa); color: #05340f; border-color: var(--wa); }
.btn-wa:hover { background: var(--wa-deep); border-color: var(--wa-deep); color: #fff; }
.btn-outline { --btn-bg: transparent; color: var(--emerald); border-color: var(--emerald); }
.btn-outline:hover { background: var(--emerald); color: var(--white); }
.btn-gold { --btn-bg: var(--gold); color: #322407; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-ghost-light { --btn-bg: transparent; color: var(--cream); border-color: rgba(245,239,224,0.5); }
.btn-ghost-light:hover { background: rgba(245,239,224,0.12); border-color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 239, 224, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--sand-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--gold); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--emerald); line-height: 1; }
.brand-tag { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); margin-top: 3px; }

.nav-links { display: none; align-items: center; gap: 1.9rem; }
.nav-links a { font-weight: 500; font-size: 0.98rem; position: relative; padding: 0.35rem 0; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--emerald); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold);
}
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-call { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px; background: transparent;
  border: 1.5px solid var(--sand-line); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle span { height: 2px; background: var(--emerald); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--sand-line);
  background: var(--cream);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 1rem 0; font-size: 1.1rem; font-weight: 500;
  border-bottom: 1px solid var(--sand-line); color: var(--emerald);
}
.mobile-menu a:last-of-type { border-bottom: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--cream); }
.hero-grid { display: grid; gap: clamp(1.75rem, 5vw, 3.5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero-copy h1 { color: var(--emerald); }
.hero-copy h1 em { font-style: italic; color: var(--gold-deep); }
.hero-copy .lede { margin-bottom: 1.8rem; }
.hero-phone { margin: 1.1rem 0 0; font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.hero-phone a { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--emerald); letter-spacing: 0.01em; border-bottom: 2px solid var(--gold); padding-bottom: 1px; white-space: nowrap; }
.hero-phone a:hover { color: var(--emerald-deep); }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.8rem; }
.hero-points li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
.hero-points .star { color: var(--gold); width: 15px; height: 15px; }

.hero-media { position: relative; }
.hero-media img { border-radius: 6px; box-shadow: var(--shadow); position: relative; z-index: 2; aspect-ratio: 1376 / 768; object-fit: cover; }
.hero-media::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 62%; height: 78%;
  border: 1.5px solid var(--gold); border-radius: 6px; z-index: 1;
}
.hero-badge {
  position: absolute; z-index: 3; left: -12px; bottom: 22px;
  background: var(--emerald); color: var(--cream); padding: 0.85rem 1.15rem; border-radius: var(--radius);
  box-shadow: var(--shadow); max-width: 200px;
}
.hero-badge strong { font-family: var(--font-display); font-size: 1.7rem; display: block; line-height: 1; color: var(--gold); }
.hero-badge span { font-size: 0.78rem; letter-spacing: 0.02em; }

/* ---------- Trust strip ---------- */
.trust { background: var(--emerald); color: var(--cream); }
.trust .wrap { display: grid; grid-template-columns: 1fr; gap: 1.1rem; padding-block: 2rem; }
.trust-item { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; font-size: 0.98rem; }
.trust-item .star { color: var(--gold); width: 22px; height: 22px; flex: none; }

/* ---------- Section head ---------- */
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }

/* ---------- Services preview grid ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.svc-card {
  position: relative; overflow: hidden; border-radius: 6px; min-height: 300px;
  display: flex; align-items: flex-end; color: var(--cream); box-shadow: var(--shadow-soft);
  isolation: isolate;
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(11,61,38,0.92) 8%, rgba(11,61,38,0.35) 55%, rgba(11,61,38,0.05) 100%); }
.svc-card:hover img { transform: scale(1.05); }
.svc-card .svc-body { padding: 1.4rem 1.5rem 1.5rem; }
.svc-card h3 { color: var(--cream); margin-bottom: 0.3rem; }
.svc-card p { font-size: 0.9rem; margin: 0; color: rgba(245,239,224,0.85); }
.svc-card .svc-link { margin-top: 0.7rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

/* ---------- Why choose (feature list) ---------- */
.why { background: var(--sand); }
.why-grid { display: grid; gap: clamp(1.75rem, 5vw, 3.5rem); align-items: start; }
.feature-list { display: grid; gap: 1.5rem; }
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--sand-line);
}
.feature:last-child { border-bottom: none; padding-bottom: 0; }
.feature .fi { color: var(--gold-deep); width: 30px; height: 30px; margin-top: 4px; }
.feature h3 { font-size: 1.3rem; margin-bottom: 0.25rem; color: var(--emerald); }
.feature p { margin: 0; font-size: 0.98rem; color: var(--ink-soft); }
.why-aside {
  background: var(--emerald); color: var(--cream); border-radius: 8px; padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.why-aside h3 { color: var(--gold); font-size: 1.9rem; }
.why-aside p { color: rgba(245,239,224,0.9); }
.why-aside .btn-row { margin-top: 1.5rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; gap: 1.5rem; }
.testi {
  background: var(--white); border: 1px solid var(--sand-line); border-radius: 6px;
  padding: 1.75rem 1.75rem 1.5rem; box-shadow: var(--shadow-soft); position: relative;
}
.testi .quote-mark { font-family: var(--font-display); font-size: 3.4rem; color: var(--sand); line-height: 0.5; height: 22px; display: block; }
.testi p { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.4; color: var(--charcoal); font-weight: 500; }
.testi .who { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.1rem; font-family: var(--font-body); }
.testi .who b { font-weight: 600; color: var(--emerald); font-size: 0.95rem; }
.testi .who span { font-size: 0.85rem; color: var(--gold-deep); }
.testi .who .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--sand-line); }
.faq-q {
  width: 100%; text-align: start; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--emerald);
}
.faq-q .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--gold-deep); border-radius: 2px; transition: transform .25s ease; }
.faq-q .plus::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq-q .plus::after { left: 10px; top: 0; width: 2px; height: 22px; }
.faq-q[aria-expanded="true"] .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 0 1.35rem; color: var(--ink-soft); max-width: 66ch; }
.faq-a p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--emerald); color: var(--cream); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.09;
  background-image:
    repeating-linear-gradient(45deg, var(--gold) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, var(--gold) 0 1px, transparent 1px 22px);
}
.cta-band .wrap { position: relative; text-align: center; }
.cta-band h2 { color: var(--cream); }
.cta-band h2 em { font-style: italic; color: var(--gold); }
.cta-band .lede { color: rgba(245,239,224,0.9); margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.75rem; }
.cta-phone { margin-top: 1.4rem; font-size: 0.95rem; letter-spacing: 0.04em; color: rgba(245,239,224,0.85); }
.cta-phone a { color: var(--gold); font-weight: 600; }

/* ---------- Services page rows ---------- */
.svc-row { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); }
.svc-row + .svc-row { border-top: 1px solid var(--sand-line); }
.svc-row-media img { border-radius: 6px; box-shadow: var(--shadow-soft); aspect-ratio: 1200 / 896; object-fit: cover; width: 100%; }
.svc-row-copy .eyebrow { display: flex; align-items: center; gap: 0.6rem; }
.svc-row-copy .eyebrow .num { font-family: var(--font-display); font-size: 1.15rem; color: var(--emerald); letter-spacing: 0; }
.svc-row-copy h2 { color: var(--emerald); }
.svc-row-copy ul.svc-feat { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 0 0 1.5rem; }
.svc-row-copy ul.svc-feat li { display: flex; align-items: center; gap: 0.45rem; font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; }
.svc-row-copy ul.svc-feat .star { color: var(--gold); width: 14px; height: 14px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--emerald); color: var(--cream); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; opacity: 0.16;
  background-image: repeating-linear-gradient(45deg, var(--gold) 0 1px, transparent 1px 20px), repeating-linear-gradient(-45deg, var(--gold) 0 1px, transparent 1px 20px);
  border-radius: 50%;
}
.page-hero .wrap { position: relative; padding-block: clamp(3rem, 7vw, 5rem); max-width: 760px; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: var(--cream); }
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p { color: rgba(245,239,224,0.9); font-size: 1.12rem; max-width: 56ch; margin-bottom: 0; }
.breadcrumb { font-size: 0.82rem; color: rgba(245,239,224,0.7); margin-bottom: 1.2rem; letter-spacing: 0.02em; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- About ---------- */
.about-lead { display: grid; gap: clamp(1.75rem, 5vw, 3.5rem); align-items: center; }
.about-lead-media { position: relative; }
.about-lead-media img { border-radius: 6px; box-shadow: var(--shadow); aspect-ratio: 1200 / 896; object-fit: cover; }
.about-lead-media::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 55%; height: 70%; border: 1.5px solid var(--gold); border-radius: 6px; z-index: -1; }
.about-copy h2 { color: var(--emerald); }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; text-align: center; }
.stat-strip .stat { padding: 1.1rem 0.5rem; background: var(--sand); border-radius: 6px; }
.stat-strip .stat b { font-family: var(--font-display); font-size: 2rem; color: var(--emerald); display: block; line-height: 1; }
.stat-strip .stat span { font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.02em; }

.process { background: var(--sand); }
.process-grid { display: grid; gap: 1.25rem; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--sand-line); border-radius: 6px; padding: 1.6rem;
  position: relative; box-shadow: var(--shadow-soft);
}
.step .step-num {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--gold-deep);
  width: 48px; height: 48px; border: 1.5px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.step h3 { color: var(--emerald); font-size: 1.3rem; margin-bottom: 0.3rem; }
.step p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

.values-grid { display: grid; gap: 1.25rem; }
.value { border-left: 2px solid var(--gold); padding: 0.25rem 0 0.25rem 1.25rem; }
.value h3 { color: var(--emerald); font-size: 1.35rem; margin-bottom: 0.25rem; }
.value p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(1.75rem, 5vw, 3rem); align-items: start; }
.contact-actions { display: grid; gap: 1rem; }
.contact-actions .btn { width: 100%; font-size: 1.1rem; padding: 1.15rem; min-height: 64px; }
.contact-note { margin-top: 0.4rem; font-size: 0.88rem; color: var(--ink-soft); }
.contact-details { background: var(--white); border: 1px solid var(--sand-line); border-radius: 8px; padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow-soft); }
.detail-row { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--sand-line); align-items: start; }
.detail-row:last-child { border-bottom: none; }
.detail-row .di { color: var(--gold-deep); width: 26px; height: 26px; margin-top: 3px; }
.detail-row .dk { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 0.15rem; }
.detail-row .dv { font-size: 1.08rem; color: var(--charcoal); font-weight: 500; }
.detail-row .dv a { color: var(--emerald); font-weight: 600; }
.detail-row .dv small { display: block; font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); margin-top: 2px; }

.hours-list { display: grid; gap: 0.4rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; padding: 0.15rem 0; }
.hours-list li span:last-child { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--emerald-deep); color: rgba(245,239,224,0.82); padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer-grid { display: grid; gap: 2.25rem; padding-bottom: 2.5rem; }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand p { font-size: 0.95rem; max-width: 34ch; margin-top: 1rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a, .footer-col li { font-size: 0.95rem; }
.footer-col a:hover { color: var(--cream); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: baseline; margin-bottom: 0.6rem; }
.footer-contact .k { color: var(--gold); font-size: 0.85rem; min-width: 62px; }
.footer-contact a { color: var(--cream); font-weight: 500; }
.footer-bottom { border-top: 1px solid rgba(201,169,97,0.25); padding-block: 1.5rem; font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: space-between; align-items: center; }

/* ---------- Mobile bottom action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--sand-line);
  box-shadow: 0 -8px 24px -14px rgba(31,31,31,0.4);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 0.5rem; min-height: 60px; font-weight: 600; font-size: 1.02rem;
}
.action-bar svg { width: 22px; height: 22px; fill: currentColor; }
.action-bar .ab-call { background: var(--emerald); color: var(--cream); }
.action-bar .ab-wa { background: var(--wa); color: #05340f; }

/* ---------- Floating WhatsApp (desktop) ---------- */
.float-wa {
  display: none; position: fixed; right: 24px; bottom: 24px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  align-items: center; justify-content: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,0.6);
  transition: transform .2s ease;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 32px; height: 32px; fill: currentColor; }

/* ---------- Focus + motion ---------- */
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 2px; }
.btn:focus-visible { outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { gap: 1.25rem; }
}

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .trust .wrap { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid .svc-card:first-child { grid-column: span 2; }
  .why-grid { grid-template-columns: 1fr 0.85fr; }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .testi:nth-child(2) { transform: translateY(1.5rem); }
  .svc-row { grid-template-columns: 1fr 1fr; }
  .svc-row:nth-child(even) .svc-row-media { order: 2; }
  .about-lead { grid-template-columns: 0.9fr 1.1fr; }
  .about-lead-media { order: -1; }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.3fr; }
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .header-call { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .action-bar { display: none; }
  .float-wa { display: flex; }
  body { padding-bottom: 0 !important; }
}

/* space for the fixed bar on small screens */
@media (max-width: 767.98px) {
  body { padding-bottom: 68px; }
}

/* ---------- Arabic / RTL ---------- */
/* Keep phone numbers in left to right order inside RTL text */
.ltr { direction: ltr; unicode-bidi: isolate; }

[dir="rtl"] {
  /* Latin letter spacing and uppercasing do not suit Arabic text */
}
[dir="rtl"] .eyebrow,
[dir="rtl"] .brand-tag,
[dir="rtl"] .nav-links a,
[dir="rtl"] .svc-link,
[dir="rtl"] .dk,
[dir="rtl"] .footer-col h4,
[dir="rtl"] .breadcrumb,
[dir="rtl"] .cta-phone,
[dir="rtl"] .btn,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  letter-spacing: normal;
  text-transform: none;
}

/* Arabic reads a little taller; give body copy room */
[dir="rtl"] body { line-height: 1.8; }

/* Mirror the decorative offsets so accents sit on the correct side */
[dir="rtl"] .hero-media::before { inset: auto auto -14px -14px; }
[dir="rtl"] .hero-badge { left: auto; right: -12px; }
[dir="rtl"] .about-lead-media::before { inset: -14px auto auto -14px; }
[dir="rtl"] .page-hero::after { right: auto; left: -60px; }

/* Value cards: flip the accent border to the start (right) edge */
[dir="rtl"] .value {
  border-left: none;
  border-right: 2px solid var(--gold);
  padding: 0.25rem 1.25rem 0.25rem 0;
}
