/* ============================================================
   NAMA — Professional Services Website
   Theme: Dark Navy & White, Corporate, Minimal
   ============================================================ */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ===== VARIABLES ===== */
:root {
  --navy:        #071224;
  --navy-mid:    #0C1D38;
  --navy-light:  #162E52;
  --gold:        #B89030;
  --gold-light:  #CFA83C;
  --white:       #FFFFFF;
  --off-white:   #F6F4F0;
  --light-gray:  #EDEAE5;
  --border-dark: rgba(255,255,255,0.09);
  --border-lt:   #D8D5D0;
  --text-dark:   #071224;
  --text-body:   #363636;
  --text-muted:  #6A6A6A;
  --text-light:  rgba(236,230,218,0.82);
  --text-dim:    rgba(236,230,218,0.45);
  --transition:  0.25s ease;
}

/* ===== BASE ===== */
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
p { margin-bottom: 0; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== HEADER / NAV ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--border-dark);
  transition: background var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-shrink: 0;
}
.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.1em;
  line-height: 1;
}
.logo-divider {
  color: var(--gold);
  font-weight: 300;
  font-size: 1rem;
  opacity: 0.7;
}
.logo-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Nav links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.main-nav a {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  padding: 8px 16px;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--white); }
.main-nav a.active { color: var(--white); }

.nav-contact {
  margin-left: 8px;
  padding: 8px 20px !important;
  border: 1px solid rgba(184,149,42,0.5) !important;
  border-radius: 3px;
  color: var(--gold) !important;
  font-weight: 500 !important;
  transition: border-color var(--transition), background var(--transition), color var(--transition) !important;
}
.nav-contact:hover {
  border-color: var(--gold) !important;
  background: rgba(184,149,42,0.08) !important;
  color: var(--gold-light) !important;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.menu-toggle.open span:first-child { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 40px 20px;
  border-top: 1px solid var(--border-dark);
  background: var(--navy);
}
.mobile-nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--white); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.open { display: flex; }

/* ===== SECTION UTILITIES ===== */
.dark-section  { background: var(--navy); }
.light-section { background: var(--off-white); }

.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.section-label.light { color: var(--gold-light); }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 24px;
}
.section-title.light { color: var(--white); }

.section-intro {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 56px;
  font-weight: 300;
}
.section-intro.light { color: var(--text-light); }

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  padding-top: 68px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(184,149,42,0.04) 0%, transparent 50%),
    linear-gradient(225deg, rgba(255,255,255,0.02) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 48px;
  width: 100%;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5.5rem, 12vw, 9rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.14em;
  line-height: 1;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 10px;
  margin-bottom: 22px;
  display: block;
}

.hero-body {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.75;
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--transition);
}
.btn-primary:hover { background: var(--gold-light); }

.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: border-color var(--transition), color var(--transition);
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

/* Hero aside cards */
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.market-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 2px solid var(--gold);
  padding: 24px 24px;
  background: var(--navy);
}
.mc-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.mc-services {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  font-weight: 300;
}

/* ===== SERVICES OVERVIEW ===== */
.services-overview {
  padding: 100px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-lt);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
}

.ov-col { padding: 0 48px 0 0; }
.ov-col:last-child { padding: 0 0 0 48px; }

.ov-market {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-lt);
}

.ov-divider {
  background: var(--border-lt);
  width: 1px;
}

.ov-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ov-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-lt);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ov-list li:last-child { border-bottom: none; }

.ov-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
}
.ov-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
  display: block;
  line-height: 1.55;
}

/* ===== SERVICE BLOCKS (Pakistan & USA) ===== */
.detail-section { padding: 100px 0; }

.service-block {
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border-dark);
}
.dark-section .service-block:last-child  { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.light-section .service-block {
  border-bottom-color: var(--border-lt);
}
.light-section .service-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.sb-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-dark);
}
.light-block .sb-head { border-bottom-color: var(--border-lt); }

.sb-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  text-transform: uppercase;
  flex-shrink: 0;
}
.dark-num { color: var(--gold); }

.sb-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
}
.dark-title { color: var(--navy); }

.sb-intro {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.75;
  font-weight: 300;
  max-width: 680px;
  margin-bottom: 36px;
}
.dark-intro { color: var(--text-muted); }

.sb-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
}
.light-items {
  border-color: var(--border-lt);
}

.sb-item {
  padding: 28px 28px;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.light-items .sb-item {
  border-color: var(--border-lt);
}

.sb-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.dark-item-title { color: var(--navy); }

.sb-item p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.65;
  font-weight: 300;
}
.light-items .sb-item p { color: var(--text-muted); }

/* ===== WHO WE SERVE ===== */
.who-section {
  padding: 100px 0;
  background: var(--white);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
}
.who-col { padding: 0 56px 0 0; }
.who-col:last-child { padding: 0 0 0 56px; }

.who-market {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-lt);
}
.who-divider { background: var(--border-lt); }

.who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.who-list li {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
  font-weight: 300;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-lt);
  padding-left: 16px;
  position: relative;
}
.who-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 4px;
  height: 1px;
  background: var(--gold);
}
.who-list li:last-child { border-bottom: none; }

/* ===== WHY NAMA ===== */
.why-section { padding: 100px 0; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
}

.why-item {
  padding: 36px 32px;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  transition: background var(--transition);
}
.why-item:hover { background: rgba(255,255,255,0.03); }

.why-num {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  margin-bottom: 20px;
  display: block;
}

.why-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
}

.why-item p {
  font-size: 0.83rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== ABOUT ===== */
.about-section {
  padding: 100px 0;
  background: var(--off-white);
  border-top: 1px solid var(--border-lt);
}

.about-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-right p {
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.8;
  font-weight: 300;
}

/* ===== CONTACT ===== */
.contact-section { padding: 100px 0; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-dark);
}
.cd-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-dark);
  gap: 12px;
}
.cd-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.cd-val {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
}

.cd-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.01em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-dark);
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(184,149,42,0.6);
  background: rgba(255,255,255,0.08);
}
.form-group select option { background: var(--navy-mid); }
.form-group textarea { resize: vertical; min-height: 110px; }

