/* Cost Killer — Direction C ("Receipt")
   Black + Killer Red · Industrial editorial
   Plain CSS, mobile-first, no framework */

/* Hide native scrollbar (custom progress bar used instead) */
html { scrollbar-width: none; -ms-overflow-style: none; overflow-x: hidden; }
html::-webkit-scrollbar { display: none; }

:root {
  --bg: #0e0e0e;
  --bg-2: #161616;
  --bg-3: #1d1d1d;
  --ink: #f0ede4;
  --ink-2: #b8b4a8;
  --ink-3: #6e6a60;
  --rule: #2a2a2a;
  --rule-2: #3a3a3a;
  --accent: #d81e2c;
  --accent-2: #ff3a48;
  --paper: #f5f1e3;
  --paper-ink: #1a1a1a;

  --font-display: 'Anton', 'Bebas Neue', 'Helvetica Neue', Impact, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Type ─────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 0.92;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.muted { color: var(--ink-3); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; }
.kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 0.95; letter-spacing: -0.005em; text-transform: uppercase; margin: 0; }
p { margin: 0 0 1em; color: var(--ink-2); max-width: 62ch; }

/* ── Layout ───────────────────────────────────────── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 96px 0; border-top: 1px solid var(--rule); }
.section.no-line { border-top: none; }

.row { display: flex; gap: 24px; }
.center { text-align: center; }

/* ── Header ───────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 20px; letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.brand img {
  height: 44px; width: auto; display: block; flex-shrink: 0;
}
@media (max-width: 780px) {
  .brand img { height: 32px; }
}
.brand-mark {
  width: 32px; height: 32px;
  background: var(--accent);
  color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0;
  position: relative;
}
.brand-mark::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--accent-2);
  transform: translate(3px, 3px);
  pointer-events: none;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.15s;
  padding: 6px 0;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent);
}

/* hamburger */
.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px;
  color: var(--ink); cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0;
  transition: transform 0.2s;
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500;
  padding: 14px 22px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--ink);
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.15s, background 0.15s, color 0.15s;
  position: relative;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translate(-2px, -2px); }
.btn::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--accent);
  border-radius: 8px;
  transform: translate(4px, 4px);
  z-index: -1;
  transition: transform 0.15s;
}
.btn:hover::after { transform: translate(6px, 6px); }
.btn .arrow { transition: transform 0.15s; }
.btn:hover .arrow { transform: translateX(4px); }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-2);
}
.btn.ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.ghost::after { border-color: var(--rule-2); }

.btn.light {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn.light:hover { background: var(--paper); border-color: var(--paper); color: var(--bg); }
.btn.light::after { border-color: var(--ink); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 720px;
  border-bottom: 1px solid var(--rule);
}
.hero-left {
  padding: 80px 56px 80px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  border-right: 1px solid var(--rule);
}
.hero-left .eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(56px, 9vw, 132px);
  margin-bottom: 32px;
}
.hero h1 .strike {
  position: relative;
  white-space: nowrap;
}
.hero h1 .red { color: var(--accent); }
.hero-sub {
  font-size: 18px;
  line-height: 1.5;
  max-width: 480px;
  color: var(--ink-2);
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-right {
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(216,30,44,0.10), transparent 50%),
    var(--bg-2);
  position: relative;
  overflow: hidden;
}
.hero-right::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,0.025) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,0.025) 39px 40px);
  pointer-events: none;
}

