/* ==========================================================================
   مشاتي السعودية — Saudi Mshati
   Shared stylesheet — Minimal / Bold / High-contrast
   Light canvas · Ink typography · Red brand accent (#C8102E)
   ========================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&family=Cairo:wght@300;400;600;700;900&display=swap');

@font-face {
  font-family: 'Kufam';
  src: url('Kufam.woff2') format('woff2'),
       url('Kufam.otf') format('opentype');
  font-weight: 300 900;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Light canvas */
  --bg:            #ffffff;
  --bg-2:          #f6f4f0;
  --bg-3:          #eceae4;
  --panel:         #ffffff;
  --line:          #e6e2da;
  --line-soft:     #eeebe4;

  /* Ink */
  --ink:           #131316;
  --text:          #16161a;
  --text-soft:     #54525a;
  --text-mute:     #8b8890;

  /* Red — brand accent */
  --red:           #c8102e;
  --red-2:         #e23b50;
  --red-deep:      #94091f;
  --red-soft:      rgba(200, 16, 46, 0.08);

  /* Gold — restrained secondary */
  --gold:          #b8893f;
  --gold-2:        #a4762f;
  --gold-deep:     #8a6326;

  /* Heritage — warm light */
  --earth:         #faf4ea;
  --earth-2:       #f1e6d3;
  --clay:          #b07a4a;
  --clay-2:        #8a5a2e;
  --sand:          #5a4632;

  --white:         #ffffff;

  /* Layout */
  --maxw:          1200px;
  --radius:        14px;
  --radius-lg:     22px;
  --shadow:        0 18px 50px rgba(20, 16, 12, 0.10);
  --shadow-soft:   0 8px 26px rgba(20, 16, 12, 0.07);
  --ease:          cubic-bezier(.22,.61,.36,1);

  --font:          'Tajawal', 'Cairo', system-ui, sans-serif;
  --font-display:  'Kufam', 'Cairo', 'Tajawal', serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--red); color: #fff; }

/* ---------- Helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; letter-spacing: 3px; font-weight: 700;
  color: var(--red); text-transform: uppercase; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }
.h-display {
  font-family: var(--font-display);
  font-weight: 800; line-height: 1.1; color: var(--ink);
  font-size: clamp(2rem, 4.8vw, 3.7rem);
  letter-spacing: -1px;
}
.lead { color: var(--text-soft); font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 62ch; }
.text-gold { color: var(--red); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.divider { height: 1px; background: var(--line); border: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  border: 1.5px solid transparent;
}
/* Primary = solid red (brand) */
.btn-gold,
.btn-red {
  background: var(--red);
  color: #fff; box-shadow: 0 12px 26px rgba(200,16,46,.22);
}
.btn-gold:hover,
.btn-red:hover { background: var(--red-deep); transform: translateY(-3px); box-shadow: 0 18px 38px rgba(200,16,46,.32); }
/* Ghost = ink outline */
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s, padding .4s, box-shadow .4s;
  border-bottom: 1px solid transparent; padding: 18px 0;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
          backdrop-filter: blur(12px) saturate(120%);
}
.site-header.scrolled {
  background: rgba(255,255,255,.9);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(20,16,12,.05);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; flex: none; border-radius: 10px;
  border: 1px solid var(--line); display: grid; place-items: center;
  background: var(--bg-2); color: var(--red);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: .3px; color: var(--ink); }
.brand-text span { font-size: .66rem; letter-spacing: 4px; color: var(--red); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 15px; font-size: .96rem; font-weight: 600;
  color: var(--text-soft); border-radius: 8px; transition: color .3s, background .3s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; display: block; height: 2px; width: 20px; margin: 4px auto 0;
  background: var(--red); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 24px; }

/* Language toggle */
.lang-toggle {
  background: transparent; border: 1px solid var(--line); color: var(--text-soft);
  border-radius: 10px; padding: 8px 13px; font-family: var(--font-display); font-weight: 700;
  font-size: .8rem; letter-spacing: .5px; cursor: pointer; line-height: 1;
  transition: border-color .2s, color .2s, background .2s; flex: none;
}
.lang-toggle:hover { border-color: var(--ink); color: var(--ink); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; color: var(--ink);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; transition: .3s; }

