/* =============================================================
   Imali Consulting — Theme Styles
   css/theme.css
   ============================================================= */

:root {
  --navy:        #0d1b2a;
  --navy-mid:    #162033;
  --navy-light:  #1e2d42;
  --gold:        #c9a84c;
  --gold-light:  #e2c47a;
  --gold-pale:   #f5ead0;
  --cream:       #faf7f2;
  --text-body:   #c8d0dc;
  --text-muted:  #7a8a9a;
  --white:       #ffffff;
  --accent-green:#4caf8a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--text-body);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

img { max-width: 100%; height: auto; }
a { transition: color 0.2s; }

/* ── WORDPRESS ALIGNMENT HELPERS ── */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.4rem; }

/* ── SKIP LINK (accessibility) ── */
.skip-link {
  position: absolute; top: -100px; left: 1rem;
  background: var(--gold); color: var(--navy);
  padding: 0.5rem 1rem; border-radius: 2px;
  font-size: 0.85rem; font-weight: 600; z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ── NAV ── */
#site-navigation {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 4rem;
  background: rgba(13,27,42,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: border-color 0.3s;
}
#site-navigation.scrolled {
  border-bottom-color: rgba(201,168,76,0.25);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.site-branding a {
  display: flex; align-items: center;
  text-decoration: none;
}
.site-branding .logo-img {
  height: 48px; width: auto; display: block;
}
.site-branding .logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.05em;
}
.site-branding .logo-text span { color: var(--gold); }

/* WordPress nav menu */
.main-navigation ul {
  display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0;
  align-items: center;
}
.main-navigation ul li a {
  color: var(--text-body); text-decoration: none;
  font-size: 0.88rem; font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-align: center; line-height: 1.3;
  white-space: normal; display: block;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--gold); }

/* Sub-menus */
.main-navigation ul ul {
  display: none; position: absolute;
  background: var(--navy-mid); border: 1px solid rgba(201,168,76,0.15);
  border-radius: 2px; padding: 0.5rem 0; min-width: 200px;
  flex-direction: column; gap: 0; z-index: 200;
}
.main-navigation ul li:hover > ul { display: flex; }
.main-navigation ul ul li a {
  display: block; padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
}
.main-navigation ul ul li a:hover { background: rgba(201,168,76,0.08); }

.nav-actions {
  display: flex; align-items: center; gap: 0.75rem;
}
.nav-client-login {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: 1px solid rgba(201,168,76,0.35); color: var(--gold);
  padding: 0.6rem 1.1rem; border-radius: 2px;
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.07em;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.2s;
}
.nav-client-login:hover {
  background: rgba(201,168,76,0.08);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.nav-client-login svg { flex-shrink: 0; opacity: 0.85; }
.nav-cta {
  background: var(--gold); color: var(--navy) !important;
  padding: 0.65rem 1.6rem; border-radius: 2px;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* Mobile menu toggle */
.menu-toggle {
  display: none; background: none; border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold); padding: 0.4rem 0.75rem; border-radius: 2px;
  cursor: pointer; font-size: 1rem;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 8rem 4rem 5rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,168,76,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(76,175,138,0.05) 0%, transparent 55%),
    var(--navy);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(rgba(201,168,76,0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.8) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold); padding: 0.4rem 1rem; border-radius: 2px;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.7s ease both;
}
.hero-badge::before { content:''; width:6px; height:6px; background:var(--gold); border-radius:50%; }
.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05; color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero-title em { color: var(--gold); font-style: normal; }
.hero-subtitle {
  font-size: 1.1rem; line-height: 1.75;
  color: var(--text-body); max-width: 520px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 0.9rem 2.2rem; border-radius: 2px;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.25); color: var(--navy); }