/* ── Receipt ───────────────────────────────────── */
.receipt {
  background: var(--paper);
  color: var(--paper-ink);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  padding: 28px 28px 36px;
  width: 100%;
  max-width: 420px;
  position: relative;
  border-radius: 12px 12px 0 0;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.5),
    0 10px 20px rgba(0,0,0,0.3);
  --teeth: 16px;
  -webkit-mask: radial-gradient(circle at var(--teeth) 100%, transparent var(--teeth), #000 calc(var(--teeth) + 0.5px)) 0 100%/32px 100% repeat-x,
                linear-gradient(#000,#000) 0 0/100% calc(100% - var(--teeth)) no-repeat;
          mask: radial-gradient(circle at var(--teeth) 100%, transparent var(--teeth), #000 calc(var(--teeth) + 0.5px)) 0 100%/32px 100% repeat-x,
                linear-gradient(#000,#000) 0 0/100% calc(100% - var(--teeth)) no-repeat;
  padding-bottom: calc(var(--teeth) + 24px);
}
.receipt-head {
  text-align: center;
  border-bottom: 1.5px dashed var(--paper-ink);
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.receipt-head .title {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.receipt-head .meta {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}
.receipt-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 3px 0;
}
.receipt-row .v { font-weight: 700; color: var(--accent); }
.receipt-total {
  border-top: 1.5px dashed var(--paper-ink);
  margin-top: 12px; padding-top: 10px;
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  font-weight: 700; font-size: 15px;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.receipt-total .v { color: var(--accent); white-space: nowrap; }
.receipt-row { white-space: nowrap; gap: 12px; }
.receipt-foot { text-align: center; margin-top: 14px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }

/* ── Stats ───────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.stat {
  padding: 36px 32px;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: none; }
.stat .n {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.stat .l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 10px;
}

/* ── Section header ───────────────────────────────── */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.section-head .title {
  font-size: clamp(42px, 5vw, 72px);
}
.section-head .lead { max-width: 380px; color: var(--ink-2); }
.section-head .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ── Service grid ─────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.service {
  padding: 40px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex; gap: 24px; align-items: flex-start;
  transition: background 0.2s;
  position: relative;
}
.service:nth-child(2n) { border-right: none; }
.service:nth-last-child(-n+2) { border-bottom: none; }
.service:hover { background: var(--bg-2); }
.service .num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  width: 56px;
}
.service .body { flex: 1; }
.service h3 {
  font-size: 24px;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.service p { font-size: 14px; color: var(--ink-2); margin: 0; }
.service .arrow {
  position: absolute;
  top: 40px; right: 36px;
  color: var(--accent);
  font-family: var(--font-mono);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}
.service:hover .arrow { opacity: 1; transform: translateX(0); }

/* ── Discipline chips ─────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip .dot {
  width: 6px; height: 6px; background: var(--accent); display: inline-block;
}

/* ── Quote / Testimonial ──────────────────────────── */
.quote {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 80px 0;
  align-items: start;
}
.quote .marks {
  font-family: var(--font-display);
  font-size: 160px;
  line-height: 0.6;
  color: var(--accent);
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: 0.005em;
  text-transform: none;
}
.quote blockquote .dim { color: var(--ink-3); }
.quote .attrib {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ── CTA band ─────────────────────────────────────── */
.cta-band {
  background: var(--accent);
  color: var(--ink);
  padding: 80px 0;
}
.cta-band .inner {
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
}
.cta-band .btn.light::after { border-color: var(--ink); }

/* ── Footer ───────────────────────────────────────── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: 64px 0 28px;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.site-footer .grid h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer ul a { font-size: 14px; color: var(--ink-2); transition: color 0.15s; }
.site-footer ul a:hover { color: var(--ink); }
.site-footer .blurb { color: var(--ink-2); font-size: 14px; max-width: 320px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--rule-2);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: all 0.15s;
}
.socials a:hover { border-color: var(--accent); color: var(--ink); background: var(--accent); }
.socials svg { width: 16px; height: 16px; }
.site-footer .legal {
  display: flex; justify-content: space-between; padding-top: 20px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3); flex-wrap: wrap; gap: 12px;
}

/* ── Newsletter / opt-in ─────────────────────────── */
.optin {
  margin-top: 16px; display: flex; gap: 0; max-width: 320px;
  border: 1px solid var(--rule-2);
  border-radius: 8px;
  overflow: hidden;
}
.optin input {
  flex: 1; background: transparent; border: 0; padding: 12px 14px;
  color: var(--ink); font-family: var(--font-mono); font-size: 12px;
  outline: none;
}
.optin input::placeholder { color: var(--ink-3); }
.optin button {
  background: var(--accent); border: 0; color: var(--ink);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0 18px; cursor: pointer; font-weight: 500;
}
.optin button:hover { background: var(--accent-2); }

/* ── Page hero (interior pages) ──────────────────── */
.page-hero {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 {
  font-size: clamp(56px, 8vw, 112px);
  margin-top: 16px;
}
.page-hero h1 .red { color: var(--accent); }
.page-hero .lead {
  font-size: 18px; color: var(--ink-2); max-width: 560px; margin-top: 28px;
}

/* ── Misc ─────────────────────────────────────────── */
.col-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.col-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.col-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  border: 1px solid var(--rule);
  background: var(--bg-2);
  padding: 28px 28px 32px;
  border-radius: 14px;
}
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { font-size: 14px; margin: 0; }

.divider-num {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.divider-num .n {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--accent); line-height: 1;
}
.divider-num .l {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}

/* placeholder image */
.ph {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 16px, transparent 16px 32px),
    var(--bg-3);
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center; padding: 12px;
}

/* timeline */
.timeline {
  display: grid; grid-template-columns: repeat(5, 1fr);
  position: relative;
  padding: 32px 0;
}
.timeline::before {
  content: ''; position: absolute; left: 5%; right: 5%; top: 50px;
  height: 1px; background: var(--rule-2);
}
.tl-item { text-align: center; position: relative; padding: 0 12px; }
.tl-item .dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
  margin: 0 auto;
  position: relative; z-index: 2;
}
.tl-item .dot.active { background: var(--accent); animation: pulse 2s infinite; }
.tl-item .y { font-family: var(--font-display); font-size: 28px; margin-top: 16px; }
.tl-item .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }

/* services list (services page) */
.svc-list { border-top: 1px solid var(--rule); }
.svc-row {
  display: grid; grid-template-columns: 80px 1.4fr 1.6fr 60px;
  gap: 32px; padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  transition: padding 0.2s;
}
.svc-row:hover { padding-left: 12px; }
.svc-row .num { font-family: var(--font-display); font-size: 36px; color: var(--accent); }
.svc-row h3 { font-size: clamp(24px, 3vw, 36px); }
.svc-row p { font-size: 14px; color: var(--ink-2); margin: 0; }
.svc-row .arrow { color: var(--accent); text-align: right; font-family: var(--font-mono); font-size: 18px; }

/* process */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.process-step {
  padding: 32px 28px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-step .n {
  width: 36px; height: 36px; border: 2px solid var(--accent); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 18px;
  border-radius: 50%;
}
.process-step h3 { font-size: 22px; margin: 18px 0 8px; }
.process-step p { font-size: 13px; color: var(--ink-2); margin: 0; }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind-card {
  border: 1px solid var(--rule);
  background: var(--bg-2);
  overflow: hidden;
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.ind-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.ind-card .ph { border: 0; height: 180px; }
.ind-card .body { padding: 22px 24px 26px; }
.ind-card h3 { font-size: 22px; margin-bottom: 6px; }
.ind-card p { font-size: 13px; color: var(--ink-2); margin: 0; }

/* contact form */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start;
}
.form-card {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  padding: 28px 28px 28px;
  border-radius: 14px;
}
.form-card .eyebrow { margin-bottom: 6px; }
.form-card h2 { font-size: 30px; margin-bottom: 14px; }
.field { margin-bottom: 12px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--rule-2);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 90px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag-row label {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--rule-2); padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); cursor: pointer; transition: all 0.15s;
}
.tag-row label:hover { border-color: var(--ink-2); color: var(--ink); }
.tag-row input { display: none; }
.tag-row input:checked + span { color: var(--accent); }
.tag-row label:has(input:checked) { border-color: var(--accent); color: var(--accent); }

.contact-info .info-row {
  padding: 24px 0; border-bottom: 1px solid var(--rule);
}
.contact-info .info-row:first-child { padding-top: 0; }
.contact-info .info-row:last-child { border-bottom: none; }
.contact-info .info-row .k {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.contact-info .info-row .v {
  font-family: var(--font-display); font-size: 22px; line-height: 1.2;
  letter-spacing: 0.005em; text-transform: uppercase;
}
.contact-info .info-row .v.body { font-family: var(--font-body); text-transform: none; font-size: 16px; line-height: 1.5; letter-spacing: 0; }
.contact-info .info-row a { color: var(--ink); transition: color 0.15s; }
.contact-info .info-row a:hover { color: var(--accent); }

/* team grid */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card { border: 1px solid var(--rule); background: var(--bg-2); border-radius: 12px; overflow: hidden; }
.team-card .ph { border: 0; aspect-ratio: 1; }
.team-card .body { padding: 18px 20px 22px; }
.team-card h4 { font-family: var(--font-display); font-size: 18px; margin-bottom: 4px; }
.team-card .role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }

/* values dark */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.value {
  padding: 36px 32px;
  border-right: 1px solid var(--rule);
}
.value:last-child { border-right: none; }
.value .n {
  width: 44px; height: 44px; background: var(--accent); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 20px;
  margin-bottom: 20px;
}
.value h3 { font-size: 28px; margin-bottom: 12px; }
.value p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* case study highlight */
.case {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 56px 56px;
  position: relative;
  overflow: hidden;
}
.case::before {
  content: ''; position: absolute; top: 0; right: 0; width: 240px; height: 240px;
  background:
    radial-gradient(circle, rgba(216,30,44,0.18), transparent 60%);
  pointer-events: none;
}
.case h2 { font-size: clamp(36px, 5vw, 56px); line-height: 0.95; }
.case .stats-inline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 32px 0; }
.case .stat-inline .n { font-family: var(--font-display); font-size: 56px; color: var(--accent); line-height: 1; }
.case .stat-inline .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-top: 8px; }

