/* Belfast design system — dark ground, gold accent, teal/orange secondaries.
   Signature: the gold bar beside every heading + soft coloured circles behind sections.
   Fonts: Cairo (Arabic), Montserrat (Latin / numbers). */
:root {
  --bg: #111111;
  --bg-alt: #1C1C1C;
  --surface: #181818;
  --surface-2: #202020;
  --gold: #C9A227;
  --gold-light: #D4AF37;
  --gold-dark: #A07D10;
  --teal: #00B5A3;
  --orange: #E8834A;
  --white: #FFFFFF;
  --text: #CCCCCC;
  --muted: #9A9A9A;
  --border: #333333;
  --border-soft: #2A2A2A;
  --font-ar: "Cairo", "Tajawal", "Segoe UI", sans-serif;
  --font-en: "Montserrat", "Segoe UI", sans-serif;
  --radius: 12px;
  --radius-btn: 4px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --sec-pad: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-ar); font-size: 16px; line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }
h1, h2, h3, h4 { color: var(--white); line-height: 1.3; margin: 0 0 14px; font-weight: 900; text-wrap: balance; }
p { margin: 0 0 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.en, .num, .brand-en, .hero-kicker, .stat b, .big-years .num, .err-code { font-family: var(--font-en); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 4px; z-index: 999; }
.skip:focus { inset-inline-start: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid transparent; cursor: pointer; border-radius: var(--radius-btn);
  padding: 11px 28px; font: 700 15px var(--font-ar); line-height: 1.5; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .15s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #111; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #111; box-shadow: 0 8px 24px rgba(201,162,39,.25); }
.btn-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #111; }
.btn-teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-teal:hover { background: #009d8c; border-color: #009d8c; color: #fff; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #111 !important;
  border: 1.5px solid #555; border-radius: 999px; padding: 6px 18px;
  font: 500 13px var(--font-en); direction: ltr; transition: box-shadow .25s;
}
.pill:hover { box-shadow: 0 4px 14px rgba(201,162,39,.4); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(17,17,17,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.head-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { width: 42px; height: 43px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-ar { font-weight: 900; font-size: 20px; color: #fff; }
.brand-en { font-size: 9.5px; font-weight: 600; letter-spacing: 1.4px; color: var(--gold); text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.main-nav a { color: #fff; font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 4px; position: relative; }
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; inset-inline: 12px; bottom: 3px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .25s;
}
.main-nav a:not(.btn):hover, .main-nav a:not(.btn).on { color: var(--gold); }
.main-nav a:not(.btn).on::after, .main-nav a:not(.btn):hover::after { transform: scaleX(1); }
.head-cta { margin-inline-start: 10px; padding: 9px 22px; }
.nav-toggle {
  display: none; margin-inline-start: auto; background: none; border: 1px solid var(--border);
  border-radius: 6px; width: 44px; height: 40px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- sections & decorative shapes ---------- */
.sec { position: relative; overflow: hidden; padding: var(--sec-pad) 0; background: var(--bg); }
.sec-alt { background: var(--bg-alt); }
.sec > .container { position: relative; z-index: 1; }
[class*="shape-"]::before, [class*="shape-"]::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.shape-gold-tr::after { top: -60px; inset-inline-start: -40px; width: 200px; height: 290px; background: var(--gold); opacity: .18; }
.shape-gold-bl::before { bottom: -50px; inset-inline-end: -30px; width: 140px; height: 200px; background: var(--gold); opacity: .18; }
.shape-teal-bl::before { bottom: -70px; inset-inline-end: -70px; width: 220px; height: 220px; background: var(--teal); opacity: .16; }
.shape-teal-tr::after { top: -60px; inset-inline-start: -60px; width: 210px; height: 210px; background: var(--teal); opacity: .16; }
.shape-teal-tl::before { top: -50px; inset-inline-end: -50px; width: 160px; height: 160px; background: var(--teal); opacity: .16; }
.shape-teal-r::after { top: 50%; inset-inline-start: -120px; width: 260px; height: 260px; background: var(--teal); opacity: .16; transform: translateY(-50%); }
.shape-orange-r::after { top: 50%; inset-inline-start: -120px; width: 250px; height: 250px; background: var(--orange); opacity: .16; transform: translateY(-50%); }
.shape-orange-br::before { bottom: -120px; inset-inline-start: -120px; width: 250px; height: 250px; background: var(--orange); opacity: .16; }
.shape-ring::before { bottom: 70px; inset-inline-end: 8%; width: 160px; height: 160px; border: 2px solid #3a3a3a; opacity: .5; }
.shape-ring-bl::after { bottom: 40px; inset-inline-end: 20%; width: 180px; height: 180px; border: 2px solid #444; opacity: .25; }

.sec-head { margin-bottom: 40px; }
.eyebrow { display: block; color: var(--muted); font-size: 14px; letter-spacing: .3px; margin-bottom: 8px; }
h2.bar, h1.bar {
  display: inline-block; border-inline-start: 4px solid var(--gold); padding-inline-start: 16px;
  font-size: clamp(26px, 3.6vw, 44px); line-height: 1.25;
}
h1.bar { font-size: clamp(30px, 4.4vw, 52px); }
h2.bar .accent, h1 .accent { color: var(--gold); }
h2.bar .accent-white { color: #fff; }
h2.bar.orange { color: var(--orange); }
h2.bar.gold { color: var(--gold); font-size: clamp(30px, 4.6vw, 56px); }
.lead { font-size: 17px; color: var(--text); max-width: 720px; }
.sub-teal { color: var(--teal); font-size: clamp(18px, 2.4vw, 26px); font-weight: 700; margin-bottom: 14px; }
.body-text p { font-size: 15.5px; line-height: 1.95; }
.body-text .bullets { display: grid; gap: 14px; margin: 6px 0 16px; }
.body-text .bullet { border-inline-start: 4px solid var(--gold); padding-inline-start: 14px; margin: 0; }
.emphasize-last p:last-child:not(:first-child) { color: var(--teal); font-weight: 900; font-size: clamp(20px, 2.6vw, 30px); margin-top: 10px; }
.mission-lines .bullet { color: #fff; font-weight: 600; font-size: clamp(15px, 1.8vw, 19px); }
.bar-text p { border-inline-start: 4px solid var(--gold); padding-inline-start: 16px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); min-height: min(calc(100vh - 72px), 720px); display: flex; align-items: center; }
.hero::after { opacity: .10; }
.hero-grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding-top: 64px; padding-bottom: 72px; width: 100%;
}
.hero-kicker { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 62px); line-height: 1.2; margin-bottom: 20px; }
.hero-lead { color: var(--text); font-size: 17px; line-height: 1.9; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.pill-hero { border-color: #555; }
.hero-media { display: flex; justify-content: center; }
.hero-circle {
  width: min(380px, 80vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 4px solid var(--gold); box-shadow: 0 0 60px rgba(201,162,39,.28);
  animation: float 7s ease-in-out infinite;
}
.hero-circle img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- split layouts ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split-rev { grid-template-columns: .9fr 1.1fr; }
.split-rev .split-text { order: 2; }
.split-rev .split-media { order: 1; }
.circle-photo { width: min(400px, 90%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto; border: 3px solid var(--border); box-shadow: var(--shadow); }
.circle-photo img { width: 100%; height: 100%; object-fit: cover; }
.clip-photo { overflow: hidden; min-height: 380px; height: 100%; box-shadow: var(--shadow); }
.clip-photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; transition: transform .6s; }
.clip-photo:hover img { transform: scale(1.04); }
.clip-left { clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.clip-right { clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }

/* ---------- experience / stats ---------- */
.sec-exp { background: var(--bg); }
.exp-bg {
  position: absolute; top: 0; inset-inline-end: 0; width: 52%; height: 100%; object-fit: cover; opacity: .28; z-index: 0;
  -webkit-mask-image: linear-gradient(to left, transparent, #000 40%); mask-image: linear-gradient(to left, transparent, #000 40%);
}
[dir="rtl"] .exp-bg { -webkit-mask-image: linear-gradient(to right, transparent, #000 40%); mask-image: linear-gradient(to right, transparent, #000 40%); }
.exp-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.since { display: block; color: var(--text); font-size: clamp(15px, 1.8vw, 20px); font-weight: 600; }
.big-years { display: flex; align-items: baseline; gap: 12px; margin: -6px 0 2px; }
.big-years .num { font-size: clamp(84px, 10vw, 128px); font-weight: 900; color: var(--teal); line-height: 1; }
.big-years .unit { color: #fff; font-weight: 700; font-size: clamp(20px, 2.6vw, 32px); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.stat {
  background: rgba(24,24,24,.85); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; backdrop-filter: blur(4px);
}
.stat b { display: block; font-size: 40px; font-weight: 900; color: var(--gold); line-height: 1.1; }
.stat span { color: var(--text); font-size: 14.5px; }

/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  display: flex; flex-direction: column; gap: 6px; padding: 26px 22px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: var(--shadow); color: var(--text); }
.icon-ring {
  display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(201,162,39,.12); color: var(--gold); border: 1px solid rgba(201,162,39,.35); margin-bottom: 10px;
}
.service-card b { color: #fff; font-size: 17px; font-weight: 700; line-height: 1.4; }
.service-card small { color: var(--gold); font-family: var(--font-en); font-size: 11px; letter-spacing: .6px; text-transform: uppercase; }
.service-card p { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.service-list { display: grid; gap: 22px; }
.service-row {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 30px 28px;
  scroll-margin-top: 90px; display: grid; gap: 14px;
}
.service-row-head { display: flex; align-items: center; gap: 16px; }
.service-row-head h2 { font-size: clamp(20px, 2.6vw, 28px); margin: 0; }
.service-row-head .en { color: var(--gold); font-size: 12px; letter-spacing: .6px; text-transform: uppercase; }
.service-img { border-radius: 8px; max-height: 360px; width: 100%; object-fit: cover; }
.service-row .btn { justify-self: start; }

/* ---------- partners ---------- */
.logo-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
  background: #fff;
}
.logo-cell {
  background: #fff; display: flex; align-items: center; justify-content: center; padding: 16px 12px; min-height: 92px;
  border-inline-end: 1px solid #ddd; border-bottom: 1px solid #ddd; position: relative; transition: box-shadow .3s;
}
.logo-cell:nth-child(6n) { border-inline-end: none; }
.logo-cell img { max-height: 60px; width: auto; max-width: 92%; object-fit: contain; filter: grayscale(100%); opacity: .7; transition: filter .35s, opacity .35s, transform .35s; }
.logo-cell:hover { z-index: 2; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.logo-cell:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.logo-name { color: #333; font-weight: 700; font-size: 14px; text-align: center; }

/* ---------- gallery ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  background: transparent; color: var(--text); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 16px; font: 600 13.5px var(--font-ar); cursor: pointer; transition: all .2s;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.on { background: var(--gold); border-color: var(--gold); color: #111; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 6px; }
.mosaic .tile:nth-child(6n+1) { grid-row: span 2; }
.mosaic .tile:nth-child(6n+4) { grid-column: span 2; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: 230px; gap: 8px; }
.tile { position: relative; overflow: hidden; display: block; background: var(--surface-2); border-radius: 4px; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.06); }
.tile-cap {
  position: absolute; inset-inline: 0; bottom: 0; padding: 26px 12px 10px; color: #fff; font-size: 13px; font-weight: 600;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.tile:hover .tile-cap { opacity: 1; transform: none; }
.tile.hide { display: none; }
.center .btn { margin-top: 30px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 4px; box-shadow: var(--shadow); }
.lightbox figcaption { color: var(--text); font-size: 14px; min-height: 20px; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2);
  width: 46px; height: 46px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s;
}
.lightbox button:hover { background: var(--gold); color: #111; }
.lb-close { top: 18px; inset-inline-end: 18px; }
.lb-prev { inset-inline-start: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- media ---------- */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.media-card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.media-card b { color: #fff; padding: 12px 16px 0; font-size: 16px; }
.media-card p { padding: 0 16px 14px; margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.media-card .yt, .media-card video, .media-card .placeholder, .media-card iframe { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }
.media-card .yt { position: relative; border: 0; padding: 0; cursor: pointer; }
.media-card .yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s; }
.media-card .yt:hover img { opacity: 1; }
.media-card .placeholder { display: flex; align-items: center; justify-content: center; background: var(--surface-2); }
.media-card.placeholder { align-items: center; justify-content: center; padding: 44px 16px; text-align: center; border-style: dashed; }
.media-card.placeholder b { padding-top: 6px; }
.play {
  display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold); color: #111; font-size: 24px; padding-inline-start: 5px;
}
.media-card .yt .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 8px 24px rgba(0,0,0,.4); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.ccard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ccard {
  background: #fff; color: #111; border-radius: var(--radius); padding: 20px 22px;
  display: flex; gap: 14px; align-items: flex-start;
}
.ccard .ico { color: var(--gold-dark); flex-shrink: 0; margin-top: 2px; }
.ccard b { display: block; color: #111; font-size: 14px; margin-bottom: 2px; }
.ccard p { margin: 0; color: #333; font-size: 14.5px; }
.ccard a { color: #111; font-weight: 600; font-family: var(--font-en); font-size: 15px; }
.ccard a:hover { color: var(--gold-dark); }
.ccard .pill { margin-top: 10px; font-size: 13px; padding: 5px 16px; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--border-soft); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 28px; }
.contact-form { display: grid; gap: 16px; }
.contact-form h3 { margin: 0 0 4px; font-size: 22px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.contact-form label small { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form textarea {
  width: 100%; background: #111; color: #fff; border: 1px solid var(--border); border-radius: 6px;
  padding: 11px 14px; font: 400 15px var(--font-ar); transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); outline: none; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { justify-self: start; min-width: 160px; }
.ferr { color: #FF6B6B; font-size: 13px; display: block; min-height: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-ok { background: rgba(0,181,163,.12); border: 1px solid var(--teal); color: #fff; border-radius: 8px; padding: 14px 18px; margin-bottom: 18px; }
.form-ok b { color: var(--teal); display: block; }
.form-ok p { margin: 0; font-size: 14px; }
.map-wrap iframe { filter: grayscale(1) invert(.92) contrast(.9); display: block; }

/* ---------- inner page head, cta, error ---------- */
.page-head { position: relative; overflow: hidden; background: var(--bg); padding: 64px 0 48px; border-bottom: 1px solid var(--border-soft); }
.page-head .container { position: relative; z-index: 1; }
.page-head .eyebrow { font-family: var(--font-en); color: var(--gold); letter-spacing: 3px; font-size: 12px; text-transform: uppercase; }
.page-head .lead { margin-top: 8px; }
.cta-band { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #111; padding: 64px 0; text-align: center; }
.cta-band h2 { color: #111; font-size: clamp(24px, 3.4vw, 38px); }
.cta-band p { max-width: 620px; margin: 0 auto 22px; color: #222; }
.cta-band .btn-gold { background: #111; color: var(--gold); border-color: #111; }
.cta-band .btn-gold:hover { background: #000; }
.error-page { min-height: 60vh; display: flex; align-items: center; }
.err-code { display: block; font-size: clamp(80px, 14vw, 160px); font-weight: 900; color: var(--gold); line-height: 1; opacity: .9; }
.error-page h1 { font-size: clamp(24px, 3vw, 36px); }
.error-page .lead { margin: 0 auto 24px; }

/* ---------- footer ---------- */
.site-foot { background: #0C0C0C; border-top: 1px solid var(--border); padding: 56px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-bottom: 36px; }
.foot-brand img { width: 220px; margin-bottom: 14px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; max-width: 360px; }
.social { display: flex; gap: 10px; margin-top: 6px; }
.social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; color: var(--text); }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.social .ico { width: 20px; height: 20px; }
.site-foot h3 { color: var(--gold); font-size: 16px; border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 14px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.foot-list a { color: var(--text); }
.foot-list a:hover { color: var(--gold); }
.foot-bottom { border-top: 1px solid var(--border-soft); padding: 16px 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* ---------- floating buttons ---------- */
.wa-fab {
  position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 70; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.35); transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.08); color: #fff; }
.to-top {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 70; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: #111; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- reveal on scroll ---------- */
/* only hide-then-reveal when JS is running (html.js is set inline in the layout) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-circle { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  :root { --sec-pad: 64px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .logo-cell:nth-child(6n) { border-inline-end: 1px solid #ddd; }
  .logo-cell:nth-child(4n) { border-inline-end: none; }
  .mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .exp-bg { width: 100%; opacity: .12; -webkit-mask-image: none; mask-image: none; }
  .exp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #141414; border-bottom: 1px solid var(--border); padding: 8px 16px 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--border-soft); border-radius: 0; }
  .main-nav a:not(.btn)::after { display: none; }
  .head-cta { margin: 12px 0 0; justify-content: center; }
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-top: 44px; padding-bottom: 52px; gap: 32px; }
  .hero-media { order: -1; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .split, .split-rev { grid-template-columns: 1fr; gap: 28px; }
  .split-rev .split-text { order: 1; }
  .split-rev .split-media { order: 2; }
  .clip-left, .clip-right { clip-path: none; border-radius: 8px; }
  .clip-photo, .clip-photo img { min-height: 260px; max-height: 340px; }
  .circle-photo { width: min(300px, 80%); }
}
@media (max-width: 640px) {
  :root { --sec-pad: 52px; }
  .service-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-cell:nth-child(4n) { border-inline-end: 1px solid #ddd; }
  .logo-cell:nth-child(2n) { border-inline-end: none; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .mosaic .tile:nth-child(6n+1) { grid-row: auto; }
  .mosaic .tile:nth-child(6n+4) { grid-column: auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .media-grid { grid-template-columns: 1fr; }
  .ccard-grid, .contact-form .row2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 20px; }
  [class*="shape-"]::before, [class*="shape-"]::after { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 14px 8px; }
  .stat b { font-size: 28px; }
  .stat span { font-size: 12.5px; }
}