.btn-outline {
  border: 1px solid rgba(201,168,76,0.4); color: var(--gold);
  padding: 0.9rem 2.2rem; border-radius: 2px;
  font-size: 0.88rem; font-weight: 400; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { background: rgba(201,168,76,0.08); border-color: var(--gold); color: var(--gold); }
.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem;
  padding-top: 3rem; border-top: 1px solid rgba(201,168,76,0.15);
  animation: fadeUp 0.7s 0.4s ease both; flex-wrap: wrap;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 600; color: var(--gold); line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.3rem; }
.hero-visual {
  position: absolute; right: 4rem; top: 50%; transform: translateY(-50%);
  width: 420px; z-index: 2;
  animation: fadeUp 0.8s 0.2s ease both;
}
.payslip-card {
  background: var(--navy-light);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px; padding: 2rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.payslip-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.payslip-title { font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }
.payslip-badge { background: rgba(76,175,138,0.15); color: var(--accent-green); font-size: 0.7rem; padding: 0.25rem 0.6rem; border-radius: 2px; letter-spacing: 0.06em; }
.payslip-row { display: flex; justify-content: space-between; padding: 0.55rem 0; font-size: 0.83rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.payslip-row .label { color: var(--text-muted); }
.payslip-row .value { color: var(--white); font-weight: 500; }
.payslip-row.total { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid rgba(201,168,76,0.2); border-bottom: none; }
.payslip-row.total .label { color: var(--text-body); font-weight: 500; }
.payslip-row.total .value { color: var(--gold); font-size: 1.1rem; font-family: 'Cormorant Garamond', serif; }
.payslip-tags { display: flex; gap: 0.5rem; margin-top: 1.2rem; flex-wrap: wrap; }
.tag { background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2); color: var(--gold); font-size: 0.68rem; padding: 0.2rem 0.55rem; border-radius: 2px; letter-spacing: 0.06em; }
.floating-card {
  position: absolute; right: -20px; bottom: -24px;
  background: var(--navy-mid); border: 1px solid rgba(76,175,138,0.3);
  border-radius: 4px; padding: 0.9rem 1.2rem;
  display: flex; align-items: center; gap: 0.75rem;
  animation: float 4s ease-in-out infinite;
}
.fc-icon { font-size: 1.4rem; }
.fc-text .fc-title { font-size: 0.78rem; color: var(--accent-green); font-weight: 500; }
.fc-text .fc-sub { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.1rem; }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* ── SECTION BASE ── */
.site-section { padding: 6rem 4rem; }
.section-label {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.section-label::before { content:''; display:block; width:24px; height:1px; background:var(--gold); }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); line-height: 1.15; margin-bottom: 1rem; }
.section-title em { color: var(--gold); font-style: normal; }
.section-sub { font-size: 1rem; line-height: 1.75; color: var(--text-muted); max-width: 560px; }

/* ── COMPLIANCE BAND ── */
#compliance-band {
  background: rgba(201,168,76,0.06);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 2.5rem 4rem;
}
.compliance-inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.compliance-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); white-space: nowrap; margin-right: 1rem; }
.compliance-items { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.compliance-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-body); }
.compliance-item::before { content:'✓'; color: var(--accent-green); font-size: 0.75rem; font-weight: 700; }

