/* =========================================================
   SEM Group – main stylesheet
   ========================================================= */

:root {
  --orange: #f26a21;
  --orange-dark: #d9561a;
  --orange-soft: #fff1e8;
  --dark: #0d0f14;
  --dark-2: #161a22;
  --ink: #111827;
  --text: #374151;
  --muted: #6b7280;
  --line: #e7e8ec;
  --bg-alt: #f7f7f9;
  --white: #ffffff;
  --page: #ffffff;
  --surface: #ffffff;
  --dot: #d1d5db;
  --map-bg: #f4f5f7;
  --map-dot: #cdd1d8;
  --ok: #15803d;
  --err: #dc2626;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 24, 39, .08);
  --shadow-hover: 0 18px 40px rgba(17, 24, 39, .14);
  --header-h: 76px;
}

/* Night mode colours: component rules are in the "Night mode" section further down */
:root[data-theme="dark"] {
  color-scheme: dark;
  --orange-soft: rgba(242, 106, 33, .14);
  --ink: #f6f4f1;
  --text: #cbc8c3;
  --muted: #9c9992;
  --line: rgba(255, 255, 255, .09);
  --bg-alt: #17171a;
  --page: #111113;
  --surface: #202024;
  --dot: #4a4a50;
  --map-bg: #151518;
  --map-dot: #3a3a40;
  --ok: #4ade80;
  --err: #f87171;
  --shadow: 0 10px 30px rgba(0, 0, 0, .4);
  --shadow-hover: 0 22px 48px rgba(0, 0, 0, .55), 0 0 32px rgba(242, 106, 33, .1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.icon {
  width: 1.15em; height: 1.15em;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 6px 18px rgba(242, 106, 33, .3); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-primary .icon { transition: transform .2s; }
.btn-primary:hover .icon { transform: translateX(3px); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Section headings ---------- */
.section { padding: 100px 0; }
.section-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin-bottom: 14px;
}
.section-label b { color: var(--orange); font-weight: 700; letter-spacing: .05em; }
.section-label b::after { content: ""; display: inline-block; width: 36px; height: 2px; background: var(--orange); vertical-align: middle; margin-left: 12px; }
.section-title { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.02em; }
.section-title span, h1 span { color: var(--orange); }
.section-sub { margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 640px; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .section-label { justify-content: center; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.center-cta { text-align: center; margin-top: 48px; }

.icon-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--orange-soft); color: var(--orange); flex-shrink: 0;
}
.icon-box .icon { width: 24px; height: 24px; }
.icon-box.sm { width: 40px; height: 40px; border-radius: 10px; }
.icon-box.sm .icon { width: 20px; height: 20px; }

.circle-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--orange); flex-shrink: 0;
  transition: background .2s, color .2s, border-color .2s;
}
.circle-link:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-weight: 600; font-size: 14px; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link .icon { transition: transform .2s; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-shrink: 0; }
.logo img { height: 62px; width: auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(13, 15, 20, .94); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-nav { display: flex; gap: 26px; }
.main-nav a { color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 500; position: relative; padding: 6px 0; }
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--orange); transform: scaleX(0); transition: transform .25s;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; padding: 0;
  background: none; border: 1px solid rgba(255, 255, 255, .45); color: var(--white);
  transition: background .2s, border-color .2s;
}
.theme-toggle:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.theme-toggle .icon { width: 20px; height: 20px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 6px; }
.nav-toggle .icon { width: 28px; height: 28px; }

/* ---------- 1. Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--dark); overflow: hidden; color: var(--white); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(13, 15, 20, .96) 0%, rgba(13, 15, 20, .82) 45%, rgba(13, 15, 20, .35) 100%),
              linear-gradient(0deg, rgba(13, 15, 20, .9) 0%, transparent 40%);
}
.hero-inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 60px); padding-bottom: 60px; }
.hero-content { max-width: 780px; }
.eyebrow { font-size: 14px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .85); font-weight: 500; margin-bottom: 20px; }
.hero h1 { color: var(--white); font-size: clamp(36px, 4.8vw, 64px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hero-text { margin-top: 24px; font-size: 18px; color: rgba(255, 255, 255, .8); max-width: 560px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.hero-stats {
  margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(22, 26, 34, .75); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius);
}
.hero-stat { display: flex; align-items: center; gap: 16px; padding: 24px 28px; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255, 255, 255, .1); }
.hero-stat > .icon { width: 36px; height: 36px; color: var(--orange); stroke-width: 1.5; }
.hero-stat strong { display: block; font-size: 28px; font-weight: 700; color: var(--white); line-height: 1.1; }
.hero-stat span { font-size: 14px; color: rgba(255, 255, 255, .7); }
.hero-stat strong span { font-size: inherit; color: inherit; }

/* ---------- 2. About ---------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.about-poster { position: relative; border-radius: 18px; overflow: hidden; background: var(--dark); aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.about-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.poster-overlay { position: absolute; inset: 0; padding: 40px; color: var(--white); background: linear-gradient(180deg, rgba(13, 15, 20, .97) 0%, rgba(13, 15, 20, .94) 34%, transparent 66%); }
.poster-overlay img { width: auto; height: 110px; object-fit: contain; opacity: 1; }
.poster-line { display: block; width: 36px; height: 3px; background: var(--orange); margin: 22px 0; }
.poster-overlay p { font-size: 15px; letter-spacing: .3em; text-transform: uppercase; line-height: 1.9; }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.stat-card {
  display: flex; align-items: center; gap: 20px; padding: 28px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.stat-card:hover { transform: translateY(-4px); background: var(--surface); box-shadow: var(--shadow-hover); }
.stat-card .icon-box { width: 60px; height: 60px; }
.stat-card .icon-box .icon { width: 28px; height: 28px; }
.stat-card strong { display: block; font-size: 38px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat-card span { font-size: 14px; color: var(--muted); }
.stat-card strong span { font-size: inherit; color: inherit; }
.fine-print { margin-top: 20px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.fine-print::before { content: ""; width: 24px; height: 2px; background: var(--orange); }

/* ---------- Card grid (shared) ---------- */
.card-grid { display: grid; gap: 24px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.service-card, .event-card, .industry-card, .infra-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover, .event-card:hover, .industry-card:hover, .infra-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-card img, .industry-card img, .infra-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s; }
.service-card:hover img, .industry-card:hover img, .infra-card:hover img { transform: scale(1.05); }
.card-body { padding: 20px; position: relative; flex: 1; }
.card-body h3 { font-size: 16px; font-weight: 600; }
.card-body p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* Services */
.services { background: var(--bg-alt); }
.service-card .card-body { display: flex; gap: 12px; align-items: flex-start; padding-right: 18px; }
.service-card .card-body > div { flex: 1; }
.service-card .icon-box { width: 40px; height: 40px; border-radius: 10px; }
.service-card .icon-box .icon { width: 20px; height: 20px; }
.service-card .circle-link { position: absolute; top: -18px; right: 16px; background: var(--surface); box-shadow: var(--shadow); border-color: transparent; }