/* fade-in on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s cubic-bezier(.2,.7,.3,1), transform 0.6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 980px) {
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .site-header .inner { padding: 12px 16px; gap: 12px; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.is-open {
    display: flex; flex-direction: column;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    padding: 16px 22px 24px; gap: 4px;
  }
  .nav-links.is-open a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav-links.is-open a.is-active::after { display: none; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 56px 22px; border-right: none; border-bottom: 1px solid var(--rule); }
  .hero-right { padding: 40px 22px; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }

  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }

  .service-grid { grid-template-columns: 1fr; }
  .service { border-right: none; border-bottom: 1px solid var(--rule); }
  .service:last-child { border-bottom: none; }

  .quote { grid-template-columns: 1fr; gap: 16px; padding: 56px 0; }
  .quote .marks { font-size: 96px; }

  .cta-band .inner { flex-direction: column; align-items: flex-start; }

  .site-footer .grid { grid-template-columns: 1fr 1fr; }

  .col-2, .col-3, .col-4 { grid-template-columns: 1fr; gap: 20px; }

  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .timeline::before { display: none; }
  .tl-item { display: grid; grid-template-columns: 60px 1fr; gap: 18px; text-align: left; align-items: center; }
  .tl-item .y { margin-top: 0; }

  .svc-row { grid-template-columns: 50px 1fr; gap: 16px; }
  .svc-row p, .svc-row .arrow { display: none; }
  .svc-row { padding: 22px 0; }

  .process { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--rule); }
  .process-step:last-child { border-bottom: none; }

  .ind-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .value { border-right: none; border-bottom: 1px solid var(--rule); }
  .value:last-child { border-bottom: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 28px 22px 32px; }

  .case { padding: 36px 28px; }
  .case .stats-inline { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 540px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--rule); }
  .stat:last-child { border-bottom: none; }

  .site-footer .grid { grid-template-columns: 1fr; }

  .receipt { padding: 22px 22px 32px; }
  .receipt-head .title { font-size: 22px; }

  .team-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   PRODUCTION — theme · RTL · controls · images
═══════════════════════════════════════════════ */

