/* ==========================================================================
   KHA GROUP CONSULTANCY — REDESIGNED STYLESHEET
   Theme: Crisp White, Deep Navy #0A192F, Champagne Gold #C59B27
   Zero Icons. Fully Responsive. Mobile-first.
   ========================================================================== */

/* ─── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  --navy:          #0A192F;
  --navy-mid:      #112240;
  --navy-light:    #1e3a5f;
  --gold:          #C59B27;
  --gold-light:    #d4aa3f;
  --gold-pale:     #f5edd9;
  --gold-border:   rgba(197, 155, 39, 0.3);
  --white:         #ffffff;
  --off-white:     #f8f9fb;
  --slate-50:      #f1f5f9;
  --slate-100:     #e2e8f0;
  --slate-300:     #94a3b8;
  --slate-400:     #64748b;
  --slate-600:     #334155;
  --text-body:     #1e293b;
  --text-muted:    #64748b;

  --font-sans:     'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif:    'Playfair Display', Georgia, serif;

  --max-w:         1200px;
  --px:            clamp(18px, 4vw, 48px);

  --rad-sm:        6px;
  --rad-md:        10px;
  --rad-lg:        16px;
  --rad-xl:        24px;

  --shadow-sm:     0 1px 4px rgba(10,25,47,.06);
  --shadow-md:     0 4px 18px rgba(10,25,47,.09);
  --shadow-lg:     0 12px 36px rgba(10,25,47,.13);

  --ease:          cubic-bezier(.4,0,.2,1);
  --dur:           220ms;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

section, footer, aside, main {
  max-width: 100%;
  overflow-x: hidden;
}

header {
  max-width: 100%;
  overflow: visible !important;
}

/* ─── Container ──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

/* ─── Typography helpers ─────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--gold-light); }
.eyebrow.light::before { background: var(--gold-light); }

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.section-title.light { color: var(--white); }
.section-title span { color: var(--gold); }

.section-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 660px;
}
.section-lead.light { color: #cbd5e1; }
.center-text { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .1px;
  border-radius: var(--rad-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  text-align: center;
  line-height: 1.3;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,25,47,.22);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197,155,39,.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-sm { padding: 9px 18px; font-size: .82rem; }
.btn-lg { padding: 15px 34px; font-size: .95rem; }

.nav-actions .btn { white-space: nowrap; }

/* ─── TOP ANNOUNCEMENT BAR ───────────────────────────────────────────────── */
.top-bar {
  background: var(--navy);
  color: #94a3b8;
  font-size: .76rem;
  overflow: hidden;
  width: 100%;
  border-bottom: 1px solid rgba(197,155,39,.2);
  padding: 7px 0;
}
.top-bar-marquee { overflow: hidden; display: flex; }
.top-bar-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.top-bar-track:hover { animation-play-state: paused; }
.top-bar-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  white-space: nowrap;
}
.top-bar-item { font-weight: 600; color: #cbd5e1; letter-spacing: .3px; }
.top-bar-dot { color: var(--gold); font-weight: 900; }

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── NAVIGATION ─────────────────────────────────────────────────────────── */
.main-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #ffffff;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.main-nav.is-scrolled {
  box-shadow: 0 4px 24px rgba(10, 25, 47, 0.12) !important;
  border-bottom: 1px solid rgba(197, 155, 39, 0.25) !important;
  background: rgba(255, 255, 255, 0.99) !important;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand-logo { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo img { height: 44px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  font-size: .86rem;
  font-weight: 600;
  color: var(--slate-600);
  padding: 6px 10px;
  border-radius: var(--rad-sm);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.nav-link:hover { color: var(--navy); background: var(--slate-50); }
.nav-link.active {
  color: var(--gold);
  background: rgba(197, 155, 39, 0.08);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid var(--slate-200, #e2e8f0);
  border-radius: var(--rad-sm);
  cursor: pointer;
  gap: 5px;
}
.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-cta-item { display: none; }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 80px 0 0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(197,155,39,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  min-height: auto;
  padding-bottom: 12px;
}

.hero-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.16;
  letter-spacing: -.035em;
  margin-bottom: 20px;
  text-align: center;
}
.hero-title .gold { color: var(--gold); }

.hero-lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 680px;
  text-align: center;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
  width: 100%;
}

.hero-trust {
  width: 100%;
  max-width: 760px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(197, 155, 39, 0.35);
  border-radius: var(--rad-lg);
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  box-shadow: 0 8px 30px rgba(10, 25, 47, 0.35);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.trust-item:last-child {
  border-right: none;
}
.trust-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.trust-desc {
  font-size: .68rem;
  color: var(--gold-light);
  letter-spacing: .5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
}

/* Hero marquee strip */
.hero-marquee {
  margin-top: 56px;
  background: rgba(255, 255, 255, .05);
  border-top: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
  padding: 13px 0;
  display: flex;
}
.hero-marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 24s linear infinite;
}
.hero-marquee-track:hover { animation-play-state: paused; }
.hero-marquee-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  white-space: nowrap;
}
.marquee-item {
  font-size: .84rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: .2px;
  white-space: nowrap;
}
.marquee-dot { color: var(--gold); font-size: 1.1rem; }

/* ─── STATS BAR ──────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--gold);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 8px 20px;
  border-right: 1px solid rgba(10,25,47,.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat-lbl {
  font-size: .76rem;
  font-weight: 800;
  color: var(--navy);
  opacity: .9;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 4px;
}

/* ─── ABOUT ──────────────────────────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--white);
}
.about-header {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}
.about-header .eyebrow {
  margin-bottom: 14px;
}
.about-header .section-title {
  margin-bottom: 20px;
}
.about-narrative {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-desc {
  font-size: .98rem;
  color: var(--slate-600);
  line-height: 1.75;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.pillar-card {
  padding: 28px 24px;
  background: var(--off-white);
  border: 1.5px solid var(--slate-100);
  border-radius: var(--rad-lg);
  border-top: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  transition: all var(--dur) var(--ease);
}
.pillar-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.pillar-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.pillar-text h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}
.pillar-text p {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.about-cta-center {
  text-align: center;
  margin-top: 16px;
}

/* ─── SERVICES ───────────────────────────────────────────────────────────── */
.services {
  padding: 100px 0;
  background: var(--off-white);
  border-top: 1px solid var(--slate-100);
}
.section-header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-header .section-title { margin-bottom: 14px; }

.services-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
}
.tab-btn {
  padding: 10px 22px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--slate-100);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  line-height: 1.3;
}
.tab-btn:hover {
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.08);
}
.tab-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(10, 25, 47, 0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--slate-100);
  border-radius: var(--rad-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.service-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-card:hover::after { transform: scaleX(1); }

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.service-code {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(197,155,39,.1);
  padding: 3px 9px;
  border-radius: var(--rad-sm);
}
.service-cat {
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .6px;
}
.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
}
.service-desc {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}
.service-list {
  border-top: 1px solid var(--slate-100);
  padding-top: 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service-list li {
  font-size: .82rem;
  color: var(--navy);
  padding: 6px 10px;
  background: var(--slate-50);
  border-radius: 4px;
  line-height: 1.4;
}
.btn-card {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: .84rem;
  font-weight: 700;
  text-align: center;
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--navy);
  border-radius: var(--rad-sm);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  line-height: 1.35;
}
.btn-card:hover {
  background: var(--navy);
  color: var(--white);
}