/* ---------- Hero (split, bold) ---------- */
.hero {
  position: relative; padding: clamp(130px, 17vw, 180px) 0 clamp(70px, 10vw, 110px);
  overflow: hidden; background: var(--bg);
}
.hero::before {
  content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 46%; height: 100%;
  background: var(--bg-2); z-index: 0;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(34px, 5vw, 64px);
  align-items: center; max-width: var(--maxw);
}
.hero-copy { max-width: 600px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 900; color: var(--ink);
  font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--red); }
.hero .sub { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--text-soft); margin-bottom: 8px; max-width: 46ch; }
.hero .tags {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 36px;
}
.hero .tags span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem;
}
.hero .tags span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero visual frame (image upload target) */
.hero-visual {
  position: relative; z-index: 2; aspect-ratio: 4/4.6; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
  background:
    radial-gradient(150px 150px at 80% 14%, var(--red-soft), transparent 70%),
    repeating-linear-gradient(135deg, rgba(19,19,22,.018) 0 2px, transparent 2px 12px),
    linear-gradient(160deg, #fff, var(--bg-3));
}
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual .media-ph {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  color: var(--text-mute); gap: 4px; padding: 24px;
}
.hero-visual .media-ph svg {
  width: 34px; height: 34px; margin: 0 auto 10px; color: var(--red); opacity: .8;
  padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
.hero-visual .media-ph small { font-size: .82rem; }
.hero-badge {
  position: absolute; inset-block-end: 18px; inset-inline-start: 18px; z-index: 3;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px;
  display: flex; align-items: baseline; gap: 8px; box-shadow: var(--shadow-soft);
}
.hero-badge b { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.hero-badge span { font-size: .8rem; color: rgba(255,255,255,.7); }

/* ---------- Stats bar ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat { padding: 44px 20px; text-align: center; border-inline-start: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-inline-start: none; }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem,3.4vw,2.8rem); color: #fff; }
.stat b .u { color: var(--red-2); }
.stat span { color: rgba(255,255,255,.55); font-size: .92rem; letter-spacing: 1px; }
/* Light variant (used on the About page over a light card) */
.stats.stats-light { background: var(--bg-2); border-color: var(--line-soft); }
.stats.stats-light .stat { border-inline-start-color: var(--line); }
.stats.stats-light .stat b { color: var(--ink); }
.stats.stats-light .stat b .u { color: var(--red); }
.stats.stats-light .stat span { color: var(--text-soft); }

/* ---------- Feature cards ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature {
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 32px;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.feature::before {
  content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 100%; height: 3px;
  background: var(--red);
  transform: scaleX(0); transform-origin: inline-end; transition: transform .45s var(--ease);
}
.feature:hover { transform: translateY(-6px); border-color: var(--line-soft); box-shadow: var(--shadow); }
.feature:hover::before { transform: scaleX(1); }
.feature .ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 24px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--ink);
}
.feature:nth-child(2) .ico { color: #fff; background: var(--red); border-color: var(--red); }
.feature .ico svg { width: 28px; height: 28px; }
.feature h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 12px; color: var(--ink); }
.feature p { color: var(--text-soft); font-size: .98rem; }

/* ---------- Section heading block ---------- */
.sec-head { max-width: 760px; margin-bottom: 54px; }
.sec-head.center { margin-inline: auto; }

/* ---------- Service blocks ---------- */
.service-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.service-row.flip { grid-template-columns: 1fr 1.1fr; }
.service-row.flip .service-media { order: -1; }
.service-list { display: grid; gap: 18px; }
.service-item {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.service-item:hover { border-color: var(--line-soft); transform: translateX(-6px); box-shadow: var(--shadow-soft); }
.service-item .num {
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  color: var(--red); border: 1px solid var(--line); border-radius: 11px;
  width: 46px; height: 46px; display: grid; place-items: center; flex: none;
}
.service-item h4 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.service-item p { color: var(--text-soft); font-size: .95rem; }
.service-item ul { margin-top: 12px; display: grid; gap: 7px; }
.service-item ul li { position: relative; padding-inline-start: 20px; color: var(--text-soft); font-size: .92rem; }
.service-item ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.service-media {
  border-radius: var(--radius-lg); overflow: hidden; min-height: 420px;
  border: 1px solid var(--line); position: relative;
  background:
    radial-gradient(160px 160px at 80% 16%, var(--red-soft), transparent 70%),
    repeating-linear-gradient(135deg, rgba(19,19,22,.018) 0 2px, transparent 2px 12px),
    linear-gradient(160deg, #fff, var(--bg-3));
}

/* ---------- Heritage section (warm light) ---------- */
.heritage { background: linear-gradient(180deg, var(--bg) 0%, var(--earth) 22%, var(--earth-2) 100%); }
.heritage-intro {
  text-align: center; max-width: 760px; margin: 0 auto clamp(46px,7vw,80px);
  padding-top: 30px;
}
.heritage-intro .transition-note {
  font-family: var(--font-display); font-style: italic; color: var(--clay-2);
  font-size: clamp(1.2rem,2.4vw,1.7rem); margin-bottom: 30px;
}
.heritage .eyebrow { color: var(--clay-2); }
.heritage .eyebrow::before { background: var(--clay); }
.heritage .text-gold { color: var(--clay-2); }
.heritage-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.h-card {
  background: #fff;
  border: 1px solid rgba(176,122,74,.26); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.h-card:hover { transform: translateY(-6px); border-color: var(--clay-2); box-shadow: var(--shadow-soft); }
.h-card .num { font-family: var(--font-display); font-weight: 800; color: var(--clay-2); font-size: 1.4rem; margin-bottom: 14px; }
.h-card h4 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.h-card p { color: var(--text-soft); font-size: .92rem; }

.protect-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 26px; }
.protect-item {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 24px; border: 1px solid rgba(176,122,74,.24); border-radius: var(--radius);
  background: #fff;
}
.protect-item .dot { width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center; border: 1px solid rgba(138,90,46,.4); color: var(--clay-2); }
.protect-item .dot svg { width: 22px; height: 22px; }
.protect-item h4 { font-size: 1.05rem; color: var(--ink); margin-bottom: 5px; }
.protect-item p { color: var(--text-soft); font-size: .92rem; }

/* ---------- Projects ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter-btn {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--text-soft); cursor: pointer; font-family: var(--font);
  font-weight: 600; font-size: .92rem; transition: .3s;
}
.filter-btn:hover { color: var(--ink); border-color: var(--ink); }
.filter-btn.active { background: var(--red); color: #fff; border-color: var(--red); }
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.project-card {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #fff; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.project-card.hide { display: none; }
.project-card:hover { transform: translateY(-6px); border-color: var(--line-soft); box-shadow: var(--shadow); }
.project-thumb {
  aspect-ratio: 4/3; position: relative;
  background:
    radial-gradient(140px 140px at 80% 16%, var(--red-soft), transparent 70%),
    linear-gradient(160deg, #fff, var(--bg-3));
  display: grid; place-items: center; overflow: hidden;
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-thumb .ph { color: var(--text-mute); text-align: center; font-size: .85rem; letter-spacing: 1px; }
.project-thumb .ph svg { width: 40px; height: 40px; margin: 0 auto 8px; opacity: .5; }
.project-tag {
  position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2;
  background: var(--ink); color: #fff;
  padding: 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 600;
}
.project-body { padding: 22px 24px; }
.project-body h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.project-body p { color: var(--text-soft); font-size: .92rem; }

/* ---------- Process / timeline ---------- */
.timeline { position: relative; max-width: 880px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 30px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--red), var(--line)); }
.step { position: relative; padding: 0 70px 46px; }
.step:last-child { padding-bottom: 0; }
.step .marker {
  position: absolute; inset-inline-start: 9px; top: 0; width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800;
  color: #fff; background: var(--red);
  box-shadow: 0 8px 20px rgba(200,16,46,.26);
}
.step h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.step p { color: var(--text-soft); }

/* ---------- Project Journey (process page) ---------- */
.journey { position: relative; max-width: 940px; margin-inline: auto; }
.journey::before {
  content: ""; position: absolute; inset-inline-start: 35px; top: 30px; bottom: 34px; width: 2px;
  background: linear-gradient(180deg, var(--red), var(--gold) 55%, var(--line-soft));
  border-radius: 2px;
}
.j-step {
  position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 24px;
  align-items: start; padding-bottom: 26px;
}
.j-step:last-child { padding-bottom: 0; }

.j-badge {
  position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 22px;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); color: var(--red);
  transition: transform .3s var(--ease), color .3s, border-color .3s, box-shadow .3s;
}
.j-badge svg { width: 31px; height: 31px; }
.j-num {
  position: absolute; top: -9px; inset-inline-end: -9px;
  min-width: 27px; height: 27px; padding: 0 4px; border-radius: 9px;
  background: var(--red); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: .76rem; line-height: 1;
  box-shadow: 0 4px 12px rgba(200,16,46,.32);
}
.j-step:hover .j-badge {
  transform: translateY(-3px); color: #fff; background: var(--red);
  border-color: var(--red); box-shadow: 0 14px 30px rgba(200,16,46,.26);
}

.j-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 26px; box-shadow: var(--shadow-soft);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.j-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #e3cbb0; }
.j-phase {
  display: block; font-size: .74rem; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--gold-2); margin-bottom: 7px;
}
.j-card h4 { font-family: var(--font-display); font-size: 1.28rem; font-weight: 800; color: var(--ink); margin-bottom: 9px; }
.j-card p { color: var(--text-soft); margin-bottom: 16px; line-height: 1.75; }
.j-out {
  display: inline-flex; align-items: center; gap: 9px; font-size: .84rem; font-weight: 700;
  color: var(--clay-2); background: var(--earth); border: 1px solid var(--earth-2);
  padding: 8px 14px; border-radius: 999px;
}
.j-out svg { width: 15px; height: 15px; flex: none; color: var(--gold-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 42px;
  box-shadow: var(--shadow-soft);
}
.contact-list { display: grid; gap: 16px; margin-top: 26px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s, box-shadow .3s;
}
.contact-list a:hover { border-color: var(--ink); transform: translateX(-5px); box-shadow: var(--shadow-soft); }
.contact-list .ci { width: 44px; height: 44px; flex: none; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--bg-2); color: var(--red); }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list small { color: var(--text-mute); display: block; font-size: .78rem; }
.contact-list b { font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: .9rem; color: var(--text-soft); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 11px; font-family: var(--font); font-size: 1rem;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); transition: border-color .3s, background .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 170px 0 70px; position: relative; text-align: center; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem,5vw,3.7rem); margin-bottom: 16px; color: var(--ink); letter-spacing: -1px; }
.breadcrumb { color: var(--text-mute); font-size: .9rem; }
.breadcrumb a:hover { color: var(--red); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; background: var(--ink); }
.cta-band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem,3.6vw,2.7rem); margin-bottom: 16px; color: #fff; letter-spacing: -.5px; }
.cta-band .lead { margin: 0 auto 30px; color: rgba(255,255,255,.72); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 66px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-grid p { color: var(--text-soft); margin-top: 16px; max-width: 38ch; font-size: .95rem; }
.footer-col h5 { font-size: .9rem; letter-spacing: 1px; color: var(--red); margin-bottom: 18px; text-transform: uppercase; }
.footer-col a { display: block; color: var(--text-soft); padding: 6px 0; transition: color .3s; font-size: .96rem; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--text-mute); font-size: .88rem; flex-wrap: wrap; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 11px; color: var(--text-soft); transition: color .3s, border-color .3s, background .3s, transform .3s; }
.footer-social a:hover { color: #fff; background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Profile download band ---------- */
.profiles-band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profiles-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.profiles-copy h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ink); letter-spacing: -.5px; margin-bottom: 8px; }
.profiles-copy p { color: var(--text-soft); font-size: 1rem; max-width: 46ch; }
.profiles-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-profile { display: inline-flex; align-items: center; gap: 10px; }
.btn-profile svg { width: 18px; height: 18px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Brand logo image ---------- */
.brand-logo { height: 46px; width: auto; display: block; }
.site-footer .brand-logo { height: 50px; }

/* ---------- Floating action buttons ---------- */
.fab-stack {
  position: fixed; inset-inline-start: 22px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.fab {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 18px 0 14px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; cursor: pointer; border: none;
  box-shadow: 0 12px 30px rgba(20,16,12,.18); transition: transform .3s var(--ease), box-shadow .3s;
  font-family: var(--font); color: #fff; white-space: nowrap;
}
.fab svg { width: 24px; height: 24px; flex: none; }
.fab:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px rgba(20,16,12,.26); }
.fab-wa { background: #25D366; color: #08210f; }
.fab-quote { background: var(--red); color: #fff; }
@media (max-width: 600px) {
  .fab .fab-label { display: none; }
  .fab { width: 56px; padding: 0; justify-content: center; }
}

/* ---------- Quote modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(19,19,22,.45); backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.modal {
  width: 100%; max-width: 520px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px;
  box-shadow: var(--shadow); position: relative; max-height: 92vh; overflow-y: auto;
  animation: pop .35s var(--ease);
}
@keyframes pop { from { transform: translateY(20px) scale(.98); opacity: 0 } to { transform: none; opacity: 1 } }
.modal-close {
  position: absolute; top: 16px; inset-inline-end: 16px; width: 38px; height: 38px;
  border: 1px solid var(--line); background: #fff; border-radius: 11px;
  color: var(--text-soft); cursor: pointer; display: grid; place-items: center; transition: .3s;
}
.modal-close:hover { color: var(--red); border-color: var(--red); }
.modal h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin-bottom: 6px; color: var(--ink); }
.modal p.muted { color: var(--text-mute); font-size: .92rem; margin-bottom: 22px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; inset-block-end: 28px; inset-inline-end: 28px; z-index: 300;
  background: var(--ink); border: 1px solid var(--ink); color: #fff;
  padding: 16px 22px; border-radius: 13px; box-shadow: var(--shadow);
  transform: translateY(120%); transition: transform .4s var(--ease); max-width: 360px;
  display: flex; gap: 12px; align-items: center;
}
.toast.show { transform: none; }
.toast svg { width: 22px; height: 22px; color: #fff; flex: none; }
.toast.err { background: var(--red-deep); border-color: var(--red-deep); }
.toast.err svg { color: #fff; }

/* ---------- Editable service figure ---------- */
.service-figure {
  position: relative; height: 200px; border-radius: var(--radius); overflow: hidden;
  margin-bottom: 18px; border: 1px solid var(--line);
  background:
    radial-gradient(150px 150px at 80% 16%, var(--red-soft), transparent 70%),
    repeating-linear-gradient(135deg, rgba(19,19,22,.02) 0 2px, transparent 2px 12px),
    linear-gradient(160deg, #fff, var(--bg-3));
}
.service-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-figure .media-ph {
  position: absolute; inset: 0; display: grid; place-items: center; gap: 2px;
  color: var(--text-mute); font-size: .8rem; text-align: center;
}
.service-figure .media-ph svg {
  width: 30px; height: 30px; opacity: .9; margin: 0 auto 8px; color: var(--red);
  padding: 12px; border: 1px solid var(--line); border-radius: 13px;
  background: #fff;
}
.heritage-figure {
  position: relative; height: 250px; border-radius: var(--radius-lg); overflow: hidden;
  margin: 26px auto 0; max-width: 760px; border: 1px solid rgba(176,122,74,.3);
  background:
    radial-gradient(180px 180px at 82% 16%, rgba(212,154,100,.16), transparent 70%),
    repeating-linear-gradient(135deg, rgba(138,90,46,.04) 0 2px, transparent 2px 12px),
    linear-gradient(160deg, #fff, var(--earth-2));
}
.heritage-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heritage-figure .media-ph { position: absolute; inset: 0; display: grid; place-items: center; gap: 2px; color: var(--clay-2); font-size: .82rem; text-align: center; }
.heritage-figure .media-ph svg {
  width: 34px; height: 34px; opacity: .9; margin: 0 auto 8px; color: var(--clay-2);
  padding: 13px; border: 1px solid rgba(176,122,74,.4); border-radius: 13px;
  background: #fff;
}

/* ---------- Empty / loading state ---------- */
.state-msg { text-align: center; color: var(--text-mute); padding: 50px 0; grid-column: 1/-1; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .features-grid, .heritage-cards { grid-template-columns: repeat(2,1fr); }
  .projects-grid { grid-template-columns: repeat(2,1fr); }
  .service-row, .service-row.flip { grid-template-columns: 1fr; }
  .service-row.flip .service-media { order: 0; }
  .service-media { min-height: 300px; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(3) { border-inline-start: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero::before { display: none; }
  .hero-visual { aspect-ratio: 16/10; max-width: 560px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; inset: 100% 0 auto 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(16px); padding: 18px;
    border-bottom: 1px solid var(--line); gap: 4px;
  }
  .nav-links.open a { padding: 14px; color: var(--ink); }
  .features-grid, .heritage-cards, .projects-grid, .protect-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .step { padding: 0 56px 40px; }
  .timeline::before { inset-inline-start: 21px; }
  .step .marker { width: 38px; height: 38px; }
  .j-step { grid-template-columns: 56px 1fr; gap: 16px; }
  .j-badge { width: 56px; height: 56px; border-radius: 18px; }
  .j-badge svg { width: 25px; height: 25px; }
  .journey::before { inset-inline-start: 27px; }
  .j-card { padding: 18px 18px; }
  .j-card h4 { font-size: 1.15rem; }
}

/* ---------- Phone sizing pass (text/buttons smaller, images unchanged) ---------- */
@media (max-width: 560px) {
  /* tighter section spacing + a little side breathing room */
  .container { padding-inline: 18px; }
  .section { padding: 52px 0; }

  /* headings & intro text */
  .eyebrow { font-size: .72rem; letter-spacing: 2px; margin-bottom: 14px; }
  .eyebrow::before { width: 18px; }
  .h-display { font-size: clamp(1.55rem, 7vw, 2rem); letter-spacing: -.5px; }
  .lead { font-size: .98rem; }

  /* hero */
  .hero h1 { font-size: clamp(2.2rem, 9vw, 2.7rem); letter-spacing: -1px; margin-bottom: 18px; }
  .hero .sub { font-size: 1rem; max-width: none; }
  .hero .tags { gap: 8px; margin: 20px 0 28px; }
  .hero .tags span { padding: 6px 13px; font-size: .8rem; gap: 7px; }
  .hero .tags span::before { width: 6px; height: 6px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* buttons everywhere */
  .btn { padding: 12px 20px; font-size: .92rem; }

  /* stats */
  .stat { padding: 26px 12px; }
  .stat b { font-size: clamp(1.5rem, 6.5vw, 2rem); }
  .stat span { font-size: .76rem; letter-spacing: .5px; }

  /* feature / vision / mission cards */
  .features-grid { gap: 14px; }
  .feature { padding: 26px 22px; }
  .feature .ico { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px; }
  .feature .ico svg { width: 23px; height: 23px; }
  .feature h3 { font-size: 1.12rem; margin-bottom: 9px; }
  .feature p { font-size: .92rem; }

  /* service items */
  .service-item { padding: 18px 18px; }
  .service-item h4 { font-size: 1.02rem; }
  .service-item p, .service-item ul li { font-size: .9rem; }

  /* heritage cards */
  .h-card { padding: 20px 18px; }
  .h-card .num { font-size: 1.2rem; margin-bottom: 10px; }
  .h-card h4 { font-size: 1rem; }
  .h-card p { font-size: .88rem; }

  /* CTA band */
  .cta-band h2 { font-size: clamp(1.45rem, 6vw, 2rem); }
  .cta-band .lead { font-size: .95rem; }

  /* footer */
  .footer-grid { gap: 26px; margin-bottom: 32px; }
  .footer-grid p { font-size: .9rem; }
  .footer-col h5 { font-size: .82rem; margin-bottom: 12px; }
  .footer-col a { font-size: .9rem; padding: 5px 0; }
  .footer-bottom { font-size: .8rem; }
  .footer-social a { width: 38px; height: 38px; }

  /* profile download band */
  .profiles-inner { flex-direction: column; align-items: stretch; text-align: center; gap: 20px; }
  .profiles-copy p { margin-inline: auto; }
  .profiles-actions { flex-direction: column; }
  .profiles-actions .btn { width: 100%; justify-content: center; }

  /* page hero (inner pages) */
  .page-hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
}