/* ── SERVICES ── */
#services { background: var(--navy-mid); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5px; margin-top: 3.5rem;
  border: 1.5px solid rgba(201,168,76,0.12);
  border-radius: 4px; overflow: hidden;
}
.service-card {
  background: var(--navy); padding: 2.2rem;
  transition: background 0.25s; cursor: default;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.service-card:hover { background: var(--navy-light); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { font-size: 1.6rem; margin-bottom: 1.1rem; display: block; }
.service-title { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--white); margin-bottom: 0.6rem; }
.service-desc { font-size: 0.84rem; line-height: 1.65; color: var(--text-muted); }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.stag { font-size: 0.65rem; background: rgba(201,168,76,0.08); color: var(--gold); padding: 0.18rem 0.5rem; border-radius: 2px; letter-spacing: 0.05em; }

/* ── WHY OUTSOURCE ── */
#why { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.why-stat-card {
  background: var(--navy-light); border: 1px solid rgba(201,168,76,0.12);
  border-radius: 4px; padding: 1.5rem; transition: border-color 0.2s;
}
.why-stat-card:hover { border-color: rgba(201,168,76,0.3); }
.why-stat-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
  border-color: rgba(201,168,76,0.25);
}
.wsc-num { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 600; color: var(--gold); line-height: 1; }
.wsc-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.4rem; line-height: 1.5; }
.why-points { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.why-point { display: flex; gap: 1rem; align-items: flex-start; }
.wp-icon { width: 32px; height: 32px; background: rgba(201,168,76,0.1); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; margin-top: 0.1rem; }
.wp-text h4 { font-size: 0.92rem; color: var(--white); margin-bottom: 0.25rem; font-family: 'DM Sans', sans-serif; font-weight: 500; }
.wp-text p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ── PROCESS ── */
#process { background: var(--navy-mid); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 3.5rem; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 28px; left: 12%; right: 12%;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), rgba(201,168,76,0.3), transparent);
  z-index: 0;
}
.step { text-align: center; padding: 0 1.5rem; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px;
  background: var(--navy-light); border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--gold);
  margin: 0 auto 1.5rem; transition: all 0.25s;
}
.step:hover .step-num { background: rgba(201,168,76,0.15); border-color: var(--gold); }
.step-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--white); margin-bottom: 0.5rem; }
.step-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }

/* ── INDUSTRIES ── */
.industries-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 3.5rem; }
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.industry-card {
  background: var(--navy-light); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px; padding: 1.5rem; transition: all 0.25s; cursor: default;
}
.industry-card:hover { border-color: rgba(201,168,76,0.25); transform: translateY(-3px); }
.ind-icon { font-size: 1.5rem; margin-bottom: 0.75rem; display: block; }
.ind-name { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--white); margin-bottom: 0.3rem; }
.ind-note { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }

/* ── TESTIMONIALS ── */
#testimonials { background: var(--navy-mid); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.tcard {
  background: var(--navy); border: 1px solid rgba(201,168,76,0.1);
  border-radius: 4px; padding: 2rem; transition: border-color 0.25s;
}
.tcard:hover { border-color: rgba(201,168,76,0.25); }
.tcard-quote { font-family: 'Cormorant Garamond', serif; font-size: 3rem; color: var(--gold); opacity: 0.4; line-height: 0.6; margin-bottom: 1rem; }
.tcard-text { font-size: 0.88rem; line-height: 1.75; color: var(--text-body); margin-bottom: 1.5rem; }
.tcard-author { display: flex; align-items: center; gap: 0.75rem; }
.tcard-avatar { width: 38px; height: 38px; background: rgba(201,168,76,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--gold); font-weight: 600; }
.tcard-name { font-size: 0.83rem; color: var(--white); font-weight: 500; }
.tcard-role { font-size: 0.73rem; color: var(--text-muted); }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.price-card {
  background: var(--navy-light); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px; padding: 2.2rem; transition: all 0.25s;
  position: relative; overflow: hidden;
}
.price-card.featured {
  border-color: rgba(201,168,76,0.4);
  background: linear-gradient(160deg, rgba(201,168,76,0.08), var(--navy-light));
}
.price-card.featured::before {
  content: 'Most Popular'; position: absolute; top: 1rem; right: 1rem;
  background: var(--gold); color: var(--navy);
  font-size: 0.65rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 2px; letter-spacing: 0.06em;
}
.price-tier { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.price-val { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--white); }
.price-val span { font-size: 0.9rem; color: var(--text-muted); font-family: 'DM Sans', sans-serif; }
.price-desc { font-size: 0.8rem; color: var(--text-muted); margin: 0.75rem 0 1.5rem; line-height: 1.6; }
.price-divider { height: 1px; background: rgba(255,255,255,0.07); margin-bottom: 1.5rem; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2rem; }
.price-features li { font-size: 0.82rem; color: var(--text-body); display: flex; gap: 0.6rem; align-items: flex-start; }
.price-features li::before { content: '✓'; color: var(--accent-green); font-size: 0.75rem; margin-top: 0.1rem; flex-shrink: 0; }
.price-btn {
  display: block; text-align: center; padding: 0.85rem;
  border-radius: 2px; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s;
}
.price-btn-outline { border: 1px solid rgba(201,168,76,0.35); color: var(--gold); }
.price-btn-outline:hover { background: rgba(201,168,76,0.08); color: var(--gold); }
.price-btn-solid { background: var(--gold); color: var(--navy); }
.price-btn-solid:hover { background: var(--gold-light); color: var(--navy); }

