/* ============================================================
   MARHAB PROSPERITY FOR BUILDING MATERIALS
   Visual system v2 — minimal, editorial, professional.
   One quiet type family (Archivo for headings, Inter for text),
   near-white ground, hairline borders, a single restrained
   accent colour. Photography carries the personality; the
   chrome around it stays out of the way.
   ============================================================ */

@font-face { font-family:"Archivo"; font-weight:500; font-display:swap;
  src:url("fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family:"Archivo"; font-weight:600; font-display:swap;
  src:url("fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family:"Archivo"; font-weight:700; font-display:swap;
  src:url("fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family:"Archivo"; font-weight:800; font-display:swap;
  src:url("fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family:"Inter"; font-weight:400; font-display:swap;
  src:url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family:"Inter"; font-weight:500; font-display:swap;
  src:url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family:"Inter"; font-weight:600; font-display:swap;
  src:url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family:"Inter"; font-weight:700; font-display:swap;
  src:url("fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family:"Noto Kufi Arabic"; font-weight:400; font-display:swap;
  src:url("fonts/noto-kufi-arabic-arabic-400-normal.woff2") format("woff2"); }
@font-face { font-family:"Noto Kufi Arabic"; font-weight:600; font-display:swap;
  src:url("fonts/noto-kufi-arabic-arabic-600-normal.woff2") format("woff2"); }

:root {
  --ink:      #16181c;
  --ink-2:    #2a2d33;
  --muted:    #6b6e75;
  --faint:    #989aa1;
  --paper:    #ffffff;
  --bg:       #f7f6f3;
  --line:     #e6e3dc;
  --line-2:   #eeece6;
  --accent:   #d9541f;
  --accent-d: #b8431a;
  --accent-t: #fbe9df;
  --footer:   #14161b;
  --wa:       #25d366;
  --wa-d:     #1da851;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 52px);

  --f-disp: "Archivo", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-ar:   "Noto Kufi Arabic", var(--f-body);

  --radius: 10px;
  --radius-sm: 6px;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --shadow: 0 20px 44px -24px rgba(20, 22, 26, .22);

  /* legacy aliases — admin.html / site.js inline styles reference these */
  --slate: var(--muted);
  --concrete: var(--bg);
  --concrete-2: var(--line-2);
  --steel: var(--line);
  --steel-2: var(--line-2);
  --navy: var(--ink);
  --navy-2: var(--ink-2);
  --navy-3: var(--footer);
  --orange: var(--accent);
  --orange-d: var(--accent-d);
  --orange-l: var(--accent);
  --r: var(--radius-sm);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

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

/* ---------------------------------------------------- type */
h1, h2, h3, h4 {
  font-family: var(--f-disp);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 0 0 .55em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.35rem); letter-spacing: -.022em; line-height: 1.14; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: .98rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 62ch; color: var(--ink-2); }
strong { font-weight: 600; color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-body); font-weight: 600; font-size: .76rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; font-weight: 600; border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* ---------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-body); font-weight: 500; font-size: .95rem;
  padding: 13px 22px; min-height: 48px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), opacity .15s var(--ease);
}
.btn:hover { opacity: .88; }
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }

.btn--wa       { --btn-bg: var(--wa); --btn-fg: #06331a; --btn-bd: var(--wa); }
.btn--wa:hover { --btn-bg: var(--wa-d); --btn-fg: #fff; --btn-bd: var(--wa-d); opacity: 1; }
.btn--solid, .btn--orange, .btn--navy { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--line { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--line:hover { --btn-bd: var(--ink); opacity: 1; }
.btn--line-light { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--line-light:hover { --btn-bd: var(--ink); opacity: 1; }
.btn--sm   { padding: 10px 15px; min-height: 42px; font-size: .87rem; }
.btn--full { width: 100%; }

/* ---------------------------------------------------- utility bar + header */
.utility { background: var(--paper); border-bottom: 1px solid var(--line); font-size: .82rem; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; color: var(--muted); }
.utility a { text-decoration: none; font-weight: 500; color: var(--muted); }
.utility a:hover { color: var(--accent); }
.utility .u-ar { font-family: var(--f-ar); color: var(--faint); }
@media (max-width: 760px) { .utility .u-ar { display: none; } }

.head { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; gap: 22px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { height: 40px; width: auto; }
.brand-txt b { font-family: var(--f-disp); font-weight: 700; font-size: 1.08rem; color: var(--ink); line-height: 1; display: block; letter-spacing: -.01em; }
.brand-txt i { font-style: normal; font-size: .68rem; color: var(--faint); letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 460px) { .brand-txt { display: none; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .94rem; padding: 9px 13px; border-radius: var(--radius-sm); transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: var(--bg); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.head-cta { display: flex; align-items: center; gap: 10px; }
.nav-wa { display: none; }

.burger { display: none; background: var(--ink); border: 0; border-radius: var(--radius-sm); width: 44px; height: 44px; cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 18px; height: 1.5px; background: #fff; position: relative; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after  { position: absolute; top: 6px; }

@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .head .wrap { min-height: 68px; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw);
    background: var(--paper); flex-direction: column; align-items: stretch;
    padding: 92px 22px 30px; gap: 0;
    transform: translateX(100%); transition: transform .3s var(--ease);
    box-shadow: -20px 0 60px rgba(20,22,26,.16);
  }
  .nav.open { transform: none; }
  .nav a { color: var(--ink); font-size: 1.05rem; padding: 15px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { color: var(--accent); }
  .nav .nav-wa { display: inline-flex; margin-top: 20px; }
  .head-cta .btn:not(.burger) { display: none; }
}
.nav-close { display: none; }
@media (max-width: 960px) {
  .nav-close { display: block; position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
  .nav-close:hover { border-color: var(--ink); }
}

.scrim { position: fixed; inset: 0; background: rgba(20,22,26,.4); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------- hero */
.hero { background: var(--bg); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-block: clamp(52px, 8vw, 88px); }
.hero-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .hero-layout { grid-template-columns: 1fr; } }

.hero h1 { max-width: 15ch; }
.hero-lede { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: var(--muted); max-width: 50ch; margin-bottom: 28px; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 22px 30px; border-top: 1px solid var(--line); padding-top: 20px; justify-content: start; }
.hero-stats b { display: block; font-family: var(--f-disp); font-weight: 700; font-size: 1.15rem; color: var(--ink); line-height: 1; margin-bottom: 5px; letter-spacing: -.01em; white-space: nowrap; }
.hero-stats span { font-size: .78rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 1080px) { .hero-stats { grid-template-columns: repeat(2, auto); } }
@media (max-width: 560px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } .hero-stats b, .hero-stats span { white-space: normal; } }

.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
@media (max-width: 960px) { .hero-media img { aspect-ratio: 16 / 10; } }

/* ---------------------------------------------------- sections */
.sec { padding-block: clamp(56px, 8vw, 100px); }
.sec--tight { padding-block: clamp(36px, 5vw, 56px); }
.sec--paper { background: var(--paper); border-block: 1px solid var(--line); margin-block: -1px; }
.sec--navy { background: var(--paper); }

.sec-head { margin-bottom: 42px; max-width: 58ch; }
.sec-head p { color: var(--muted); font-size: 1.03rem; }
.sec-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 26px; max-width: none; flex-wrap: wrap; }
.sec-head--split > div { max-width: 52ch; }

/* ---------------------------------------------------- category grid */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cats { grid-template-columns: 1fr; } }

.cat {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.cat:hover { border-color: #d7d2c7; box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-img { display: block; aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.cat-body { padding: 20px 22px 24px; }
.cat-n { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; min-height: 1em; }
.cat h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cat p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------------------------------------------------- product tools */
.ptools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; }
.ptools input[type="search"], .ptools select { font-family: var(--f-body); font-size: .96rem; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); min-height: 46px; }
.ptools input[type="search"] { flex: 1 1 240px; }
.ptools select { flex: 0 1 220px; }
.ptools .count { margin-left: auto; font-size: .84rem; color: var(--muted); font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font-family: var(--f-body); font-size: .87rem; font-weight: 500; padding: 8px 15px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); border-radius: 999px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------------------------------------------- product cards */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }

.pcard { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease); }
.pcard:hover { border-color: #d7d2c7; box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard-img { position: relative; aspect-ratio: 4 / 3; background: var(--line-2); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-cat { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.pcard-body { padding: 20px 20px 4px; flex: 1; }
.pcard h3 { font-size: 1.1rem; margin-bottom: 4px; }
.pcard .sku { font-size: .74rem; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; font-weight: 500; }
.pcard .blurb { font-size: .91rem; color: var(--muted); margin-bottom: 16px; }

.specs { width: 100%; border-collapse: collapse; font-size: .86rem; margin-bottom: 4px; }
.specs th, .specs td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line-2); }
.specs th { color: var(--muted); font-weight: 400; width: 46%; }
.specs td { color: var(--ink); font-weight: 500; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

.pcard-foot { padding: 16px 20px 20px; margin-top: auto; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.price { font-family: var(--f-disp); font-size: 1.28rem; color: var(--ink); font-weight: 700; line-height: 1; }
.price.ask { font-size: .86rem; font-family: var(--f-body); font-weight: 500; color: var(--muted); }
.unit { font-size: .78rem; color: var(--faint); }
.pcard-btns { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

.empty { text-align: center; padding: 60px 24px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); grid-column: 1 / -1; }
.empty h3 { color: var(--ink); }

/* ---------------------------------------------------- split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 68px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-media { position: relative; align-self: stretch; min-height: min(52vh, 420px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.split--top .split-media { align-self: start; min-height: 0; aspect-ratio: 4 / 3; }
.split--top .split-media img { position: static; }
@media (max-width: 900px) { .split-media { min-height: 280px; } .split--top .split-media { aspect-ratio: 16 / 10; } }

.facts { border-top: 1px solid var(--line); }
.facts div { padding: 14px 0; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.facts b { color: var(--muted); font-weight: 400; font-size: .92rem; }
.facts strong { font-weight: 600; color: var(--ink); text-align: right; font-size: .93rem; }

/* numbered "why" list */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: why; }
.why article { border-top: 1px solid var(--line); padding-top: 20px; counter-increment: why; }
.why article::before { content: counter(why, decimal-leading-zero); font-family: var(--f-disp); font-weight: 700; font-size: 1.1rem; color: var(--faint); display: block; margin-bottom: 12px; }
.why h3 { font-size: 1.04rem; margin-bottom: 6px; }
.why p { font-size: .91rem; margin: 0; color: var(--muted); }

/* ---------------------------------------------------- gallery */
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.gitem { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; padding: 0; text-align: left; font: inherit; }
.gitem:hover { border-color: #d7d2c7; box-shadow: var(--shadow); }
.gitem img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .5s var(--ease); }
.gitem:hover img { transform: scale(1.04); }
.gitem figcaption { padding: 13px 16px; border-top: 1px solid var(--line-2); font-weight: 500; font-size: .92rem; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.gitem figcaption small { color: var(--faint); font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.lightbox { position: fixed; inset: 0; background: rgba(16,17,20,.94); z-index: 130; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.on { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 78vh; border-radius: var(--radius-sm); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 16px; font-size: 1rem; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1; display: grid; place-items: center; }
.lb-close { top: 20px; right: 20px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); border-color: var(--accent); }

/* ---------------------------------------------------- forms */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 7px; font-size: .8rem; color: var(--ink); letter-spacing: .03em; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--f-body); font-size: .98rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); min-height: 48px; }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .83rem; color: var(--muted); margin-top: 6px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 620px) { .f2 { grid-template-columns: 1fr; } }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 36px); }
.panel--edge { border-top: 1px solid var(--line); }

.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list h4 { margin: 0 0 4px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.contact-list p, .contact-list a { margin: 0; color: var(--ink-2); text-decoration: none; font-size: .98rem; }
.contact-list a:hover { color: var(--accent); }

.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; line-height: 0; background: var(--bg); min-height: 300px; }
.map iframe { width: 100%; height: 360px; border: 0; filter: grayscale(.4) contrast(1.02); }

/* ---------------------------------------------------- CTA band */
.band { background: var(--bg); }
.band .wrap { padding-block: clamp(40px, 6vw, 60px); }
.band .wrap {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  padding: clamp(34px, 5vw, 54px); display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap;
  max-width: calc(var(--wrap) - var(--gut) * 0);
}
.band h2 { margin-bottom: 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.band p { color: var(--muted); margin: 0; max-width: 46ch; }

/* ---------------------------------------------------- page header strip */
.phead { background: var(--paper); border-bottom: 1px solid var(--line); }
.phead .wrap { padding-block: clamp(40px, 5vw, 60px) clamp(36px, 5vw, 52px); }
.phead h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 12px; max-width: 22ch; }
.phead p { color: var(--muted); max-width: 56ch; margin: 0; font-size: 1.02rem; }
.crumbs { font-size: .78rem; color: var(--faint); margin-bottom: 16px; letter-spacing: .06em; text-transform: uppercase; }
.crumbs a { text-decoration: none; font-weight: 600; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* ---------------------------------------------------- footer */
.foot { background: var(--footer); color: #9a9ea6; padding-block: clamp(48px, 6vw, 72px) 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 38px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot img.flogo { height: 46px; margin-bottom: 18px; }
.foot h4 { color: #fff; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 10px; font-size: .93rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot p { font-size: .93rem; }
.foot-ar { font-family: var(--f-ar); color: #6c707a; font-size: .88rem; }
.foot-base { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.1); padding-block: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }
.foot-base a { text-decoration: none; }
.foot-base a:hover { color: #fff; }

/* ---------------------------------------------------- floating WhatsApp + quote drawer */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 100; width: 54px; height: 54px; border-radius: 999px; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.22); color: #fff; text-decoration: none; transition: transform .16s var(--ease); }
.wa-float:hover { transform: scale(1.06); background: var(--wa-d); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

.quote-btn { position: fixed; right: 18px; bottom: 84px; z-index: 100; background: var(--ink); color: #fff; border: 0; border-radius: var(--radius-sm); padding: 12px 18px; font-family: var(--f-body); font-weight: 500; font-size: .88rem; cursor: pointer; box-shadow: 0 10px 26px rgba(0,0,0,.2); display: none; align-items: center; gap: 9px; }
.quote-btn.on { display: inline-flex; }
.quote-btn b { background: var(--accent); border-radius: 20px; padding: 1px 9px; font-size: .82rem; }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100vw); background: var(--paper); z-index: 140; transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(20,22,26,.2); }
.drawer.open { transform: none; }
.drawer header { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer header h3 { margin: 0; }
.drawer .items { flex: 1; overflow: auto; padding: 8px 22px; }
.drawer footer { padding: 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.qitem { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 15px 0; border-bottom: 1px solid var(--line-2); align-items: center; }
.qitem h4 { margin: 0 0 2px; font-size: 1rem; }
.qitem small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 32px; height: 32px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius-sm); cursor: pointer; font-size: 1rem; line-height: 1; color: var(--ink); }
.qty button:hover { border-color: var(--ink); }
.qty input { width: 50px; text-align: center; padding: 6px 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--f-body); }
.qitem .rm { grid-column: 1 / -1; justify-self: start; background: none; border: 0; color: var(--accent-d); cursor: pointer; font-size: .85rem; padding: 0; text-decoration: underline; }

.icon-x { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); padding: 4px 8px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 24px); background: var(--ink); color: #fff; padding: 13px 20px; border-radius: var(--radius-sm); z-index: 200; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; font-weight: 500; font-size: .92rem; box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------- admin */
.admin-body { background: var(--bg); }
.adm-head { background: var(--footer); color: #fff; }
.adm-head .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.adm-head .brand-txt b { color: #fff; }
.adm-head .brand-txt i { color: #9a9ea6; }

.tabs { display: flex; gap: 2px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; font-family: var(--f-body); font-weight: 600; font-size: .93rem; color: var(--muted); padding: 13px 16px; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }

.atable { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.atable th, .atable td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; font-size: .91rem; }
.atable th { background: var(--bg); font-weight: 600; color: var(--ink); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
.atable tr:last-child td { border-bottom: 0; }
.atable img { width: 52px; height: 40px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.atable .row-hidden { opacity: .5; }
.tbl-scroll { overflow-x: auto; border-radius: var(--radius); }

.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.tag.on { background: #e2f4e6; color: #16683a; }
.tag.off { background: var(--accent-t); color: var(--accent-d); }

.modal { position: fixed; inset: 0; background: rgba(20,22,26,.5); z-index: 150; display: none; align-items: flex-start; justify-content: center; padding: 24px; overflow: auto; }
.modal.on { display: flex; }
.modal-box { background: var(--paper); border-radius: var(--radius); width: min(680px, 100%); margin: auto; }
.modal-box header { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.modal-box .mbody { padding: 22px; }
.modal-box footer { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

.login-wrap { min-height: 84vh; display: grid; place-items: center; padding: 30px 20px; }
.login-card { width: min(420px, 100%); }

.note { background: var(--accent-t); border: 1px solid #f0d2bf; border-radius: var(--radius); padding: 16px 18px; font-size: .93rem; color: #7a3e1c; }
.note p:last-child { margin-bottom: 0; }

.spec-rows { display: grid; gap: 8px; }
.spec-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.spec-row input { min-height: 42px; }
.spec-row button { border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius-sm); cursor: pointer; width: 42px; }

.switch { display: flex; align-items: center; gap: 10px; font-weight: 500; margin-bottom: 12px; }
.switch input { width: 18px; height: 18px; min-height: 0; accent-color: var(--accent); }

.thumbgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.thumb { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.thumb img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.thumb .tb { padding: 12px 14px; }
.thumb h4 { margin: 0 0 4px; font-size: .96rem; }
.thumb small { color: var(--muted); }
.thumb .acts { display: flex; gap: 8px; padding: 0 14px 14px; }

/* ---------------------------------------------------- misc */
.print-only { display: none; }
.mt0 { margin-top: 0; }
.center { text-align: center; }
.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; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .6s var(--ease) both; }
  .hero-copy .rise:nth-child(2) { animation-delay: .05s; }
  .hero-copy .rise:nth-child(3) { animation-delay: .1s; }
  .hero-copy .rise:nth-child(4) { animation-delay: .15s; }
  .hero-media.rise { animation-delay: .1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