.btn-submit {
  display: inline-block;
  padding: 13px 32px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--transition);
  align-self: flex-start;
}
.btn-submit:hover { background: var(--gold-light); }

/* ===== FOOTER ===== */
.footer {
  background: #050D1A;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  padding: 64px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.footer-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  font-weight: 300;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.fc-head {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li,
.footer-col ul a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: rgba(255,255,255,0.7); }

.footer-bottom {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  font-weight: 300;
}
.footer-disclaimer {
  max-width: 560px;
  text-align: right;
  line-height: 1.55 !important;
}

/* ===== ICONS ===== */
.lucide {
  stroke-width: 1.5;
  display: block;
}

/* Service block header icon */
.sb-icon {
  width: 17px;
  height: 17px;
  color: var(--gold-light);
  opacity: 0.75;
  flex-shrink: 0;
  margin-bottom: 1px;
}
.sb-icon-dark {
  color: var(--gold);
  opacity: 0.65;
}

/* Why NAMA icon */
.why-icon {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.28);
  margin-bottom: 14px;
  margin-top: 2px;
}

/* Market card icon */
.mc-icon {
  width: 13px;
  height: 13px;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 10px;
}

/* Contact detail icon */
.cd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cd-icon {
  width: 13px;
  height: 13px;
  color: var(--gold);
  opacity: 0.55;
  flex-shrink: 0;
  margin-top: 4px;
}

/* ===== REVEAL ANIMATION (subtle) ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* staggered children inside why-grid */
.why-grid .why-item:nth-child(1) { transition-delay: 0.00s; }
.why-grid .why-item:nth-child(2) { transition-delay: 0.07s; }
.why-grid .why-item:nth-child(3) { transition-delay: 0.14s; }
.why-grid .why-item:nth-child(4) { transition-delay: 0.21s; }
.why-grid .why-item:nth-child(5) { transition-delay: 0.28s; }
.why-grid .why-item:nth-child(6) { transition-delay: 0.35s; }

/* staggered children inside sb-items grids */
.sb-items .sb-item:nth-child(1) { transition-delay: 0.00s; }
.sb-items .sb-item:nth-child(2) { transition-delay: 0.06s; }
.sb-items .sb-item:nth-child(3) { transition-delay: 0.12s; }
.sb-items .sb-item:nth-child(4) { transition-delay: 0.18s; }
.sb-items .sb-item:nth-child(5) { transition-delay: 0.24s; }
.sb-items .sb-item:nth-child(6) { transition-delay: 0.30s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .overview-grid { grid-template-columns: 1fr; }
  .ov-divider { display: none; }
  .ov-col, .ov-col:last-child { padding: 0; }
  .ov-col:first-child { margin-bottom: 48px; }
  .who-grid { grid-template-columns: 1fr; }
  .who-divider { display: none; }
  .who-col, .who-col:last-child { padding: 0; }
  .who-col:first-child { margin-bottom: 48px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 56px; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .logo-tagline { display: none; }
  .logo-divider { display: none; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { padding: 8px 24px 20px; }
  .hero { min-height: auto; padding-bottom: 60px; }
  .hero-inner { padding-top: 40px; }
  .hero-aside { grid-template-columns: 1fr; }
  .sb-items { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .footer-disclaimer { text-align: left; }
  .detail-section { padding: 64px 0; }
  .services-overview, .who-section, .why-section, .about-section, .contact-section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; width: 100%; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* ===== VISUAL ENHANCEMENTS ===== */

/* ===== HERO SVG BACKGROUND ===== */
/* isolation:isolate on .hero creates a self-contained stacking context.
   z-index:-1 on the SVG pushes it behind every sibling inside that context,
   even when browser promotes animated SVG elements to GPU compositing layers. */
.hero {
  isolation: isolate;
}
.hero-svg-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  opacity: 0;
  animation: heroSvgFadeIn 2.4s ease 0.4s forwards;
}
.hero .container,
.hero-inner,
.hero-content,
.hero-aside,
.market-card {
  position: relative;
  z-index: 1;
}
@keyframes heroSvgFadeIn { to { opacity: 1; } }

/* ═══════════════════════════════════════════════════
   HERO DECORATIVE — opacity-ONLY animations.
   Zero CSS transforms = zero GPU compositing layers
   = z-index:-1 on SVG is fully respected always.
   3 copies per element type at different fixed SVG
   positions; varied durations+delays = irregular feel.
   ═══════════════════════════════════════════════════ */

/* Shared keyframe shapes */
@keyframes heroFadeLine {
  0%   { opacity: 0;    }
  12%  { opacity: 0.12; }
  22%  { opacity: 0.12; }
  34%  { opacity: 0;    }
  100% { opacity: 0;    }
}
@keyframes heroFadeBox {
  0%   { opacity: 0;    }
  12%  { opacity: 0.18; }
  22%  { opacity: 0.18; }
  34%  { opacity: 0;    }
  100% { opacity: 0;    }
}
@keyframes heroFadeCirc {
  0%   { opacity: 0;    }
  12%  { opacity: 0.14; }
  22%  { opacity: 0.14; }
  34%  { opacity: 0;    }
  100% { opacity: 0;    }
}

/* All start invisible */
.hl1, .vl1, .rb1a, .rb2a, .rc1a, .rc2a { opacity: 0; }

/* Horizontal line */
.hl1  { animation: heroFadeLine 14s ease-in-out 0.5s infinite; }

/* Vertical line */
.vl1  { animation: heroFadeLine 16s ease-in-out 3s   infinite; }

/* Box 1 — top-left */
.rb1a { animation: heroFadeBox  15s ease-in-out 1s   infinite; }

/* Box 2 — bottom-right */
.rb2a { animation: heroFadeBox  18s ease-in-out 5s   infinite; }

/* Circle 1 — top-right */
.rc1a { animation: heroFadeCirc 13s ease-in-out 2s   infinite; }

/* Circle 2 — bottom-left */
.rc2a { animation: heroFadeCirc 17s ease-in-out 6s   infinite; }

@media (prefers-reduced-motion: reduce) {
  .hero-svg-bg { animation: none; opacity: 1; }
  .hl1, .vl1, .rb1a, .rb2a, .rc1a, .rc2a { animation: none; opacity: 0; }
}

/* ===== SERVICE OVERVIEW CARDS ===== */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-lt);
  border: 1px solid var(--border-lt);
  margin-bottom: 64px;
}
.svc-card {
  background: var(--white);
  padding: 36px 28px;
  transition: background var(--transition);
}
.svc-card:hover { background: var(--off-white); }
.svc-card-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 20px;
}
.svc-card-icon svg { width: 100%; height: 100%; }
.svc-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}
.svc-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* ===== PAKISTAN NODE DIAGRAM (CSS-based) ===== */
.pk-diagram {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pk-diagram-inner {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: 300px;
  margin: 0 auto;
}
.pk-lines-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* All nodes share base styling */
.pk-node {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  padding: 14px 22px;
  text-align: center;
  min-width: 180px;
}
.pk-center-node {
  top: 50%; left: 50%;
  border-color: rgba(184,149,42,0.55);
  background: rgba(184,149,42,0.07);
  min-width: 170px;
}
.pk-top-node    { top: 9%;  left: 50%; }
.pk-right-node  { top: 50%; left: 87%; }
.pk-bottom-node { top: 91%; left: 50%; }
.pk-left-node   { top: 50%; left: 13%; }
.pk-center-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.pk-center-tag {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}
.pk-node-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 5px;
}
.pk-node-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.38);
  font-weight: 300;
  line-height: 1.45;
}

