/* ==========================================================
   Company detail pages (passionfox / nm-consultancy / nm-money)
   Loaded after style.css; scoped to body.co
   ========================================================== */
.co { --co-line: #8f8f8f; --co-wrap: 1036px; background: #fff; color: #000; font-weight: 300; }
.co :focus-visible { outline: 2px solid #1a73e8; outline-offset: 2px; }

.co-wrap { width: 100%; max-width: calc(var(--co-wrap) + 32px); margin: 0 auto; padding: 0 16px; }
.co section + section { border-top: 1px solid var(--co-line); }

/* Header */
.co-head { position: sticky; top: 0; z-index: 20; height: 48px; background: #000; }
.co-head .co-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; max-width: calc(var(--co-wrap) + 64px); }
.co-head img { height: 30px; width: auto; max-width: none; }
.co-head .btn { height: 28px; padding: 0 15px; font-size: 11.5px; }

/* Type */
.co-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 11px; border: 1px solid #000; border-radius: 999px; font-size: 11px; font-weight: 400; line-height: 1; }
.co-h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.04; font-weight: 300; letter-spacing: -.035em; margin: 8px 0 22px; }
.co-h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; font-weight: 400; letter-spacing: -.035em; }
.co-lead { font-size: 15px; line-height: 1.5; font-weight: 300; max-width: 440px; }
.co-body { font-size: 12.5px; line-height: 1.6; color: #555; }
.co .btn { font-weight: 400; }
.co-btn { height: 34px; padding: 0 19px; font-size: 11.5px; }
.co-btn--solid { background: #000; color: #fff; border-color: #000; }
.co-btn--solid:hover { background: #222; }
.co-btn--line { background: transparent; color: #000; border-color: #000; }
.co-btn--line:hover { background: #000; color: #fff; border-color: #000; }
.co-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Sections */
.co-hero { padding: 64px 0 120px; }
.co-hero--pf { padding-top: 108px; padding-bottom: 138px; }
.co-hero--nc { padding-bottom: 80px; }
.co-hero--nm { padding: 68px 0 180px; }
.co [id] { scroll-margin-top: 48px; }
.co-hero .co-lead { margin-bottom: 22px; max-width: 480px; }
.co-hero .co-lead--sub { font-size: 20px; max-width: none; margin-bottom: 22px; }
.co-sec { padding: 74px 0 70px; }
.co-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }
.co-split--about { grid-template-columns: 464px 1fr; }
.co-about-lead { font-size: 16px; line-height: 1.5; font-weight: 300; margin-bottom: 14px; }
.co-about-lead + .co-body { font-size: 12.5px; }
.co-split .co-body + .co-body { margin-top: 12px; }
.co-sec .co-h2 + .co-body, .co-sec .co-h2 + p { margin-top: 12px; }
.co-pf-about .co-body { color: #1a1a1a; font-size: 12.5px; line-height: 1.55; max-width: 392px; }

/* Pills */
.co-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; align-self: end; }
.co-tags li { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: #111; color: #fff; font-size: 11.5px; font-weight: 400; }
.co-tags--xl { margin-top: 22px; gap: 9px; }
.co-tags--xl li { height: 41px; padding: 0 18px; font-size: 12.5px; font-weight: 300; }
.co-center { text-align: center; }

/* Cards */
.co-cards { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 28px; margin: 22px 0 0; padding: 0; list-style: none; }
.co-card { width: 265px; min-height: 163px; padding: 22px 21px 20px; border: 1px solid #000; border-radius: 12px; background: #fff; }
.co-card__n { display: block; font-size: 25px; line-height: 1; font-weight: 300; margin-bottom: 25px; }
.co-card h3 { font-size: 16px; font-weight: 400; letter-spacing: -.01em; margin-bottom: 8px; line-height: 1.3; }
.co-card p { font-size: 11.5px; line-height: 1.6; color: #222; }
.co-cards--lg .co-card { min-height: 237px; }
.co-cards--lg .co-card p { font-size: 11px; line-height: 1.7; }
.co-cards--lg { margin-top: 20px; }

/* Mission / vision */
.co-mv { display: grid; grid-template-columns: repeat(2, 404px); gap: 12px; justify-content: center; padding: 72px 0 66px; }
.co-mv__card { padding: 24px 28px 28px; border-radius: 14px; background: #0f0f0f; color: #fff; }
.co-mv__card h2 { font-size: 28px; font-weight: 300; letter-spacing: -.02em; margin-bottom: 12px; }
.co-mv__card p { font-size: 13px; line-height: 1.6; color: #b5b5b5; }

/* Values / Why */
.co-values { padding: 74px 0 74px; }
.co-values--c { max-width: 960px; margin: 0 auto; padding: 0 0 0; }

/* Promise */
.co-promise { padding: 72px 0 80px; }
.co-promise .co-h2 { font-size: clamp(26px, 2.25vw, 32px); line-height: 1.12; letter-spacing: -.03em; margin: 8px 0 18px; max-width: 500px; font-weight: 300; }
.co-promise p { font-size: 14px; line-height: 1.6; max-width: 450px; }
.co-promise p + p { margin-top: 18px; font-weight: 400; font-size: 13px; }

/* Vision (two col) */
.co-vision { padding: 66px 0 74px; }
.co-vision .co-split { grid-template-columns: 1fr 1fr; align-items: start; }
.co-vision p { font-size: 15px; line-height: 1.6; max-width: 410px; margin-top: 2px; padding-left: 0; }
.co-vision .co-split > :last-child { padding-left: 0; }

/* Closing CTA */
.co-cta { padding: 78px 0 74px; text-align: center; }
.co-cta__k { font-size: 15px; margin-bottom: 30px; }
.co-cta h2 { font-size: clamp(26px, 2.6vw, 37px); font-weight: 400; letter-spacing: -.035em; line-height: 1.15; margin-bottom: 30px; }
.co-cta .co-btns { justify-content: center; }
.co-cta .co-btn { height: 40px; padding: 0 30px; }

/* Enquiry */
.co-enq { padding: 76px 0 72px; }
.co-enq .co-split { grid-template-columns: 1fr 450px; gap: 40px; align-items: start; }
.co-enq .co-h2 { margin: 12px 0 14px; max-width: 420px; }
.co-enq .co-body { color: inherit; font-size: 13px; line-height: 1.55; max-width: 360px; font-weight: 300; }
.co-enq--light { background: #fff; }
.co-enq--dark { background: #1f1f1f; color: #fff; border-top-color: #1f1f1f; }
.co-enq--dark .co-chip { border-color: #3a3a3a; background: #1a1a1a; color: #fff; }
.eform { display: block; padding: 21px; border-radius: 14px; }
.co-enq--light .eform { background: #ececec; }
.co-enq--dark .eform { background: #000; }
.eform label { display: block; margin-bottom: 4px; font-size: 10.5px; font-weight: 400; }
.co-enq--light .eform label { color: #8a8a8a; }
.co-enq--dark .eform label { color: #e8e8e8; }
.eform .f { margin-bottom: 11px; }
.eform input:not(.hp), .eform select {
  display: block; width: 100%; height: 34px; padding: 0 10px; border: 1px solid transparent; border-radius: 6px;
  background: #fff; color: #111; font: inherit; font-size: 12px; font-weight: 300;
}
.eform select { height: 38px; appearance: none; -webkit-appearance: none; padding-right: 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23111' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.eform input::placeholder { color: #888; }
.eform input:not(.hp):focus-visible, .eform select:focus-visible { outline: 2px solid #1a73e8; outline-offset: 1px; }
.eform .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.eform button { width: 100%; height: 34px; margin-top: 4px; border: 0; border-radius: 6px; font-size: 11.5px; font-weight: 400; color: #fff; }
.co-enq--light .eform button { background: #000; }
.co-enq--light .eform button:hover { background: #222; }
.co-enq--dark .eform button { background: #6a6a6a; }
.co-enq--dark .eform button:hover { background: #7d7d7d; }
.eform button:disabled { opacity: .6; cursor: wait; }
.eform__msg:empty { margin: 0; }
.eform__msg { margin-top: 10px; font-size: 12px; line-height: 1.4; }
.co-enq--light .eform__msg { color: #333; }
.co-enq--dark .eform__msg { color: #ddd; }

/* Footer */
.co-foot { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 55px; padding: 0 48px; border-top: 1px solid var(--co-line); font-size: 10.5px; font-weight: 300; }
.co-foot a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .co-split, .co-split--about, .co-enq .co-split, .co-vision .co-split { grid-template-columns: 1fr; gap: 24px; }
  .co-tags { align-self: start; }
  .co-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .co-card { width: auto; }
  .co-mv { grid-template-columns: 1fr 1fr; padding-left: 16px; padding-right: 16px; }
  .co-hero, .co-hero--pf, .co-hero--nc, .co-hero--nm { padding: 56px 0 80px; }
  .co-foot { padding: 0 16px; }
  .co-values--c { padding: 0 16px; }
}
@media (max-width: 680px) {
  .co-cards, .co-mv { grid-template-columns: 1fr; }
  .co-card, .co-cards--lg .co-card { min-height: 0; }
  .co-sec, .co-values, .co-promise, .co-vision, .co-enq, .co-cta { padding-top: 48px; padding-bottom: 48px; }
  .co-tags--xl li { height: 38px; padding: 0 15px; font-size: 12.5px; }
  .co-h1 { font-size: clamp(34px, 11vw, 44px); }
  .co-cta h2 { font-size: 26px; }
  .co-head img { height: 26px; }
  .co-foot { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 14px 16px; }
  .eform { padding: 16px; }
}
