/* ConEstPro — new header/footer/homepage design system.
   Every class is prefixed nh- so it cannot collide with the Bootstrap-based
   theme classes (.btn, .card, .section, etc.) used by every other page. */

:root {
  --nh-radius: 0.75rem;
  --nh-background: #131313;
  --nh-foreground: #fafafa;
  --nh-card: #232323;
  --nh-secondary: #2b2b2b;
  --nh-muted-foreground: #a8a8a8;
  --nh-accent: #f2b234;
  --nh-accent-foreground: #1a1a1a;
  --nh-border: #3a3a3a;
  --nh-input: #3d3d3d;
  --nh-surface-light: #efece7;
  --nh-surface-light-foreground: #1a1a1a;
  --nh-surface-light-muted: #5c574f;
  --nh-surface-light-border: #dcd7cf;
  --nh-card-light: #ffffff;
  --nh-shadow-cta: 0 10px 30px -12px rgba(242, 178, 52, 0.55);
  --nh-shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -18px rgba(0, 0, 0, 0.7);
  --nh-max: 1280px;
}

.nh-header, .nh-footer, .nh-landing {
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--nh-foreground);
}
.nh-landing {
  background-color: var(--nh-background);
  background-image:
    radial-gradient(1200px 600px at 50% -10%, rgba(242, 178, 52, 0.1), transparent 70%),
    url("../images/new_home/bg-concrete-texture.jpg");
  background-size: cover, 900px 600px;
  background-repeat: no-repeat, repeat;
  background-blend-mode: normal, luminosity;
}
.nh-header h1, .nh-header h2, .nh-header h3, .nh-header h4, .nh-header h5, .nh-header h6,
.nh-footer h1, .nh-footer h2, .nh-footer h3, .nh-footer h4, .nh-footer h5, .nh-footer h6,
.nh-landing h1, .nh-landing h2, .nh-landing h3, .nh-landing h4, .nh-landing h5, .nh-landing h6 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0;
}
/* Headings default to the dark-theme light foreground everywhere; equal-specificity
   overrides below (by source order) re-darken headings inside .nh-section-light,
   and any later, more specific accent-colored heading rule (e.g. .nh-card h3) still wins. */
.nh-header h1, .nh-header h2, .nh-header h3, .nh-header h4, .nh-header h5, .nh-header h6,
.nh-footer h1, .nh-footer h2, .nh-footer h3, .nh-footer h4, .nh-footer h5, .nh-footer h6,
.nh-landing h1, .nh-landing h2, .nh-landing h3, .nh-landing h4, .nh-landing h5, .nh-landing h6 {
  color: var(--nh-foreground);
}
.nh-section-light h1, .nh-section-light h2, .nh-section-light h3,
.nh-section-light h4, .nh-section-light h5, .nh-section-light h6 {
  color: var(--nh-surface-light-foreground);
}
.nh-header a, .nh-footer a, .nh-landing a { color: inherit; text-decoration: none; }
.nh-header img, .nh-footer img, .nh-landing img { display: block; max-width: 100%; }
.nh-header ul, .nh-footer ul, .nh-landing ul { list-style: none; margin: 0; padding: 0; }
.nh-header *, .nh-footer *, .nh-landing * { box-sizing: border-box; }

.nh-wrap { max-width: var(--nh-max); margin: 0 auto; padding: 0 20px; }
.nh-section { padding: 80px 0; }
.nh-section-light { background: var(--nh-surface-light); color: var(--nh-surface-light-foreground); }
.nh-section-light .nh-muted { color: var(--nh-surface-light-muted); }
.nh-border-y { border-top: 1px solid var(--nh-border); border-bottom: 1px solid var(--nh-border); }
.nh-muted { color: var(--nh-muted-foreground); }
.nh-accent { color: var(--nh-accent); }
.nh-center { text-align: center; }
.nh-section-title { font-size: clamp(1.75rem, 3vw, 2.25rem); text-align: center; }

/* Buttons */
.nh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--nh-radius);
  font-family: "Barlow", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  padding: 12px 22px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.nh-btn-cta { background: var(--nh-accent); color: var(--nh-accent-foreground); box-shadow: var(--nh-shadow-cta); }
.nh-btn-cta:hover { transform: translateY(-2px); filter: brightness(1.05); color: var(--nh-accent-foreground); }
.nh-btn-ghost { border-color: var(--nh-accent); color: var(--nh-accent); background: transparent; }
.nh-btn-ghost:hover { background: var(--nh-accent); color: var(--nh-accent-foreground); }
.nh-btn-xl { padding: 16px 30px; font-size: 0.9rem; }