/* ===== SERVICE BLOCK INTRO + VISUAL ROW (60 / 40) ===== */
.sb-intro-row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 40px;
}
.sb-visual-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.025);
}
.sb-visual-wrap svg {
  width: 100%;
  height: 160px;   /* fixed height — SVG viewBox handles proportions */
  display: block;
  flex-shrink: 0;
}
.sb-visual-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}
/* Light section variant */
.light-section .sb-visual-wrap {
  border-color: var(--border-lt);
  background: var(--off-white);
}
.light-section .sb-visual-label { color: var(--text-muted); }

/* ===== INTRO COLUMN (text + why block) ===== */
.sb-intro-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Remove bottom margin from sb-intro when inside sb-intro-col */
.sb-intro-col .sb-intro { margin-bottom: 0; }

.sb-why {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}
.sb-why-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.sb-why p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.72;
  font-weight: 300;
  max-width: 600px;
}

/* ===== USA CONNECTION FLOW ===== */
.usa-flow {
  display: flex;
  align-items: stretch;
  margin-bottom: 60px;
  border: 1px solid var(--border-lt);
}
.usa-flow-node {
  flex: 1;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.usa-flow-node-nama {
  background: var(--navy);
  border-left: 1px solid var(--border-lt);
  border-right: 1px solid var(--border-lt);
}
.usa-flow-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
}
.usa-flow-icon svg { width: 100%; height: 100%; }
.usa-flow-node-nama .usa-flow-icon { color: var(--gold-light); opacity: 0.85; }
.usa-flow-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.usa-flow-node-nama .usa-flow-label { color: var(--white); }
.usa-flow-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.45;
}
.usa-flow-node-nama .usa-flow-sub { color: rgba(255,255,255,0.42); }
.usa-flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  flex-shrink: 0;
  color: var(--gold);
}
.usa-flow-connector svg { width: 60px; height: 16px; }

/* ===== 4-STEP PROCESS FLOW ===== */
.process-flow {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-lt);
  margin-bottom: 40px;
  background: var(--white);
}
.pf-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  gap: 10px;
  border-right: 1px solid var(--border-lt);
}
.pf-step:last-child { border-right: none; }
.pf-step-num {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.pf-step-icon {
  width: 22px;
  height: 22px;
  color: var(--navy);
  opacity: 0.45;
}
.pf-step-icon svg { width: 100%; height: 100%; }
.pf-step-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
}
.pf-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  color: rgba(184,149,42,0.45);
  flex-shrink: 0;
}
.pf-arrow svg { width: 28px; height: 12px; display: block; }

/* ===== AP/AR TWO-SIDED DIAGRAM ===== */
.apar-diagram {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  margin-bottom: 40px;
  border: 1px solid var(--border-lt);
}
.apar-side { padding: 24px 24px; }
.apar-side:first-child { border-right: 1px solid var(--border-lt); }
.apar-side:last-child  { border-left: 1px solid var(--border-lt); }
.apar-side-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-lt);
}
.apar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-body);
  font-weight: 300;
  padding: 7px 0;
  border-bottom: 1px solid rgba(216,214,210,0.5);
  line-height: 1.3;
}
.apar-row:last-child { border-bottom: none; }
.apar-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
  flex-shrink: 0;
}
.apar-dot-right {
  order: 1;
  margin-left: auto;
  margin-right: 0;
}
.apar-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border-left: 1px solid var(--border-lt);
  border-right: 1px solid var(--border-lt);
}
.apar-divider svg { width: 48px; height: 120px; display: block; }

/* ===== RECONCILIATION DIAGRAM ===== */
.recon-diagram {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  margin-bottom: 40px;
  border: 1px solid var(--border-lt);
}
.recon-side { padding: 24px 24px; }
.recon-side:first-child { border-right: 1px solid var(--border-lt); }
.recon-side:last-child  { border-left: 1px solid var(--border-lt); }
.recon-side-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-lt);
}
.recon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-body);
  padding: 8px 0;
  font-weight: 300;
  border-bottom: 1px solid rgba(216,214,210,0.45);
  gap: 10px;
}
.recon-row-total {
  border-bottom: none;
  font-weight: 600;
  color: var(--text-dark);
}
.recon-match {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(184,149,42,0.35);
  flex-shrink: 0;
}
.recon-match-confirmed {
  background: rgba(184,149,42,0.3);
  border-color: rgba(184,149,42,0.7);
}
.recon-center {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border-left: 1px solid var(--border-lt);
  border-right: 1px solid var(--border-lt);
}
.recon-center svg { width: 56px; height: 140px; display: block; }