/* ─── CALCULATOR ─────────────────────────────────────────────────────────── */
.calculator {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.calculator::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(197,155,39,.07) 0%, transparent 65%);
  pointer-events: none;
}
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.calc-intro .eyebrow { margin-bottom: 14px; }
.calc-intro .section-title { margin-bottom: 18px; }
.calc-intro .section-lead { margin-bottom: 0; }

.calc-box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--rad-xl);
  padding: 32px 28px;
  backdrop-filter: blur(8px);
}
.calc-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}
.field-group {}
.field-label {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.field-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--rad-sm);
  color: var(--white);
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: border-color var(--dur) var(--ease);
  -webkit-appearance: none;
}
.field-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,155,39,.18);
}
.field-input option { background: var(--navy-mid); color: var(--white); }
.field-hint {
  font-size: .72rem;
  color: #94a3b8;
  margin-top: 5px;
}

.calc-btn {
  width: 100%;
  padding: 14px;
  font-size: .9rem;
  font-weight: 700;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--rad-sm);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  margin-bottom: 24px;
}
.calc-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197,155,39,.4);
}

.calc-result {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(197,155,39,.2);
  border-radius: var(--rad-lg);
  padding: 22px 20px;
}
.calc-result-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.calc-result-desc {
  font-size: .84rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 18px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.metric-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--rad-md);
  padding: 14px 12px;
  text-align: center;
}
.metric-card.highlight {
  background: rgba(197,155,39,.1);
  border-color: rgba(197,155,39,.3);
}
.metric-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.metric-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.02em;
}
.metric-val.gold { color: var(--gold); }
.metric-val small {
  font-size: .72rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: normal;
}
.metric-sub {
  font-size: .69rem;
  color: #94a3b8;
  margin-top: 4px;
}
.calc-result-cta {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: .86rem;
  font-weight: 700;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--rad-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.4;
  box-sizing: border-box;
}
.calc-result-cta:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

/* ─── WHY REJECTED ───────────────────────────────────────────────────────── */
.why-rejected {
  padding: 100px 0;
  background: var(--white);
}
.rejected-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.rejected-card {
  padding: 28px 24px;
  border: 1.5px solid var(--slate-100);
  border-radius: var(--rad-lg);
  background: var(--white);
  transition: all var(--dur) var(--ease);
  position: relative;
}
.rejected-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
}
.rejected-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(197,155,39,.15);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 12px;
}
.rejected-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.rejected-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.rejected-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(197,155,39,.08);
  border: 1px solid rgba(197,155,39,.2);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ─── HOW IT WORKS ───────────────────────────────────────────────────────── */
.how-it-works {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(30, 58, 95, 0.4) 0%, transparent 80%);
  pointer-events: none;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.step-card {
  padding: 32px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 155, 39, 0.25);
  border-top: 3px solid var(--gold);
  border-radius: var(--rad-lg);
  transition: all var(--dur) var(--ease);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.step-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(197, 155, 39, 0.2);
}

.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  display: block;
}
.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.35;
}
.step-desc {
  font-size: .88rem;
  color: #cbd5e1;
  line-height: 1.7;
}
.steps-cta {
  text-align: center;
  margin-top: 44px;
}
.steps-disclaimer {
  font-size: .8rem;
  color: #94a3b8;
  margin-top: 12px;
}

