/* =================================================================
   Hilalal Emarate — DESIGN SYSTEM
   Palette   : Deep construction navy + drafting-blueprint grid +
               warm brass/gold accent (permit stamp) + concrete gray
   Type      : Space Grotesk (display) / Inter (body) / IBM Plex Mono (data)
   Signature : Blueprint grid backgrounds, corner registration marks,
               animated dimension-line dividers, permit-stamp badges
================================================================= */

:root {
  --navy-900: #081527;
  --navy-800: #0b2038;
  --navy-700: #0f2a44;
  --navy-600: #163a5c;
  --blue-line: #2f6fb0;
  --gold: #c9a24b;
  --gold-light: #e3c579;
  --paper: #f6f4ee;
  --paper-dim: #eeeadf;
  --concrete: #6b7280;
  --concrete-100: #e7e7e3;
  --ink: #101820;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 20px 50px -20px rgba(8, 21, 39, .35);
  --shadow-card: 0 10px 30px -12px rgba(8, 21, 39, .25);
  --ff-display: 'Space Grotesk', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --ff-mono: 'IBM Plex Mono', monospace;
  --container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--ff-display);
  margin: 0 0 .5em;
  line-height: 1.15;
  color: var(--navy-900);
}

p {
  line-height: 1.7;
  color: #3b4552;
  margin: 0 0 1em;
}

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

.hide-sm {
  display: inline-flex;
}