/* ── CTA BAND ── */
#cta-band {
  background: linear-gradient(135deg, rgba(201,168,76,0.12) 0%, rgba(201,168,76,0.04) 100%);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  text-align: center; padding: 6rem 4rem;
}
#cta-band h2 { font-size: clamp(2rem, 4vw, 3.5rem); color: var(--white); margin-bottom: 1rem; }
#cta-band p { font-size: 1rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ── */
#contact { background: var(--navy-mid); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 3.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.75rem; }
.ci-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon { width: 40px; height: 40px; background: rgba(201,168,76,0.1); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.ci-text h4 { font-size: 0.85rem; color: var(--white); margin-bottom: 0.25rem; font-family: 'DM Sans', sans-serif; }
.ci-text p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* Contact Form 7 overrides */
.wpcf7-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label,
.wpcf7-form label {
  font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
  display: block; margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px; padding: 0.75rem 1rem; width: 100%;
  color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { border-color: rgba(201,168,76,0.4); }
.form-group select option,
.wpcf7-form select option { background: var(--navy-mid); }
.form-group textarea,
.wpcf7-form textarea { resize: vertical; min-height: 120px; }
.form-submit,
.wpcf7-submit {
  background: var(--gold); color: var(--navy); border: none;
  padding: 1rem 2rem; border-radius: 2px;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s; align-self: flex-start;
  display: inline-block;
}
.form-submit:hover,
.wpcf7-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.wpcf7-response-output {
  margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 2px;
  font-size: 0.82rem; border: none !important;
}
.wpcf7-mail-sent-ok { background: rgba(76,175,138,0.15); color: var(--accent-green); }
.wpcf7-validation-errors { background: rgba(201,68,76,0.15); color: #e27a7a; }
.credentials-box {
  margin-top: 1rem; padding: 1.25rem;
  background: rgba(201,168,76,0.07); border: 1px solid rgba(201,168,76,0.18);
  border-radius: 4px;
}
.credentials-box strong { color: var(--gold); display: block; margin-bottom: 0.3rem; font-family: 'DM Sans', sans-serif; }
.credentials-box p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ── BLOG / ARCHIVE ── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.post-card {
  background: var(--navy-light); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px; overflow: hidden; transition: border-color 0.25s;
}
.post-card:hover { border-color: rgba(201,168,76,0.25); }
.post-card-thumb img { width: 100%; height: 200px; object-fit: cover; display: block; }
.post-card-body { padding: 1.5rem; }
.post-card-cat { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.post-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--white); margin-bottom: 0.5rem; line-height: 1.3; }
.post-card-title a { color: inherit; text-decoration: none; }
.post-card-title a:hover { color: var(--gold); }
.post-card-excerpt { font-size: 0.8rem; color: var(--text-muted); line-height: 1.65; }
.post-card-meta { margin-top: 1rem; font-size: 0.72rem; color: var(--text-muted); }

/* Single post */
.single-post-content { max-width: 720px; margin: 0 auto; padding: 8rem 2rem 5rem; }
.single-post-content h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 1rem; }
.single-post-content .post-meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(201,168,76,0.15); }
.single-post-content p { font-size: 0.95rem; line-height: 1.85; color: var(--text-body); margin-bottom: 1.25rem; }
.single-post-content h2,
.single-post-content h3 { color: var(--white); margin: 2rem 0 0.75rem; }
.single-post-content a { color: var(--gold); }
.single-post-content ul, .single-post-content ol { margin: 0 0 1.25rem 1.5rem; }
.single-post-content li { font-size: 0.93rem; line-height: 1.75; color: var(--text-body); margin-bottom: 0.3rem; }
.single-post-content blockquote {
  border-left: 3px solid var(--gold); padding-left: 1.5rem;
  margin: 1.5rem 0; color: var(--text-muted); font-style: italic;
}

