/* ==========================================================================
   Migdalim Property Group — shared stylesheet
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
::selection { background: rgba(21, 41, 78, .16); }

:root {
  --navy: #15294e;
  --text: #15294e;
  --bg: #ffffff;
  --grad: #f6f8fd;
  --surface: #ffffff;
  --surface-2: #f6f8fd;
  --muted: #566179;
  --muted-2: #667089;
  --border: #eef1f7;
  --border-2: #e3e8f2;
  --input-bg: #fafbfe;
  --chip: #f0f3fa;
  --footer-bg: #0f1f3d;
  --header-bg: rgba(255, 255, 255, .82);
  --accent: #2e6fd4;
  --accent-text: #ffffff;
  --accent-soft: rgba(46, 111, 212, .12);

  --font-serif: 'DM Serif Display', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --container: 1180px;
}

:root[data-theme="dark"] {
  --navy: #2e6fd4;
  --text: #eaf0fb;
  --bg: #0a1322;
  --grad: #0e1c33;
  --surface: #111f38;
  --surface-2: #0d1830;
  --muted: #9fb0cd;
  --muted-2: #8fa1c0;
  --border: #1d2c47;
  --border-2: #27395d;
  --input-bg: #0e1a30;
  --chip: #1a2944;
  --footer-bg: #060e1b;
  --header-bg: rgba(11, 20, 36, .82);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .45s ease, color .45s ease;
}

a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------------- Animations ---------------- */
@keyframes mg-float-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(28px, -34px) scale(1.06); } }
@keyframes mg-float-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, 26px) scale(1.08); } }
@keyframes mg-spin { to { transform: rotate(360deg); } }
@keyframes mg-spin-rev { to { transform: rotate(-360deg); } }
@keyframes mg-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes mg-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mg-kenburns { 0% { transform: translateZ(0) scale(1.34); } 100% { transform: translateZ(0) scale(1.44); } }

.mg-in { opacity: 0; animation: mg-in .7s ease forwards; }
.mg-in-1 { animation-delay: .05s; }
.mg-in-2 { animation-delay: .15s; }
.mg-in-3 { animation-delay: .26s; }
.mg-in-4 { animation-delay: .36s; }
.mg-in-5 { animation-delay: .4s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .45s ease, border-color .45s ease;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 13px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}
.logo-link img { height: 44px; width: auto; display: block; }
.logo-text { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.wordmark { font-family: var(--font-serif); font-size: 25px; line-height: 1; letter-spacing: .01em; color: var(--text); }
.kicker { font-size: 9.5px; letter-spacing: .32em; color: #8a93a8; text-transform: uppercase; font-weight: 700; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  background: transparent;
  color: var(--muted);
  border: none;
  cursor: pointer;
  padding: 9px 16px;
  border-radius: 999px;
  font: 600 14.5px/1 var(--font-sans);
  text-decoration: none;
  display: inline-block;
  transition: background .2s, color .2s;
}
.nav-link:hover { background: var(--chip); }
.nav-link.active { background: var(--chip); color: var(--text); }
:root[data-theme="dark"] .nav-link.active { background: #1c2c49; }

.theme-toggle {
  margin-left: 4px;
  width: 40px;
  height: 40px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--chip);
  color: var(--text);
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-size: 17px;
  transition: background .2s, transform .25s;
}
.theme-toggle:hover { transform: translateY(-2px); }

.btn-cta-desktop {
  margin-left: 4px;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 11px 22px;
  border-radius: 999px;
  font: 700 14px/1 var(--font-sans);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(21, 41, 78, .22);
  transition: transform .25s, box-shadow .25s;
}
.btn-cta-desktop:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(21, 41, 78, .3); }

.burger {
  display: none;
  margin-left: 4px;
  width: 42px;
  height: 42px;
  flex: none;
  align-items: center;
  justify-content: center;
  background: var(--chip);
  color: var(--text);
  border: none;
  cursor: pointer;
  border-radius: 12px;
  font-size: 19px;
  line-height: 1;
}

.mobile-panel {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  z-index: 55;
  flex-direction: column;
  gap: 4px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 22px 44px rgba(13, 33, 72, .20);
  padding: 14px 22px 22px;
}
.mobile-panel.is-open { display: flex; }
.mobile-link {
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 10px;
  border-radius: 12px;
  font: 600 16.5px var(--font-sans);
  color: var(--text);
  text-decoration: none;
  display: block;
}
.mobile-link:hover { background: var(--chip); }
.mobile-cta {
  margin-top: 10px;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 15px;
  border-radius: 999px;
  font: 700 15px var(--font-sans);
  text-decoration: none;
  text-align: center;
  box-shadow: 0 10px 24px rgba(21, 41, 78, .22);
}