@media(max-width:760px) {
  .hide-sm {
    display: none;
  }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  position: relative;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-mark span {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 34px;
  color: var(--gold);
}

.loader-mark svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.loader-mark circle {
  fill: none;
  stroke: rgba(201, 162, 75, .25);
  stroke-width: 3;
}

.loader-mark svg::after {
  content: '';
}

.loader-mark circle {
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  animation: loaderRing 1.4s ease-in-out infinite;
  stroke: var(--gold);
}

@keyframes loaderRing {
  0% {
    stroke-dashoffset: 327;
  }

  50% {
    stroke-dashoffset: 60;
  }

  100% {
    stroke-dashoffset: 327;
  }
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-900);
  color: #c8d3e0;
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 8px 24px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.topbar-item i {
  color: var(--gold);
  font-size: 12px;
}

.topbar-item a {
  color: #c8d3e0;
}

.topbar-social {
  margin-left: auto;
  display: flex;
  gap: 12px;
}

.topbar-social a {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: .25s;
}

.topbar-social a:hover {
  background: var(--gold);
  color: var(--navy-900);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(11, 32, 56, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  color: var(--navy-900);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -4px rgba(201, 162, 75, .6);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  color: var(--white);
  font-family: var(--ff-display);
  font-size: 17px;
  letter-spacing: .2px;
}

.brand-text small {
  color: var(--gold-light);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.main-nav a {
  color: #dbe4ef;
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  position: relative;
  transition: .25s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.main-nav a.cta-link {
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 700;
  margin-left: 6px;
}

.main-nav a.cta-link:hover {
  background: var(--gold-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media(max-width:980px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 30%;
    top: 0;
    height: 100vh;
    background: var(--navy-900);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 2px;
    transform: translateX(100%);
    transition: transform .4s ease;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    width: 100%;
    font-size: 19px;
    padding: 14px 10px;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ---------- Dropdown (About submenu) ---------- */
.nav-item {
  position: relative;
}

.nav-item>a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.drop-caret {
  font-size: 10px;
  transition: transform .25s;
}

.nav-item.has-dropdown:hover .drop-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .25s ease;
  z-index: 50;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: #dbe4ef;
  white-space: nowrap;
}

.dropdown-menu a i {
  color: var(--gold);
  width: 16px;
  font-size: 13px;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

@media(max-width:980px) {
  .nav-item {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, .04);
    box-shadow: none;
    margin: 2px 0 10px 10px;
    border: 0;
    padding: 0;
  }

  .dropdown-menu a {
    font-size: 15.5px;
    padding: 10px;
  }

  .drop-caret {
    display: none;
  }
}

/* ---------- Certificate cards ---------- */
.cert-category {
  margin-bottom: 54px;
}

.cert-category-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.cert-category-head .icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.cert-category-head h3 {
  margin: 0;
  font-size: 20px;
}

.cert-category-head span {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--concrete);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cert-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11, 32, 56, .08);
  box-shadow: var(--shadow-card);
  transition: transform .3s, box-shadow .3s;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -16px rgba(8, 21, 39, .28);
}

.cert-thumb {
  aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(45deg, #eef1f5, #eef1f5 10px, #e6eaf0 10px, #e6eaf0 20px);
  border-bottom: 1px dashed rgba(11, 32, 56, .15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #a6b0bd;
  position: relative;
}

.cert-thumb i {
  font-size: 30px;
  color: #b7c0cc;
}

.cert-thumb span {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9aa4b0;
}

.cert-thumb::before,
.cert-thumb::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(201, 162, 75, .4);
}

.cert-thumb::before {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}

.cert-thumb::after {
  bottom: 10px;
  right: 10px;
  border-left: 0;
  border-top: 0;
}

.cert-info {
  padding: 18px 20px;
}

.cert-info strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 4px;
  color: var(--navy-900);
}

.cert-info span {
  font-size: 12.5px;
  color: var(--concrete);
  line-height: 1.5;
  display: block;
}

/* ---------- Team cards ---------- */
.team-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11, 32, 56, .08);
  box-shadow: var(--shadow-card);
  transition: transform .3s, box-shadow .3s;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -16px rgba(8, 21, 39, .28);
}

.team-photo {
  aspect-ratio: 1/1;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-photo i {
  font-size: 44px;
  color: rgba(255, 255, 255, .18);
}

.team-photo::after {
  content: 'Photo';
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}

.team-info {
  padding: 18px 16px 22px;
}

.team-info strong {
  display: block;
  font-size: 15px;
  color: var(--navy-900);
  margin-bottom: 3px;
}

.team-info span {
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
}

.team-lead {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
}

.team-lead .bp-grid {
  position: absolute;
  inset: 0;
}

.team-lead-photo {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 16px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.team-lead-photo i {
  font-size: 38px;
  color: rgba(255, 255, 255, .25);
}

.team-lead-info {
  position: relative;
  z-index: 2;
}

.team-lead-info strong {
  display: block;
  font-size: 22px;
  color: #fff;
  font-family: var(--ff-display);
}

.team-lead-info span {
  color: var(--gold-light);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Blueprint grid backgrounds ---------- */
.bp-grid {
  position: relative;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 42px 42px;
}

.bp-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 20%, rgba(47, 111, 176, .35), transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(201, 162, 75, .18), transparent 50%);
  pointer-events: none;
}

.corner-mark {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(201, 162, 75, .55);
  opacity: .8;
}

.corner-mark.tl {
  top: 26px;
  left: 26px;
  border-right: 0;
  border-bottom: 0;
}

.corner-mark.tr {
  top: 26px;
  right: 26px;
  border-left: 0;
  border-bottom: 0;
}

.corner-mark.bl {
  bottom: 26px;
  left: 26px;
  border-right: 0;
  border-top: 0;
}

.corner-mark.br {
  bottom: 26px;
  right: 26px;
  border-left: 0;
  border-top: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 150px 0 120px;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero .wrap {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201, 162, 75, .4);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
  background: rgba(201, 162, 75, .08);
}

.eyebrow i {
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  color: #fff;
  font-weight: 700;
  letter-spacing: -.5px;
}

.hero h1 .accent {
  color: var(--gold);
  position: relative;
}

.hero p.lead {
  color: #c3d0e0;
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 14.5px;
  padding: 15px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn i {
  font-size: 13px;
  transition: transform .25s;
}

.btn:hover i {
  transform: translateX(4px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 12px 24px -10px rgba(201, 162, 75, .6);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy-800);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 26px;
}

.stat {
  flex: 1;
  padding-right: 18px;
}

.stat .num {
  font-family: var(--ff-mono);
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--gold-light);
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat .label {
  font-size: 12.5px;
  color: #9db0c4;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Hero blueprint art panel */
.hero-art {
  position: relative;
  aspect-ratio: 1/1.05;
}

.blueprint-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border: 1px solid rgba(201, 162, 75, .25);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.blueprint-card svg {
  width: 100%;
  height: 100%;
}

.stamp {
  position: absolute;
  bottom: 22px;
  right: 22px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px dashed var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: var(--gold-light);
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: rotate(-14deg);
  animation: pulseStamp 3.5s ease-in-out infinite;
  background: rgba(8, 21, 39, .6);
  backdrop-filter: blur(2px);
}

.stamp strong {
  font-size: 14px;
  color: var(--gold);
  display: block;
  font-family: var(--ff-display);
}

@keyframes pulseStamp {

  0%,
  100% {
    transform: rotate(-14deg) scale(1);
  }

  50% {
    transform: rotate(-14deg) scale(1.05);
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #9db0c4;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--ff-mono);
  z-index: 3;
}

.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(#c9a24b, transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 0;
}

.section-tight {
  padding: 70px 0;
}

.section-dark {
  background: var(--navy-900);
  color: #fff;
}

.section-dark p {
  color: #aebccc;
}

.section-dark h2 {
  color: #fff;
}

.section-paper {
  background: var(--paper);
}

.section-line {
  background: var(--white);
}

.section-head {
  max-width: 680px;
  margin: 0 0 54px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .eyebrow {
  color: var(--gold);
  border-color: rgba(201, 162, 75, .5);
  background: rgba(201, 162, 75, .08);
}

.section-dark .eyebrow {
  color: var(--gold-light);
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.dim-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  color: var(--concrete);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.dim-line::before,
.dim-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: .35;
}

/* ---------- Feature / Service cards ---------- */
.grid {
  display: grid;
  gap: 26px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media(max-width:980px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:640px) {

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(11, 32, 56, .06);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -18px rgba(8, 21, 39, .3);
}

.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14.5px;
  margin-bottom: 0;
}

/* Dark variant service card w/ number tag */
.service-card {
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid rgba(255, 255, 255, .08);
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 75, .5);
}

.service-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(201, 162, 75, .12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.service-card h3 {
  color: #fff;
  font-size: 18px;
}

.service-card p {
  color: #a9b6c7;
  font-size: 14px;
  margin-bottom: 0;
}

.service-card .tag-no {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--ff-mono);
  color: rgba(255, 255, 255, .18);
  font-size: 34px;
  font-weight: 700;
}

/* ---------- Process / About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split .order-2 {
  order: 2;
}

@media(max-width:900px) {
  .split .order-2 {
    order: 0;
  }
}

@media(max-width:900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  aspect-ratio: 4/3.1;
  box-shadow: var(--shadow-soft);
}

.about-visual .bp-grid {
  position: absolute;
  inset: 0;
}

.about-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(8, 21, 39, .75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 162, 75, .35);
  border-radius: 12px;
  padding: 16px 20px;
  color: #fff;
}

.about-badge .num {
  font-family: var(--ff-mono);
  color: var(--gold-light);
  font-size: 28px;
  font-weight: 600;
}

.about-badge .lbl {
  font-size: 11.5px;
  color: #a9b6c7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.checklist {
  margin: 22px 0;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 15px;
  color: #3b4552;
}

.checklist i {
  color: var(--gold);
  margin-top: 4px;
  font-size: 13px;
}

/* ---------- Timeline (chairman / vision) ---------- */
.quote-block {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 52px;
  position: relative;
  overflow: hidden;
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 24px;
  font-family: var(--ff-display);
  font-size: 180px;
  color: rgba(201, 162, 75, .14);
  line-height: 1;
}

.quote-block p {
  position: relative;
  color: #dbe4ef;
  font-size: 18px;
  line-height: 1.85;
  white-space: pre-line;
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.quote-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--gold-light), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  font-family: var(--ff-display);
  font-weight: 700;
}

.quote-person strong {
  color: #fff;
  display: block;
  font-size: 15px;
}

.quote-person span {
  color: var(--gold-light);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--navy-900);
  padding: 56px 0;
  position: relative;
}

.stats-strip .grid-4 {
  gap: 0;
}

.stats-strip .stat {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .1);
  padding: 0 20px;
}

.stats-strip .stat:last-child {
  border-right: 0;
}

.stats-strip .num {
  justify-content: center;
  font-size: 38px;
}

.stats-strip .label {
  color: #9db0c4;
}

/* ---------- Branch cards ---------- */
.branch-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(11, 32, 56, .06);
}

.branch-head {
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: #fff;
  padding: 26px 26px 60px;
  position: relative;
}

.branch-head i.big {
  font-size: 30px;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.branch-head h3 {
  color: #fff;
  margin-bottom: 4px;
}

.branch-head span {
  color: var(--gold-light);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--ff-mono);
}

.branch-badge {
  position: absolute;
  bottom: -20px;
  right: 22px;
  background: var(--gold);
  color: var(--navy-900);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .4);
}

.branch-body {
  padding: 34px 26px 26px;
}

.branch-body p {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.branch-body p i {
  color: var(--gold);
  margin-top: 3px;
  width: 16px;
}

/* ---------- Org chart ---------- */
.org-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.org-top {
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: #fff;
  padding: 20px 34px;
  border-radius: 14px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.org-top strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 17px;
}

.org-top span {
  color: var(--gold-light);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.org-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.org-node {
  background: #fff;
  border: 1px solid rgba(11, 32, 56, .08);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  min-width: 190px;
  box-shadow: var(--shadow-card);
}

.org-node strong {
  display: block;
  font-size: 14.5px;
  color: var(--navy-900);
}

.org-node span {
  font-size: 12px;
  color: var(--concrete);
}

/* ---------- Projects (tables & filters) ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.tab-btn {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 13.5px;
  padding: 11px 20px;
  border-radius: 100px;
  border: 1px solid rgba(11, 32, 56, .15);
  background: #fff;
  color: var(--navy-800);
  cursor: pointer;
  transition: .25s;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}

.tab-btn .count {
  display: inline-block;
  margin-left: 8px;
  background: rgba(0, 0, 0, .08);
  border-radius: 10px;
  padding: 1px 8px;
  font-size: 11px;
}

.tab-btn.active .count {
  background: rgba(255, 255, 255, .18);
}

.proj-panel {
  display: none;
}

.proj-panel.active {
  display: block;
  animation: fadeUp .5s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(11, 32, 56, .06);
  background: #fff;
}

table.proj-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

table.proj-table thead th {
  background: var(--navy-900);
  color: var(--gold-light);
  text-align: left;
  padding: 14px 18px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--ff-mono);
  font-weight: 500;
  white-space: nowrap;
}

table.proj-table tbody td {
  padding: 14px 18px;
  font-size: 13.8px;
  border-bottom: 1px solid #eee;
  color: #354150;
}

table.proj-table tbody tr:hover {
  background: #faf8f2;
}

table.proj-table td.sl {
  font-family: var(--ff-mono);
  color: var(--concrete);
  width: 44px;
}

table.proj-table td.date,
table.proj-table td.plot {
  font-family: var(--ff-mono);
  font-size: 12.6px;
  white-space: nowrap;
}

table.proj-table td.status {
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.badge-done {
  background: #e7f5ec;
  color: #1c8a4c;
}

.badge-run {
  background: #fff3e0;
  color: #c9820f;
}

.badge-done i,
.badge-run i {
  font-size: 8px;
}

.proj-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(11, 32, 56, .15);
  border-radius: 100px;
  padding: 10px 18px;
  margin-bottom: 26px;
  max-width: 420px;
}

.proj-search i {
  color: var(--concrete);
}

.proj-search input {
  border: 0;
  outline: 0;
  font-family: var(--ff-body);
  font-size: 14px;
  width: 100%;
  background: transparent;
}

/* ---------- Sister companies ---------- */
.sister-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 32, 56, .06);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
}

@media(max-width:900px) {
  .sister-card {
    grid-template-columns: 1fr;
  }
}

.sister-visual {
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  position: relative;
  padding: 44px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
}

.sister-visual h3 {
  color: #fff;
  font-size: 26px;
}

.sister-visual .tag {
  color: var(--gold-light);
  font-family: var(--ff-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sister-mark {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(201, 162, 75, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 20px;
}

.sister-body {
  padding: 44px;
}

.sister-body h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--concrete);
  margin-bottom: 14px;
}

.scope-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-bottom: 26px;
}

@media(max-width:560px) {
  .scope-list {
    grid-template-columns: 1fr;
  }
}

.scope-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 14px;
  color: #3b4552;
}