/* ─── CASE STUDIES ───────────────────────────────────────────────────────── */
.cases {
  padding: 100px 0;
  background: var(--off-white);
  border-top: 1px solid var(--slate-100);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.case-card {
  background: var(--white);
  border: 1.5px solid var(--slate-100);
  border-radius: var(--rad-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--dur) var(--ease);
}
.case-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
  transform: translateY(-3px);
}
.case-header {
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--slate-100);
}
.case-tag {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
  margin-bottom: 8px;
}
.case-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.case-body { padding: 18px 22px; flex-grow: 1; }
.case-situation {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}
.case-solution {
  font-size: .84rem;
  color: var(--navy);
  line-height: 1.62;
  padding: 10px 14px;
  background: var(--slate-50);
  border-radius: var(--rad-sm);
  border-left: 2.5px solid var(--navy);
}
.case-footer {
  padding: 16px 22px;
  background: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.case-result-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -.02em;
}
.case-result-lbl {
  font-size: .72rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 2px;
}

/* ─── TESTIMONIALS & AUTO-SCROLL CAROUSEL ────────────────────────────────── */
.testimonials {
  padding: 88px 0;
  background: var(--white);
  overflow: hidden;
  position: relative;
}

/* Fallback static grid */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* Auto-Scroll Marquee Carousel Container */
.testi-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
  padding: 14px 0 20px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 7%, black 93%, transparent);
  mask-image: linear-gradient(to right, transparent, black 7%, black 93%, transparent);
  cursor: grab;
}
.testi-marquee-wrapper:active {
  cursor: grabbing;
}

/* Gradient Fade Masks on Left & Right Edges */
.testi-fade-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 5;
  pointer-events: none;
}
.testi-fade-mask.left {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}
.testi-fade-mask.right {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Continuous Horizontal Scrolling Track */
.testi-marquee-content {
  display: flex;
  width: max-content;
  animation: testiContinuousScroll 48s linear infinite;
  will-change: transform;
}

.testi-marquee-wrapper:hover .testi-marquee-content,
.testi-marquee-content.is-paused,
.testi-marquee-content.is-manual-paused {
  animation-play-state: paused !important;
}

.testi-track-group {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding-right: 24px;
  flex-shrink: 0;
}

@keyframes testiContinuousScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Testimonial Card Styling */
.testi-card {
  background: var(--off-white);
  border: 1.5px solid var(--slate-100);
  border-radius: var(--rad-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--dur) var(--ease);
}
.testi-track-group .testi-card {
  width: 380px;
  min-width: 380px;
  max-width: 380px;
  min-height: 270px;
  flex-shrink: 0;
  box-sizing: border-box;
}
.testi-card:hover {
  border-color: var(--gold-border);
  box-shadow: 0 10px 24px rgba(10, 25, 47, 0.08);
  transform: translateY(-4px);
  background: var(--white);
}
.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.testi-star {
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}
.testi-quote {
  font-size: .91rem;
  color: var(--slate-600);
  line-height: 1.7;
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 20px;
}
.testi-author {
  border-top: 1px solid var(--slate-100);
  padding-top: 14px;
}
.testi-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
}
.testi-role {
  font-size: .78rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
}
.testi-loc {
  font-size: .76rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ─── FAQ ─────────────────────────────────────────────────────────────────── */
.faq {
  padding: 100px 0;
  background: var(--off-white);
  border-top: 1px solid var(--slate-100);
}
.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--slate-100);
  border-radius: var(--rad-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.faq-item.active { border-color: var(--gold); }
.faq-question {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-size: .94rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  gap: 12px;
  line-height: 1.4;
  transition: color var(--dur) var(--ease);
}
.faq-question:hover { color: var(--gold); }
.faq-toggle {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  transition: max-height .35s var(--ease), padding .35s var(--ease);
}
.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 20px 18px;
}