/* ===== DOCUMENT STACK (Monthly Reporting) ===== */
.doc-stack-wrap {
  margin-bottom: 40px;
}
.doc-stack {
  position: relative;
  height: 168px;   /* tall enough to show all 4 labels (4 × 32px stagger + ~40px front card) */
}
.doc-card {
  position: absolute;
  border: 1px solid var(--border-lt);
  background: var(--white);
  padding: 0;
}
.doc-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  padding: 11px 18px;
  display: block;
}
.doc-card-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 18px 14px;
}
.doc-card-lines span {
  display: block;
  height: 1px;
  background: var(--border-lt);
}
.doc-card-lines span:last-child { width: 55%; }

/* Card 4 — furthest back (Year-End Package) */
.doc-card-4 {
  bottom: 96px; left: 36px;
  width: calc(100% - 36px);
  z-index: 1;
  background: #e5e3df;
}
.doc-card-4 .doc-card-label { color: rgba(58,58,58,0.45); }

/* Card 3 — Cash Flow Statement */
.doc-card-3 {
  bottom: 64px; left: 24px;
  width: calc(100% - 24px);
  z-index: 2;
  background: #eceae6;
}
.doc-card-3 .doc-card-label { color: rgba(58,58,58,0.55); }

/* Card 2 — Balance Sheet */
.doc-card-2 {
  bottom: 32px; left: 12px;
  width: calc(100% - 12px);
  z-index: 3;
  background: var(--off-white);
}
.doc-card-2 .doc-card-label { color: var(--text-muted); }

/* Card 1 — front card (P&L) */
.doc-card-1 {
  bottom: 0; left: 0;
  width: 100%;
  z-index: 4;
  border-color: rgba(184,149,42,0.4);
  background: var(--white);
}
.doc-card-1 .doc-card-label { color: var(--navy); }
.doc-card-1 .doc-card-lines span { background: rgba(184,149,42,0.28); }

/* ===== ABOUT WATERMARK ===== */
.about-inner { position: relative; overflow: hidden; }
.about-watermark {
  position: absolute;
  right: -20px;
  bottom: -44px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 13vw, 10rem);
  font-weight: 300;
  color: rgba(13,28,63,0.05);
  letter-spacing: 0.25em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}

/* ===== VISUAL RESPONSIVE ===== */
@media (max-width: 1024px) {
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .pk-diagram { display: none; }
  .sb-intro-row { grid-template-columns: 3fr 2fr; gap: 36px; }
}
@media (max-width: 768px) {
  .svc-cards { grid-template-columns: 1fr 1fr; }
  .sb-intro-row { grid-template-columns: 1fr; gap: 28px; }
  .sb-visual-wrap { padding: 20px; }
  .sb-visual-wrap svg { height: 180px; width: 100%; }
  .usa-flow {
    flex-direction: column;
    border: 1px solid var(--border-lt);
  }
  .usa-flow-connector {
    padding: 4px 0;
    transform: rotate(90deg);
    border-top: 1px solid var(--border-lt);
    border-bottom: 1px solid var(--border-lt);
    width: 100%;
    justify-content: center;
  }
  .usa-flow-node-nama {
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border-lt);
    border-bottom: 1px solid var(--border-lt);
  }
  .process-flow { flex-wrap: wrap; border: 1px solid var(--border-lt); }
  .pf-step { flex: 0 0 50%; border-right: 1px solid var(--border-lt); border-bottom: 1px solid var(--border-lt); }
  .pf-step:nth-child(4) { border-right: none; }
  .pf-arrow { display: none; }
  .apar-diagram { grid-template-columns: 1fr; }
  .apar-divider { display: none; }
  .apar-side:first-child { border-right: none; border-bottom: 1px solid var(--border-lt); }
  .apar-side:last-child  { border-left: none; }
  .recon-diagram { grid-template-columns: 1fr; }
  .recon-center { display: none; }
  .recon-side:first-child { border-right: none; border-bottom: 1px solid var(--border-lt); }
  .recon-side:last-child  { border-left: none; }
  .about-watermark { display: none; }
}
@media (max-width: 580px) {
  .svc-cards { grid-template-columns: 1fr; }
  .doc-stack { height: 140px; }
  .doc-card-4 { bottom: 80px; }
  .doc-card-3 { bottom: 54px; }
  .doc-card-2 { bottom: 27px; }
}

/* ===== CUSTOM CURSOR ===== */
@media (hover: hover) {
  * { cursor: none !important; }

  /* Small filled dot — sits exactly at pointer tip, pulses continuously */
  #cursorDot {
    position: fixed;
    top: 0; left: 0;
    margin-top: -3px; margin-left: -3px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #B8952A;
    pointer-events: none;
    z-index: 100000;
    will-change: transform;
    transition: background 0.15s ease, opacity 0.2s ease;
    animation: dotBeat 1.1s ease-in-out infinite;
  }

  @keyframes dotBeat {
    0%   { transform: scale(1);    opacity: 1; }
    30%  { transform: scale(1.7);  opacity: 0.7; }
    50%  { transform: scale(1);    opacity: 1; }
    70%  { transform: scale(1.4);  opacity: 0.8; }
    100% { transform: scale(1);    opacity: 1; }
  }


  /* Outer ring — lags behind via JS lerp */
  #cursorRing {
    position: fixed;
    top: -10px; left: -10px;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 1.5px solid #B8952A;
    background: transparent;
    pointer-events: none;
    z-index: 99999;
    will-change: transform;
    transition: border-color 0.15s ease, width 0.25s ease, height 0.25s ease,
                top 0.25s ease, left 0.25s ease, border-radius 0.25s ease,
                opacity 0.2s ease;
  }

  /* On interactive elements: ring becomes a rounded rectangle */
  #cursorRing.ring-hover {
    width: 36px; height: 18px;
    top: -9px; left: -18px;
    border-radius: 5px;
  }
}

