/* ===========================================================
   Mandloi Enterprises — Enterprise Theme
   =========================================================== */
:root {
  --navy-900: #0b1f3a;
  --navy-800: #122a4a;
  --navy-700: #1a3a63;
  --navy-50:  #eef3fb;
  --gold-500: #c9a14a;
  --gold-600: #b58a31;
  --gold-50:  #faf4e6;
  --ink-900:  #0f172a;
  --ink-700:  #334155;
  --ink-500:  #64748b;
  --ink-300:  #cbd5e1;
  --ink-100:  #f1f5f9;
  --bg:       #f8f9fc;
  --white:    #ffffff;
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, .06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 25px 60px rgba(15, 23, 42, .15);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --transition: .25s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--ink-700); }

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

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.accent { color: var(--gold-600); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.btn-primary {
  background: var(--navy-900);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-800); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
}
.btn-ghost:hover { background: var(--ink-100); }
.btn-light {
  background: #fff;
  color: var(--navy-900);
}
.btn-light:hover { background: var(--gold-50); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ===== Top bar ===== */
.topbar {
  background: var(--navy-900);
  color: #cdd6e7;
  font-size: .82rem;
  padding: 9px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.topbar .sep { color: #4a5b7a; }

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 40;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.brand-mark {
  width: 40px; height: 40px;
  background: var(--navy-900);
  color: var(--gold-500);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy-900);
}
.brand-text span {
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--ink-500);
  text-transform: uppercase;
  margin-top: 3px;
}
.brand-light strong { color: #fff; }
.brand-light .brand-text span { color: #a9b6d0; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink-700);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a.active { color: var(--navy-900); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #f3f6fc 0%, #ffffff 60%, #faf4e6 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 110% -10%, rgba(201,161,74,.18), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(11,31,58,.10), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 60px;
  position: relative;
}
.hero-copy .lead {
  font-size: 1.1rem;
  color: var(--ink-700);
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.hero-meta > div {
  display: flex;
  flex-direction: column;
}
.hero-meta strong {
  font-size: 1.7rem;
  font-family: 'Playfair Display', serif;
  color: var(--navy-900);
}
.hero-meta span {
  font-size: .85rem;
  color: var(--ink-500);
  letter-spacing: .04em;
}

.hero-card {
  position: relative;
  height: 460px;
}
.hero-illustration {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background:
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(201,161,74,.25);
}
.circle.c1 { width: 280px; height: 280px; top: -60px; right: -60px; }
.circle.c2 { width: 160px; height: 160px; bottom: 40px; left: -40px;
  background: rgba(255,255,255,.06); }
.circle.c3 { width: 90px; height: 90px; bottom: 100px; right: 80px;
  background: rgba(201,161,74,.4); }
.card-floating {
  position: absolute;
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  font-size: .9rem;
}
.card-floating strong {
  display: block;
  color: var(--navy-900);
  font-size: .92rem;
}
.card-floating span {
  color: var(--ink-500);
  font-size: .8rem;
}
.cf-icon {
  width: 38px;
  height: 38px;
  background: var(--gold-50);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.card-1 { top: 30px; left: -20px; }
.card-2 { bottom: 50px; right: -20px; }

/* ===== Trust strip ===== */
.trust-strip {
  background: #fff;
  padding: 36px 0;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.trust-strip p {
  text-align: center;
  color: var(--ink-500);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
}
.logos span {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-300);
  letter-spacing: .08em;
  transition: color .25s;
}
.logos span:hover { color: var(--navy-900); }

/* ===== Sections ===== */
.section {
  padding: 90px 0;
}
.section-alt {
  background: linear-gradient(180deg, #fff 0%, #f4f7fc 100%);
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-head p { font-size: 1.05rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

/* About */
.col-img .img-frame {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: 20px;
  padding: 40px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.col-img .img-frame::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,161,74,.3), transparent 60%);
}
.img-block { position: relative; z-index: 2; }
.img-block .badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(201,161,74,.2);
  color: var(--gold-500);
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .18em;
  font-weight: 600;
  margin-bottom: 20px;
}
.img-block h3 {
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 4px;
}
.img-block p { color: #cdd6e7; }
.quote-mark {
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
  color: var(--gold-500);
  line-height: 1;
  margin: 20px 0 -20px;
}
.founder-quote {
  font-style: italic;
  font-size: 1.05rem;
  color: #e1e7f3;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.check-list li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--ink-700);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--gold-600);
  font-weight: 700;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-100);
  transition: var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card.featured {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
  border-color: transparent;
}
.service-card.featured h3,
.service-card.featured p { color: #fff; }
.service-card.featured p { color: #cdd6e7; }
.service-card.featured .link-arrow { color: var(--gold-500); }
.ribbon {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.svc-icon {
  width: 54px; height: 54px;
  background: var(--gold-50);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
}
.service-card.featured .svc-icon {
  background: rgba(201,161,74,.2);
}
.link-arrow {
  display: inline-block;
  margin-top: 12px;
  color: var(--navy-900);
  font-weight: 600;
  font-size: .9rem;
}
.link-arrow:hover { color: var(--gold-600); }

/* Stats */
.stats {
  background: var(--navy-900);
  padding: 70px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at 20% 50%, rgba(201,161,74,.15), transparent 60%),
    radial-gradient(400px 200px at 80% 50%, rgba(201,161,74,.15), transparent 60%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  position: relative;
}
.stats-grid > div { display: flex; flex-direction: column; }
.stats-grid strong {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold-500);
}
.stats-grid span {
  color: #cdd6e7;
  font-size: .95rem;
  letter-spacing: .05em;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: #fff;
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-100);
  margin: 0;
  transition: var(--transition);
}
.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.stars { color: var(--gold-500); letter-spacing: .15em; margin-bottom: 14px; }
.testimonial blockquote {
  font-size: 1rem;
  color: var(--ink-700);
  margin: 0 0 20px;
  font-style: italic;
  line-height: 1.7;
}
.testimonial figcaption {
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar {
  width: 44px; height: 44px;
  background: var(--navy-900);
  color: var(--gold-500);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.testimonial figcaption strong {
  display: block;
  color: var(--navy-900);
  font-size: .95rem;
}
.testimonial figcaption span {
  font-size: .82rem;
  color: var(--ink-500);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800));
  padding: 60px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,161,74,.2), transparent 60%);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
}
.cta-banner h2 { color: #fff; margin-bottom: 4px; }
.cta-banner p { color: #cdd6e7; margin: 0; }

/* Contact */
.contact-block { margin-top: 30px; }
.contact-row {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-row .ic {
  width: 44px; height: 44px;
  background: var(--gold-50);
  color: var(--gold-600);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-row strong {
  display: block;
  color: var(--navy-900);
  margin-bottom: 2px;
}
.contact-row p { margin: 0; color: var(--ink-700); font-size: .95rem; }
.contact-row a { color: var(--navy-900); font-weight: 500; }
.contact-row a:hover { color: var(--gold-600); }

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  margin-bottom: 24px;
  font-size: 1.4rem;
}
.contact-form label,
.auth-form label {
  display: block;
  margin-bottom: 16px;
}
.contact-form label > span,
.auth-form label > span {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.auth-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
  transition: var(--transition);
  color: var(--ink-900);
}
.contact-form input:focus,
.contact-form textarea:focus,
.auth-form input:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(11,31,58,.08);
}
.contact-form textarea { resize: vertical; }
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-note {
  margin-top: 14px;
  font-size: .9rem;
  text-align: center;
  color: var(--gold-600);
  font-weight: 500;
}
.form-note.shown { animation: fade .3s ease; }
@keyframes fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer {
  background: var(--navy-900);
  color: #cdd6e7;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer p { color: #a9b6d0; font-size: .9rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: #a9b6d0;
  font-size: .92rem;
  transition: var(--transition);
}
.footer ul a:hover { color: var(--gold-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  font-size: .85rem;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: #8997b3;
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; animation: modal-in .25s ease; }
@keyframes modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,31,58,.55);
  backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 460px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: dialog-in .35s cubic-bezier(.2,.9,.3,1.2);
  max-height: 92vh;
  overflow-y: auto;
}
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 3;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,.3); }
.modal-head {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 30px 32px 26px;
  position: relative;
  overflow: hidden;
}
.modal-head::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(201,161,74,.3), transparent 60%);
}
.brand-modal { position: relative; margin-bottom: 14px; }
.modal-head h2 {
  color: #fff;
  font-size: 1.6rem;
  margin: 0 0 4px;
  position: relative;
}
.modal-head p { color: #cdd6e7; margin: 0; position: relative; }

.modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--ink-100);
  background: var(--ink-100);
}
.modal-tabs .tab {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 14px;
  font-family: inherit;
  font-weight: 600;
  color: var(--ink-500);
  cursor: pointer;
  font-size: .95rem;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}