/* ─── CONTACT ────────────────────────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--white);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 52px;
  align-items: start;
}
.contact-form-panel {
  background: var(--white);
  border: 1.5px solid var(--slate-100);
  border-radius: var(--rad-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.form-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-subtitle {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 26px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: .76rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 6px;
}
.form-control {
  padding: 12px 14px;
  background: var(--off-white);
  border: 1.5px solid var(--slate-100);
  border-radius: var(--rad-sm);
  color: var(--navy);
  font-size: .9rem;
  font-family: var(--font-sans);
  transition: border-color var(--dur) var(--ease);
  width: 100%;
  box-sizing: border-box;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,155,39,.12);
  background: var(--white);
}
textarea.form-control { min-height: 100px; resize: vertical; }
.form-note {
  font-size: .76rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.5;
}
.form-submit {
  width: 100%;
  padding: 14px;
  font-size: .92rem;
  font-weight: 700;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--rad-sm);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  line-height: 1.3;
}
.form-submit:hover {
  background: var(--navy-mid);
  box-shadow: 0 6px 20px rgba(10,25,47,.25);
}

/* Contact Info Panel */
.contact-info-panel {
  background: var(--navy);
  border-radius: var(--rad-xl);
  padding: 36px 32px;
  height: fit-content;
  border: 1px solid rgba(197,155,39,.2);
}
.info-panel-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.25;
  word-break: break-word;
}
.info-panel-desc {
  font-size: .88rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 28px;
}
.info-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}
.info-row {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.info-row:first-child { padding-top: 0; }
.info-row:last-child { border-bottom: none; }
.info-row-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.info-row-val {
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.info-row-sub {
  font-size: .76rem;
  color: #cbd5e1;
  margin-top: 2px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.info-badge {
  background: rgba(197,155,39,.1);
  border: 1px solid rgba(197,155,39,.3);
  border-radius: var(--rad-md);
  padding: 16px 18px;
}
.info-badge-title {
  font-size: .74rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 6px;
}
.info-badge-desc {
  font-size: .82rem;
  color: #e2e8f0;
  line-height: 1.6;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 64px 0 0;
  border-top: 1px solid rgba(197,155,39,.2);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}
.footer-brand-desc {
  font-size: .84rem;
  color: #cbd5e1;
  line-height: 1.72;
  margin-bottom: 14px;
  max-width: 300px;
}
.footer-reg {
  font-size: .76rem;
  color: #94a3b8;
}
.footer-col-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  font-size: .84rem;
  color: #cbd5e1;
  transition: color var(--dur) var(--ease);
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact-row {
  font-size: .84rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 12px;
}
.footer-contact-lbl {
  font-weight: 700;
  color: var(--gold-light);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 2px;
}
.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.footer-legal-links a {
  font-size: .78rem;
  color: #cbd5e1;
  transition: color var(--dur) var(--ease);
}
.footer-legal-links a:hover { color: var(--gold); }

/* ─── MODAL ──────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,25,47,.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur) var(--ease);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-dialog {
  background: var(--white);
  border-radius: var(--rad-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform var(--dur) var(--ease);
}
.modal-dialog::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.modal-overlay.active .modal-dialog { transform: translateY(0); }
.modal-head {
  background: var(--navy);
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gold);
  border-radius: var(--rad-xl) var(--rad-xl) 0 0;
}
.modal-head h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.modal-x {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color var(--dur) var(--ease);
}
.modal-x:hover { color: var(--gold); }
.modal-content { padding: 26px; }
.modal-foot {
  padding: 16px 26px 22px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ─── SCROLL REVEAL ANIMATIONS ─────────────────────────────────────────── */
html.js-scroll-anim .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js-scroll-anim .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.js-scroll-anim .reveal-scale {
  opacity: 0;
  transform: scale(0.96) translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js-scroll-anim .reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Stagger animation delays for grid items */
html.js-scroll-anim .reveal-d1 { transition-delay: 0.08s; }
html.js-scroll-anim .reveal-d2 { transition-delay: 0.16s; }
html.js-scroll-anim .reveal-d3 { transition-delay: 0.24s; }
html.js-scroll-anim .reveal-d4 { transition-delay: 0.32s; }
html.js-scroll-anim .reveal-d5 { transition-delay: 0.40s; }
html.js-scroll-anim .reveal-d6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  html.js-scroll-anim .reveal,
  html.js-scroll-anim .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner { gap: 36px; }
  .about-grid { gap: 44px; }
  .calc-layout { gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 920px) {
  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px var(--px);
    gap: 4px;
    border-bottom: 2px solid var(--gold);
    box-shadow: var(--shadow-lg);
    align-items: flex-start;
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .nav-links .nav-link {
    width: 100%;
    padding: 10px 12px;
    border-bottom: 1px solid var(--slate-100);
    font-size: .9rem;
  }
  .nav-links .nav-link.active {
    color: var(--gold);
    font-weight: 700;
    background: rgba(197, 155, 39, 0.06);
  }
  .nav-links .nav-link:last-of-type { border-bottom: none; }
  .mobile-cta-item { display: block; width: 100%; padding-top: 8px; }
  .mobile-cta-item .btn { width: 100%; }
  .mobile-toggle { display: flex; }
  .nav-actions .btn:not(.mobile-toggle) { display: none; }

  /* Hero */
  .hero { padding: 52px 0 0; }
  .hero-inner { min-height: auto; }
  .hero-lead { max-width: 100%; }
  .hero-trust {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 16px;
  }
  .trust-item {
    border-right: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--rad-md);
    padding: 12px 10px;
  }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(10,25,47,.15); }
  .stat-item:nth-child(4) { border-right: none; }

  /* About */
  .about { padding: 64px 0; }
  .about-pillars { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  /* Services */
  .services { padding: 64px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Calculator */
  .calculator { padding: 64px 0; }
  .calc-layout { grid-template-columns: 1fr; gap: 36px; }
  .metrics-grid { grid-template-columns: 1fr; gap: 10px; }

  /* Why Rejected */
  .why-rejected { padding: 64px 0; }
  .rejected-grid { grid-template-columns: 1fr; }

  /* Steps */
  .how-it-works { padding: 64px 0; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Cases */
  .cases { padding: 64px 0; }
  .cases-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials { padding: 64px 0; }
  .testi-grid { grid-template-columns: 1fr; }

  /* FAQ */
  .faq { padding: 64px 0; }

  /* Contact */
  .contact { padding: 64px 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 640px) {
  :root { --px: 16px; }

  /* Nav */
  .nav-inner { height: 64px; }
  .nav-links { top: 64px; }

  /* Hero */
  .hero { padding: 40px 0 0; }
  .hero-title { font-size: clamp(1.8rem, 6.2vw, 2.4rem); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-trust {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(197, 155, 39, 0.35);
    border-radius: var(--rad-md);
  }
  .trust-item {
    border-right: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--rad-sm);
    padding: 12px 8px;
    text-align: center;
  }
  .trust-val { font-size: 1.35rem; }
  .trust-desc { font-size: .68rem; }

  /* Stats — buat ke bawah (1 column) untuk mobile */
  .stats-bar { padding: 20px 0; }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(10, 25, 47, 0.15) !important;
    padding: 16px 20px;
  }
  .stat-item:last-child {
    border-bottom: none !important;
  }
  .stat-num { font-size: 2.1rem; }
  .stat-lbl { font-size: .8rem; }

  /* About */
  .about { padding: 48px 0; }
  .about-header { margin-bottom: 28px; }
  .about-pillars {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 28px;
  }
  .pillar-card { padding: 20px 18px; }
  .about-cta-center .btn {
    width: 100%;
    max-width: 380px;
  }

  /* Services filter tabs — kemas 2x2 grid */
  .services-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-width: 440px;
    margin: 0 auto 32px;
    width: 100%;
  }
  .tab-btn {
    width: 100%;
    padding: 10px 8px;
    font-size: .78rem;
    font-weight: 700;
    text-align: center;
    border-radius: var(--rad-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    line-height: 1.25;
  }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Calculator */
  .calc-box { padding: 22px 16px; }
  .calc-result { padding: 18px 14px; }

  /* Why Rejected */
  .rejected-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Testimonials */
  .testimonials { padding: 60px 0; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-marquee-wrapper {
    margin-top: 28px;
    padding: 10px 0 14px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  }
  .testi-fade-mask {
    width: 28px;
  }
  .testi-track-group {
    gap: 16px;
    padding-right: 16px;
  }
  .testi-track-group .testi-card {
    width: 295px;
    min-width: 295px;
    max-width: 295px;
    padding: 22px 18px;
    min-height: 250px;
  }
  .testi-quote {
    font-size: .88rem;
    line-height: 1.62;
    margin-bottom: 16px;
  }

  /* Contact */
  .contact-form-panel { padding: 24px 18px; }
  .contact-info-panel { padding: 24px 18px; }
  .info-panel-title { font-size: 1.15rem; word-break: break-word; }
  .info-row-val { font-size: .88rem; word-break: break-word; overflow-wrap: anywhere; }
  .info-row-sub { word-break: break-word; overflow-wrap: anywhere; }
  .form-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; }
  .footer-legal-links { flex-direction: column; gap: 6px; }
  .footer-bottom { align-items: stretch; }

  /* Modals */
  .modal-dialog { max-width: 100%; border-radius: var(--rad-lg); }
  .modal-head { padding: 18px 20px; }
  .modal-content { padding: 20px 18px; }
  .modal-foot { padding: 14px 18px; flex-direction: column; gap: 8px; }
  .modal-foot .btn { width: 100%; }
  .modal-head h3 { font-size: 1rem; }
}

/* ==========================================================================
   MULTI-PAGE WEBSITE SUBPAGE COMPONENTS
   Zero Icons. Professional Typography & Layouts.
   ========================================================================== */

/* ─── PAGE BANNER & BREADCRUMB ───────────────────────────────────────────── */
.page-banner {
  background: var(--navy);
  padding: 64px 0 52px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 155, 39, 0.2);
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 20%, rgba(197, 155, 39, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .84rem;
  color: #94a3b8;
  margin-bottom: 16px;
}
.breadcrumb a {
  color: #cbd5e1;
  transition: color var(--dur) var(--ease);
}
.breadcrumb a:hover {
  color: var(--gold);
}
.breadcrumb-sep {
  color: var(--gold);
  font-size: .8rem;
  user-select: none;
}
.breadcrumb-current {
  color: var(--gold-light);
  font-weight: 600;
}
.page-banner-title {
  font-family: var(--font-sans);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.page-banner-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 740px;
  line-height: 1.75;
}

/* ─── SUBPAGE SECTIONS ───────────────────────────────────────────────────── */
.page-section {
  padding: 80px 0;
  position: relative;
}
.page-section.bg-light {
  background: var(--off-white);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}
.page-section.bg-navy {
  background: var(--navy);
  color: var(--white);
}

/* ─── NARRATIVE & CONTENT BOXES ─────────────────────────────────────────── */
.narrative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.narrative-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 18px;
}
.narrative-body p {
  font-size: .96rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 16px;
}
.highlight-panel {
  background: var(--white);
  border: 1.5px solid var(--slate-100);
  border-left: 4px solid var(--gold);
  border-radius: var(--rad-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.highlight-panel-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.highlight-panel p {
  font-size: .92rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 12px;
}
.highlight-panel p:last-child {
  margin-bottom: 0;
}

/* ─── VALUES GRID ────────────────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  background: var(--white);
  border: 1.5px solid var(--slate-100);
  border-radius: var(--rad-md);
  padding: 28px 22px;
  transition: all var(--dur) var(--ease);
}
.value-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.value-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}
.value-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.value-desc {
  font-size: .88rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ─── DSR ZONES ──────────────────────────────────────────────────────────── */
.dsr-zones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.zone-card {
  background: var(--white);
  border: 1.5px solid var(--slate-100);
  border-radius: var(--rad-md);
  padding: 24px 20px;
  position: relative;
  transition: all var(--dur) var(--ease);
}
.zone-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.zone-card.zone-green { border-top: 4px solid #16a34a; }
.zone-card.zone-yellow { border-top: 4px solid #ca8a04; }
.zone-card.zone-orange { border-top: 4px solid #ea580c; }
.zone-card.zone-red { border-top: 4px solid #dc2626; }

.zone-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 12px;
}
.zone-green .zone-badge { background: #dcfce7; color: #166534; }
.zone-yellow .zone-badge { background: #fef9c3; color: #854d0e; }
.zone-orange .zone-badge { background: #ffedd5; color: #9a3412; }
.zone-red .zone-badge { background: #fee2e2; color: #991b1b; }

.zone-range {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.zone-status {
  font-size: .88rem;
  font-weight: 700;
  color: var(--slate-600);
  margin-bottom: 10px;
}
.zone-desc {
  font-size: .82rem;
  color: var(--slate-400);
  line-height: 1.55;
}

/* ─── DATA TABLE ─────────────────────────────────────────────────────────── */
.data-table-wrapper {
  overflow-x: auto;
  border-radius: var(--rad-md);
  border: 1.5px solid var(--slate-100);
  background: var(--white);
  margin-top: 28px;
  box-shadow: var(--shadow-sm);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: .88rem;
}
.data-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  padding: 14px 18px;
  font-size: .84rem;
  letter-spacing: .3px;
  white-space: nowrap;
}
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--slate-100);
  color: var(--navy);
  line-height: 1.55;
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table tr:nth-child(even) td {
  background: var(--slate-50);
}
.data-table .highlight-col {
  font-weight: 700;
  color: var(--gold);
}

/* ─── DOCUMENT CHECKLIST ─────────────────────────────────────────────────── */
.doc-checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.doc-card {
  background: var(--white);
  border: 1.5px solid var(--slate-100);
  border-radius: var(--rad-md);
  padding: 28px 24px;
  transition: all var(--dur) var(--ease);
}
.doc-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
}
.doc-card-badge {
  font-size: .72rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.doc-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.doc-list li {
  font-size: .86rem;
  color: var(--slate-600);
  padding: 8px 12px;
  background: var(--slate-50);
  border-radius: var(--rad-sm);
  line-height: 1.45;
  border-left: 2px solid var(--gold);
}

/* ─── PAGE CTA BANNER ────────────────────────────────────────────────────── */
.page-cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: 1px solid rgba(197, 155, 39, 0.3);
  border-radius: var(--rad-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.page-cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(197, 155, 39, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-cta-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
}
.page-cta-lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.page-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── RESPONSIVE FOR SUBPAGES ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .dsr-zones-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-checklist-grid { grid-template-columns: 1fr; }
  .narrative-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .page-banner { padding: 44px 0 36px; }
  .page-section { padding: 56px 0; }
  .values-grid { grid-template-columns: 1fr; }
  .dsr-zones-grid { grid-template-columns: 1fr; }
  .page-cta-box { padding: 36px 20px; }
  .page-cta-actions { flex-direction: column; width: 100%; }
  .page-cta-actions .btn { width: 100%; }
}

/* ==========================================================================
   CLIENT REVIEW SUBMISSION & CMS ADMIN PORTAL
   Zero Icons. Professional Typography & Layout.
   ========================================================================== */
.testi-actions-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.cms-link-badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200, #e2e8f0);
  border-radius: var(--rad-sm);
  font-size: .82rem;
  font-weight: 700;
  color: var(--slate-600);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
}
.cms-link-badge:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* CMS / Admin Portal Layout */
.admin-dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: var(--off-white);
  color: var(--navy);
  width: 100%;
}
.admin-sidebar {
  width: 275px;
  min-width: 275px;
  max-width: 275px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid rgba(197, 155, 39, 0.25);
  box-sizing: border-box;
  z-index: 100;
  overflow-y: auto;
}
.admin-sidebar-header {
  padding: 24px 20px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.admin-sidebar-brand { display: block; }
.admin-sidebar-brand img {
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.admin-sidebar-user {
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.8);
  flex-shrink: 0;
}
.admin-user-name {
  font-size: .86rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.admin-user-role {
  font-size: .72rem;
  color: #94a3b8;
}
.admin-sidebar-nav {
  padding: 18px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-nav-group-title {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold-light);
  padding: 6px 10px 4px;
  margin-bottom: 2px;
}
.admin-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--rad-sm);
  background: transparent;
  color: #cbd5e1;
  border: none;
  font-size: .84rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  box-sizing: border-box;
  line-height: 1.3;
}
.admin-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}
.admin-sidebar-link.active {
  background: rgba(197, 155, 39, 0.16);
  color: var(--gold-light);
  font-weight: 700;
  border-left: 3px solid var(--gold);
}
.sidebar-badge {
  font-size: .70rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  line-height: 1.2;
}
.sidebar-badge.badge-pending {
  background: #fef9c3;
  color: #854d0e;
}
.sidebar-badge.badge-approved {
  background: #dcfce7;
  color: #166534;
}
.admin-sidebar-btn {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--rad-sm);
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  margin-top: 6px;
  box-sizing: border-box;
  line-height: 1.3;
}
.admin-sidebar-btn.gold {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
}
.admin-sidebar-btn.gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.admin-sidebar-btn.outline {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.admin-sidebar-btn.outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.admin-sidebar-footer {
  padding: 14px 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-sidebar-footer-link {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--rad-sm);
  font-size: .82rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  box-sizing: border-box;
}
.admin-sidebar-footer-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}
.admin-sidebar-footer-link.logout {
  color: #fca5a5;
}
.admin-sidebar-footer-link.logout:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.admin-main-wrap {
  flex: 1;
  min-width: 0;
  padding: 36px 36px 72px;
  box-sizing: border-box;
  background: var(--off-white);
}
.admin-main-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.admin-mobile-header {
  display: none;
}
.admin-header {
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(197, 155, 39, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible !important;
}
.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 14px;
  position: relative;
  overflow: visible !important;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-brand img,
.admin-brand-logo {
  height: 44px !important;
  width: auto !important;
  max-height: 44px !important;
  max-width: 170px !important;
  object-fit: contain;
  display: block;
}
.admin-badge {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(197, 155, 39, 0.2);
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-size: .70rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.admin-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Admin Mobile Hamburger Toggle & Drawer */
.admin-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(197, 155, 39, 0.4);
  border-radius: var(--rad-sm);
  cursor: pointer;
  gap: 5px;
  padding: 0;
  transition: all var(--dur) var(--ease);
}
.admin-mobile-toggle:hover {
  background: rgba(197, 155, 39, 0.15);
  border-color: var(--gold);
}
.admin-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.admin-mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.admin-mobile-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.admin-mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.admin-mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #09172c;
  border-top: 1px solid rgba(197, 155, 39, 0.25);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 20px 40px rgba(5, 15, 30, 0.7);
  z-index: 99999;
}
.admin-mobile-drawer.open {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  animation: adminDrawerSlideDown 0.22s ease-out forwards;
}

@keyframes adminDrawerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-mobile-drawer-inner {
  padding: 16px 20px 20px;
}
.admin-mobile-user-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--rad-sm);
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.admin-status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
}
.admin-mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-mobile-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--rad-sm);
  color: var(--white);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: all var(--dur) var(--ease);
  font-family: inherit;
}
.admin-mobile-link:hover,
.admin-mobile-link:focus {
  background: rgba(197, 155, 39, 0.15);
  border-color: var(--gold);
  color: var(--gold-light);
}
.admin-mobile-link.admin-mobile-logout {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  margin-top: 4px;
}
.admin-mobile-link.admin-mobile-logout:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: var(--white);
}

/* Admin KPI Grid */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.admin-kpi-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--rad-md);
  padding: 22px 22px;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.04);
  transition: all var(--dur) var(--ease);
  position: relative;
}
.admin-kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--slate-300);
  box-shadow: 0 8px 20px rgba(10, 25, 47, 0.08);
}
.admin-kpi-card.highlight-gold {
  border-top: 3px solid var(--gold);
}
.admin-kpi-card.highlight-green {
  border-top: 3px solid #16a34a;
}
.admin-kpi-card.highlight-gray {
  border-top: 3px solid var(--slate-400);
}
.admin-kpi-card.highlight-navy {
  border-top: 3px solid var(--navy);
}
.admin-kpi-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 6px;
  font-family: var(--font-body);
}
.admin-kpi-label {
  font-size: .84rem;
  font-weight: 700;
  color: var(--slate-700);
}
.admin-kpi-sub {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Admin Controls & Filter Toolbar */
.admin-toolbar {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--rad-md);
  padding: 18px 22px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.03);
}
.admin-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-tab-btn {
  padding: 8px 16px;
  font-size: .84rem;
  font-weight: 700;
  border-radius: 100px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  display: inline-flex;
  align-items: center;
}
.admin-tab-btn:hover {
  border-color: var(--gold);
  color: var(--navy);
}
.admin-tab-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.admin-tab-count {
  display: inline-block;
  padding: 1px 7px;
  margin-left: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: .74rem;
  font-weight: 700;
}
.admin-tab-btn:not(.active) .admin-tab-count {
  background: var(--slate-100);
  color: var(--navy);
}
.admin-tools-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-search-input {
  padding: 9px 14px;
  font-size: .86rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--rad-sm);
  background: var(--off-white);
  min-width: 240px;
  color: var(--navy);
  transition: all var(--dur) var(--ease);
}
.admin-search-input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

