/* ==========================================================================
   Namoye premium visual theme — shared across landing & category pages.
   Retheme pass over the existing Bootstrap-based component classes
   (feature-box, featured-box, small-title, h2-title, btn-success, etc.)
   rather than rebuilding markup. Scoped to override inline legacy colors
   and backgrounds without touching the ~60 page/category templates.
   ========================================================================== */

:root {
  --nm-ink: #23281F;
  --nm-muted: #59543F;
  --nm-muted-2: #8A836B;
  --nm-line: #EBE1CC;
  --nm-cream: #FBF6EC;
  --nm-panel: #FFFEFB;
  --nm-green: #1E6B4E;
  --nm-green-dark: #163F2F;
  --nm-dark: #1E2A22;
  --nm-terracotta: #D2662F;
  --nm-terracotta-dark: #B3552A;
}

body {
  font-family: 'Work Sans', sans-serif;
}

h1, h2, h3, h4, h5,
.cattitle, .h2-title, .small-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 480;
}

/* Inline legacy accent colors scattered across templates */
[style*="4772d9"],
[style*="3ac162"],
[style*="3bc162"] {
  color: var(--nm-green) !important;
}

/* ============ HERO SECTIONS ============ */
#hero {
  background: var(--nm-dark) !important;
}

#hero .cattitle,
#hero .SliderSubheading h2,
#hero .SliderSubheading h3 {
  font-family: 'Fraunces', Georgia, serif;
}

/* ============ SECTION HEADINGS ============ */
.small-title {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: #E3EFE6;
  color: var(--nm-green);
}

.h2-title {
  color: var(--nm-ink);
}

.title-line,
.title-line-left {
  background: var(--nm-terracotta);
}

/* ============ FEATURE / SERVICE CARDS ============ */
.feature-box,
.box.grid-inner {
  background: var(--nm-panel) !important;
  border: 1px solid var(--nm-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.feature-box .fbox-icon i,
.feature-box .fbox-img i,
.box.grid-inner i,
.benifit h4 {
  color: var(--nm-green) !important;
}

.fbox-content h3,
.fbox-content h4 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  color: var(--nm-ink);
}

/* ============ WHY-US / BENEFIT BLOCKS ============ */
.featured-box .featured-icon i {
  color: var(--nm-green) !important;
}

.featured-content h3,
.featured-content h4 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
}

/* ============ CTA / PROMO BANDS ============ */
.promo,
blockquote.quote {
  background: var(--nm-cream);
  border-radius: 16px;
}

.punch-line {
  background: #E3EFE6;
  border-radius: 14px;
  padding: 18px 20px !important;
  color: var(--nm-green-dark);
}

.punch-line h5 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  margin: 0;
}

/* ============ BUTTONS ============ */
.btn-success,
a.btn-success,
.customfrmsubmit {
  background: #15130F !important;
  border-color: #15130F !important;
  border-radius: 0 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

.btn-success:hover,
a.btn-success:hover {
  background: #2B2822 !important;
  border-color: #2B2822 !important;
}

/* ============ FORMS ============ */
.form-control {
  border: 1.5px solid #E3D9C6 !important;
  border-radius: 9px !important;
}

.form-control:focus {
  border-color: var(--nm-green) !important;
  box-shadow: 0 0 0 3px rgba(30, 107, 78, 0.12) !important;
}

/* ============ CATEGORY GRID (cat-grids.php) ============ */
.cat-grids .feature-box,
.child-cat-grids .feature-box {
  transition: border-color 0.15s;
}

.cat-grids .feature-box:hover,
.child-cat-grids .feature-box:hover {
  border-color: var(--nm-green) !important;
}

.child-cat-grids .feature-box a,
.child-cat-grids .fbox-img {
  color: var(--nm-ink) !important;
  font-weight: 600;
}

.child-cat-grids .fbox-img i {
  color: var(--nm-green);
  margin-right: 6px;
}

/* ============ TESTIMONIALS ============ */
#namoye-testimonials,
#namoye-testimonials.flip-pad {
  background: var(--nm-cream);
}

#namoye-testimonials .testimonial {
  background: var(--nm-panel);
  border: 1px solid var(--nm-line);
  border-radius: 14px;
}