.scope-list i {
  color: var(--gold);
  margin-top: 4px;
  font-size: 11px;
}

/* ---------- Gallery ---------- */
.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
  box-shadow: var(--shadow-card);
}

.gallery-card .bp-grid {
  position: absolute;
  inset: 0;
}

.gallery-card .content {
  position: relative;
  z-index: 2;
}

.gallery-card .year {
  font-family: var(--ff-mono);
  color: var(--gold-light);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
}

.gallery-card h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 4px;
}

.gallery-card p {
  color: #a9b6c7;
  font-size: 12.5px;
  margin: 0;
}

.gallery-card i.event-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 22px;
  color: rgba(255, 255, 255, .25);
}

/* ---------- Testimonial / clients strip ---------- */
.client-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.client-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(11, 32, 56, .08);
  border-radius: 100px;
  padding: 10px 20px 10px 10px;
  box-shadow: var(--shadow-card);
}

.client-chip .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
}

.client-chip strong {
  font-size: 13.5px;
  display: block;
}

.client-chip span {
  font-size: 11.5px;
  color: var(--concrete);
  font-family: var(--ff-mono);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 40px;
}

@media(max-width:900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.contact-info-card .bp-grid {
  position: absolute;
  inset: 0;
  opacity: .6;
}

.contact-info-card>* {
  position: relative;
  z-index: 2;
}

.contact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-line i {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(201, 162, 75, .15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-line strong {
  display: block;
  font-size: 14px;
  color: #fff;
}

.contact-line span,
.contact-line a {
  font-size: 13.5px;
  color: #a9b6c7;
}

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(11, 32, 56, .06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media(max-width:560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--concrete);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  padding: 13px 15px;
  font-family: var(--ff-body);
  font-size: 14.5px;
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
  background: #fbfbfa;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 75, .15);
  background: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11, 32, 56, .08);
  box-shadow: var(--shadow-card);
}

.map-embed iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
  filter: grayscale(.15);
}

.alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14.5px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.alert-success {
  background: #e7f5ec;
  color: #1c8a4c;
}

.alert-error {
  background: #fdeceb;
  color: #c0392b;
}

/* ---------- CTA footer band ---------- */
.footer-cta {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-900));
  position: relative;
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 52px 24px;
  flex-wrap: wrap;
}