/* Admin Review Cards */
.admin-review-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.admin-review-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--rad-md);
  padding: 24px 26px;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.04);
  transition: all var(--dur) var(--ease);
  position: relative;
}
.admin-review-card:hover {
  box-shadow: 0 8px 24px rgba(10, 25, 47, 0.08);
  border-color: var(--slate-300);
}
.admin-review-card.status-pending {
  border-left: 4px solid var(--gold);
  background: #fffdf8;
}
.admin-review-card.status-approved {
  border-left: 4px solid #16a34a;
  background: var(--white);
}
.admin-review-card.status-rejected {
  border-left: 4px solid #94a3b8;
  background: #fafafa;
  opacity: .85;
}
.admin-review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.admin-review-client-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.admin-avatar-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .5px;
  border: 2px solid rgba(197, 155, 39, 0.35);
  flex-shrink: 0;
}
.admin-review-client {
  display: flex;
  flex-direction: column;
}
.admin-client-name {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy);
}
.admin-client-meta {
  font-size: .84rem;
  color: var(--slate-600);
  margin-top: 2px;
}
.admin-client-service {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 2px;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 5px 12px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-radius: 4px;
}
.status-badge.badge-pending {
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid rgba(202, 138, 4, 0.3);
}
.status-badge.badge-approved {
  background: #dcfce7;
  color: #166534;
  border: 1px solid rgba(22, 101, 52, 0.3);
}
.status-badge.badge-rejected {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid rgba(153, 27, 27, 0.3);
}