/* Projects: event posters are shown whole (contain) over a blurred copy of themselves */
.card-cat { font-size: 11px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--orange) !important; font-weight: 600; margin: 0 0 6px !important; display: flex; align-items: center; gap: 8px; }
.card-cat::before { content: ""; width: 18px; height: 2px; background: var(--orange); }
.poster {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3;
  border: 0; padding: 0; overflow: hidden; background: var(--dark); cursor: zoom-in;
}
.poster .poster-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(22px) brightness(.55) saturate(1.2); transform: scale(1.2); }
.poster .poster-img { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .5s; }
.poster.is-logo { background: var(--white); border-bottom: 1px solid var(--line); }
.poster.is-logo .poster-bg { display: none; }
.poster.is-logo .poster-img { padding: 36px 48px; }
.event-card:hover .poster-img, .project-detail .poster:hover .poster-img { transform: scale(1.04); }
.event-card .card-body { display: flex; flex-direction: column; }
.event-card h3 { font-size: 18px; }
.event-meta { list-style: none; padding: 0; margin: 10px 0 14px; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.event-meta li { display: flex; align-items: flex-start; gap: 8px; }
.event-meta .icon { width: 16px; height: 16px; color: var(--orange); margin-top: 2px; }
.event-card .text-link { margin-top: auto; }

/* Industries */
.industries { background: var(--bg-alt); }
.industry-card .card-body { padding-top: 34px; }
.icon-badge {
  position: absolute; top: -24px; left: 20px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--surface);
}
.icon-badge .icon { width: 20px; height: 20px; }
.industry-card .text-link { margin-top: 12px; }

/* ---------- 6. Infrastructure ---------- */
.infra-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.infra-points { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding-left: 32px; border-left: 2px solid var(--line); }
.infra-points p { display: flex; align-items: center; gap: 14px; font-weight: 500; color: var(--ink); }
.infra-points .btn { margin-top: 10px; }
.infra-main { border-radius: 18px; overflow: hidden; margin-bottom: 24px; }
.infra-main img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.infra-card .card-body { padding-top: 34px; }