/* Header */
.nh-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--nh-border);
  background: rgba(19, 19, 19, 0.97);
  backdrop-filter: blur(8px);
}
.nh-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 76px;
}
.nh-logo-word {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem; font-weight: 700; text-transform: uppercase; line-height: 1;
}
.nh-logo-word sup { font-size: 0.5em; color: var(--nh-accent); }
.nh-logo-tag {
  display: block; margin-top: 4px;
  font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--nh-muted-foreground);
}
.nh-main-nav { display: none; gap: 24px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }
.nh-main-nav a:hover { color: var(--nh-accent); }
.nh-main-nav .nh-dropdown { position: relative; }
.nh-main-nav .nh-submenu {
  display: none; position: absolute; top: 100%; left: 0; margin-top: 14px;
  background: var(--nh-card); border: 1px solid var(--nh-border); border-radius: 10px;
  padding: 10px; min-width: 180px; box-shadow: var(--nh-shadow-card);
}
.nh-main-nav .nh-dropdown.nh-active .nh-submenu { display: block; }
.nh-main-nav .nh-submenu li + li { margin-top: 4px; }
.nh-main-nav .nh-submenu a { display: block; padding: 6px 10px; border-radius: 6px; }
.nh-main-nav .nh-submenu a:hover { background: var(--nh-secondary); }
.nh-header-actions { display: flex; align-items: center; gap: 16px; }
.nh-header-phone { display: none; align-items: center; gap: 8px; color: var(--nh-accent); font-weight: 700; font-size: 0.85rem; }
.nh-menu-toggle {
  display: inline-flex; width: 40px; height: 40px; border: 1px solid var(--nh-border); border-radius: 8px;
  align-items: center; justify-content: center; background: transparent; color: var(--nh-foreground); cursor: pointer;
}
.nh-mobile-nav {
  display: none; flex-direction: column; gap: 4px; padding: 16px 20px 24px;
  border-top: 1px solid var(--nh-border); background: rgba(19,19,19,0.98);
}
.nh-mobile-nav.nh-open { display: flex; }
.nh-mobile-nav a { padding: 10px 4px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; border-bottom: 1px solid var(--nh-border); }
.nh-mobile-nav a:last-child { border-bottom: none; }

/* Hero */
.nh-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--nh-border); background: var(--nh-background); }
.nh-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.nh-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, var(--nh-background), rgba(19,19,19,0.95) 50%, rgba(19,19,19,0.8)); }
.nh-hero-inner { position: relative; display: grid; gap: 48px; padding: 64px 20px; }
.nh-eyebrow { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; color: var(--nh-accent); }
.nh-hero h1 { margin-top: 20px; font-size: clamp(2.25rem, 5vw, 3rem); }
.nh-hero-sub { margin-top: 20px; font-family: "Barlow Condensed", sans-serif; font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--nh-accent); }
.nh-hero .nh-lead { margin-top: 20px; max-width: 36rem; color: var(--nh-muted-foreground); }
.nh-hero-pills { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 28px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--nh-muted-foreground); }
.nh-hero-pills li + li::before { content: "|"; color: var(--nh-border); margin-right: 16px; }
.nh-hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }

/* Quote form */
.nh-quote-card {
  background: var(--nh-card);
  border: 1px solid var(--nh-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--nh-shadow-card);
}
.nh-quote-card h2 { font-size: 2rem; }
.nh-quote-card > p { margin-top: 8px; font-size: 0.95rem; color: var(--nh-muted-foreground); }
.nh-form-grid { margin-top: 24px; display: grid; gap: 20px; }
.nh-field { display: grid; gap: 8px; }
.nh-field.nh-full { grid-column: 1 / -1; }
.nh-field label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--nh-muted-foreground); font-family: "Barlow", system-ui, sans-serif; }
.nh-quote-card input, .nh-quote-card select, .nh-quote-card textarea {
  width: 100%; font: inherit; font-size: 1rem;
  color: var(--nh-foreground); background: #1b1b1b;
  border: 1px solid var(--nh-input); border-radius: 10px; padding: 13px 14px;
}
.nh-quote-card input:focus, .nh-quote-card select:focus, .nh-quote-card textarea:focus { outline: 2px solid var(--nh-accent); outline-offset: 1px; border-color: var(--nh-accent); }
.nh-quote-card textarea { min-height: 100px; resize: vertical; }
.nh-dropzone {
  grid-column: 1 / -1;
  border: 2px dashed var(--nh-input); border-radius: 12px;
  padding: 24px; text-align: center; color: var(--nh-muted-foreground);
  font-size: 0.95rem; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease;
}
.nh-dropzone:hover { border-color: var(--nh-accent); background: rgba(242, 178, 52, 0.05); }
.nh-dropzone strong { color: var(--nh-accent); }
.nh-form-note { margin-top: 14px; font-size: 0.8rem; color: var(--nh-muted-foreground); text-align: center; }
.nh-form-msg { margin-top: 14px; font-size: 0.85rem; padding: 10px 12px; border-radius: 10px; display: none; }
.nh-form-msg.nh-success { display: block; background: rgba(242, 178, 52, 0.12); border: 1px solid var(--nh-accent); color: var(--nh-accent); }
.nh-form-msg.nh-error { display: block; background: rgba(220, 80, 80, 0.12); border: 1px solid #dc5050; color: #ff8a8a; }

/* Capacity */
.nh-capacity { background: rgba(43, 43, 43, 0.4); border-bottom: 1px solid var(--nh-border); }
.nh-two-col { display: grid; gap: 48px; }
.nh-check-list { display: grid; gap: 16px; }
.nh-check-list li { display: flex; gap: 12px; align-items: center; font-size: 0.92rem; }
.nh-check-list li::before {
  content: "\2713";
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  width: 20px; height: 20px; border: 2px solid var(--nh-accent); border-radius: 999px;
  color: var(--nh-accent); font-size: 11px; font-weight: 700; line-height: 1;
}

/* Trades */
.nh-trades { display: grid; gap: 40px; margin-top: 48px; }
.nh-trade { padding: 0 24px; text-align: center; }
.nh-trade .nh-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 2px solid var(--nh-accent); border-radius: 8px;
  color: var(--nh-accent);
}
.nh-trade h3 { margin-top: 18px; font-size: 0.95rem; }
.nh-trade ul { margin-top: 14px; display: grid; gap: 8px; font-size: 0.8rem; color: var(--nh-surface-light-muted); }
.nh-trade ul li { display: flex; gap: 8px; align-items: center; justify-content: center; }
.nh-trade ul li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--nh-accent); flex: none; }

/* Cards grid */
.nh-grid-4 { display: grid; gap: 24px; margin-top: 48px; }
.nh-card {
  background: var(--nh-card); border: 1px solid var(--nh-border);
  border-radius: 16px; padding: 28px; box-shadow: var(--nh-shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.nh-card:hover { transform: translateY(-4px); border-color: rgba(242, 178, 52, 0.55); }
.nh-card h3 { font-size: 1.15rem; color: var(--nh-accent); }
.nh-card p { margin-top: 12px; font-size: 0.9rem; color: var(--nh-muted-foreground); }
.nh-card ul { margin-top: 18px; display: grid; gap: 8px; font-size: 0.9rem; }
.nh-card ul li::before { content: "\2713"; color: var(--nh-accent); margin-right: 8px; font-weight: 700; }

/* Process */
.nh-grid-5 { display: grid; gap: 24px; margin-top: 48px; }
.nh-step {
  background: var(--nh-card-light); border: 1px solid var(--nh-surface-light-border);
  padding: 24px; text-align: center; border-radius: 4px;
  transition: box-shadow 0.2s ease;
}
.nh-step:hover { box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.5); }
.nh-step .nh-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; background: var(--nh-accent); color: var(--nh-accent-foreground);
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 0.9rem;
}
.nh-step h3 { margin-top: 20px; font-size: 0.9rem; }
.nh-step p { margin-top: 8px; font-size: 0.78rem; color: var(--nh-surface-light-muted); }