/* ==========================================================================
   PREMIUM POLISH PASS
   Fixes the "templated Bootstrap" tells: shouty all-caps headings, bare
   floating icons with no containment, flat textureless hero, no depth
   on cards/buttons, and paragraphs stretching the full container width.
   ========================================================================== */

/* Kill the forced uppercase on every section heading — this was the
   single biggest "generic template" signal. Let serif weight/size do
   the hierarchy work instead of shouting. */
.heading-block h1,
.heading-block h2,
.heading-block h3,
.heading-block h4,
.fbox-content h3,
.fbox-content h4,
.featured-content h3,
.featured-content h4,
#hero h2.cattitle,
.cattitle {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.heading-block p,
.heading-block h5 {
  max-width: 640px;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.6;
}

/* Section rhythm: more breathing room than the default Bootstrap 70px */
section {
  padding: 88px 40px;
}

/* ============ ICON CONTAINMENT ============
   Bare <i> icon glyphs floating with no background read as an unfinished
   icon-font demo. Give every icon a sized, colored badge to sit in. */
.fbox-icon,
.feature-box .fbox-icon,
.featured-icon,
.box.grid-inner > i,
.box.grid-inner > i.fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #E3EFE6;
  margin: 0 auto 16px !important;
}

.fbox-icon i,
.featured-icon i {
  font-size: 22px;
  margin: 0;
}

.box.grid-inner > i.fa {
  font-size: 22px !important;
}

.featured-col {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* ============ HERO TEXTURE ============
   A flat color swap still reads as "just changed the background color".
   Add the same subtle diagonal-line texture used on the rest of the
   premium concept so the dark hero has depth, not just a tint change. */
#hero {
  position: relative;
  overflow: hidden;
  background-image: repeating-linear-gradient(120deg, rgba(251, 246, 236, 0.05) 0px, rgba(251, 246, 236, 0.05) 1px, transparent 1px, transparent 64px) !important;
}

#hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(251, 246, 236, 0.12);
  pointer-events: none;
}

/* ============ CARD DEPTH ============ */
.feature-box,
.box.grid-inner {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-box:hover,
.box.grid-inner:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -24px rgba(30, 42, 34, 0.25) !important;
  border-color: var(--nm-green) !important;
}

/* ============ BUTTON WEIGHT ============ */
.btn-success,
a.btn-success,
.customfrmsubmit {
  padding: 14px 32px !important;
  font-weight: 600 !important;
  box-shadow: 0 14px 30px -12px rgba(210, 102, 47, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-success:hover,
a.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -12px rgba(210, 102, 47, 0.5);
}

/* ==========================================================================
   DIRECTION C — site chrome (header, footer, brand mark)
   Monochrome editorial: white paper, near-black ink, one wine accent used
   sparingly. Applies site-wide now; page bodies migrate template by template.
   ========================================================================== */
:root {
  --dc-ink: #15130F;
  --dc-muted: #55524A;
  --dc-muted-2: #8A867C;
  --dc-line: #ECEAE4;
  --dc-paper: #FFFFFF;
  --dc-wine: #6B1E2B;
}

#header.nm-header {
  background: var(--dc-paper) !important;
  box-shadow: none !important;
  border-bottom: 1px solid var(--dc-line);
  padding: 20px 0 !important;
}
#header.nm-header .container {
  justify-content: space-between;
}

.nm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nm-brand__mark {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--dc-ink);
  border-radius: 50%;
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--dc-ink);
  flex-shrink: 0;
}
.nm-brand__ring {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 1px solid var(--dc-wine);
  border-radius: 50%;
}
.nm-brand__n { position: relative; }
.nm-brand__text {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--dc-ink);
}
.nm-brand--footer { margin: 0 auto 12px; justify-content: center; }

#header.nm-header .nav-menu a {
  color: var(--dc-muted) !important;
  font-family: 'Public Sans', sans-serif !important;
  text-transform: none !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}
#header.nm-header .nav-menu .active > a,
#header.nm-header .nav-menu a:hover,
#header.nm-header .nav-menu li:hover > a {
  color: var(--dc-ink) !important;
}
#header.nm-header .nav-menu .menu-item-has-children > a:after {
  color: var(--dc-ink) !important;
}