/* ── Button ripple effect ────────────────────── */
.btn { overflow: hidden; }
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: ripple-burst 0.55s linear;
  pointer-events: none;
}
@keyframes ripple-burst {
  to { transform: scale(4); opacity: 0; }
}

/* ── Welding spark effect ────────────────────── */
.weld-spark {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  animation: spark-fly var(--dur) cubic-bezier(.2,.8,.4,1) forwards;
}
@keyframes spark-fly {
  0%   { opacity: 1;   transform: translate(0, 0) scale(1); }
  70%  { opacity: 1;   transform: translate(var(--tx), var(--ty)) scale(0.8); }
  100% { opacity: 0;   transform: translate(var(--tx2), var(--ty2)) scale(0); }
}

/* ── Light mode ──────────────────────────────── */
[data-theme="light"] {
  --bg: #faf8f3;
  --bg-2: #f0ede4;
  --bg-3: #e8e4d8;
  --ink: #1a1814;
  --ink-2: #4a463c;
  --ink-3: #8a8570;
  --rule: #dbd7cc;
  --rule-2: #ccc8bc;
}
[data-theme="light"] .site-header {
  background: rgba(250,248,243,0.94);
}
[data-theme="light"] .marquee-wrap.dark { background: var(--bg-3); }
[data-theme="light"] .brand-mark { color: #fff; }
[data-theme="light"] .brand img { filter: brightness(0); }
[data-theme="light"] .testimonial-v2 { background: var(--bg-2); }
[data-theme="light"] .ph { background: var(--bg-3); }

/* ── Hero animated background ────────────────── */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: -10%;
  background:
    linear-gradient(135deg, rgba(14,14,14,0.92) 0%, rgba(14,14,14,0.55) 45%, rgba(14,14,14,0.88) 100%),
    url('https://images.unsplash.com/photo-1697281679290-ad7be1b10682?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  animation: kenBurns 18s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0%   { transform: scale(1)    translateX(0)    translateY(0); }
  33%  { transform: scale(1.06) translateX(-1%)  translateY(-1%); }
  66%  { transform: scale(1.04) translateX(1%)   translateY(1%); }
  100% { transform: scale(1.08) translateX(-0.5%) translateY(0.5%); }
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(216,30,44,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,100,0,0.08) 0%, transparent 50%);
  animation: heatGlow 6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heatGlow {
  0%   { opacity: 0.6; transform: scale(1); }
  50%  { opacity: 1;   transform: scale(1.05); }
  100% { opacity: 0.7; transform: scale(0.98); }
}
@keyframes floatSpark {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-120vh) translateX(var(--dx, 20px)) scale(0); opacity: 0; }
}
.spark-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: floatSpark linear infinite;
  z-index: 1;
}
[data-theme="light"] .hero-bg::before {
  background:
    linear-gradient(135deg, rgba(250,248,243,0.94) 0%, rgba(250,248,243,0.58) 45%, rgba(250,248,243,0.91) 100%),
    url('https://images.unsplash.com/photo-1697281679290-ad7be1b10682?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
}

/* ── Header controls ─────────────────────────── */
.header-controls {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.ctrl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 34px; min-width: 34px;
  border: 1px solid var(--rule-2);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; padding: 0 10px;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.ctrl-btn:hover { border-color: var(--accent); color: var(--accent); }
.ctrl-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Language button — more prominent for Gulf visitors */
.lang-btn {
  background: rgba(216, 30, 44, 0.08);
  border-color: rgba(216, 30, 44, 0.4);
  color: var(--ink);
  padding: 0 12px;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.lang-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.lang-btn svg { width: 15px; height: 15px; }

/* Arabic prompt banner (Gulf-IP visitors, first visit) */
.lang-prompt {
  position: fixed;
  top: 80px; right: 20px; z-index: 300;
  background: var(--bg-2);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 14px 16px;
  max-width: 280px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--font-body);
  animation: langPromptIn 0.4s ease;
}
.lang-prompt p { margin: 0; font-size: 13px; color: var(--ink); line-height: 1.4; }
.lang-prompt .lang-prompt-row { display: flex; gap: 8px; }
.lang-prompt button {
  flex: 1; padding: 8px 10px;
  border-radius: 6px; border: 1px solid var(--rule-2);
  background: transparent; color: var(--ink);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: all 0.15s;
}
.lang-prompt .ar-btn {
  background: var(--accent); color: #fff; border-color: var(--accent);
  font-family: 'Inter', sans-serif; font-size: 13px;
  text-transform: none; letter-spacing: 0;
}
.lang-prompt button:hover { border-color: var(--accent); color: var(--accent); }
.lang-prompt .ar-btn:hover { background: #b8161f; color: #fff; }
.lang-prompt .lang-close {
  position: absolute; top: 6px; right: 8px;
  width: 22px; height: 22px; padding: 0;
  border: none; background: transparent;
  color: var(--ink-3); font-size: 16px; line-height: 1;
}
@keyframes langPromptIn {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@media (max-width: 780px) {
  .lang-prompt { right: 12px; left: 12px; max-width: none; top: 72px; }
}

/* ── Industry card images ────────────────────── */
.ind-card .card-img {
  width: 100%; height: 180px;
  object-fit: cover; display: block;
  background: var(--bg-3);
  transition: transform 0.4s cubic-bezier(.16,1,.3,1);
  filter: grayscale(15%);
}
.ind-card:hover .card-img { transform: scale(1.05); }
.ind-card { overflow: hidden; }

/* ════════════════════════════════════════════════
   Founder card — research-backed B2B trust design
   ════════════════════════════════════════════════ */
.founder-card {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 0;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
  transform: translateZ(0); /* force GPU layer — prevents sub-pixel gap */
}
.founder-card:hover {
  border-color: rgba(216,30,44,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2); /* lift effect without transform gap */
}
.founder-card::before {
  content: 'CK'; position: absolute; right: -8px; bottom: -16px;
  font-family: var(--font-display); font-size: 120px; line-height: 1;
  color: rgba(216,30,44,0.04); pointer-events: none; letter-spacing: -0.05em;
  z-index: 0;
}

/* Hero photo */
.founder-photo {
  width: 100%; height: 380px;
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0; /* match card top corners exactly */
  display: flex; /* removes inline baseline gap */
}
.founder-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
  filter: grayscale(8%) contrast(1.05);
  transition: filter 0.4s, transform 0.6s;
}
.founder-card:hover .founder-photo img {
  filter: grayscale(0%) contrast(1.05);
  transform: scale(1.02);
}

/* Availability pill — top-right of photo */
.founder-availability {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(37,211,102,0.4);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}
.founder-pulse {
  width: 7px; height: 7px;
  background: #25d366; border-radius: 50%;
  animation: founderPulse 2s infinite;
  flex-shrink: 0;
}
@keyframes founderPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
  50% { box-shadow: 0 0 0 6px rgba(37,211,102,0); }
}


/* Name overlay — bottom of photo */
.founder-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 60px 24px 18px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(10,10,10,0.5) 50%,
    rgba(10,10,10,0.95) 100%);
}
.founder-overlay .founder-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 28px);
  text-transform: uppercase; line-height: 1;
  color: #fff; margin: 0 0 5px;
}
.founder-overlay .founder-role {
  font-family: var(--font-mono); font-size: 10px;
  color: rgba(255,255,255,0.65); letter-spacing: 0.08em;
  text-transform: uppercase; margin: 0;
}