@media (max-width: 840px) {
  .nav-links { display: none !important; }
  .btn-cta-desktop { display: none !important; }
  .burger { display: flex !important; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  padding: 15px 30px;
  border-radius: 999px;
  font: 700 15px/1 var(--font-sans);
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 26px rgba(21, 41, 78, .22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(21, 41, 78, .3); }
.btn-outline { background: var(--surface); color: var(--text); border: 1.5px solid var(--border-2); }
.btn-outline:hover { transform: translateY(-2px); border-color: var(--navy); }
.btn-white { background: #fff; color: #15294e; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.btn-white:hover { transform: translateY(-3px); }
.btn-accent { background: var(--accent); color: var(--accent-text); box-shadow: 0 10px 26px var(--accent-soft); }
.btn-accent:hover { transform: translateY(-2px); }

/* ---------------- Hero (Home / About) ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--grad) 0%, var(--bg) 100%);
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 42%;
  transform-origin: 46% 42%;
  will-change: transform;
  backface-visibility: hidden;
  animation: mg-kenburns 44s linear infinite alternate;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, var(--bg) 26%, color-mix(in srgb, var(--bg) 42%, transparent) 58%, transparent 100%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(8px); pointer-events: none; }
.blob-a { top: -120px; right: -80px; width: 460px; height: 460px; background: radial-gradient(circle at 30% 30%, rgba(46, 111, 212, .22), transparent 70%); animation: mg-float-a 16s ease-in-out infinite; z-index: 1; }
.blob-b { bottom: -140px; left: -100px; width: 420px; height: 420px; background: radial-gradient(circle at 50% 50%, rgba(21, 41, 78, .14), transparent 70%); animation: mg-float-b 19s ease-in-out infinite; }

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) 28px clamp(60px, 7vw, 100px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
h1 {
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0 0 22px;
  color: var(--text);
}
.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.62;
  color: var(--muted);
  max-width: 31em;
  margin: 0 0 34px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- Orbit graphic ---------------- */
.orbit {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit.orbit-sm { max-width: 380px; }
.ring { position: absolute; border-radius: 50%; border: 2px solid transparent; }
.ring-1 { width: 92%; height: 92%; border-top-color: rgba(21, 41, 78, .5); border-right-color: rgba(46, 111, 212, .4); animation: mg-spin 18s linear infinite; }
.ring-2 { width: 70%; height: 70%; border-top-color: rgba(47, 138, 68, .55); border-left-color: rgba(216, 35, 42, .4); animation: mg-spin-rev 14s linear infinite; }
.ring-3 { width: 48%; height: 48%; border-bottom-color: rgba(232, 169, 12, .7); border-right-color: rgba(21, 41, 78, .3); animation: mg-spin 22s linear infinite; }

.orbit-sm .ring-1 { width: 90%; height: 90%; border-top-color: rgba(21, 41, 78, .45); border-right-color: rgba(46, 111, 212, .4); animation-duration: 20s; }
.orbit-sm .ring-2 { width: 64%; height: 64%; border-bottom-color: rgba(47, 138, 68, .5); border-top-color: transparent; border-left-color: transparent; animation-duration: 15s; }
.orbit-sm .ring-3 { width: 46%; height: 46%; border-bottom-color: rgba(232, 169, 12, .6); border-right-color: rgba(21, 41, 78, .3); animation-duration: 22s; }

.orbit-dot {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 33% 27%, rgba(255, 255, 255, .65), rgba(255, 255, 255, 0) 52%), var(--dot-color);
  box-shadow: 0 0 0 5px var(--dot-glow), 0 6px 13px rgba(0, 0, 0, .22), inset 0 -4px 7px rgba(0, 0, 0, .33), inset 0 3px 6px rgba(255, 255, 255, .30);
  animation: mg-bob 5.6s ease-in-out infinite;
}
.orbit-sm .orbit-dot { width: 20px; height: 20px; }
.dot-top { top: 2%; left: 50%; margin-left: -11px; animation-delay: 0s; }
.dot-tr { top: 30%; right: 3%; animation-delay: .4s; }
.dot-br { bottom: 8%; right: 18%; animation-delay: .8s; }
.dot-bl { bottom: 8%; left: 18%; animation-delay: 1.2s; }
.dot-l { top: 30%; left: 3%; animation-delay: 1.6s; }
.dot-management { --dot-color: #64748b; --dot-glow: rgba(100, 116, 139, .16); }
.dot-compliance { --dot-color: #2f8a44; --dot-glow: rgba(47, 138, 68, .16); }
.dot-security { --dot-color: #1e3a72; --dot-glow: rgba(30, 58, 114, .18); }
.dot-maintenance { --dot-color: #e8a90c; --dot-glow: rgba(232, 169, 12, .18); }
.dot-fire-safety { --dot-color: #d8232a; --dot-glow: rgba(216, 35, 42, .16); }

.orbit-core {
  position: relative;
  width: 47%;
  height: 47%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, #5285c8 0%, #234a8c 42%, #0d2148 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 28px 58px rgba(13, 33, 72, .42), inset 0 -18px 34px rgba(0, 0, 0, .4), inset 0 16px 30px rgba(255, 255, 255, .22);
  animation: mg-bob 7s ease-in-out infinite;
}
.orbit-sm .orbit-core { width: 45%; height: 45%; }
.orbit-core-glare {
  position: absolute;
  top: 11%;
  left: 17%;
  width: 36%;
  height: 27%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 70%);
  filter: blur(3px);
  pointer-events: none;
}
.orbit-core img { position: relative; width: 52%; height: 52%; object-fit: contain; }

/* Small badge orbit used on Divisions cards */
.badge-orbit {
  position: relative;
  width: 52px;
  height: 52px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-ring-1 { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--accent); border-right-color: var(--accent-border); animation: mg-spin 14s linear infinite; }
.badge-ring-2 { position: absolute; width: 68%; height: 68%; border-radius: 50%; border: 2px solid transparent; border-bottom-color: var(--accent); border-left-color: var(--accent-soft); animation: mg-spin-rev 10s linear infinite; }
.badge-sphere { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 33% 27%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 52%), var(--accent); box-shadow: 0 6px 12px rgba(0, 0, 0, .18), inset 0 -4px 7px rgba(0, 0, 0, .32), inset 0 3px 5px rgba(255, 255, 255, .28); }

/* ---------------- Divisions teaser (Home) ---------------- */
.section { max-width: var(--container); margin: 0 auto; padding: clamp(64px, 7vw, 100px) 28px; }
.section-heading { text-align: center; max-width: 40em; margin: 0 auto 52px; }
.section-heading h2 { margin: 0 0 16px; }
.section-heading p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; }
h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.025em; color: var(--text); }

.divisions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.division-card {
  text-align: left;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(21, 41, 78, .06);
  text-decoration: none;
  color: inherit;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.division-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(21, 41, 78, .14); border-color: var(--accent-border); }
.division-card-logo { border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.division-card-logo img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.division-card-row { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 4px; gap: 8px; }
.division-card-row .name { font-weight: 700; font-size: 15.5px; color: var(--text); }
.division-arrow {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
}
.division-underline { height: 4px; border-radius: 999px; background: var(--accent); }

/* ---------------- Why band ---------------- */
.band { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(64px, 7vw, 100px) 28px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.why-grid h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 20px; }
.why-grid p { font-size: 17px; line-height: 1.68; color: var(--muted); margin: 0; max-width: 34em; }
.values-stack { display: flex; flex-direction: column; gap: 16px; }
.value-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 24px 26px; box-shadow: 0 6px 20px rgba(21, 41, 78, .05);
  display: flex; gap: 18px; align-items: flex-start; transition: box-shadow .3s;
}
.value-card:hover { box-shadow: 0 14px 32px rgba(21, 41, 78, .1); }
.value-num {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(140deg, #234580, #15294e); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 18px;
}
.value-title { font-weight: 700; font-size: 17px; color: var(--text); margin-bottom: 5px; }
.value-body { font-size: 15px; line-height: 1.6; color: var(--muted-2); }

/* Larger value cards used on About page */
.value-card-lg { padding: 30px; border-radius: 22px; flex-direction: column; align-items: flex-start; }
.value-card-lg .value-num { width: 48px; height: 48px; border-radius: 15px; font-size: 19px; margin-bottom: 18px; }
.value-card-lg .value-title { font-size: 19px; margin-bottom: 9px; }
.value-card-lg .value-body { font-size: 15.5px; line-height: 1.62; }
.value-card-lg:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(21, 41, 78, .1); }

/* ---------------- CTA banner ---------------- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: 32px; background: #15294e;
  padding: clamp(40px, 5vw, 72px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-banner-photo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; object-fit: cover; }
.cta-banner-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(125deg, rgba(21, 41, 78, .93) 0%, rgba(31, 58, 107, .86) 60%, rgba(46, 111, 212, .82) 130%); }
.cta-ring { position: absolute; z-index: 2; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .12); }
.cta-ring-1 { top: -80px; right: -40px; width: 320px; height: 320px; animation: mg-spin 26s linear infinite; }
.cta-ring-2 { top: -30px; right: 10px; width: 220px; height: 220px; border-color: rgba(255, 255, 255, .1); animation: mg-spin-rev 20s linear infinite; }
.cta-banner-content { position: relative; z-index: 2; }
.cta-banner h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 12px; color: #fff; }
.cta-banner-content p, .cta-banner > h2 { font-size: 17px; line-height: 1.6; color: #c4d2ec; margin: 0; max-width: 34em; }
.cta-banner .btn { position: relative; z-index: 2; flex: none; }

/* ---------------- Divisions page ---------------- */
.divisions-hero {
  position: relative; overflow: hidden; background: linear-gradient(180deg, var(--grad), var(--bg));
}
.divisions-hero-inner {
  position: relative; max-width: var(--container); margin: 0 auto;
  padding: clamp(56px, 6vw, 88px) 28px clamp(36px, 4vw, 56px);
  max-width: 46em;
}
.divisions-hero-inner h1 { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.03; }
.divisions-hero-inner p { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--muted); margin: 0; }

.divisions-list { max-width: var(--container); margin: 0 auto; padding: 0 28px clamp(64px, 7vw, 100px); display: flex; flex-direction: column; gap: 28px; }
.division-section {
  position: relative; scroll-margin-top: 96px; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 60%);
  box-shadow: 0 10px 30px rgba(21, 41, 78, .06);
}
.division-photo-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; object-fit: cover; }
.division-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    color-mix(in srgb, color-mix(in srgb, var(--accent) 30%, var(--surface)) 91%, transparent) 0%,
    color-mix(in srgb, color-mix(in srgb, var(--accent) 15%, var(--surface)) 84%, transparent) 48%,
    color-mix(in srgb, var(--surface) 80%, transparent) 100%);
}
.division-content {
  position: relative; z-index: 2; padding: clamp(18px, 2.1vw, 26px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(20px, 3vw, 40px); align-items: center;
}
.division-logo-frame {
  width: 100%; max-width: 170px; border-radius: 18px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 12px 28px rgba(21, 41, 78, .1);
}
.division-logo-frame img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.division-heading-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.division-heading-row h2 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.05; letter-spacing: -.02em; margin: 0; }
.division-desc { font-size: 14.5px; line-height: 1.5; color: var(--muted); margin: 0 0 14px; max-width: 36em; }
.division-points { display: flex; flex-wrap: wrap; gap: 7px 8px; margin-bottom: 18px; }
.division-point {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 8px;
  border-radius: 999px; background: var(--accent-soft); font-size: 12.5px; font-weight: 600; color: var(--text);
}
.division-point-check {
  flex: none; width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800;
}
.division-enquire {
  background: var(--accent); color: var(--accent-text); border: none; cursor: pointer;
  padding: 11px 22px; border-radius: 999px; font: 700 14px/1 var(--font-sans);
  text-decoration: none; display: inline-block;
  box-shadow: 0 8px 20px var(--accent-soft); transition: transform .25s;
}
.division-enquire:hover { transform: translateY(-2px); }