/* ============ FOOTER ============ */
#footer.nm-footer {
  background: var(--dc-paper) !important;
  color: var(--dc-muted) !important;
  border-top: 1px solid var(--dc-line);
}
#footer.nm-footer .footer-top {
  background: var(--dc-paper) !important;
  color: var(--dc-muted) !important;
  padding: 56px 0 16px;
}
#footer.nm-footer .footer-top a {
  color: var(--dc-muted) !important;
}
#footer.nm-footer .footer-top a:hover {
  color: var(--dc-wine) !important;
}
#footer.nm-footer li.footer-child-cats {
  border: 1px solid var(--dc-line) !important;
  border-radius: 0 !important;
}
#footer.nm-footer li.footer-child-cats a {
  color: var(--dc-muted) !important;
}
#footer.nm-footer li.footer-child-cats:hover {
  border-color: var(--dc-ink) !important;
}
.nm-footer .footer-top a {
  color: var(--dc-muted);
  font-family: 'Public Sans', sans-serif;
  font-size: 14px;
}
.nm-footer .footer-top a:hover { color: var(--dc-wine); }
.nm-footer .footer-top .widget-title,
.nm-footer .footer-top .f-widget-title,
.nm-footer .footer-top .sf-widget-title {
  font-family: 'Public Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--dc-ink) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.nm-footer .footer-bottom {
  border-top: 1px solid var(--dc-line);
  padding: 32px 0;
}
.nm-footer .footer-bottom p,
.nm-footer .footer-bottom .copyright {
  color: var(--dc-muted-2);
  font-family: 'Public Sans', sans-serif;
  font-size: 13px;
}
.back-to-top { background: var(--dc-ink) !important; }

/* ==========================================================================
   DIRECTION C — shared page components
   Reusable across every landing page and hand-written category template, so
   individual pages reference these classes instead of embedding their own
   <style> blocks. Monochrome editorial: white, near-black ink, wine accent
   used sparingly, Source Serif 4 italic headings, Public Sans body.
   ========================================================================== */
.nm-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dc-wine);
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
}