.modal-tabs .tab.active {
  background: #fff;
  color: var(--navy-900);
  border-bottom-color: var(--gold-500);
}
.modal-body { padding: 28px 32px 32px; }

.auth-form.hidden { display: none; }
.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -4px 0 16px;
  font-size: .85rem;
}
.checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px !important;
  font-size: .85rem;
  color: var(--ink-700);
  cursor: pointer;
  line-height: 1.5;
}
.checkbox input {
  width: 16px !important;
  height: 16px;
  margin: 3px 0 0 !important;
  flex-shrink: 0;
  accent-color: var(--navy-900);
}
.checkbox span {
  display: block !important;
  flex: 1;
  min-width: 0;
  font-weight: 400 !important;
  margin: 0 !important;
}
.checkbox a {
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold-500);
  text-underline-offset: 2px;
}
.checkbox a:hover { color: var(--gold-600); }
.forgot {
  color: var(--gold-600);
  font-weight: 500;
}
.forgot:hover { text-decoration: underline; }
.alt-line {
  text-align: center;
  margin: 18px 0 0;
  font-size: .9rem;
  color: var(--ink-500);
}
.alt-line a {
  color: var(--navy-900);
  font-weight: 600;
}
.alt-line a:hover { color: var(--gold-600); }

/* ===== Legal page (terms / privacy) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,161,74,.2), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #cdd6e7; max-width: 600px; }
.crumbs {
  font-size: .85rem;
  color: #a9b6d0;
  margin-bottom: 18px;
  letter-spacing: .04em;
}
.crumbs a { color: var(--gold-500); }
.crumbs a:hover { text-decoration: underline; }

.legal {
  padding: 80px 0;
}
.legal-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 50px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
}
.legal-toc h4 {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: 0 0 14px;
}
.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.legal-toc li {
  counter-increment: toc;
  margin-bottom: 10px;
}
.legal-toc a {
  font-size: .9rem;
  color: var(--ink-700);
  display: block;
  padding-left: 28px;
  position: relative;
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-size: .75rem;
  color: var(--gold-600);
  font-weight: 600;
}
.legal-toc a:hover { color: var(--navy-900); }

.legal-body {
  background: #fff;
  padding: 50px 60px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
}
.legal-body h2 {
  font-size: 1.4rem;
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink-100);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-700); font-size: .98rem; }
.legal-body ul { padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink-100);
  font-size: .85rem;
  color: var(--ink-500);
  flex-wrap: wrap;
}
.legal-meta strong { color: var(--navy-900); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner,
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-card { height: 380px; }
  .services-grid,
  .testimonial-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-body { padding: 36px 28px; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    gap: 16px;
    border-top: 1px solid var(--ink-100);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-cta .btn-ghost,
  .nav-cta .btn-primary { padding: 8px 16px; font-size: .88rem; }
  .topbar-right { display: none; }
  .hero { padding: 50px 0 70px; }
  .hero-meta { gap: 22px; margin-top: 36px; }
  .services-grid,
  .testimonial-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 60px 0; }
  .contact-form { padding: 28px 24px; }
  .row-2 { grid-template-columns: 1fr; }
  .modal-head { padding: 26px 26px 22px; }
  .modal-body { padding: 24px 26px 28px; }
  .card-floating { padding: 10px 14px; font-size: .82rem; }
  .card-1 { left: 8px; top: 12px; }
  .card-2 { right: 8px; bottom: 14px; }
}