.admin-review-text {
  font-size: .94rem;
  color: var(--slate-700);
  line-height: 1.7;
  background: var(--off-white);
  padding: 14px 18px;
  border-radius: var(--rad-sm);
  margin: 12px 0 16px 0;
  border-left: 3px solid var(--slate-200);
}
.admin-review-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
}
.admin-review-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-status-lbl {
  font-size: .78rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.admin-review-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}
.admin-review-date {
  font-size: .78rem;
  color: var(--text-muted);
}
.admin-client-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.admin-review-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 8px 0;
}
.admin-review-rating-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
}
.admin-action-btns-primary {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-review-meta-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}
.admin-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-approve {
  background: #166534;
  color: var(--white);
  border: 1px solid #166534;
  padding: 7px 14px;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.btn-approve:hover {
  background: #14532d;
}
.btn-reject {
  background: transparent;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  padding: 7px 14px;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.btn-reject:hover {
  background: #fee2e2;
}
.btn-revert {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--slate-300);
  padding: 7px 14px;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.btn-revert:hover {
  background: var(--slate-100);
}
.btn-delete-review {
  background: transparent;
  color: var(--slate-400);
  border: none;
  padding: 7px 10px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.btn-delete-review:hover {
  color: #b91c1c;
}

/* Admin Login Screen */
.admin-login-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.admin-login-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1.5px solid var(--slate-100);
  border-radius: var(--rad-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.admin-login-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 18px;
  margin-bottom: 8px;
}
.admin-login-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Toast Notice */
.toast-notice {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--rad-sm);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
  font-size: .88rem;
  font-weight: 600;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--dur) var(--ease);
  pointer-events: none;
}
.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 900px) {
  .admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-toolbar { flex-direction: column; align-items: stretch; }
  .admin-search-input { width: 100%; }
}
@media (max-width: 768px) {
  .admin-header-inner {
    height: 64px;
    position: relative;
  }
  .admin-nav-actions {
    display: none !important;
  }
  .admin-mobile-toggle {
    display: flex;
  }
}