/* ── FOOTER ── */
#colophon {
  background: var(--navy); border-top: 1px solid rgba(201,168,76,0.1);
  padding: 3rem 4rem 2rem;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand .footer-logo-img { height: 44px; width: auto; display: block; margin-bottom: 0.9rem; }
.footer-brand .footer-logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--white); text-decoration: none; letter-spacing: 0.05em; display: block; margin-bottom: 0.75rem; }
.footer-brand .footer-logo-text span { color: var(--gold); }
.footer-brand p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; max-width: 240px; }
.footer-col h5 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-family: 'DM Sans', sans-serif; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; padding: 0; margin: 0; }
.footer-col ul li a { font-size: 0.82rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); margin: 0; }
.footer-certs { display: flex; gap: 1rem; flex-wrap: wrap; }
.cert-badge {
  font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: 2px; color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-visual { display: none; }
  #why { grid-template-columns: 1fr; }
  .industries-header { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  #site-navigation { padding: 1rem 1.5rem; }
  .main-navigation { display: none; }
  .main-navigation.toggled { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-mid); border-bottom: 1px solid rgba(201,168,76,0.15); padding: 1rem 1.5rem; }
  .main-navigation.toggled ul { flex-direction: column; gap: 0.5rem; }
  .menu-toggle { display: block; }
  .nav-client-login { font-size: 0.72rem; padding: 0.55rem 0.85rem; }
  .nav-cta { font-size: 0.75rem; padding: 0.55rem 1rem; }
  .site-section { padding: 4rem 1.5rem; }
  #hero { padding: 7rem 1.5rem 4rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  #compliance-band { padding: 2rem 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  #cta-band { padding: 4rem 1.5rem; }
  #colophon { padding: 3rem 1.5rem 2rem; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .why-visual { grid-template-columns: 1fr; }
  .why-stat-card.featured { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; }
  .site-branding .logo-img { height: 38px; }
}

/* ── SERVICES OVERVIEW (homepage) ── */
.overview-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 3rem;
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 4px; overflow: hidden;
}
.overview-card {
  background: var(--navy-mid);
  padding: 2rem; transition: background 0.25s; position: relative; overflow: hidden;
}
.overview-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.overview-card:hover { background: var(--navy-light); }
.overview-card:hover::after { transform: scaleX(1); }
.ov-icon { font-size: 1.6rem; display: block; margin-bottom: 1rem; }
.ov-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem;
  color: var(--white); margin-bottom: 0.5rem; font-weight: 500;
}
.ov-desc { font-size: 0.83rem; line-height: 1.65; color: var(--text-muted); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  min-height: 52vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 9rem 4rem 5rem;
}
.page-hero-content { position: relative; z-index: 2; max-width: 720px; }
.page-hero-content .hero-badge { animation: none; }
.page-hero-content .hero-title { font-size: clamp(2.4rem, 5vw, 4.2rem); animation: none; }
.page-hero-content .hero-subtitle { animation: none; }
.page-hero-content .hero-actions { animation: none; }

@media (max-width: 900px) {
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 7rem 1.5rem 4rem; }
}
@media (max-width: 600px) {
  .overview-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   ACCOUNTING SERVICES PAGE
══════════════════════════════════════════════════════════ */

/* Why stats grid */
.acc-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.acc-stat-card {
  background: var(--navy-light); border: 1px solid rgba(201,168,76,0.12);
  border-radius: 4px; padding: 1.4rem; transition: border-color 0.2s;
}
.acc-stat-card:hover { border-color: rgba(201,168,76,0.3); }
.acc-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 600; color: var(--gold); line-height: 1;
}
.acc-stat-label {
  font-size: 0.75rem; color: var(--text-muted); margin-top: 0.4rem; line-height: 1.5;
}