/* Pull quote — now hero text */
.founder-quote {
  position: relative;
  margin: 28px 28px 4px;
  padding: 0 0 0 20px;
  border-left: 3px solid var(--accent);
}
.founder-quote-mark {
  position: absolute;
  top: -18px; left: 12px;
  font-family: var(--font-display);
  font-size: 64px; line-height: 1;
  color: rgba(216,30,44,0.2);
  pointer-events: none;
}
.founder-quote p {
  font-family: var(--font-body);
  font-size: 17px; font-weight: 500;
  font-style: normal;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}

/* Stats row — cleaner with bigger numbers */
.founder-stats {
  display: flex;
  margin: 24px 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.founder-stat {
  flex: 1; text-align: center;
  padding: 16px 6px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.founder-stat:last-child { border-right: none; }
.founder-stat .n {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
  display: inline-flex; align-items: baseline;
}
.founder-stat .n.n-text { font-size: 22px; }
.founder-stat .n .plus {
  font-size: 18px;
  color: rgba(216,30,44,0.7);
  margin-left: 1px;
}
.founder-stat .l {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3);
  margin-top: 6px;
  line-height: 1.3;
}

/* CTAs — WhatsApp green primary, ghost secondary */
.founder-ctas {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin: 22px 28px 28px;
}
.btn-wa {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 18px;
  background: #25d366; color: #fff;
  border: 1px solid #25d366;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(37,211,102,0.25);
  cursor: pointer;
  min-height: 48px;
}
.btn-wa:hover {
  background: #1ebd5d;
  border-color: #1ebd5d;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}
.btn-wa svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.btn-email {
  flex: 0 1 auto;
  min-height: 48px;
}

/* Mobile optimization */
@media (max-width: 780px) {
  .founder-photo { height: 320px; }
  .founder-overlay { padding: 60px 20px 18px; }
  .founder-overlay .founder-name { font-size: 24px; }
  .founder-quote { margin: 22px 20px 4px; }
  .founder-quote p { font-size: 16px; }
  .founder-stats { margin: 20px 20px 0; }
  .founder-stat { padding: 14px 4px; }
  .founder-stat .n { font-size: 26px; }
  .founder-stat .n.n-text { font-size: 18px; }
  .founder-ctas { margin: 18px 20px 24px; flex-direction: column; }
  .founder-ctas .btn-wa,
  .founder-ctas .btn-email { flex: 1 1 100%; width: 100%; }
}
.founder-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  text-transform: uppercase; line-height: 1; margin-bottom: 6px;
}
.founder-role {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px;
}
.founder-bio { font-size: 15px; color: var(--ink-2); line-height: 1.65; }

/* ── Discipline card (no portrait) ───────────── */
.disc-card {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px 24px 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.disc-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.disc-card .disc-icon {
  width: 40px; height: 40px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 16px; color: var(--accent);
  margin-bottom: 16px;
}
.disc-card h4 { font-size: 18px; margin-bottom: 4px; }
.disc-card .role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }

/* ── RTL / Arabic ────────────────────────────── */
[dir="rtl"] .site-header .inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .brand { flex-direction: row-reverse; }
[dir="rtl"] .hero-v2 .inner { text-align: right; }
[dir="rtl"] .hero-ctas-v2 { justify-content: flex-start; }
[dir="rtl"] .hero-eyebrow { flex-direction: row-reverse; }
[dir="rtl"] .hero-receipt-col { align-items: flex-start; }
[dir="rtl"] .svc-header { direction: rtl; text-align: right; }
[dir="rtl"] .cta-v2 .inner { flex-direction: row-reverse; }
[dir="rtl"] .trust-strip .inner { flex-direction: row-reverse; }
[dir="rtl"] .trust-items { flex-direction: row-reverse; }
[dir="rtl"] .site-footer .grid { direction: rtl; text-align: right; }
[dir="rtl"] .legal { flex-direction: row-reverse; }
[dir="rtl"] .contact-grid { direction: rtl; }
[dir="rtl"] .section-head { direction: rtl; text-align: right; }
[dir="rtl"] p { text-align: right; }
[dir="rtl"] .chips { direction: rtl; }
[dir="rtl"] .testimonial-v2 .inner { direction: rtl; }
[dir="rtl"] .stat-v2 { text-align: right; }
[dir="rtl"] .stats-v2 { direction: rtl; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); display: inline-block; }
[dir="rtl"] .process { direction: rtl; }
[dir="rtl"] .svc-row { direction: rtl; }
[dir="rtl"] .col-2 { direction: rtl; }
[dir="rtl"] .col-3 { direction: rtl; }
[dir="rtl"] .ind-grid { direction: rtl; }
[dir="rtl"] .values-grid { direction: rtl; }
[dir="rtl"] .team-grid { direction: rtl; }
[dir="rtl"] .optin { direction: rtl; }
[dir="rtl"] .form-card { direction: rtl; text-align: right; }
[dir="rtl"] .field label { text-align: right; }
[dir="rtl"] .tag-row { direction: rtl; }
[dir="rtl"] .contact-info { direction: rtl; text-align: right; }
[dir="rtl"] .row { flex-direction: row-reverse; }
[dir="rtl"] .nav-links.is-open { text-align: right; }