/* Markets */
.nh-market {
  background: var(--nh-card); border: 1px solid var(--nh-border);
  border-radius: 12px; overflow: hidden; box-shadow: var(--nh-shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.nh-market:hover { transform: translateY(-4px); border-color: rgba(242, 178, 52, 0.55); }
.nh-market .nh-thumb { position: relative; }
.nh-market img { height: 144px; width: 100%; object-fit: cover; }
.nh-market .nh-tag {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(19, 19, 19, 0.85); padding: 8px 12px; text-align: center;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.2;
}
.nh-market .nh-market-body { padding: 20px; text-align: center; }
.nh-market h3 { font-size: 1rem; }
.nh-market p { margin-top: 8px; font-size: 0.78rem; color: var(--nh-muted-foreground); }

/* CTA */
.nh-cta-section { border-top: 1px solid var(--nh-border); background-image: radial-gradient(circle at 15% 0%, rgba(242, 178, 52, 0.14), transparent 55%); }
.nh-cta-inner { max-width: 780px; margin: 0 auto; padding: 96px 20px; text-align: center; }
.nh-cta-inner p { margin: 20px auto 0; max-width: 36rem; color: var(--nh-muted-foreground); }
.nh-cta-buttons { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* Footer */
.nh-footer { position: relative; overflow: hidden; border-top: 1px solid var(--nh-border); background: var(--nh-background); }
.nh-footer .nh-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.nh-footer .nh-veil { position: absolute; inset: 0; background: rgba(19, 19, 19, 0.85); }
.nh-footer-grid { position: relative; display: grid; gap: 48px; padding: 64px 20px 24px; }
.nh-footer-word { font-family: "Barlow Condensed", sans-serif; font-size: 2rem; font-weight: 700; text-transform: uppercase; }
.nh-footer-word .nh-dotcom { font-size: 0.75rem; color: var(--nh-muted-foreground); vertical-align: super; }
.nh-footer-tag { margin-top: 8px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--nh-muted-foreground); }
.nh-footer-about { margin-top: 24px; max-width: 24rem; color: var(--nh-muted-foreground); }
.nh-socials { margin-top: 24px; display: flex; gap: 12px; }
.nh-socials a {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--nh-border);
  display: flex; align-items: center; justify-content: center; color: var(--nh-muted-foreground);
  font-size: 0.8rem; font-weight: 700; transition: color 0.2s ease, border-color 0.2s ease;
}
.nh-socials a:hover { color: var(--nh-accent); border-color: var(--nh-accent); }
.nh-footer-links { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; color: var(--nh-muted-foreground); }
.nh-footer-links a:hover { color: var(--nh-accent); }
.nh-badge-bbb { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--nh-border); background: var(--nh-card); border-radius: 10px; padding: 12px 16px; }
.nh-badge-bbb strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.5rem; }
.nh-badge-bbb span { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; line-height: 1.2; color: var(--nh-muted-foreground); }
.nh-footer-contact { margin-top: 32px; display: grid; gap: 12px; font-size: 0.9rem; }
.nh-footer-contact a { color: var(--nh-muted-foreground); }
.nh-footer-contact a:hover { color: var(--nh-accent); }
.nh-footer-bottom { position: relative; border-top: 1px solid var(--nh-border); }
.nh-footer-bottom .nh-wrap { display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: space-between; padding: 20px; font-size: 0.75rem; color: var(--nh-muted-foreground); }

/* Testimonials + client-logo band + login-gated FAQ that live inside the
   footer partial, above the real <footer> — light-touch re-skin only:
   accent color + heading font + dark background, structure/JS untouched */
.nh-footer-lead { background: var(--nh-background); }
.nh-footer-lead .sec-title h2 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; color: var(--nh-foreground); }
.nh-footer-lead .clientBoxQuote img { filter: brightness(0) saturate(100%) invert(75%) sepia(40%) saturate(700%) hue-rotate(1deg) brightness(101%); }
.nh-footer-lead .faqInnerSec h3 { color: var(--nh-foreground); }
.nh-footer-lead .faqInnerSec span { color: var(--nh-accent); }

/* Force legacy .sec-title (old theme, dark text by default) to white
   wherever it sits directly on the new dark .nh-landing background —
   .nh-section-light areas keep their own dark-on-light color untouched. */
.nh-landing > section:not(.nh-section-light) .sec-title,
.nh-landing > section:not(.nh-section-light) .sec-title h2,
.nh-landing > section:not(.nh-section-light) .sec-title p {
  color: var(--nh-foreground);
}

/* Trusted-partner logo marquee */
.nh-trusted-partners .client-carouselMarquee { padding: 20px 0 10px; }
.nh-trusted-partners .item { padding: 0 10px; }
.nh-trusted-partners .client-logo {
  width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  padding: 24px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.nh-trusted-partners .client-logo img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  filter: none; transition: filter 0.3s ease;
}
.nh-trusted-partners .slick-center .client-logo {
  background: #fff;
  transform: scale(1.15);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (min-width: 640px) {
  .nh-form-grid { grid-template-columns: 1fr 1fr; }
  .nh-header-phone { display: flex; }
  .nh-grid-4 { grid-template-columns: 1fr 1fr; }
  .nh-grid-5 { grid-template-columns: 1fr 1fr; }
  .nh-trades { grid-template-columns: 1fr 1fr; }
  .nh-footer-bottom .nh-wrap { flex-direction: row; }
}

@media (min-width: 1024px) {
  .nh-hero-inner { grid-template-columns: 1fr 1fr; align-items: start; padding: 80px 20px; }
  .nh-two-col { grid-template-columns: 1fr 1fr; }
  .nh-check-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .nh-main-nav { display: flex; }
  .nh-menu-toggle { display: none; }
  .nh-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .nh-grid-5 { grid-template-columns: repeat(5, 1fr); }
  .nh-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .nh-trades { grid-template-columns: repeat(6, 1fr); gap: 0; }
  .nh-trade { text-align: left; border-left: 1px solid var(--nh-surface-light-border); }
  .nh-trade:first-child { border-left: 0; }
  .nh-trade ul li { justify-content: flex-start; }
  .nh-footer-grid { grid-template-columns: 1.1fr 1.3fr 0.9fr; }
}