/* Cloud callout section */
.cloud-callout { background: var(--navy-light); }
.cloud-callout-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.cloud-platforms { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
.platform-badge {
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold); font-size: 0.78rem; padding: 0.4rem 0.9rem;
  border-radius: 2px; letter-spacing: 0.04em;
}
.cloud-callout-features {
  display: flex; flex-direction: column; gap: 0.85rem; padding-top: 0.5rem;
}
.cloud-feature {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--navy-mid); border: 1px solid rgba(201,168,76,0.1);
  border-radius: 4px; padding: 0.9rem 1.1rem;
  transition: border-color 0.2s;
}
.cloud-feature:hover { border-color: rgba(201,168,76,0.25); }
.cf-icon { font-size: 1.1rem; flex-shrink: 0; }
.cf-text { font-size: 0.85rem; color: var(--text-body); }

/* Add-ons grid */
.addons-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.addon-card {
  background: var(--navy); border: 1px solid rgba(201,168,76,0.1);
  border-radius: 4px; padding: 1.6rem; transition: all 0.25s;
  display: flex; flex-direction: column;
}
.addon-card:hover { border-color: rgba(201,168,76,0.25); transform: translateY(-2px); }
.addon-icon { font-size: 1.5rem; margin-bottom: 0.75rem; display: block; }
.addon-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem;
  color: var(--white); margin-bottom: 0.4rem;
}
.addon-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.addon-price {
  margin-top: 1rem; font-size: 0.78rem; font-weight: 500;
  color: var(--gold); letter-spacing: 0.04em;
  padding-top: 0.75rem; border-top: 1px solid rgba(201,168,76,0.15);
}

/* Responsive */
@media (max-width: 1100px) {
  .cloud-callout-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 900px) {
  #why-accounting > div { grid-template-columns: 1fr !important; gap: 3rem; }
  .acc-stats-grid { grid-template-columns: 1fr 1fr; }
  .addons-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .acc-stats-grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
}

/* ── SERVICE PILLAR CARDS (homepage) ── */
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-bottom: 1.5rem;
}
.pillar-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 4px; padding: 2rem;
  display: flex; flex-direction: column;
  transition: all 0.25s; position: relative; overflow: hidden;
}
.pillar-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.pillar-card:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.pillar-card:hover::after { transform: scaleX(1); }
.pillar-card.featured-pillar {
  border-color: rgba(201,168,76,0.35);
  background: linear-gradient(160deg, rgba(201,168,76,0.08), var(--navy-mid));
}
.pillar-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(201,168,76,0.1); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.pillar-icon { font-size: 1.5rem; }
.pillar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; color: var(--white); margin-bottom: 0.6rem; font-weight: 500;
}
.pillar-desc { font-size: 0.83rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 1.2rem; }
.pillar-list { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.4rem; flex: 1; }
.pillar-list li { font-size: 0.78rem; color: var(--text-body); display: flex; align-items: flex-start; gap: 0.5rem; }
.pillar-list li::before { content: '✓'; color: var(--accent-green); font-size: 0.7rem; margin-top: 0.1rem; flex-shrink: 0; }
.pillar-from { font-size: 0.78rem; color: var(--text-muted); padding: 0.75rem 0; border-top: 1px solid rgba(201,168,76,0.12); margin-bottom: 1rem; }
.pillar-from strong { color: var(--gold); font-size: 1.1rem; font-family: 'Cormorant Garamond', serif; }
.pillar-from span { font-size: 0.72rem; color: var(--text-muted); }
.pillar-link { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); font-weight: 500; transition: color 0.2s; display: inline-block; }
.pillar-link:hover { color: var(--gold-light); }