@media (max-width: 980px) {
  .header-controls { gap: 6px; }
  [dir="rtl"] .hero-v2 .inner { text-align: right; }
}

/* ═══════════════════════════════════════════════
   UX IMPROVEMENTS
═══════════════════════════════════════════════ */

/* ── WhatsApp floating button ────────────────── */
.whatsapp-wrap {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 200;
  display: flex; align-items: center; gap: 10px;
  flex-direction: row-reverse;
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.whatsapp-wrap.wa-visible {
  transform: translateY(0);
  opacity: 1;
}
.whatsapp-btn {
  width: 54px; height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 2.5s ease infinite;
  flex-shrink: 0;
  text-decoration: none;
  position: relative;                /* for online dot */
}
.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.6);
  animation: none;
}
.whatsapp-btn svg { width: 28px; height: 28px; }

/* Online indicator dot */
.whatsapp-btn::after {
  content: '';
  position: absolute;
  top: 4px; right: 4px;
  width: 10px; height: 10px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: onlinePulse 2s ease infinite;
}

/* Slide-out label — slides LEFT from button */
.whatsapp-label {
  background: #25d366;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}
.whatsapp-wrap:hover .whatsapp-label,
.whatsapp-wrap.wa-label-open .whatsapp-label {
  opacity: 1;
  transform: translateX(0);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7); }
}
@keyframes onlinePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* RTL — flip to bottom-left */
[dir="rtl"] .whatsapp-wrap { right: auto; left: 32px; flex-direction: row; }