/* ===== SERVICES DROPDOWN — 2-COLUMN ===== */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  cursor: none;
  transition: color 0.2s ease;
}
.nav-drop-btn:hover,
.nav-drop-btn[aria-expanded="true"] { color: #fff; }

.nav-drop-panel {
  position: absolute;
  top: 100%;           /* flush to button bottom — bridge covers the gap */
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 500px;
  background: #060F20;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
  /* Push content down so the invisible bridge doesn't cover it */
  padding-top: 12px;
  margin-top: 0;
}
/* Invisible bridge fills gap between button and panel — keeps hover alive while moving cursor down */
.nav-drop-panel::before {
  content: '';
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
  background: transparent;
}
/* Decorative arrow */
.nav-drop-panel::after {
  content: '';
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%) translateY(-100%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(255,255,255,0.08);
  pointer-events: none;
}
/* Open on hover — no click needed */
.nav-dropdown:hover .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.drop-cols {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
}
.drop-col { padding: 24px 24px 20px; }
.drop-col-sep { background: rgba(255,255,255,0.08); margin: 16px 0; }
.drop-col-head {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.drop-col-head a { color: inherit; }
.drop-col-head a:hover { color: var(--gold-light); }
.nav-drop-link {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  transition: color 0.15s ease;
  font-weight: 300;
}
.nav-drop-link:hover { color: rgba(255,255,255,0.95); }

/* ===== PAGE BANNER (inner pages) ===== */
.page-banner {
  background: var(--navy);
  padding: 130px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,149,42,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.page-banner-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.page-banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.page-banner-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.75;
}

/* ===== SHARED SECTION STYLES ===== */
.section-pad    { padding: 88px 0; }
.section-pad-sm { padding: 64px 0; }
.bg-white  { background: var(--white); }
.bg-off    { background: var(--off-white); }
.bg-navy   { background: var(--navy); }

.section-eyebrow {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-eyebrow.dark { color: var(--gold-light); }

.page-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 18px;
}
.page-section-title.light { color: var(--white); }

.page-section-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
  font-weight: 300;
  margin-bottom: 48px;
}
.page-section-intro.light { color: rgba(255,255,255,0.6); }

/* ===== HOME PAGE ===== */
/* Services preview grid */
.svc-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-lt);
  border: 1px solid var(--border-lt);
  margin-top: 48px;
}
.svc-preview-card {
  background: var(--white);
  padding: 32px 28px;
  transition: background 0.2s ease;
}
.svc-preview-card:hover { background: var(--off-white); }
.spc-icon {
  width: 36px; height: 36px;
  color: var(--gold);
  margin-bottom: 16px;
}
.spc-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.spc-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}
.spc-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(184,149,42,0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.spc-link:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* Markets section */
.markets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--navy);
}
.market-panel {
  background: var(--navy);
  padding: 56px 48px;
  border: 1px solid rgba(255,255,255,0.08);
}
.market-panel-flag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.market-panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}
.market-panel-body {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 24px;
}
.market-panel-list {
  list-style: none;
  margin-bottom: 32px;
}
.market-panel-list li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 300;
}
.market-panel-list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.btn-outline-light {
  display: inline-block;
  padding: 11px 24px;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-outline-light:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

/* Why NAMA grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-lt);
  margin-top: 48px;
}
.why-card {
  padding: 36px 28px;
  border-right: 1px solid var(--border-lt);
}
.why-card:last-child { border-right: none; }
.why-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: rgba(184,149,42,0.25);
  line-height: 1;
  margin-bottom: 12px;
}
.why-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.why-card-body {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
}

/* Home CTA strip */
.home-cta {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
}
.home-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 14px;
}
.home-cta-sub {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  margin-bottom: 36px;
}
.home-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-body {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.85;
  font-weight: 300;
}
.about-body p + p { margin-top: 18px; }

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-lt);
  border: 1px solid var(--border-lt);
  margin-top: 48px;
}
.approach-card {
  background: var(--white);
  padding: 36px 28px;
}
.approach-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: rgba(184,149,42,0.2);
  line-height: 1;
  margin-bottom: 16px;
}
.approach-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.approach-body {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.78;
  font-weight: 300;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.commit-item {
  padding: 28px 24px;
  border: 1px solid var(--border-lt);
  background: var(--white);
}
.commit-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.commit-title::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.commit-body {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.72;
  font-weight: 300;
}

/* ===== SERVICES PAGE ===== */
.services-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border-lt);
  border: 1px solid var(--border-lt);
}
.svc-cat-card {
  background: var(--white);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.svc-cat-card:hover { background: #faf9f7; }
/* 5 cards in a 2-col grid — last card spans full width to eliminate empty 6th cell */
.services-cat-grid .svc-cat-card:last-child { grid-column: 1 / -1; }
.svc-cat-icon {
  width: 32px; height: 32px;
  color: var(--gold);
  margin-bottom: 18px;
}
.svc-cat-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.svc-cat-body {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 16px;
  flex: 1;
}
.svc-cat-items {
  list-style: none;
  margin-bottom: 20px;
}
.svc-cat-items li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 14px;
  position: relative;
  font-weight: 300;
}
.svc-cat-items li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(184,149,42,0.5);
}
.svc-cat-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(184,149,42,0.3);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.svc-cat-link:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ===== PAKISTAN / USA SERVICE BLOCKS ===== */
/* Reuse existing .service-block, .sb-* styles from original CSS */
.service-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border-lt);
}
.service-section:last-child { border-bottom: none; }

.ss-header { margin-bottom: 32px; }
.ss-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: rgba(184,149,42,0.15);
  line-height: 1;
  margin-bottom: 4px;
}
.ss-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.ss-title.light { color: var(--white); }
.ss-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  max-width: 680px;
}
.ss-intro.light { color: rgba(255,255,255,0.55); }

.ss-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.ss-item {
  padding: 22px 20px;
  border: 1px solid var(--border-lt);
  background: var(--white);
}
.ss-item.dark-item {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
}
.ss-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.ss-item-title.light { color: rgba(255,255,255,0.9); }
.ss-item-body {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}
.ss-item-body.light { color: rgba(255,255,255,0.45); }