/* ---------- 7. Testimonials ---------- */
.testimonials { background: var(--bg-alt); }
.client-logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px;
  padding: 28px 0; margin-bottom: 48px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.client-logos span { font-weight: 700; letter-spacing: .12em; color: #9ca3af; font-size: 15px; transition: color .2s; }
.client-logos span:hover { color: var(--ink); }

.slider { position: relative; padding: 0 56px; }
.slider-viewport { overflow: hidden; }
.slider-track { display: flex; gap: 24px; transition: transform .5s ease; }
.testimonial {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.testimonial > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.testimonial-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.stars { display: flex; gap: 2px; color: var(--orange); }
.stars .icon { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.testimonial blockquote { margin: 14px 0 20px; font-size: 14.5px; color: var(--text); flex: 1; }
.person { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.person strong { display: block; color: var(--ink); font-size: 15px; }
.person span { font-size: 13px; color: var(--muted); }

.slider-btn {
  position: absolute; top: 40%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  transition: background .2s, color .2s;
}
.slider-btn:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: var(--dot); transition: width .3s, background .3s; }
.slider-dots button.active { width: 28px; background: var(--orange); }

.trust-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px; padding: 28px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.trust-strip > div { display: flex; gap: 14px; align-items: flex-start; }
.trust-strip p { font-size: 13.5px; color: var(--muted); }
.trust-strip strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }

/* ---------- 8. Locations ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.loc-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.loc-subtitle { font-size: 20px; font-weight: 700; margin: 32px 0 18px; position: relative; padding-bottom: 10px; }
.loc-subtitle::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--orange); }
.city-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.city { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); transition: transform .25s, box-shadow .25s; }
.city:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.city:first-child { border-color: var(--orange); background: var(--orange-soft); }
.city p { padding: 18px 6px 14px; font-size: 11px; color: var(--muted); text-align: center; line-height: 1.4; }
.city p .icon { display: block; margin: 0 auto 8px; color: var(--orange); width: 26px; height: 26px; }
.city strong { display: block; color: var(--ink); font-size: 13px; }

.map {
  position: relative; margin-top: 28px; aspect-ratio: 16 / 9; border-radius: 16px;
  background-color: var(--map-bg);
  background-image: radial-gradient(var(--map-dot) 1.2px, transparent 1.3px);
  background-size: 14px 14px;
  border: 1px solid var(--line);
}
.map-pin {
  position: absolute; transform: translate(-50%, -100%);
  font-size: 12px; font-weight: 600; color: var(--ink);
  background: var(--surface); padding: 3px 10px; border-radius: 99px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1); white-space: nowrap;
}
.map-pin::after {
  content: ""; position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  width: 10px; height: 10px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 106, 33, .25);
  animation: pulse 2s infinite;
}
.map-pin.intl::after { background: var(--ink); box-shadow: 0 0 0 4px rgba(17, 24, 39, .15); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(242, 106, 33, 0); } }

.intl-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.intl { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.intl-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--dark); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.intl-icon .icon { width: 20px; height: 20px; }
.intl p { font-size: 12px; color: var(--muted); line-height: 1.4; }
.intl strong { display: block; color: var(--ink); font-size: 14px; }

/* ---------- 9. Contact ---------- */
.contact { background: var(--dark); color: rgba(255, 255, 255, .8); }
.contact .section-title { color: var(--white); }
.contact .section-sub { color: rgba(255, 255, 255, .65); }
.contact .section-label { color: rgba(255, 255, 255, .6); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list .icon-box { background: rgba(242, 106, 33, .15); }
.contact-list span { display: block; font-size: 13px; color: rgba(255, 255, 255, .5); }
.contact-list a, .contact-list div { color: var(--white); font-weight: 500; }
.contact-list a:hover { color: var(--orange); }

.contact-form { background: var(--surface); border-radius: 18px; padding: 36px; color: var(--text); }
.contact-form h3 { font-size: 24px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px;
  padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg-alt);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--orange); background: var(--surface); box-shadow: 0 0 0 3px rgba(242, 106, 33, .15);
}
.contact-form .invalid { border-color: #dc2626; }
.contact-form .hp { display: none; }
.contact-form button[disabled] { opacity: .7; cursor: wait; transform: none; }
.form-status { margin-top: 14px; font-size: 14px; text-align: center; min-height: 1.4em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* ---------- Footer ---------- */
.site-footer { background: #080a0e; color: rgba(255, 255, 255, .6); padding-top: 72px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin: 18px 0 22px; max-width: 320px; }
.site-footer h4 { color: var(--white); font-size: 16px; margin-bottom: 18px; }
.site-footer a { display: block; margin-bottom: 10px; transition: color .2s; }
.site-footer a:hover { color: var(--orange); }
.site-footer .logo { display: inline-flex; margin: 0; }
.site-footer .logo img { height: 96px; }
.site-footer p { margin-bottom: 8px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); display: flex; align-items: center; justify-content: center; margin: 0; }
.socials a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline; margin: 0; }

/* ---------- Projects page ---------- */
.page-hero { position: relative; background: var(--dark); color: var(--white); overflow: hidden; padding: calc(var(--header-h) + 72px) 0 72px; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(242, 106, 33, .28), transparent 45%),
              linear-gradient(90deg, rgba(13, 15, 20, .97) 30%, rgba(13, 15, 20, .75));
}
.page-hero .container { position: relative; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--orange); }
.page-hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -.02em; }
.page-hero p { margin-top: 16px; max-width: 620px; font-size: 17px; color: rgba(255, 255, 255, .75); }
.page-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 36px; }
.page-stats div { border-left: 3px solid var(--orange); padding-left: 14px; }
.page-stats strong { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; }
.page-stats span { font-size: 13px; color: rgba(255, 255, 255, .65); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; font-weight: 500; color: var(--text); transition: background .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active { background: var(--orange); border-color: var(--orange); color: var(--white); }
.filter-btn span { opacity: .7; margin-left: 4px; }
.is-hidden { display: none !important; }

.details-list { display: grid; gap: 32px; }
.project-detail {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.project-detail:nth-child(even) .poster { order: 2; }
.project-detail .poster { aspect-ratio: 1; border-radius: 14px; }
.project-detail:target { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242, 106, 33, .15); }
.detail-num { font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: .1em; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 99px; background: var(--orange-soft); color: var(--orange); }
.tag.dark { background: var(--ink); color: var(--surface); }
.project-detail h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.01em; }
.project-detail .card-meta { margin-top: 6px; font-size: 14px; color: var(--muted); }
.detail-desc { margin-top: 12px; color: var(--text); }
.detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.detail-facts div { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--bg-alt); }
.detail-facts .icon { width: 20px; height: 20px; color: var(--orange); margin-top: 2px; }
.detail-facts span { display: block; font-size: 12px; color: var(--muted); }
.detail-facts strong { display: block; font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1.4; }
.detail-highlights { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.detail-highlights li { display: flex; gap: 10px; font-size: 14.5px; }
.detail-highlights .icon { width: 18px; height: 18px; color: var(--orange); margin-top: 3px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.detail-actions .text-link { color: var(--muted); }

.cta-band { background: var(--dark); color: var(--white); border-radius: 22px; padding: 56px 48px; display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.cta-band h2 span { color: var(--orange); }
.cta-band p { color: rgba(255, 255, 255, .7); margin-top: 8px; }

/* ---------- WhatsApp + lightbox ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { width: 28px; height: 28px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .9); display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 100%; max-width: 100%; border-radius: 8px; }
.lightbox-close { position: absolute; top: 18px; right: 18px; background: none; border: 0; color: var(--white); }
.lightbox-close .icon { width: 32px; height: 32px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
/* Hero entrance runs on CSS alone so the first screen never depends on JS */
.hero-in { animation: hero-in .9s ease both; }
.hero-in.delay { animation-delay: .25s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-in { animation: none; }
  .map-pin::after { animation: none; }
}

/* =========================================================
   Inner pages: About, Services, Industries, Infrastructure, Locations, Contact
   ========================================================= */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero::before { z-index: 1; }
.page-hero .container { z-index: 2; }
.section.tint { background: var(--bg-alt); }
.block-title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.block-sub { margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 620px; }
.block-head { margin-bottom: 48px; }
.check-list { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; font-size: 15px; }
.check-list .icon { width: 19px; height: 19px; color: var(--orange); margin-top: 3px; }

/* About: story and numbers */
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.story-text p { margin-top: 18px; font-size: 17px; max-width: 62ch; }
.story-photo { position: relative; z-index: 0; }
.story-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.story-photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border: 2px solid var(--orange); border-radius: 22px; }
.ledger { display: grid; grid-template-columns: repeat(4, 1fr); }
.ledger div { padding: 8px 32px; border-left: 1px solid var(--line); }
.ledger div:first-child { padding-left: 0; border-left: 0; }
.ledger strong { display: block; font-size: clamp(38px, 5vw, 68px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--ink); }
.ledger span { font-size: 15px; color: var(--muted); }
.ledger strong span { font-size: inherit; color: inherit; }
.ledger-note { margin-top: 28px; font-size: 13px; color: var(--muted); }
.principle { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; padding: 30px 0; border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle h3 { font-size: 21px; font-weight: 700; }
.principle p { font-size: 16px; max-width: 62ch; }
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { position: relative; display: block; grid-column: span 4; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--dark); color: var(--white); }
.tile.wide { grid-column: span 8; aspect-ratio: auto; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 15, 20, .88), transparent 62%); }
.tile span { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; font-size: 18px; font-weight: 600; line-height: 1.3; }