/* Bundle strip */
.bundle-strip {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  background: rgba(201,168,76,0.07); border: 1px solid rgba(201,168,76,0.18);
  border-radius: 4px; padding: 1rem 1.5rem;
}
.bs-label { font-size: 0.82rem; color: var(--text-body); }
.bs-link { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); font-weight: 500; white-space: nowrap; }
.bs-link:hover { color: var(--gold-light); }

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

/* ══════════════════════════════════════════════════════════
   COMPANY SECRETARIAL PAGE
══════════════════════════════════════════════════════════ */

/* Urgent alert banner */
.comsec-alert-section { background: var(--navy-mid); padding: 3rem 4rem; }
.comsec-alert {
  display: flex; gap: 1.5rem; align-items: flex-start;
  background: rgba(226,122,122,0.07);
  border: 1px solid rgba(226,122,122,0.3);
  border-left: 4px solid #e27a7a;
  border-radius: 4px; padding: 1.8rem 2rem;
}
.ca-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 0.1rem; }
.ca-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; color: #e27a7a; margin-bottom: 0.65rem; font-weight: 500;
}
.ca-body { font-size: 0.88rem; line-height: 1.75; color: var(--text-body); }

/* Beneficial ownership steps */
.bo-steps { display: flex; flex-direction: column; gap: 1.25rem; }
.bo-step {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--navy); border: 1px solid rgba(201,168,76,0.1);
  border-radius: 4px; padding: 1.2rem 1.4rem; transition: border-color 0.2s;
}
.bo-step:hover { border-color: rgba(201,168,76,0.25); }
.bo-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600; color: var(--gold);
  line-height: 1; flex-shrink: 0; min-width: 28px;
}
.bo-step-title {
  font-size: 0.9rem; color: var(--white); font-weight: 500;
  margin-bottom: 0.3rem; font-family: 'DM Sans', sans-serif;
}
.bo-step-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* Ad-hoc pricing table */
.adhoc-table {
  background: var(--navy);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 4px; overflow: hidden;
  margin-top: 2.5rem;
}
.adhoc-header {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 0.5rem;
  padding: 1.1rem 1.5rem;
  background: rgba(201,168,76,0.07);
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.adhoc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: var(--white);
}
.adhoc-sub { font-size: 0.75rem; color: var(--text-muted); }
.adhoc-grid { display: grid; grid-template-columns: 1fr 1fr; }
.adhoc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
}
.adhoc-row:hover { background: rgba(201,168,76,0.04); }
.adhoc-row:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.04); }
.adhoc-service { font-size: 0.82rem; color: var(--text-body); }
.adhoc-price { font-size: 0.82rem; color: var(--gold); font-weight: 500; white-space: nowrap; margin-left: 1rem; }

/* Linked services cards */
.comsec-linked-services { display: flex; flex-direction: column; gap: 1rem; }
.linked-service-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--navy-light); border: 1px solid rgba(201,168,76,0.12);
  border-radius: 4px; padding: 1.1rem 1.3rem;
  text-decoration: none; transition: all 0.25s;
}
.linked-service-card:hover { border-color: rgba(201,168,76,0.3); transform: translateX(4px); }
.ls-icon { font-size: 1.4rem; flex-shrink: 0; }
.ls-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; color: var(--white); margin-bottom: 0.2rem;
}
.ls-desc { font-size: 0.77rem; color: var(--text-muted); line-height: 1.5; }
.ls-arrow { color: var(--gold); margin-left: auto; font-size: 1rem; flex-shrink: 0; }

/* Responsive */
@media (max-width: 1100px) {
  .comsec-alert-section { padding: 3rem 1.5rem; }
}
@media (max-width: 900px) {
  .comsec-alert { flex-direction: column; gap: 1rem; }
  .adhoc-grid { grid-template-columns: 1fr; }
  .adhoc-row:nth-child(odd) { border-right: none; }
}