/* Mobile — above back-to-top, no label */
@media (max-width: 780px) {
  .whatsapp-wrap { bottom: 88px; right: 16px; left: auto; flex-direction: row-reverse; }
  .whatsapp-btn { width: 52px; height: 52px; }
  .whatsapp-label { display: none; }
}

/* Auto-hint bubble (mobile first visit) */
.whatsapp-hint {
  position: absolute;
  right: 62px; bottom: 12px;
  background: #25d366; color: #fff;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
  transition: opacity 0.4s;
  pointer-events: none;
}

/* ── 1. Scroll progress bar ───────────────────── */
.load-bar {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.4s ease;
}
.load-bar.is-scroll {
  transition: width 0.1s linear !important;
  opacity: 1 !important;
}

/* ── 2. Back to top ───────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 200;
  width: 44px; height: 44px;
  background: var(--bg-2);
  border: 1px solid var(--rule-2);
  border-radius: 8px;
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, background 0.15s, border-color 0.15s;
  pointer-events: none;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.back-to-top svg { width: 18px; height: 18px; }
[dir="rtl"] .back-to-top { right: auto; left: 32px; }

/* ── 3. Hamburger → X ─────────────────────────── */
.nav-toggle span {
  transition: transform 0.22s cubic-bezier(.16,1,.3,1), opacity 0.15s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── 4. Sticky CTA ────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 190;
  display: flex; justify-content: center;
  padding: 16px 24px;
  background: linear-gradient(to top, rgba(14,14,14,0.96) 60%, transparent);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.sticky-cta.is-visible { transform: translateY(0); pointer-events: auto; }
.sticky-cta .btn { min-width: 220px; justify-content: center; }
[data-theme="light"] .sticky-cta { background: linear-gradient(to top, rgba(250,248,243,0.97) 60%, transparent); }
[dir="rtl"] .sticky-cta { left: auto; right: 88px; background: transparent; }
@media (min-width: 780px) {
  .sticky-cta { left: auto; right: 88px; background: transparent; padding: 0 0 32px; }
}

/* ── 5. Page transition ───────────────────────── */
.page-transition {
  position: fixed; inset: 0;
  z-index: 10000;
  background: var(--bg);
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

/* ── 6. Form validation ───────────────────────── */
.field { position: relative; }
.field input, .field textarea {
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field.is-valid input, .field.is-valid textarea {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}
.field.is-invalid input, .field.is-invalid textarea {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(216,30,44,0.12);
}
.field-icon {
  position: absolute;
  right: 14px; top: 38px;
  font-size: 14px; line-height: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.field.is-valid .field-icon, .field.is-invalid .field-icon { opacity: 1; }
.field.is-valid .field-icon::after { content: '✓'; color: #22c55e; }
.field.is-invalid .field-icon::after { content: '✗'; color: var(--accent); }
.field-msg {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 5px; min-height: 14px;
}
.field.is-invalid .field-msg { color: var(--accent); }
.field.is-valid .field-msg { color: #22c55e; }

/* ── Accordion (services page) ───────────────── */
.acc-row {
  flex-wrap: wrap;
  cursor: pointer;
  position: relative;
  transition: padding 0.2s, background 0.2s;
}
.acc-row:hover { background: var(--bg-2); padding-left: 12px; }
.acc-row.is-open { background: var(--bg-2); padding-left: 12px; }
.acc-row.is-open .acc-toggle { transform: rotate(45deg); color: var(--accent); }
.acc-toggle {
  font-family: var(--font-display);
  font-size: 28px; line-height: 1;
  color: var(--ink-3);
  margin-left: auto;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), color 0.2s;
  flex-shrink: 0;
  padding: 0 4px;
  align-self: center;
}
.svc-short {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
  grid-column: 2;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.acc-body {
  grid-column: 1 / -1;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(.16,1,.3,1), opacity 0.35s;
  opacity: 0;
  padding-left: calc(80px + 32px);
}
.acc-row.is-open .acc-body {
  max-height: 900px;
  opacity: 1;
  padding-bottom: 28px;
}
.acc-body p { font-size: 15px; color: var(--ink-2); margin-bottom: 16px; max-width: 640px; }
.acc-body ul {
  list-style: none; padding: 0; margin: 0 0 8px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.acc-body ul li {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-2);
  background: var(--bg-3); border: 1px solid var(--rule);
  padding: 6px 14px; border-radius: 999px;
}
@media (max-width: 980px) {
  .acc-body { padding-left: calc(50px + 16px); }
  .svc-short { display: none; }
}

/* ── 7. prefers-reduced-motion ────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-v2 h1 .line span,
  .hero-sub-v2, .hero-ctas-v2,
  .hero-receipt-col, .scroll-hint {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-up,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ════════════════════════════════════════════════
   From the floor — photo gallery on About page
   ════════════════════════════════════════════════ */
.floor-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
  min-height: 480px;
}
.floor-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-2);
}
.floor-tile.floor-large {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}
.floor-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.4s;
  filter: grayscale(15%);
}
.floor-tile:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}
.floor-tile figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 16px 12px;
  background: linear-gradient(to bottom, transparent, rgba(10,10,10,0.92));
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 780px) {
  .floor-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }
  .floor-tile.floor-large {
    grid-row: auto;
    grid-column: 1 / 3;
    aspect-ratio: 16/9;
  }
  .floor-tile:not(.floor-large) {
    aspect-ratio: 1/1;
  }
}