/* Who section */
.who-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px;
  background: var(--off-white);
  border: 1px solid var(--border-lt);
  margin-top: 48px;
}
.who-panel.dark-panel {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}
.who-list {
  list-style: none;
}
.who-list li {
  font-size: 0.88rem;
  color: var(--text-body);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 300;
  line-height: 1.6;
}
.who-list.light li {
  color: rgba(255,255,255,0.6);
  border-bottom-color: rgba(255,255,255,0.06);
}
.who-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border-lt);
}
.process-steps.dark-steps { border-color: rgba(255,255,255,0.08); }
.process-step {
  padding: 32px 24px;
  border-right: 1px solid var(--border-lt);
  position: relative;
}
.process-steps.dark-steps .process-step { border-right-color: rgba(255,255,255,0.08); }
.process-step:last-child { border-right: none; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: rgba(184,149,42,0.2);
  line-height: 1;
  margin-bottom: 12px;
}
.step-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.step-title.light { color: rgba(255,255,255,0.85); }
.step-body {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.72;
  font-weight: 300;
}
.step-body.light { color: rgba(255,255,255,0.45); }

/* Page CTA strip */
.page-cta {
  padding: 72px 0;
  background: var(--navy);
  text-align: center;
}
.page-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 14px;
}
.page-cta-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  margin-bottom: 32px;
}
.page-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== CAREERS PAGE ===== */
.open-positions {
  border: 1px solid var(--border-lt);
  padding: 60px 40px;
  text-align: center;
  margin-top: 40px;
}
.no-positions-icon {
  width: 40px; height: 40px;
  color: rgba(184,149,42,0.35);
  margin: 0 auto 20px;
}
.no-positions-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
}
.no-positions-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto;
}

.cv-form-wrap { margin-top: 48px; }
.cv-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 32px;
  padding: 14px 18px;
  border-left: 2px solid rgba(184,149,42,0.4);
  background: var(--off-white);
  font-weight: 300;
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.contact-info-block { margin-bottom: 32px; }
.contact-info-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}
.contact-info-val {
  font-size: 0.92rem;
  color: var(--text-body);
  font-weight: 400;
}
.contact-info-val a { color: var(--navy); }
.contact-info-val a:hover { color: var(--gold); }

/* ===== MULTI-PAGE NAV ACTIVE ===== */
.main-nav a.active,
.main-nav a[aria-current="page"] { color: var(--white); }
.nav-drop-btn.active { color: var(--white); }

/* ===== RESPONSIVE — new pages ===== */
@media (max-width: 1024px) {
  .svc-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card { border-bottom: 1px solid var(--border-lt); }
  .why-grid .why-card:nth-child(2) { border-right: none; }
  .markets-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .approach-grid { grid-template-columns: 1fr 1fr; }
  .services-cat-grid { grid-template-columns: 1fr; }
  .ss-items { grid-template-columns: repeat(2, 1fr); }
  .who-panel { grid-template-columns: 1fr; gap: 32px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3) { border-top: 1px solid var(--border-lt); }
  .process-step:nth-child(4) { border-top: 1px solid var(--border-lt); border-right: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .nav-drop-panel { width: 380px; }
}
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .svc-preview-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { border-right: none; }
  .approach-grid { grid-template-columns: 1fr; }
  .commitment-grid { grid-template-columns: 1fr; }
  .ss-items { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border-lt); }
  .process-step:last-child { border-bottom: none; }
  .who-panel { padding: 32px 24px; }
  .market-panel { padding: 40px 28px; }
  .nav-drop-panel { width: 96vw; left: 0; transform: translateX(-20px) translateY(6px); }
  .nav-dropdown:hover .nav-drop-panel,
  .nav-drop-btn[aria-expanded="true"] + .nav-drop-panel {
    transform: translateX(-20px) translateY(0);
  }
  .drop-cols { grid-template-columns: 1fr; }
  .drop-col-sep { display: none; }
  .drop-col:first-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .page-banner { padding: 110px 0 44px; }
}


/* ===== FORM — LIGHT BACKGROUND VARIANT ===== */
/* Used on careers page (white background) */
.cv-form-wrap .contact-form .form-group label,
.cv-form-wrap .form-label {
  color: var(--text-muted);
}
.cv-form-wrap .form-group input,
.cv-form-wrap .form-group select,
.cv-form-wrap .form-group textarea,
.cv-form-wrap .form-input {
  background: var(--white);
  border: 1px solid var(--border-lt);
  color: var(--text-body);
}
.cv-form-wrap .form-group input::placeholder,
.cv-form-wrap .form-group textarea::placeholder,
.cv-form-wrap .form-input::placeholder {
  color: rgba(58,58,58,0.35);
}
.cv-form-wrap .form-group input:focus,
.cv-form-wrap .form-group select:focus,
.cv-form-wrap .form-group textarea:focus,
.cv-form-wrap .form-input:focus {
  border-color: rgba(184,149,42,0.55);
  background: var(--white);
  outline: none;
}
.cv-form-wrap .form-group select option {
  background: var(--white);
  color: var(--text-body);
}

/* Contact page form also on white bg */
.contact-layout .form-group label,
.contact-layout .form-label {
  color: var(--text-muted);
}
.contact-layout .form-group input,
.contact-layout .form-group select,
.contact-layout .form-group textarea,
.contact-layout .form-input {
  background: var(--white);
  border: 1px solid var(--border-lt);
  color: var(--text-body);
}
.contact-layout .form-group input::placeholder,
.contact-layout .form-group textarea::placeholder,
.contact-layout .form-input::placeholder {
  color: rgba(58,58,58,0.35);
}
.contact-layout .form-group input:focus,
.contact-layout .form-group select:focus,
.contact-layout .form-group textarea:focus,
.contact-layout .form-input:focus {
  border-color: rgba(184,149,42,0.55);
  background: var(--white);
  outline: none;
}
.contact-layout .form-group select option {
  background: var(--white);
  color: var(--text-body);
}

/* ===== FORM LABEL CLASS ===== */
.form-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: block;
}