/* ── B1 LOGO STYLES ── */
.logo-b1 {
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; gap: 0;
}
.b1-motif {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 5px;
}
.b1-motif svg { display: block; }
.b1-motif svg:nth-child(2) { margin: 0 6px; }
.b1-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.85rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.16em;
  text-transform: uppercase; line-height: 1;
  display: block;
}
.b1-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.52rem; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-top: 4px; display: block;
}

/* Footer variant — slightly smaller */
.logo-b1-footer .b1-wordmark { font-size: 1.9rem; }
.logo-b1-footer { margin-bottom: 0.85rem; }

/* Override old site-branding / footer-logo-text styles */
.site-branding a { font-family: inherit; font-size: inherit; color: inherit; }

/* ── L3 NAV LOGO — IMALI ◆ Consulting ── */
.logo-l3 {
  display: flex; align-items: center; gap: 0;
  text-decoration: none;
}
.l3-imali {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.16em;
  text-transform: uppercase; line-height: 1;
}
.l3-sep {
  display: flex; align-items: center;
  margin: 0 12px; flex-shrink: 0;
}
.l3-sep svg { display: block; }
.l3-consulting {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); line-height: 1;
  align-self: center; margin-bottom: 0;
}

/* ── COMPLIANCE DASHBOARD (homepage hero visual) ── */
.compliance-dashboard {
  width: 420px; background: var(--navy-light);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px; padding: 1.4rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.cd-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.1rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(201,168,76,0.12); }
.cd-header-left { display: flex; flex-direction: column; gap: 2px; }
.cd-title { font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }
.cd-sub { font-size: 0.68rem; color: var(--text-muted); }
.cd-status-badge { font-size: 0.62rem; font-weight: 500; background: rgba(76,175,138,0.15); color: var(--green); padding: 0.22rem 0.6rem; border-radius: 2px; letter-spacing: 0.04em; white-space: nowrap; }
.cd-health { margin-bottom: 1.1rem; }
.cd-health-label { display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.cd-health-pct { color: var(--green); font-weight: 500; }
.cd-health-track { height: 4px; background: rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden; }
.cd-health-fill { height: 100%; background: linear-gradient(90deg, var(--green), #7ecf7e); border-radius: 2px; }
.cd-rows { display: flex; flex-direction: column; gap: 0; }
.cd-row { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.cd-row:last-child { border-bottom: none; }
.cd-row-icon { width: 30px; height: 30px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.payroll-ic    { background: rgba(201,168,76,0.12); }
.accounting-ic { background: rgba(76,138,175,0.12); }
.contracts-ic  { background: rgba(138,76,175,0.12); }
.comsec-ic     { background: rgba(76,175,138,0.12); }
.cd-row-content { flex: 1; }
.cd-row-title { font-size: 0.78rem; font-weight: 500; color: var(--white); margin-bottom: 0.3rem; }
.cd-row-items { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.cd-item { font-size: 0.62rem; padding: 0.12rem 0.4rem; border-radius: 2px; }
.cd-item.green { background: rgba(76,175,138,0.12); color: var(--green); }
.cd-item.amber { background: rgba(226,196,122,0.12); color: #e2c47a; }
.cd-item.red   { background: rgba(226,122,122,0.12); color: #e27a7a; }
.cd-row-date { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex-shrink: 0; }
.cd-date-label { font-size: 0.58rem; color: var(--text-muted); }
.cd-date-val { font-size: 0.72rem; color: var(--text-body); font-weight: 500; }
.cd-date-val.cd-urgent { color: #e27a7a; }
.cd-footer { display: flex; align-items: center; justify-content: center; gap: 0.5rem; flex-wrap: wrap; padding-top: 0.9rem; margin-top: 0.5rem; border-top: 1px solid rgba(201,168,76,0.1); }
.cd-footer-item { font-size: 0.62rem; color: var(--text-muted); }
.cd-footer-sep  { color: rgba(201,168,76,0.3); font-size: 0.5rem; }

@media (max-width: 1100px) { .compliance-dashboard { display: none; } }