/* ════════════════════════════════════════════════
   Services accordion — photo grid inside body
   ════════════════════════════════════════════════ */
.acc-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}
.acc-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  filter: grayscale(10%);
  transition: filter 0.3s, transform 0.4s;
}
.acc-photo:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}
@media (max-width: 780px) {
  .acc-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .acc-photo {
    order: -1; /* show photo first on mobile */
    aspect-ratio: 16/9;
  }
}

/* ════════════════════════════════════════════════
   Services — outcome stat strip
   ════════════════════════════════════════════════ */
.svc-outcome {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.svc-outcome span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(216,30,44,.08);
  border: 1px solid rgba(216,30,44,.2);
  border-radius: 4px;
  padding: 4px 10px;
}

/* ════════════════════════════════════════════════
   Services — inline WhatsApp CTA
   ════════════════════════════════════════════════ */
.whatsapp-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 32px 40px;
}
.whatsapp-inline-text .eyebrow { margin-bottom: 8px; }
.whatsapp-inline-text p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
  max-width: 520px;
}
.whatsapp-inline .btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  background: #25d366;
  border-color: #25d366;
}
.whatsapp-inline .btn:hover { background: #1ebe5d; border-color: #1ebe5d; }
@media (max-width: 780px) {
  .whatsapp-inline { flex-direction: column; align-items: flex-start; padding: 24px; }
  .whatsapp-inline .btn { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════════════
   Contact page — live site photo
   ════════════════════════════════════════════════ */
.contact-photo {
  margin-top: 28px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--rule);
}
.contact-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  filter: grayscale(10%);
  transition: filter 0.4s;
}
.contact-photo:hover img {
  filter: grayscale(0%);
}
/* ════════════════════════════════════════════════
   Header — click-to-call (mobile only)
   ════════════════════════════════════════════════ */
.call-btn { display: none; }
@media (max-width: 780px) {
  .call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #25d366;
    border-color: rgba(37,211,102,.3);
  }
  .call-btn:hover { background: rgba(37,211,102,.08); }
  .call-btn svg { width: 17px; height: 17px; }
}

/* ════════════════════════════════════════════════
   Homepage — hero trust badges
   ════════════════════════════════════════════════ */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp .8s .4s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-trust-badges span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--rule-2);
  border-radius: 3px;
  padding: 4px 10px;
}

/* ════════════════════════════════════════════════
   Homepage — "Trusted at" clients bar
   ════════════════════════════════════════════════ */
.clients-bar {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
}
.clients-bar .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.clients-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.client-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.client-sep { color: var(--accent); font-size: 18px; }
.client-logo {
  height: 32px;
  width: auto;
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.3s;
}
.client-logo:hover { filter: grayscale(0%) opacity(1); }
.client-more {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-3);
}
@media (max-width: 780px) {
  .clients-bar .inner { padding: 0 20px; gap: 16px; }
}

/* ════════════════════════════════════════════════
   Footer — Hijri date
   ════════════════════════════════════════════════ */
.hijri-date {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--ink-3);
  opacity: 0.7;
}

/* ════════════════════════════════════════════════
   FAQ section
   ════════════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); padding: 24px 0; }
.faq-q {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  text-transform: uppercase;
  margin-bottom: 12px;
  cursor: default;
}
.faq-a {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 720px;
}

.form-trust-lines {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-trust-item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.form-call-btns {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-call-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.form-call-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-2);
  text-decoration: none;
  background: var(--bg);
  border: 1px solid var(--rule-2);
  border-radius: 8px;
  padding: 10px 14px;
  transition: border-color .2s, color .2s;
}
.form-call-btn:hover { border-color: var(--accent); color: var(--ink); }

.form-whatsapp-alt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.form-whatsapp-alt a {
  color: #25d366;
  text-decoration: none;
  font-weight: 600;
}
.form-whatsapp-alt a:hover { text-decoration: underline; }

.contact-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 16px 12px;
  background: linear-gradient(to bottom, transparent, rgba(10,10,10,0.9));
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 780px) {
  .contact-photo img { aspect-ratio: 16/9; }
}