/* Services: side index and detail rows */
.with-index { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.side-index { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; border-left: 2px solid var(--line); }
.side-index a { padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s, border-color .2s; }
.side-index a:hover, .side-index a.active { color: var(--ink); border-left-color: var(--orange); }
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 8px); }
.feature-row:first-child { padding-top: 0; border-top: 0; }
.feature-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.feature-row .icon-box { margin-bottom: 14px; }
.feature-row h2, .feature-row h3 { font-size: clamp(23px, 2.5vw, 30px); font-weight: 800; letter-spacing: -.01em; }
.feature-row > div > p { margin-top: 10px; }
.feature-row.flip > img { order: 2; }

/* Services: stall layout picker */
.picker { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.plan {
  border-radius: 20px; padding: 16px; color: var(--ink); border: 1px solid var(--line); background-color: var(--surface);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
}
.plan svg { display: block; width: 100%; height: auto; }
.plan text { font-family: inherit; font-size: 13px; font-weight: 500; fill: var(--muted); text-anchor: middle; }
.plan .plan-you { font-size: 17px; font-weight: 700; fill: var(--ink); }
.plan .floor { fill: var(--orange-soft); }
.plan .near rect { fill: var(--bg-alt); stroke: var(--line); }
.plan .wall { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; transition: stroke .25s; }
.plan .aisle { opacity: 0; transition: opacity .25s; }
.plan .near { transition: opacity .25s; }
.plan .aisle text { fill: var(--orange); font-weight: 600; }
.plan .aisle path { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.plan .side.open .wall { stroke: var(--orange); stroke-dasharray: 3 11; }
.plan .side.open .aisle { opacity: 1; }
.plan .side.open .near { opacity: 0; }
.picker-options { display: grid; gap: 10px; }
.picker-option {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; width: 100%; padding: 16px 20px; text-align: left;
  color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.picker-option strong { color: var(--ink); font-size: 17px; }
.picker-option em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--orange); align-self: center; }
.picker-option span { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.picker-option:hover { border-color: var(--orange); }
.picker-option[aria-pressed="true"] { border-color: var(--orange); box-shadow: inset 4px 0 0 var(--orange); }

/* Numbered process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 28px; counter-reset: step; }
.process li { position: relative; padding-top: 62px; counter-increment: step; }
.process li::before {
  content: counter(step); position: absolute; top: 0; left: 0; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--white); font-weight: 700;
}
.process li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 44px; right: -28px; height: 2px; background: var(--line); }
.process h3 { font-size: 17px; font-weight: 700; }
.process p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.industry-panel { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; scroll-margin-top: calc(var(--header-h) + 16px); }
.industry-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark); }
.industry-photo img { width: 100%; height: 100%; object-fit: cover; }
.industry-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 15, 20, .85), transparent 55%); }
.industry-photo h2 { position: absolute; left: 24px; right: 24px; bottom: 18px; z-index: 1; color: var(--white); font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.industry-photo h2 .icon { color: var(--orange); width: 26px; height: 26px; }
.industry-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.industry-body h3 { margin-top: 18px; font-size: 14px; font-weight: 600; }
.industry-body .check-list { margin: 10px 0 20px; }
.industry-body .check-list li { font-size: 14px; }
.industry-body .text-link { margin-top: auto; }

/* Locations: map explorer */
.net-map {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; border: 1px solid var(--line);
  background-color: var(--map-bg); background-image: radial-gradient(var(--map-dot) 1.2px, transparent 1.3px); background-size: 14px 14px;
}
.net-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.net-line { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; opacity: .55; transition: stroke .2s, opacity .2s; }
.net-line.active { stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: none; opacity: 1; }
.net-pin {
  position: absolute; transform: translate(-50%, -9px); display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 0; background: none; border: 0; color: var(--ink);
}
.net-pin i { width: 18px; height: 18px; border-radius: 50%; background: var(--orange); border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--orange); transition: box-shadow .2s; }
.net-pin[data-region="intl"] i { background: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.net-pin span { padding: 2px 9px; border-radius: 99px; background: var(--surface); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); font-size: 12px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.net-pin:hover span { color: var(--orange); }
.net-pin[aria-pressed="true"] { z-index: 2; }
.net-pin[aria-pressed="true"] i { background: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 0 0 7px rgba(242, 106, 33, .28); }
.net-pin[aria-pressed="true"] span { background: var(--orange); color: var(--white); }
.net-pin[hidden], .net-line[hidden] { display: none; }
.net-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.loc-btn { flex: 1 1 130px; padding: 10px 14px; font-size: 14px; color: var(--ink); border-color: var(--line); }
.loc-btn:hover { border-color: var(--orange); color: var(--orange); }

/* Locations: template page, content comes from js/locations.js */
.loc-hero { --hero-rgb: 11, 31, 63; position: relative; display: flex; align-items: center; min-height: 600px; background: rgb(var(--hero-rgb)); color: var(--white); overflow: hidden; }
.loc-hero-bg { position: absolute; inset: 0 0 0 auto; width: 68%; height: 100%; object-fit: cover; object-position: 70% center; }
.loc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgb(var(--hero-rgb)) 32%, rgba(var(--hero-rgb), .82) 50%, rgba(var(--hero-rgb), .08) 78%),
              linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 22%);
}
.loc-hero-inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 48px); padding-bottom: 48px; }
.loc-eyebrow { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; }
.loc-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--orange); }
.loc-hero h1 { margin-top: 14px; max-width: 640px; color: var(--white); font-size: clamp(32px, 4vw, 50px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.loc-accent { color: var(--orange); }
.loc-hero h1 span:not(.loc-accent) { color: inherit; }
.loc-hero-text { margin-top: 16px; max-width: 520px; font-size: 17px; color: rgba(255, 255, 255, .88); }
.loc-badges { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px; font-size: 14px; font-weight: 500; }
.loc-badges li { display: flex; align-items: center; gap: 10px; }
.loc-badges .icon { width: 24px; height: 24px; }
.loc-switch { border-bottom: 1px solid var(--line); background: var(--page); }
.loc-switch .container { display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.loc-switch span { flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.loc-switch-list { display: flex; gap: 8px; overflow-x: auto; padding: 2px; }
.loc-switch .filter-btn { flex-shrink: 0; padding: 7px 16px; }
.loc-section { padding: 48px 0; }
.loc-section.tight { padding: 28px 0 44px; }
.loc-section[hidden] { display: none; }
.loc-title { font-size: clamp(24px, 2.5vw, 32px); font-weight: 700; letter-spacing: -.01em; }
.loc-title.center { text-align: center; }
.loc-rule { display: block; width: 44px; height: 3px; margin: 12px 0 18px; background: var(--orange); }
.loc-rule.center { margin: 14px auto 28px; }
.loc-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 36px; align-items: center; }
.loc-intro img, .loc-why img { width: 100%; object-fit: cover; border-radius: 14px; }
.loc-intro img { aspect-ratio: 2 / 1; height: 100%; min-height: 260px; }
.loc-intro p { margin-top: 12px; font-size: 15.5px; max-width: 68ch; }
.loc-intro .loc-address { margin: 0 0 14px; font-weight: 500; color: var(--ink); line-height: 1.9; }
.loc-address .icon { margin-right: 8px; color: var(--orange); vertical-align: -3px; }
.loc-address a:hover { color: var(--orange); }
.loc-why p { margin-top: 12px; font-size: 15.5px; max-width: 56ch; }
.service-tiles { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; }
.service-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px; text-align: center;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.3;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.service-tile .icon { width: 34px; height: 34px; stroke-width: 1.5; }
.service-tile:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: var(--shadow); color: var(--orange); }
.loc-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; align-items: center; }
.loc-why img { aspect-ratio: 2.3 / 1; min-height: 300px; }
.why-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.why-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink); }
.why-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--orange); color: var(--white); stroke-width: 2.4; }
.loc-lead { margin: 8px auto 28px; text-align: center; }
.venue-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.venue-card { flex: 1 1 240px; max-width: 300px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.venue-card img, .venue-art { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; }
.venue-art { display: flex; align-items: center; justify-content: center; color: var(--white); background: linear-gradient(135deg, #0b1f3f, #1d3f77 62%, var(--orange) 140%); }
.venue-art .icon { width: 44px; height: 44px; stroke-width: 1.2; }
.venue-body { display: flex; gap: 10px; padding: 14px 16px; }
.venue-body > .icon { color: var(--orange); margin-top: 3px; }
.venue-body p { font-size: 13px; color: var(--muted); line-height: 1.4; }
.venue-body strong { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.loc-project-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.loc-project-list a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.loc-project-list strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.loc-project-list .icon { color: var(--orange); }
.loc-project-list a:hover strong { color: var(--orange); }
.loc-faq-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.loc-faq { display: grid; gap: 10px; margin-top: 20px; }
.loc-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.loc-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.loc-faq summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex-shrink: 0; width: 14px; height: 14px; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--ink); transition: transform .2s; }
.faq-plus::after { transform: rotate(90deg); }
.loc-faq details[open] .faq-plus::after { transform: rotate(0); }
.loc-faq details p { padding: 0 16px 14px; font-size: 14.5px; }
.quote-card { padding: 24px 28px; text-align: center; background: var(--bg-alt); border-radius: 14px; }
.quote-card-icon { color: var(--orange); }
.quote-card-icon .icon { width: 42px; height: 42px; stroke-width: 1.5; }
.quote-card h3 { margin-top: 6px; font-size: 21px; font-weight: 700; }
.quote-card p { margin: 10px 0 18px; font-size: 14.5px; }
.quote-card-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.quote-card-actions .btn { flex: 1 1 150px; }
.loc-tools { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: start; }
.loc-tools-sub { margin: 6px 0 16px; font-size: 15px; color: var(--muted); }
.finder-form h3 { font-size: 22px; font-weight: 700; }
.finder-form > p { margin: 4px 0 16px; font-size: 14.5px; color: var(--muted); }
.loc-band { padding: 26px 0; text-align: center; color: var(--white); background: linear-gradient(100deg, #0b1f3f, #14305e); }
.loc-band h2 { color: var(--white); font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; }
.loc-band a { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 17px; }
.loc-band a:hover { color: var(--orange); }

/* Navbar dropdown */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-item > a .icon { width: 13px; height: 13px; transform: rotate(90deg); transition: transform .2s; }
.nav-item:hover > a .icon, .nav-item:focus-within > a .icon { transform: rotate(-90deg); }
.nav-menu {
  position: absolute; top: 100%; left: -18px; z-index: 60; display: grid; grid-template-columns: repeat(2, 130px); gap: 18px;
  margin-top: 8px; padding: 18px; border-radius: 12px; background: #15171d; box-shadow: 0 18px 40px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .08);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu-group b { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .55); }
.main-nav .nav-menu a { display: block; padding: 6px 0; font-size: 14px; color: rgba(255, 255, 255, .88); }
.main-nav .nav-menu a:hover { color: var(--orange); }
.main-nav .nav-menu a::after { display: none; }

/* Locations: nearest office finder */
.finder-form { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.finder-form label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.finder-row { display: flex; gap: 10px; }
.finder-row input { flex: 1; min-width: 0; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 8px; }
.finder-row input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 106, 33, .15); }
.finder-result:not(:empty) { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.finder-result strong { display: block; font-size: 19px; color: var(--ink); }
.finder-result p { margin: 4px 0 14px; font-size: 14px; color: var(--muted); }
.finder-links { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.finder-links button { padding: 0; background: none; border: 0; color: var(--orange); font-size: 14px; font-weight: 600; }
.finder-links button:hover { text-decoration: underline; }

/* Contact page: same form and details on a page-coloured background */
.contact-page .contact-list span { color: var(--muted); }
.contact-page .contact-list a, .contact-page .contact-list div { color: var(--ink); }
.contact-page .contact-list a:hover { color: var(--orange); }
.contact-page .contact-form { border: 1px solid var(--line); box-shadow: var(--shadow); }
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--orange); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(90deg); }
.faq details p { padding: 0 0 22px; max-width: 68ch; }

/* =========================================================
   Night mode: an exhibition hall after dark, warm charcoal lit by orange spots
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .theme-fade, .theme-fade *, .theme-fade *::before, .theme-fade *::after {
    transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s !important;
  }
}

/* Header */
[data-theme="dark"] .site-header.scrolled { background: rgba(17, 17, 19, .82); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 0, 0, .4); }
[data-theme="dark"] .theme-toggle { color: #ffb48a; border-color: rgba(242, 106, 33, .5); box-shadow: 0 0 14px rgba(242, 106, 33, .22); }
[data-theme="dark"] .theme-toggle:hover { border-color: var(--orange); background: var(--orange-soft); }
[data-theme="dark"] .btn-primary { box-shadow: 0 6px 22px rgba(242, 106, 33, .35); }

/* Alternating sections carry a soft spotlight from above */
[data-theme="dark"] .services, [data-theme="dark"] .industries, [data-theme="dark"] .testimonials {
  background: radial-gradient(900px 420px at 50% 0, rgba(242, 106, 33, .08), transparent 70%), var(--bg-alt);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), inset 0 -1px 0 rgba(255, 255, 255, .05);
}

/* Raised cards: light catches the top edge, orange glow on hover */
[data-theme="dark"] .service-card, [data-theme="dark"] .event-card, [data-theme="dark"] .industry-card,
[data-theme="dark"] .infra-card, [data-theme="dark"] .testimonial, [data-theme="dark"] .stat-card,
[data-theme="dark"] .trust-strip, [data-theme="dark"] .project-detail, [data-theme="dark"] .city, [data-theme="dark"] .intl {
  background: linear-gradient(180deg, #242428, #1c1c20);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
[data-theme="dark"] .service-card, [data-theme="dark"] .event-card, [data-theme="dark"] .industry-card,
[data-theme="dark"] .infra-card, [data-theme="dark"] .stat-card, [data-theme="dark"] .city {
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
[data-theme="dark"] .service-card:hover, [data-theme="dark"] .event-card:hover, [data-theme="dark"] .industry-card:hover,
[data-theme="dark"] .infra-card:hover, [data-theme="dark"] .stat-card:hover, [data-theme="dark"] .city:hover {
  border-color: rgba(242, 106, 33, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow-hover);
}
[data-theme="dark"] .city:first-child { background: linear-gradient(180deg, rgba(242, 106, 33, .2), rgba(242, 106, 33, .07)); border-color: var(--orange); }

/* Photos sit slightly dimmed so they don't glare, and light up on hover */
[data-theme="dark"] .service-card img, [data-theme="dark"] .industry-card img, [data-theme="dark"] .infra-card img,
[data-theme="dark"] .testimonial > img, [data-theme="dark"] .infra-main img, [data-theme="dark"] .loc-photo {
  filter: brightness(.88);
  transition: transform .5s, filter .3s;
}
[data-theme="dark"] .service-card:hover img, [data-theme="dark"] .industry-card:hover img,
[data-theme="dark"] .infra-card:hover img, [data-theme="dark"] .testimonial:hover > img { filter: none; }

/* Event logos need a light backing: use warm off-white instead of stark white */
[data-theme="dark"] .poster.is-logo { background: #f1eee9; border-bottom: 0; }

/* Icons and small parts */
[data-theme="dark"] .icon-box, [data-theme="dark"] .avatar { box-shadow: inset 0 0 0 1px rgba(242, 106, 33, .28); }
[data-theme="dark"] .intl-icon { background: var(--orange-soft); color: var(--orange); box-shadow: inset 0 0 0 1px rgba(242, 106, 33, .28); }
[data-theme="dark"] .icon-badge { box-shadow: 0 4px 14px rgba(242, 106, 33, .35); }
[data-theme="dark"] .service-card .circle-link { border-color: var(--line); }
[data-theme="dark"] .client-logos span { color: #8f8c85; }
[data-theme="dark"] .client-logos span:hover { color: var(--ink); }
[data-theme="dark"] .detail-facts div { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
[data-theme="dark"] .tag.dark { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
[data-theme="dark"] .filter-btn { background: rgba(255, 255, 255, .03); }
[data-theme="dark"] .filter-btn:hover { border-color: var(--orange); }
[data-theme="dark"] .filter-btn.active { background: var(--orange); box-shadow: 0 4px 16px rgba(242, 106, 33, .35); }
[data-theme="dark"] .project-detail:target { box-shadow: 0 0 0 4px rgba(242, 106, 33, .2); }

/* Map */
[data-theme="dark"] .map {
  background-image: radial-gradient(circle at 42% 55%, rgba(242, 106, 33, .13), transparent 62%),
                    radial-gradient(var(--map-dot) 1.2px, transparent 1.3px);
  background-size: 100% 100%, 14px 14px;
}
[data-theme="dark"] .map-pin { background: #27272c; box-shadow: 0 0 0 1px var(--line), 0 6px 16px rgba(0, 0, 0, .5); }

/* Inner pages */
[data-theme="dark"] .industry-panel, [data-theme="dark"] .picker-option { background: linear-gradient(180deg, #242428, #1c1c20); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
[data-theme="dark"] .picker-option[aria-pressed="true"] { box-shadow: inset 4px 0 0 var(--orange), 0 0 26px rgba(242, 106, 33, .14); }
[data-theme="dark"] .plan { background-color: #18181b; }
[data-theme="dark"] .plan .near rect { fill: #242428; }
[data-theme="dark"] .feature-row img, [data-theme="dark"] .story-photo img { filter: brightness(.9); }
[data-theme="dark"] .section.tint { background: radial-gradient(900px 420px at 50% 0, rgba(242, 106, 33, .08), transparent 70%), var(--bg-alt); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), inset 0 -1px 0 rgba(255, 255, 255, .05); }
[data-theme="dark"] .finder-form, [data-theme="dark"] .quote-card, [data-theme="dark"] .service-tile, [data-theme="dark"] .venue-card { background: linear-gradient(180deg, #242428, #1c1c20); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow); }
[data-theme="dark"] .net-map { background-image: radial-gradient(circle at 54% 40%, rgba(242, 106, 33, .13), transparent 60%), radial-gradient(var(--map-dot) 1.2px, transparent 1.3px); background-size: 100% 100%, 14px 14px; }
[data-theme="dark"] .net-pin span { background: #27272c; box-shadow: 0 0 0 1px var(--line), 0 4px 12px rgba(0, 0, 0, .5); }
[data-theme="dark"] .net-pin[aria-pressed="true"] span { background: var(--orange); }
[data-theme="dark"] .finder-row input { background: #141417; border-color: rgba(255, 255, 255, .12); }

[data-theme="dark"] .loc-hero { --hero-rgb: 17, 17, 19; }
[data-theme="dark"] .loc-band { background: radial-gradient(600px 200px at 50% 0, rgba(242, 106, 33, .2), transparent 70%), #17171a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
[data-theme="dark"] .venue-art { background: linear-gradient(135deg, #1c1c20, #2a2a30 60%, rgba(242, 106, 33, .55) 140%); }
[data-theme="dark"] .loc-faq details { background: #1c1c20; }
[data-theme="dark"] .loc-intro img, [data-theme="dark"] .loc-why img { filter: brightness(.9); }
/* Contact, call-to-action band and footer */
[data-theme="dark"] .contact { background: radial-gradient(760px 520px at 85% 15%, rgba(242, 106, 33, .13), transparent 70%), #0c0c0e; }
[data-theme="dark"] .contact-form {
  background: linear-gradient(180deg, #252529, #1c1c20);
  box-shadow: 0 0 0 1px var(--line), inset 0 2px 0 var(--orange), 0 28px 60px rgba(0, 0, 0, .5);
}
[data-theme="dark"] .contact-form input, [data-theme="dark"] .contact-form select, [data-theme="dark"] .contact-form textarea { background: #141417; border-color: rgba(255, 255, 255, .12); }
[data-theme="dark"] .contact-form input:focus, [data-theme="dark"] .contact-form select:focus, [data-theme="dark"] .contact-form textarea:focus { background: #18181b; border-color: var(--orange); }
[data-theme="dark"] .contact-form .invalid { border-color: var(--err); }
[data-theme="dark"] .cta-band {
  background: radial-gradient(600px 300px at 90% 50%, rgba(242, 106, 33, .22), transparent 70%), #17171a;
  box-shadow: 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .05);
}
[data-theme="dark"] .site-footer { background: #09090a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav { gap: 18px; }
  .header-cta { display: none; }
}

@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .loc-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-poster { aspect-ratio: 16 / 9; }
  .infra-head { grid-template-columns: 1fr; gap: 28px; }
  .infra-points { padding-left: 0; border-left: 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(3) { border-left: 0; }
  .hero-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .testimonial { flex-basis: calc((100% - 24px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-detail { grid-template-columns: 1fr; gap: 24px; }
  .project-detail:nth-child(even) .poster { order: 0; }
  .project-detail .poster { aspect-ratio: 4 / 3; }

  .story, .picker, .loc-intro, .loc-why, .loc-faq-grid, .loc-tools { grid-template-columns: 1fr; gap: 44px; }
  .story-photo img { aspect-ratio: 16 / 10; }
  .with-index { grid-template-columns: 1fr; gap: 32px; }
  .side-index { position: static; display: flex; overflow-x: auto; gap: 8px; border-left: 0; margin: 0 -24px; padding: 0 24px 6px; }
  .side-index a { flex-shrink: 0; margin: 0; padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; }
  .side-index a:hover, .side-index a.active { border-color: var(--orange); }
  .process { grid-template-columns: 1fr; gap: 0; }
  .process li { padding: 0 0 30px 64px; }
  .process li:not(:last-child)::after { top: 44px; bottom: 0; left: 21px; right: auto; width: 2px; height: auto; }
  .ledger { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .ledger div:nth-child(3) { padding-left: 0; border-left: 0; }

  .service-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .loc-hero-bg { width: 100%; opacity: .55; }
  .loc-hero::before { background: linear-gradient(90deg, rgb(var(--hero-rgb)) 8%, rgba(var(--hero-rgb), .55)); }
  .loc-intro img, .loc-why img { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
  .main-nav .nav-item > a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 16px; }
  .main-nav .nav-item > a::after { display: none; }
  .nav-menu { position: static; opacity: 1; visibility: visible; transform: none; margin: 0; padding: 14px 0 6px 12px; grid-template-columns: repeat(2, 1fr); background: none; box-shadow: none; }
  .nav-menu::before { display: none; }

  /* Mobile menu */
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 24px 28px;
    background: rgba(13, 15, 20, .98);
    transform: translateY(-120%); transition: transform .35s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: none; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 16px; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 20px; }
  .site-header.menu-open { background: rgba(13, 15, 20, .98); }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .hero-inner { padding-top: calc(var(--header-h) + 36px); }
  .hero::before { background: linear-gradient(180deg, rgba(13, 15, 20, .82) 0%, rgba(13, 15, 20, .78) 60%, rgba(13, 15, 20, .95) 100%); }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .section-sub { font-size: 15.5px; }
  .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .logo img { height: 54px; }
  .site-footer .logo img { height: 84px; }
  .about-poster { aspect-ratio: 1; }
  .poster-overlay { padding: 24px; }
  .poster-overlay img { height: 80px; }
  .eyebrow { font-size: 11px; letter-spacing: .16em; }
  .hero-text { font-size: 16px; }
  .hero-buttons .btn { flex: 1 1 100%; }
  .hero-stats { margin-top: 44px; }
  .hero-stat { padding: 18px 14px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .hero-stat > .icon { width: 28px; height: 28px; }
  .hero-stat strong { font-size: 22px; }
  .hero-stat span { font-size: 12px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { flex-direction: column; align-items: flex-start; padding: 18px; gap: 12px; }
  .stat-card .icon-box { width: 44px; height: 44px; }
  .stat-card strong { font-size: 26px; }
  .stat-card span { font-size: 12.5px; }
  .infra-main img { aspect-ratio: 4 / 3; }
  .page-hero { padding: calc(var(--header-h) + 40px) 0 48px; }
  .page-stats { gap: 14px 24px; }
  .page-stats strong { font-size: 24px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 28px; padding: 0 16px 6px; }
  .filter-btn { flex-shrink: 0; }
  .project-detail { padding: 16px; gap: 20px; }
  .detail-facts { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .slider { padding: 0; }
  .slider-btn { display: none; }
  .testimonial { flex-basis: 100%; }
  .trust-strip { grid-template-columns: 1fr; }
  .city-row { grid-template-columns: repeat(3, 1fr); }
  .intl-row { grid-template-columns: 1fr; }
  .map-pin { font-size: 10px; padding: 2px 7px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .block-head { margin-bottom: 32px; }
  .block-sub { font-size: 15.5px; }
  .story-text p { font-size: 16px; }
  .story-photo::after { inset: 10px -8px -10px 8px; }
  .principle { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .tile, .tile.wide { grid-column: span 12; aspect-ratio: 16 / 10; }
  .side-index { margin: 0 -16px; padding: 0 16px 6px; }
  .feature-row { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .feature-row.flip > img { order: 0; }
  .industry-grid { grid-template-columns: 1fr; }
  .net-map { aspect-ratio: 4 / 3; }
  .net-pin span { font-size: 10.5px; padding: 1px 7px; }
  .finder-form { padding: 20px; }
  .finder-row { flex-direction: column; }
  .ledger div { padding: 4px 16px; }
  .loc-hero { min-height: 0; }
  .loc-hero-text { font-size: 15.5px; }
  .loc-badges { gap: 12px 22px; margin-top: 26px; font-size: 13px; }
  .loc-switch .container { flex-direction: column; align-items: flex-start; gap: 8px; }
  .loc-switch-list { width: 100%; }
  .service-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .service-tile { font-size: 12px; padding: 14px 4px; }
  .service-tile .icon { width: 28px; height: 28px; }
  .venue-card { max-width: none; }
  .loc-project-list { grid-template-columns: 1fr; }
  .whatsapp-float { width: 50px; height: 50px; right: 16px; bottom: 16px; }
}