.nm-breadcrumb { padding: 16px 0; border-bottom: 1px solid var(--dc-line); font-size: 13px; color: var(--dc-muted-2); }
.nm-breadcrumb a { color: var(--dc-muted); }
.nm-breadcrumb a:hover { color: var(--dc-wine); }
.nm-breadcrumb .sep { margin: 0 8px; color: #D8D5CC; }
.nm-breadcrumb .current { color: var(--dc-ink); font-weight: 600; }

.nm-hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.nm-hero h1 {
  font-family: 'Source Serif 4', serif !important;
  font-style: italic;
  font-weight: 500;
  font-size: 38px;
  line-height: 1.16;
  margin: 0 0 18px;
  color: var(--dc-ink);
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.nm-hero__sub { font-size: 16px; line-height: 1.7; color: var(--dc-muted); max-width: 480px; margin: 0 0 24px; }

.nm-trustlist { list-style: none; padding: 0; margin: 0; }
.nm-trustlist li { font-size: 14.5px; color: #33312B; margin-bottom: 10px; padding-left: 20px; position: relative; }
.nm-trustlist li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--dc-wine); }

.nm-formcard { background: #FFFFFF; border: 1px solid var(--dc-ink); padding: 28px; }
.nm-formcard .form-control { border: 1px solid #D8D5CC !important; border-radius: 0 !important; padding: 11px 14px; height: auto; }
.nm-formcard .form-control:focus { border-color: var(--dc-ink) !important; box-shadow: none !important; }
.nm-formcard .btn-info { background: var(--dc-ink); border-color: var(--dc-ink); border-radius: 0; }

.nm-section { padding: 88px 0; }
.nm-section h2 {
  font-family: 'Source Serif 4', serif !important;
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--dc-ink);
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.nm-lede { color: var(--dc-muted); max-width: 620px; margin: 0 auto 36px; }

.nm-tilegrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; background: var(--dc-line); border: 1px solid var(--dc-line); margin-top: 10px; }
.nm-tile { background: #FFFFFF; padding: 28px 24px; flex: 1 1 220px; max-width: 320px; text-align: left; }
.nm-tile__num { font-family: 'Source Serif 4', serif; font-style: italic; font-size: 34px; color: rgba(21,19,15,0.15); line-height: 1; margin-bottom: 10px; }
.nm-tile h4 { font-size: 15px; font-weight: 600; margin: 0 0 8px; font-family: 'Public Sans', sans-serif; color: var(--dc-ink); }
.nm-tile p { font-size: 13.5px; color: var(--dc-muted-2); margin: 0; line-height: 1.6; }

.nm-howband { background: #FAF9F6; padding: 88px 0; }
.nm-howband .nm-eyebrow, .nm-howband h2 { text-align: center; }
.nm-howstep { text-align: left; padding: 20px 16px 0; border-top: 1px solid var(--dc-ink); }
.nm-howstep h4 { color: var(--dc-ink); font-size: 16px; margin: 0 0 8px; font-family: 'Public Sans', sans-serif; font-weight: 600; }
.nm-howstep p { color: var(--dc-muted); font-size: 14px; margin: 0; line-height: 1.7; }

.nm-subservices .feature-box,
.nm-options .featured-box {
  background: #FFFFFF !important;
  border: 1px solid var(--dc-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
.nm-subservices .feature-box:hover { border-color: var(--dc-ink) !important; }
.nm-subservices .fbox-img,
.nm-subservices .fbox-icon,
.nm-options .featured-icon { color: var(--dc-wine) !important; }
.nm-subservices .fbox-content h3,
.nm-options .featured-content h3 {
  font-family: 'Public Sans', sans-serif !important;
  font-weight: 600 !important;
  font-style: normal !important;
  color: var(--dc-ink) !important;
  text-transform: none !important;
}
.nm-options .featured-content p { color: var(--dc-muted-2); }

.nm-faq h4 { font-family: 'Public Sans', sans-serif; font-size: 16px; font-weight: 600; color: var(--dc-ink); margin-bottom: 6px; }
.nm-faq p { color: var(--dc-muted); font-size: 14.5px; line-height: 1.7; }
.nm-faq .nm-faq-item { padding: 20px 0; border-bottom: 1px solid var(--dc-line); }
.nm-faq .nm-faq-item:last-child { border-bottom: 0; }

.nm-closing { background: var(--dc-ink); padding: 72px 0; }
.nm-closing h2 {
  font-family: 'Source Serif 4', serif !important;
  font-style: italic;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0 0 12px;
  text-transform: none !important;
}
.nm-closing p { color: #C9C6BC; font-size: 15px; margin: 0 0 28px; max-width: 560px; }
.nm-closing .nm-eyebrow { color: #D98A8A; }
.nm-closing .btn-success { background: #FFFFFF !important; border-color: #FFFFFF !important; color: var(--dc-ink) !important; }
.nm-closing .btn-success:hover { background: var(--dc-line) !important; border-color: var(--dc-line) !important; }

@media (max-width: 767px) {
  .nm-hero h1 { font-size: 28px; }
}

/* ==========================================================================
   Homepage: services index + testimonial "voices"
   ========================================================================== */
.nm-services { padding: 96px 0; background: #fff; }
.nm-services__head { max-width: 640px; margin-bottom: 48px; }
.nm-services__head h2 { font-family: 'Source Serif 4', serif; font-style: italic; font-weight: 500; font-size: 34px; line-height: 1.2; color: var(--dc-ink); margin: 0; text-transform: none; }
.nm-services__row { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 28px 0; border-top: 1px solid var(--dc-ink); }
.nm-services__row:last-child { border-bottom: 1px solid var(--dc-line); }
.nm-services__label { display: flex; align-items: baseline; gap: 14px; }
.nm-services__num { font-family: 'Source Serif 4', serif; font-style: italic; font-size: 15px; color: var(--dc-wine); }
.nm-services__label a { font-family: 'Source Serif 4', serif; font-size: 22px; color: var(--dc-ink); text-decoration: none; }
.nm-services__label a:hover { color: var(--dc-wine); }
.nm-services__list { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 32px; }
.nm-services__list li { break-inside: avoid; border-bottom: 1px solid var(--dc-line); }
.nm-services__list a { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; color: var(--dc-muted); text-decoration: none; }
.nm-services__list a span { opacity: 0; transition: opacity .15s, transform .15s; color: var(--dc-wine); }
.nm-services__list a:hover { color: var(--dc-ink); }
.nm-services__list a:hover span { opacity: 1; transform: translateX(3px); }

.nm-voices { padding: 96px 0; background: #FAF9F6; }
.nm-voices__title { font-family: 'Source Serif 4', serif; font-style: italic; font-weight: 500; font-size: 34px; color: var(--dc-ink); margin: 0 0 48px; text-transform: none; }
.nm-voices__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: start; }
.nm-voices__lead { margin: 0; position: relative; }
.nm-voices__mark { display: block; font-family: 'Source Serif 4', serif; font-size: 96px; line-height: .6; color: rgba(107,30,43,.25); margin-bottom: 8px; }
.nm-voices__lead blockquote { margin: 0; padding: 0; border: 0; font-family: 'Source Serif 4', serif; font-style: italic; font-size: 26px; line-height: 1.5; color: var(--dc-ink); }
.nm-voices figcaption { margin-top: 18px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dc-muted-2); }
.nm-voices figcaption strong { color: var(--dc-ink); font-weight: 600; }
.nm-voices__item { margin: 0; padding: 22px 0; border-top: 1px solid var(--dc-ink); }
.nm-voices__item:first-child { padding-top: 22px; }
.nm-voices__item blockquote { margin: 0; padding: 0; border: 0; font-size: 15px; line-height: 1.7; color: var(--dc-muted); }
.nm-voices__item figcaption { margin-top: 12px; }
.nm-voices__cta { margin: 48px 0 0; }
.nm-voices__cta a { color: var(--dc-wine); font-weight: 600; font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--dc-wine); }
@media (max-width: 900px) {
  .nm-services__row { grid-template-columns: 1fr; gap: 16px; }
  .nm-services__list { columns: 2; }
  .nm-voices__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 540px) { .nm-services__list { columns: 1; } }

/* Heading face must win over legacy font rules (e.g. .font-primary !important) */
.nm-home h1, .nm-home h2, .nm-home h3:not(.nm-tile h3),
.nm-catpage h1, .nm-catpage h2,
.nm-services__head h2, .nm-voices__title, .nm-section h2, .nm-howband h2, .nm-closing h2, .nm-hero h1 {
  font-family: 'Source Serif 4', Georgia, serif !important;
}
.nm-services__label a { font-family: 'Source Serif 4', Georgia, serif !important; }
.nm-voices__lead blockquote { font-family: 'Source Serif 4', Georgia, serif !important; }

/* Footer: remove legacy translucent-dark bar */
#footer.nm-footer .footer-bottom { background: #fff !important; }
.nm-voices__cta { margin: 48px 0 0 !important; }

/* Homepage: "Why Namoye" trust band */
.nm-trust { background: #15130F; padding: 104px 0; color: #fff; }
.nm-trust__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 88px; align-items: start; }
.nm-trust__intro { position: sticky; top: 40px; }
.nm-trust .nm-eyebrow { color: #D98A8A; }
.nm-trust h2 { font-family: 'Source Serif 4', Georgia, serif !important; font-style: italic; font-weight: 500; font-size: 44px; line-height: 1.15; color: #fff; margin: 0 0 20px; text-transform: none; }
.nm-trust__intro p { font-size: 16px; line-height: 1.7; color: #C9C6BC; margin: 0 0 32px; max-width: 420px; }
.nm-trust__proof { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nm-trust__proof li { border: 1px solid rgba(255,255,255,.3); padding: 8px 16px; font-size: 13px; letter-spacing: .04em; color: #fff; }
.nm-trust__list { list-style: none; margin: 0; padding: 0; }
.nm-trust__list li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.25); }
.nm-trust__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.25); }
.nm-trust__num { font-family: 'Source Serif 4', Georgia, serif; font-style: italic; font-size: 40px; line-height: 1; color: #D98A8A; }
.nm-trust__list h3 { font-family: 'Public Sans', sans-serif !important; font-style: normal !important; font-size: 20px; font-weight: 600; color: #fff; margin: 0 0 8px; text-transform: none; }
.nm-trust__list p { font-size: 15px; line-height: 1.7; color: #C9C6BC; margin: 0; max-width: 520px; }
@media (max-width: 900px) {
  .nm-trust__grid { grid-template-columns: 1fr; gap: 48px; }
  .nm-trust__intro { position: static; }
  .nm-trust h2 { font-size: 34px; }
  .nm-trust__list li { grid-template-columns: 52px 1fr; }
}
.nm-home .nm-trust .nm-eyebrow { color: #D98A8A; }
.nm-home .nm-trust__list h3 { font-family: 'Public Sans', sans-serif !important; font-style: normal !important; font-weight: 600; font-size: 20px; }
.nm-trust__intro p { margin: 0 0 32px !important; }
.nm-trust__proof { margin-top: 8px !important; }
.nm-catpage .nm-trust .nm-eyebrow { color: #D98A8A; }
.nm-catpage .nm-trust h2 { color: #fff; font-size: 44px; font-family: 'Source Serif 4', Georgia, serif !important; text-align: left; }
.nm-catpage .nm-trust__list h3 { font-family: 'Public Sans', sans-serif !important; font-style: normal !important; font-size: 20px; font-weight: 600; color: #fff; }
.nm-catpage .nm-trust__intro p { margin: 0 0 32px !important; max-width: 420px; text-align: left; }
@media (max-width: 900px) { .nm-catpage .nm-trust h2 { font-size: 34px; } }

/* Category pages: sub-services index */
.nm-subindex { padding: 88px 0; background: #fff; }
.nm-subindex__head { margin-bottom: 40px; max-width: 640px; }
.nm-subindex__head h2 { font-family: 'Source Serif 4', Georgia, serif !important; font-style: italic; font-weight: 500; font-size: 32px; color: var(--dc-ink); margin: 0; text-transform: none; }
.nm-subindex__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; border-top: 1px solid var(--dc-ink); }
.nm-subindex__list li { border-bottom: 1px solid var(--dc-line); }
.nm-subindex__list a { display: grid; grid-template-columns: 36px 1fr 24px; align-items: baseline; row-gap: 4px; padding: 20px 0; text-decoration: none; }
.nm-subindex__name { font-family: 'Source Serif 4', Georgia, serif; font-size: 20px; color: var(--dc-ink); }
.nm-subindex__desc { grid-column: 2; font-size: 13.5px; color: var(--dc-muted-2); line-height: 1.5; }
.nm-subindex__arrow { grid-column: 3; grid-row: 1; color: var(--dc-wine); opacity: 0; transition: opacity .15s, transform .15s; }
.nm-subindex__list a:hover .nm-subindex__name { color: var(--dc-wine); }
.nm-subindex__list a:hover .nm-subindex__arrow { opacity: 1; transform: translateX(3px); }
.nm-subindex .nm-services__row:last-child { border-bottom: 1px solid var(--dc-line); }
@media (max-width: 767px) { .nm-subindex__list { grid-template-columns: 1fr; } }

/* Category pages: custom extra blocks */
.nm-extra { padding: 88px 0; background: #fff; }
.nm-extra h2 { font-family: 'Source Serif 4', Georgia, serif !important; font-style: italic; font-weight: 500; font-size: 32px; color: var(--dc-ink); margin: 0 0 14px; text-transform: none; }
.nm-extra__text { font-size: 16px; line-height: 1.7; color: var(--dc-muted); max-width: 640px; margin: 0 0 36px; }
.nm-extra__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 40px; border-top: 1px solid var(--dc-ink); }
.nm-extra__item { padding: 24px 0; border-bottom: 1px solid var(--dc-line); }
.nm-extra__num { display: block; font-family: 'Source Serif 4', serif; font-style: italic; font-size: 14px; color: var(--dc-wine); margin-bottom: 8px; }
.nm-extra__item h3 { font-family: 'Public Sans', sans-serif !important; font-style: normal !important; font-size: 17px; font-weight: 600; color: var(--dc-ink); margin: 0 0 6px; text-transform: none; }
.nm-extra__item p { font-size: 14.5px; line-height: 1.65; color: var(--dc-muted); margin: 0; }
.nm-extra--tint { background: #FAF9F6; }
.nm-extra--dark { background: var(--dc-ink); }
.nm-extra--dark h2, .nm-extra--dark .nm-extra__item h3 { color: #fff; }
.nm-extra--dark .nm-extra__text, .nm-extra--dark .nm-extra__item p { color: #C9C6BC; }
.nm-extra--dark .nm-eyebrow, .nm-extra--dark .nm-extra__num { color: #D98A8A; }
.nm-extra--dark .nm-extra__items { border-top-color: rgba(255,255,255,.3); }
.nm-extra--dark .nm-extra__item { border-bottom-color: rgba(255,255,255,.2); }

/* Alternate section backgrounds so adjacent white sections don't blend */
.nm-tint .nm-subindex { background: #FAF9F6; }

/* Review form */
.nm-rv h1, .nm-rv h2 { font-family: 'Source Serif 4', Georgia, serif !important; font-style: italic; font-weight: 500; color: var(--dc-ink); text-transform: none; }
.nm-rv h1 { font-size: 34px; margin: 0 0 12px; }
.nm-rv__lead { font-size: 16px; color: var(--dc-muted); margin: 0 0 28px; }
.nm-rv__test { background: #FAF9F6; border: 1px solid var(--dc-line); padding: 10px 14px; font-size: 13px; }
.nm-rv__form label { display: block; font-size: 14px; font-weight: 600; color: var(--dc-ink); margin: 18px 0 6px; }
.nm-rv__form label span { font-weight: 400; color: var(--dc-muted-2); }
.nm-rv__form fieldset { border: 0; padding: 0; margin: 0 0 8px; }
.nm-rv__form legend { font-size: 14px; font-weight: 600; color: var(--dc-ink); margin-bottom: 8px; }
.nm-rv__form fieldset label { font-weight: 400; margin: 6px 0; }
.nm-rv__form input[type=text], .nm-rv__form textarea { width: 100%; border: 1px solid #D8D5CC; border-radius: 0; padding: 11px 14px; font-size: 15px; }
.nm-rv__form input[type=text]:focus, .nm-rv__form textarea:focus { outline: none; border-color: var(--dc-ink); }
.nm-rv__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nm-rv__consent { font-weight: 400 !important; display: flex !important; gap: 10px; align-items: flex-start; }
.nm-rv__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.nm-rv__stars input { position: absolute; opacity: 0; }
.nm-rv__stars label { font-size: 32px; line-height: 1; color: #D8D5CC; cursor: pointer; margin: 0 2px 0 0; padding: 0; }
.nm-rv__stars input:checked ~ label, .nm-rv__stars label:hover, .nm-rv__stars label:hover ~ label { color: var(--dc-wine); }
.nm-rv__form button { margin-top: 24px; }
@media (max-width: 540px) { .nm-rv__row { grid-template-columns: 1fr; } }
.nm-rv__form fieldset > label { display: flex !important; align-items: center; gap: 10px; }
.nm-rv__form input[type=radio], .nm-rv__form input[type=checkbox] { position: static; display: inline-block !important; width: auto !important; height: auto; float: none !important; margin: 0 !important; opacity: 1; flex: none; }
.nm-rv__stars input[type=radio] { position: absolute; opacity: 0; width: 0 !important; }
.nm-rv__form .nm-rv__stars label { display: inline-block !important; }

/* Inline links inside custom blocks */
.nm-extra__item a, .nm-extra__text a { color: var(--dc-wine); text-decoration: underline; text-underline-offset: 3px; }
.nm-extra__item a:hover, .nm-extra__text a:hover { color: var(--dc-ink); }
.nm-extra--dark .nm-extra__item a, .nm-extra--dark .nm-extra__text a { color: #D98A8A; }

/* ==========================================================================
   Lead form
   ========================================================================== */
.nm-formcard { background: #fff; border: 1px solid #D8D5CC; border-top: 3px solid var(--dc-ink); padding: 34px 34px 30px; box-shadow: 0 28px 50px -30px rgba(21,19,15,.35); }
.nm-lead { font-family: 'Public Sans', sans-serif; }
.nm-lead__head { margin-bottom: 26px; }
.nm-lead__tag { display: inline-block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--dc-wine); margin-bottom: 10px; }
.nm-lead__title { font-family: 'Source Serif 4', Georgia, serif !important; font-style: italic; font-weight: 500; font-size: 28px; line-height: 1.2; color: var(--dc-ink); margin: 0 0 6px; text-transform: none; }
.nm-lead__sub { font-size: 14px; color: var(--dc-muted-2); margin: 0 !important; }
.nm-lead__group { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.nm-lead__group legend { display: flex; align-items: baseline; gap: 12px; width: 100%; padding: 0 0 10px; margin: 0 0 16px; border-bottom: 1px solid var(--dc-line); font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--dc-ink); }
.nm-lead__step { font-family: 'Source Serif 4', Georgia, serif; font-style: italic; font-weight: 400; font-size: 14px; color: var(--dc-wine); }
.nm-field { margin-bottom: 16px; }
.nm-field__label { display: block; font-size: 12.5px; font-weight: 600; color: var(--dc-ink); margin: 0 0 7px; letter-spacing: .01em; }
.nm-lead__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.nm-lead .form-control, .nm-lead select.form-control {
  height: 48px; padding: 0 14px; font-size: 15px; color: var(--dc-ink); background: #fff;
  border: 1px solid #D8D5CC !important; border-radius: 0 !important; box-shadow: none !important; transition: border-color .15s, box-shadow .15s;
}
.nm-lead textarea.form-control { height: auto; padding: 12px 14px; line-height: 1.5; }
.nm-lead .form-control::placeholder { color: #A9A59A; }
.nm-lead .form-control:focus { border-color: var(--dc-ink) !important; box-shadow: 0 0 0 3px rgba(21,19,15,.08) !important; outline: 0; }
.nm-lead .form-control:disabled { background: #FAF9F6; color: #A9A59A; }
.nm-lead__phone { display: flex; }
.nm-lead__phone .form-control { flex: 1; min-width: 0; }
.nm-lead__send { flex: none; height: 48px; padding: 0 20px; border: 0; background: var(--dc-ink); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em; cursor: pointer; transition: background .15s; }
.nm-lead__send:hover { background: #2B2822; }
.nm-lead__warn { color: #B00020; font-size: 13px; margin-top: 6px; }
.nm-lead__status { font-size: 13px; margin-top: 6px; min-height: 0; }
.nm-lead__extra:empty { display: none; }
.nm-lead__extra { margin: 0 0 4px; }
.nm-lead__consent { display: flex; gap: 10px; align-items: flex-start; padding: 0; margin: 4px 0 20px; }
.nm-lead__consent input[type=checkbox] { margin: 3px 0 0 !important; position: static !important; flex: none; width: 16px; height: 16px; accent-color: var(--dc-ink); }
.nm-lead__consent label { font-size: 12.5px; line-height: 1.55; color: var(--dc-muted-2); }
.nm-lead .customfrmsubmit { width: 100%; height: 54px; font-size: 16px !important; letter-spacing: .02em; }
.nm-lead__privacy { display: flex; align-items: center; gap: 8px; justify-content: center; margin: 14px 0 0 !important; font-size: 12.5px !important; color: var(--dc-muted-2) !important; text-align: center !important; }
.nm-lead__privacy svg { flex: none; }
/* Select2 service / state dropdowns match the inputs */
.nm-lead .select2-container--default .select2-selection--single { height: 48px; border: 1px solid #D8D5CC; border-radius: 0; }
.nm-lead .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 14px; padding-right: 32px; color: var(--dc-ink); font-size: 15px; }
.nm-lead .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
.nm-lead .select2-container--default.select2-container--focus .select2-selection--single, .nm-lead .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--dc-ink); }
@media (max-width: 540px) {
  .nm-formcard { padding: 26px 20px 24px; }
  .nm-lead__row2 { grid-template-columns: 1fr; }
}
.nm-lead .select2-container { width: 100% !important; }
.nm-lead .select2-container--default .select2-selection--single { box-sizing: border-box; height: 48px; }
.nm-lead .select2-container--default .select2-selection--single .select2-selection__rendered { height: 46px; padding: 0 32px 0 14px !important; line-height: 46px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nm-lead .select2-container--default .select2-selection--single .select2-selection__arrow { top: 1px !important; height: 46px; }
.nm-lead__extra { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 16px; margin: 0 0 4px !important; }
.nm-lead__extra > * { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; margin: 0 0 16px !important; }
.nm-lead__extra > .col-md-12, .nm-lead__extra > .col-12, .nm-lead__extra > .namoye-lead-question { grid-column: 1 / -1; }
.nm-lead__extra select.form-control { text-overflow: ellipsis; }
@media (max-width: 540px) { .nm-lead__extra { grid-template-columns: 1fr; } }
.nm-lead textarea.form-control { min-height: 96px; }