/* ===== FORM VALIDATION STYLES ===== */
.field-required { color: #b84242; font-weight: 700; margin-left: 2px; }

.field-error {
  display: none;
  font-size: 0.72rem;
  color: #c0392b;
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 0.01em;
}
.field-error.visible { display: block; }

.field-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 300;
  opacity: 0.75;
}

.field-counter {
  float: right;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: none;
}
.field-counter.warn  { color: #c0a020; }
.field-counter.limit { color: #c0392b; }

/* Valid / invalid input states */
.form-input.input-error {
  border-color: rgba(192,57,43,0.55) !important;
  background: rgba(192,57,43,0.03) !important;
}
.form-input.input-ok {
  border-color: rgba(42,106,69,0.45) !important;
}

/* File input styling */
.cv-file-input {
  padding: 9px 12px !important;
  font-size: 0.83rem !important;
}

/* ===================================================
   BULLET ALIGNMENT FIX — overrides all conflicting
   bullet list definitions across the site
   =================================================== */

/* ---- Who-list (Pakistan / USA pages) ---- */
.who-list {
  list-style: none;
}
.who-list li {
  position: relative;
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.65;
  display: block; /* remove any flex conflict */
}
.who-list.light li {
  color: rgba(255,255,255,0.62);
  border-bottom-color: rgba(255,255,255,0.07);
}
.who-list li:last-child { border-bottom: none; }
.who-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;          /* aligns with first line of text cap-height */
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  /* clear any flex-related properties */
  flex-shrink: unset;
  margin-top: 0;
  transform: none;
}

/* ---- Market panel list (Home page) ---- */
.market-panel-list {
  list-style: none;
  margin-bottom: 32px;
}
.market-panel-list li {
  position: relative;
  padding: 6px 0 6px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  line-height: 1.6;
  display: block;
}
.market-panel-list li:last-child { border-bottom: none; }
.market-panel-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: unset;
  margin-top: 0;
}

/* ---- Service category items (services.html) ---- */
.svc-cat-items {
  list-style: none;
  margin-bottom: 20px;
}
.svc-cat-items li {
  position: relative;
  padding: 4px 0 4px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  display: block;
}
.svc-cat-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(184,149,42,0.55);
  flex-shrink: unset;
  margin-top: 0;
  transform: none;
}

/* ---- Commit-title dot (About page) ---- */
.commit-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.commit-title::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  min-width: 6px;
  min-height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0;
  position: static;
}

/* ===================================================
   HOW WE WORK PAGE
   =================================================== */

/* ---- 8-step process grid ---- */
.hww-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 48px;
}
.hww-step {
  border: 1px solid var(--border-lt);
  background: var(--white);
  padding: 28px 22px;
  position: relative;
}
.hww-step-row2 {
  margin-top: 20px;
}
.hww-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: rgba(184,149,42,0.18);
  line-height: 1;
  margin-bottom: 10px;
}
.hww-step-icon { margin-bottom: 12px; }
.hww-step-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.hww-step-body {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.72;
  font-weight: 300;
}
.hww-step-arrow {
  display: flex;
  align-items: flex-start;
  padding-top: 52px;
  color: rgba(184,149,42,0.35);
  flex-shrink: 0;
  width: 32px;
  justify-content: center;
}
.hww-step-arrow svg {
  width: 28px;
  height: 14px;
  flex-shrink: 0;
}

/* ---- Onboarding checklist ---- */
.hww-checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hww-checklist-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border-lt);
}
.hww-check-icon {
  width: 18px; height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.hww-check-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}
.hww-check-body {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ---- Software panels ---- */
.hww-software-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hww-software-panel {
  border: 1px solid var(--border-lt);
  padding: 32px 28px;
  background: var(--off-white);
}
.hww-software-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-lt);
}
.hww-software-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.hww-sw-item {
  font-size: 0.78rem;
  color: var(--text-body);
  font-weight: 400;
  padding: 5px 12px;
  border: 1px solid var(--border-lt);
  background: var(--white);
  border-radius: 2px;
}
.hww-software-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
}

/* ---- Access grid ---- */
.hww-access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
}
.hww-access-item {
  padding: 32px 24px;
  background: rgba(255,255,255,0.025);
}
.hww-access-icon {
  width: 22px; height: 22px;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.hww-access-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  margin-bottom: 10px;
}
.hww-access-body {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.75;
  font-weight: 300;
}

/* ---- Monthly workflow ---- */
.hww-workflow {
  max-width: 640px;
  margin: 0 auto;
}
.hww-wf-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border-lt);
  padding: 22px 24px;
}
.hww-wf-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: rgba(184,149,42,0.3);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}
.hww-wf-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.hww-wf-body {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}
.hww-wf-arrow {
  display: flex;
  justify-content: center;
  padding: 6px 0;
}

/* ---- Responsibilities ---- */
.hww-resp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--border-lt);
}
.hww-resp-panel {
  padding: 36px 32px;
  background: var(--white);
}
.hww-resp-nama {
  background: var(--navy);
}
.hww-resp-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-lt);
}
.hww-resp-nama .hww-resp-heading {
  color: rgba(255,255,255,0.8);
  border-bottom-color: rgba(255,255,255,0.1);
}
.hww-resp-list {
  list-style: none;
}
.hww-resp-list li {
  position: relative;
  padding: 8px 0 8px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.65;
}
.hww-resp-list.light li {
  color: rgba(255,255,255,0.6);
  border-bottom-color: rgba(255,255,255,0.07);
}
.hww-resp-list li:last-child { border-bottom: none; }
.hww-resp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---- Service delivery models ---- */
.hww-models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-lt);
  border: 1px solid var(--border-lt);
}
.hww-model-card {
  background: var(--white);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}
.hww-model-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: rgba(184,149,42,0.15);
  line-height: 1;
  margin-bottom: 10px;
}
.hww-model-icon {
  width: 26px; height: 26px;
  color: var(--gold);
  margin-bottom: 14px;
}
.hww-model-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.hww-model-body {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.78;
  font-weight: 300;
  margin-bottom: 20px;
  flex: 1;
}
.hww-model-list {
  list-style: none;
}
.hww-model-list li {
  position: relative;
  padding: 5px 0 5px 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}