/* ── Mobile Layout for KPI, Toolbar Tabs & Review Cards ── */
@media (max-width: 680px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }
  .admin-kpi-card {
    padding: 14px 12px !important;
    border-radius: 10px !important;
  }
  .admin-kpi-num {
    font-size: 1.6rem !important;
    margin-bottom: 2px !important;
  }
  .admin-kpi-label {
    font-size: .76rem !important;
    line-height: 1.25 !important;
  }
  .admin-kpi-sub {
    display: none !important;
  }

  .admin-toolbar {
    padding: 14px 14px !important;
    gap: 12px !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
  }
  .admin-tabs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .admin-tab-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 9px 12px !important;
    font-size: .80rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
  .admin-tab-count {
    margin-left: 6px !important;
    padding: 2px 7px !important;
    font-size: .72rem !important;
    font-weight: 800 !important;
    border-radius: 6px !important;
  }
  .tab-label-full {
    display: none !important;
  }
  .tab-label-short {
    display: inline !important;
  }
  .admin-tools-right {
    width: 100% !important;
  }
  .admin-search-input {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 10px 14px !important;
    font-size: .84rem !important;
    border-radius: 8px !important;
  }

  .admin-review-card {
    padding: 18px 16px !important;
    border-radius: 12px !important;
  }
  .admin-review-top {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
  }
  .admin-review-client-wrap {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  .admin-avatar-initials {
    width: 38px !important;
    height: 38px !important;
    font-size: .80rem !important;
    flex-shrink: 0 !important;
  }
  .admin-review-client {
    min-width: 0 !important;
    flex: 1 !important;
  }
  .admin-client-name {
    font-size: .98rem !important;
    font-weight: 700 !important;
    color: var(--navy) !important;
    line-height: 1.3 !important;
    margin-bottom: 3px !important;
  }
  .admin-review-status-bar {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px dashed #e2e8f0 !important;
    margin-bottom: 4px !important;
  }
  .admin-status-lbl {
    font-size: .75rem !important;
    font-weight: 700 !important;
    color: var(--slate-500) !important;
    text-transform: uppercase !important;
    letter-spacing: .3px !important;
  }
  .status-badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 10px !important;
    font-size: .72rem !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
  }
  .admin-review-actions-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .admin-client-meta {
    font-size: .76rem !important;
    color: var(--slate-500) !important;
    line-height: 1.35 !important;
    margin-bottom: 2px !important;
  }
  .admin-client-service {
    font-size: .74rem !important;
    font-weight: 600 !important;
    color: var(--gold) !important;
  }
  .admin-review-rating-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 6px 0 8px 0 !important;
  }
  .admin-review-rating-label {
    font-size: .78rem !important;
    font-weight: 700 !important;
    color: var(--navy) !important;
  }
  .admin-review-text {
    background: #f8fafc !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
    font-size: .88rem !important;
    line-height: 1.55 !important;
    color: #334155 !important;
    margin: 8px 0 12px 0 !important;
  }
  .admin-review-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding-top: 0 !important;
    border-top: none !important;
  }
  .admin-action-btns-primary {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .admin-action-btns-primary button {
    padding: 8px 10px !important;
    font-size: .80rem !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .admin-review-meta-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-top: 8px !important;
    border-top: 1px dashed #e2e8f0 !important;
  }
  .admin-review-date {
    font-size: .72rem !important;
    color: var(--slate-400) !important;
  }
  .btn-delete-review {
    background: #fff5f5 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
    font-size: .72rem !important;
    font-weight: 700 !important;
    border-radius: 5px !important;
    padding: 4px 10px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }
}

@media (min-width: 681px) {
  .tab-label-full {
    display: inline !important;
  }
  .tab-label-short {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .admin-dashboard-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    display: none !important;
  }
  .admin-mobile-header {
    display: block !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navy);
    border-bottom: 1px solid rgba(197, 155, 39, 0.3);
  }
  .admin-mobile-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 16px;
  }
  .admin-mobile-toggle {
    display: flex !important;
  }
  .admin-main-wrap {
    padding: 24px 16px 60px;
  }
}

@media (max-width: 480px) {
  .admin-header-inner,
  .admin-mobile-header-inner {
    height: 60px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .admin-brand {
    gap: 8px !important;
  }
  .admin-brand img,
  .admin-brand-logo {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
  }
  .admin-badge {
    font-size: .62rem !important;
    padding: 2px 5px !important;
  }
  .admin-mobile-toggle {
    width: 38px !important;
    height: 38px !important;
  }
}