/* Per-division accent scoping */
.acc-management { --accent: #64748b; --accent-text: #ffffff; --accent-soft: rgba(100, 116, 139, .12); --accent-border: rgba(100, 116, 139, .4); }
.acc-compliance { --accent: #2f8a44; --accent-text: #ffffff; --accent-soft: rgba(47, 138, 68, .12); --accent-border: rgba(47, 138, 68, .4); }
.acc-security { --accent: #1e3a72; --accent-text: #ffffff; --accent-soft: rgba(30, 58, 114, .12); --accent-border: rgba(30, 58, 114, .4); }
.acc-maintenance { --accent: #e8a90c; --accent-text: #15294e; --accent-soft: rgba(232, 169, 12, .12); --accent-border: rgba(232, 169, 12, .4); }
.acc-fire-safety { --accent: #d8232a; --accent-text: #ffffff; --accent-soft: rgba(216, 35, 42, .12); --accent-border: rgba(216, 35, 42, .4); }

/* ---------------- About page ---------------- */
.about-hero-inner {
  position: relative; z-index: 2; max-width: var(--container); margin: 0 auto;
  padding: clamp(56px, 6vw, 88px) 28px clamp(48px, 5vw, 72px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.about-hero-inner h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.03; }
.about-hero-inner p { font-size: 17.5px; line-height: 1.68; color: var(--muted); margin: 0 0 18px; max-width: 34em; }

/* ---------------- Contact page ---------------- */
.contact-section { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--grad), var(--bg)); }
.contact-photo-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; object-fit: cover; }
.contact-photo-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(112deg,
    color-mix(in srgb, var(--bg) 92%, transparent) 0%,
    color-mix(in srgb, var(--bg) 80%, transparent) 54%,
    color-mix(in srgb, var(--bg) 62%, transparent) 100%);
}
.contact-grid {
  position: relative; z-index: 2; max-width: var(--container); margin: 0 auto;
  padding: clamp(56px, 6vw, 88px) 28px clamp(64px, 7vw, 100px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 5vw, 64px); align-items: start;
}
.contact-chip {
  display: flex; align-items: center; gap: 10px; background: var(--accent-soft); color: var(--accent);
  padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; width: fit-content; margin-bottom: 18px;
}
.contact-chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: block; }
.contact-left h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.03; }
.contact-left > p { font-size: 17.5px; line-height: 1.68; color: var(--muted); margin: 0 0 40px; max-width: 30em; }
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.contact-info-row {
  display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 18px 22px; box-shadow: 0 6px 18px rgba(21, 41, 78, .05);
  text-decoration: none; color: inherit;
}
.contact-info-icon {
  flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-info-label { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a93a8; display: block; }
.contact-info-value { font-size: 16px; color: var(--text); font-weight: 600; display: block; }

.contact-form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 28px;
  padding: clamp(26px, 3.5vw, 40px); box-shadow: 0 16px 44px rgba(21, 41, 78, .1);
  border-top: 4px solid var(--accent);
}
.form-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 700; color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-field input, .form-field select, .form-field textarea {
  font: 400 15px var(--font-sans); padding: 13px 15px; border: 1.5px solid var(--border-2);
  border-radius: 13px; background: var(--input-bg); color: var(--text);
}
.form-field textarea { font: 400 15px/1.5 var(--font-sans); resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent); outline: none; }
.form-submit {
  margin-top: 4px; background: var(--accent); color: var(--accent-text); border: none; cursor: pointer;
  padding: 15px 30px; border-radius: 999px; font: 700 15px/1 var(--font-sans);
  box-shadow: 0 10px 26px var(--accent-soft); transition: transform .25s;
}
.form-submit:hover { transform: translateY(-2px); }
.form-error { font-size: 13.5px; color: #d8232a; margin: -8px 0 0; }

.success-state { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 0; }
.success-check {
  width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.success-state h2 { font-weight: 800; font-size: 26px; margin: 6px 0 0; color: var(--text); letter-spacing: -.02em; }
.success-state p { font-size: 16px; line-height: 1.6; color: var(--muted-2); margin: 0; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--footer-bg); color: #c4cdde; transition: background .45s ease; }
.footer-grid {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(48px, 5vw, 72px) 28px clamp(28px, 3vw, 40px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px;
}
.footer-brand { grid-column: 1 / -1; max-width: 26em; }
.footer-wordmark { font-family: var(--font-serif); font-size: 26px; color: #fff; margin-bottom: 3px; }
.footer-kicker { font-size: 9.5px; letter-spacing: .32em; color: #7e8aa6; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; line-height: 1.65; color: #93a0bd; margin: 0; }
.footer-col-title { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7e8aa6; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.footer-links a { background: none; border: none; cursor: pointer; padding: 0; font: 500 15px var(--font-sans); color: #c4cdde; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 11px; font-size: 15px; color: #93a0bd; }
.footer-contact a { color: #93a0bd; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08); max-width: var(--container); margin: 0 auto;
  padding: 20px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13px; color: #6b7793;
}

@media (max-width: 600px) {
  .cta-banner { padding: 32px 24px; }
}