.hww-model-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.72em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(184,149,42,0.45);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .hww-steps {
    grid-template-columns: 1fr auto 1fr;
  }
  .hww-step-row2 { margin-top: 0; }
  .hww-step-arrow { padding-top: 48px; }
}
@media (max-width: 900px) {
  .hww-checklist-grid { grid-template-columns: repeat(2,1fr); }
  .hww-access-grid { grid-template-columns: repeat(2,1fr); }
  .hww-resp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hww-steps {
    grid-template-columns: 1fr;
  }
  .hww-step-arrow {
    padding-top: 0;
    width: 100%;
    justify-content: flex-start;
    padding-left: 28px;
    transform: rotate(90deg);
    height: 24px;
  }
  .hww-software-grid { grid-template-columns: 1fr; }
  .hww-models-grid { grid-template-columns: 1fr; }
  .hww-checklist-grid { grid-template-columns: 1fr; }
  .hww-access-grid { grid-template-columns: 1fr; }
}

/* ===== BRAND SLOGAN ===== */

/* Hero slogan — between wordmark and body text */
.hero-slogan {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin-bottom: 20px;
  font-style: normal;
}

/* Footer slogan — between NAMA wordmark and tagline */
.footer-slogan {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(207,168,60,0.7);
  letter-spacing: 0.04em;
  font-style: normal;
  margin-bottom: 6px;
  line-height: 1.4;
}

/* ===== JOB CARDS (careers page) ===== */
.job-card {
  border: 1px solid var(--border-lt);
  background: var(--white);
  padding: 28px 32px;
  margin-bottom: 2px;
  transition: background 0.15s ease;
}
.job-card:hover { background: #faf8f5; }

.job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.job-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.job-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
}
.job-sep { color: rgba(184,144,48,0.5); font-weight: 400; }
.job-dept { font-weight: 500; color: var(--navy); opacity: 0.7; }

.job-exp-badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,144,48,0.3);
  padding: 4px 12px;
  white-space: nowrap;
  background: rgba(184,144,48,0.04);
}
.job-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 20px;
  max-width: 680px;
}
.job-apply-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--navy);
  color: rgba(236,230,218,0.9);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}
.job-apply-btn:hover {
  background: var(--navy-light);
  color: var(--white);
}

@media (max-width: 640px) {
  .job-card { padding: 22px 20px; }
  .job-card-top { flex-direction: column; gap: 10px; }
  .job-exp-badge { align-self: flex-start; }
}

/* ===== CONTACT PAGE — NO FORM ===== */
.contact-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  max-width: 680px;
  margin-bottom: 48px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border-lt);
  border: 1px solid var(--border-lt);
  margin-bottom: 40px;
}
.contact-card {
  background: var(--white);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-card-icon {
  width: 28px; height: 28px;
  color: var(--gold);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.contact-card-icon svg { width: 100%; height: 100%; }
.contact-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.contact-card-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 10px;
}
.contact-card-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 20px;
  flex: 1;
}

.contact-btn {
  display: inline-block;
  padding: 10px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 2px;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  align-self: flex-start;
}
.contact-btn-primary {
  background: var(--navy);
  color: rgba(236,230,218,0.9);
}
.contact-btn-primary:hover { background: var(--navy-light); color: var(--white); }

.contact-btn-wa {
  background: #1a7340;
  color: #fff;
}
.contact-btn-wa:hover { background: #155c33; }

.contact-btn-outline {
  border: 1px solid var(--border-lt);
  color: var(--navy);
  background: transparent;
}
.contact-btn-outline:hover { border-color: var(--navy); background: var(--off-white); }

.contact-direct {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px;
  background: var(--off-white);
  border: 1px solid var(--border-lt);
  font-size: 0.82rem;
}
.contact-direct-label {
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  text-transform: uppercase;
}
.contact-direct-link {
  font-weight: 500;
  color: var(--navy);
  transition: color 0.15s ease;
}
.contact-direct-link:hover { color: var(--gold); }
.contact-direct-sep { color: var(--border-lt); }

/* ===== CAREERS — CV SUBMISSION (no form) ===== */
.cv-submit-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 32px;
}
.cv-email-link {
  color: var(--gold);
  font-weight: 500;
  transition: color 0.15s ease;
}
.cv-email-link:hover { color: var(--gold-light); }

.cv-instructions {
  border: 1px solid var(--border-lt);
  margin-bottom: 36px;
}
.cv-instr-row {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-lt);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}
.cv-instr-row:last-child { border-bottom: none; }
.cv-instr-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 2px;
}
.cv-instr-body {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.72;
  font-weight: 300;
}
.cv-instr-subject {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  font-style: italic;
}

.cv-action-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.cv-send-btn {
  font-size: 0.82rem;
  padding: 13px 32px;
}
.cv-action-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
}

/* ===== RESPONSIVE — contact / careers ===== */
@media (max-width: 1024px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .contact-cards { grid-template-columns: 1fr; }
  .cv-instr-row { grid-template-columns: 1fr; gap: 8px; }
  .contact-direct { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ===== OPEN POSITIONS — dark navy variant ===== */
.open-positions-dark {
  border-color: rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.02);
}
.open-positions-dark .no-positions-icon {
  color: rgba(184,144,48,0.45);
}
.open-positions-dark .no-positions-title {
  color: rgba(236,230,218,0.88);
}
.open-positions-dark .no-positions-body {
  color: rgba(236,230,218,0.5);
}

/* ===== CAREERS — SECTION BORDERS & DIVIDER ===== */
/* Matches site-wide border style: 1px solid var(--border-lt) on light, --border-dark on dark */
#openPositions.careers-section-bordered {
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

#submit-cv.careers-section-bordered {
  border-top: 1px solid var(--border-lt);
  border-bottom: 1px solid var(--border-lt);
}

/* Divider strip between the two sections */
.careers-section-divider {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  position: relative;
}

.careers-section-divider::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--border-lt);
}