.footer-cta h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 6px;
}

.footer-cta p {
  color: #a9b6c7;
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #c3cede;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 60px 24px 40px;
}

@media(max-width:900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: #a9b6c7;
  font-size: 14px;
  margin-bottom: 10px;
  transition: .2s;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-col p {
  color: #a9b6c7;
  font-size: 13.5px;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-col p i {
  color: var(--gold);
  margin-top: 3px;
}

.footer-brand p {
  color: #8fa0b5;
  font-size: 14px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy-900);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 24px;
  font-size: 12.5px;
  color: #7e90a5;
}

/* ---------- Floating buttons ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 12px 24px -8px rgba(37, 211, 102, .6);
  z-index: 400;
  animation: floatBob 3s ease-in-out infinite;
}

@keyframes floatBob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.back-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold);
  border: 1px solid rgba(201, 162, 75, .4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  position: relative;
  padding: 170px 0 90px;
  color: #fff;
  overflow: hidden;
}

.page-header .wrap {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: 1px;
  color: #9db0c4;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--gold-light);
}

.page-header h1 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 48px);
  margin-bottom: 14px;
}

.page-header p {
  color: #c3d0e0;
  max-width: 620px;
  font-size: 16px;
  margin: 0;
}

/* ---------- Misc utility ---------- */
.mt-0 {
  margin-top: 0;
}

.text-center {
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

::selection {
  background: var(--gold);
  color: var(--navy-900);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: var(--navy-700);
  border-radius: 10px;
}