/* ============================================================
   3DPrintMap — main.css
   Design System: Barlow Condensed (headings) + Inter (body)
   Colors: Orange #f97316, Navy #0f172a
   ============================================================ */

/* ── Custom Properties ───────────────────────────────────── */
:root {
  --orange:   #f97316;
  --orange-dk:#ea580c;
  --orange-lt:#fff7ed;
  --navy:     #0f172a;
  --navy-md:  #1e293b;
  --slate:    #475569;
  --slate-lt: #94a3b8;
  --bg:       #f8fafc;
  --bg2:      #f1f5f9;
  --white:    #ffffff;
  --border:   #e2e8f0;
  --green:    #16a34a;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.07);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.10);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-size: 15px; color: var(--navy); background: var(--bg); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
a[href^="mailto:"]:not(.btn) { color: var(--orange); }
a[href^="mailto:"]:not(.btn):hover { text-decoration: underline; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.1;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { color: var(--slate); line-height: 1.75; }

/* ── Layout ──────────────────────────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.wrap-sm { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }
.wrap-xs { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

/* ── Topbar ──────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  font-size: 12.5px;
  text-align: center;
  padding: 7px 1rem;
  font-family: 'Inter', sans-serif;
}
.topbar a { color: var(--orange); font-weight: 700; }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
  height: 60px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-sym {
  font-size: 1.3rem;
  color: var(--orange);
}
.logo-tx {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: .5px;
}
.logo-tx .c-navy  { color: var(--navy); }
.logo-tx .c-orange{ color: var(--orange); }
.logo-tx .c-white { color: var(--white); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex: 1;
}
.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
  padding: 6px 10px;
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--bg); }
.nav-link.active { color: var(--orange); }

/* Browse dropdown */
.nav-has-drop { position: relative; }
.nav-has-drop:hover .nav-drop,
.nav-has-drop.open .nav-drop { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  min-width: 190px;
  padding: .5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .15s, transform .15s;
}
.nav-drop a {
  display: block;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate);
  border-radius: var(--r-sm);
  transition: background .12s, color .12s;
}
.nav-drop a:hover { background: var(--bg); color: var(--navy); }

/* Nav right */
.nav-right { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.btn-cta {
  background: var(--orange);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
  transition: background .15s;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--orange-dk); }
.ham { font-size: 1.25rem; color: var(--navy); display: none; padding: 4px; }

/* Mobile menu */
.mob-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .75rem 1.5rem 1.25rem;
  gap: .25rem;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  border-radius: var(--r-sm);
  border-bottom: 1px solid var(--border);
}
.mob-menu a:last-child { border-bottom: none; }
.mob-menu a:hover { background: var(--bg); }
.mob-menu .mob-cta { color: var(--orange); font-weight: 700; }
.mob-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 14px 12px 4px;
  border-bottom: none;
  pointer-events: none;
}

/* ── Active filter chips ─────────────────────────────────── */
.active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .75rem;
  min-height: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.chip-x {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0 2px;
  opacity: .75;
  transition: opacity .1s;
}
.chip-x:hover { opacity: 1; }

/* ── Directory empty state ───────────────────────────────── */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  max-width: 480px;
  margin: 0 auto;
}
.empty-state h3 { margin-bottom: .5rem; font-size: 1.25rem; }
.empty-state p { color: var(--slate); margin-bottom: 1rem; }
.empty-suggestions {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.empty-suggestions li {
  font-size: 13.5px;
  color: var(--slate);
  padding: 6px 12px;
  background: var(--bg);
  border-radius: var(--r-sm);
}
.empty-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: var(--r-md);
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
}
.btn-primary:hover { background: var(--orange-dk); border-color: var(--orange-dk); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--slate);
  border: 2px solid var(--border);
}
.btn-ghost:hover { border-color: var(--slate); color: var(--navy); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-navy:hover { background: var(--navy-md); border-color: var(--navy-md); }
.btn-grey-outline {
  background: transparent;
  color: var(--slate);
  border: 2px solid var(--border);
}
.btn-grey-outline:hover { border-color: var(--slate-lt); }
.btn-lg { font-size: 16px; padding: 14px 28px; }
.btn-full { display: block; width: 100%; text-align: center; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-brand-col p {
  color: rgba(255,255,255,.5);
  font-size: 13.5px;
  margin-top: .75rem;
  line-height: 1.65;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: .75rem;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  margin-bottom: .4rem;
  transition: color .15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  font-size: 12px;
  color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.3); transition: color .15s; }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .6rem 1.5rem;
  font-size: 12.5px;
  color: var(--slate-lt);
}
.breadcrumb .wrap-sm { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--slate); transition: color .15s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--slate); font-weight: 500; }

/* ── Hero Variants ───────────────────────────────────────── */
.hero-dark {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}
.hero-dark h1 { color: var(--white); }
.hero-dark p { color: rgba(255,255,255,.75); max-width: 580px; margin: 1rem auto 0; font-size: 16px; }
.hero-dark .hero-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }

.hero-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}
.hero-orange h1 { color: var(--white); }
.hero-orange p { color: rgba(255,255,255,.85); max-width: 600px; margin: 1rem auto 0; font-size: 16px; }

.hero-navy-grad {
  background: linear-gradient(135deg, var(--navy), #0f2545);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}
.hero-navy-grad h1 { color: var(--white); }
.hero-navy-grad p { color: rgba(255,255,255,.75); max-width: 580px; margin: 1rem auto 0; font-size: 16px; }
.hero-navy-grad .hero-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }

.hero-purple {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}
.hero-purple h1, .hero-purple p { color: var(--white); }
.hero-purple p { opacity: .8; max-width: 580px; margin: 1rem auto 0; font-size: 16px; }
.hero-purple .hero-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }

.hero-teal {
  background: linear-gradient(135deg, #0d4f4f, #0f766e);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}
.hero-teal h1, .hero-teal p { color: var(--white); }
.hero-teal p { opacity: .8; max-width: 580px; margin: 1rem auto 0; font-size: 16px; }
.hero-teal .hero-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }

.hero-metal {
  background: linear-gradient(135deg, #1c1c1e, #3a2d2d);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}
.hero-metal h1, .hero-metal p { color: var(--white); }
.hero-metal p { opacity: .8; max-width: 580px; margin: 1rem auto 0; font-size: 16px; }
.hero-metal .hero-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }

.hero-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.hero-meta {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-top: .75rem;
}

/* ── Stat Bar ────────────────────────────────────────────── */
.stat-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stat-bar-inner {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 2.5rem 1.5rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stat-item span { font-size: 13px; color: var(--slate-lt); margin-top: .25rem; display: block; }

/* ── About Page Content ──────────────────────────────────── */
.about-body { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem; }
.about-body h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--border);
}
.about-body h2:first-child { margin-top: 0; }
.about-body p { margin-bottom: 1rem; font-size: 15.5px; line-height: 1.8; }
.about-body ul { margin: .75rem 0 1rem 1.25rem; list-style: disc; }
.about-body ul li { margin-bottom: .4rem; color: var(--slate); font-size: 15.5px; line-height: 1.75; }
.about-body a:not(.btn) { color: var(--orange); font-weight: 600; }
.about-body a:not(.btn):hover { text-decoration: underline; }

/* ── Legal Pages ─────────────────────────────────────────── */
.legal-layout { max-width: 820px; margin: 0 auto; padding: 3rem 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.legal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.legal-card h2 {
  font-size: 1.2rem;
  margin-bottom: .75rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.legal-card h2 i { color: var(--orange); }
.legal-card p { font-size: 14.5px; margin-bottom: .75rem; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card ul { margin: .5rem 0 .75rem 1.25rem; list-style: disc; }
.legal-card ul li { font-size: 14.5px; color: var(--slate); margin-bottom: .35rem; line-height: 1.7; }
.legal-card a:not(.btn) { color: var(--orange); }
.legal-card a:not(.btn):hover { text-decoration: underline; }
.legal-card .btn-primary { color: var(--white); }
.legal-card .btn-primary:hover { color: var(--white); }

/* ── Page Hero (for technologies, faq, privacy, terms) ───── */
.page-hero {
  background: var(--navy);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.page-hero-content h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.75rem); }
.page-hero-content p { color: rgba(255,255,255,.7); max-width: 600px; margin: .75rem auto 0; font-size: 15.5px; }
.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
}
.page-hero-label i { color: var(--orange); }

/* ── Tech Guide (technologies.html) ─────────────────────── */
.tech-guide-section { padding: 3rem 0; }
.tech-guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.tech-guide-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.tech-guide-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.fdm-icon  { background: rgba(249,115,22,.12); color: var(--orange); }
.sla-icon  { background: rgba(99,102,241,.12); color: #6366f1; }
.sls-icon  { background: rgba(20,184,166,.12); color: #14b8a6; }
.metal-icon{ background: rgba(148,163,184,.15); color: var(--slate); }
.multi-icon{ background: rgba(236,72,153,.12); color: #ec4899; }
.design-icon{ background: rgba(16,185,129,.12); color: #10b981; }

.tech-guide-header h2 { font-size: 1.5rem; margin: 0; }
.tech-guide-subtitle { font-size: 13.5px; color: var(--slate-lt); margin-top: .2rem; }
.tech-guide-body { display: grid; grid-template-columns: 1fr 280px; gap: 1.5rem; padding: 1.75rem; }
.tech-guide-desc p { font-size: 14.5px; margin-bottom: .85rem; line-height: 1.8; }
.tech-meta-block { margin-bottom: 1rem; }
.tech-meta-block h3 { font-size: 13px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.tech-meta-block ul { list-style: none; }
.tech-meta-block ul li { font-size: 13.5px; color: var(--slate); padding: 3px 0; padding-left: 1rem; position: relative; }
.tech-meta-block ul li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-pill {
  background: var(--bg2);
  color: var(--slate);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
}
.compare-grid-section { padding: 2.5rem 0; background: var(--navy-md); }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .75rem;
}
.compare-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 1.25rem .75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}
.compare-icon { font-size: 1.5rem; }
.compare-card strong { font-size: 14px; font-weight: 700; color: var(--white); }
.compare-card span { font-size: 12px; color: rgba(255,255,255,.5); }

/* FAQ layout */
.faq-layout { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }
.faq-group-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.faq-group-icon { width: 36px; height: 36px; background: var(--orange-lt); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--orange); flex-shrink: 0; }
.faq-group-header h2 { font-size: 1.35rem; margin: 0; }
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  background: none;
  cursor: pointer;
  transition: background .15s;
}
.faq-question:hover { background: var(--bg); }
.faq-chevron { font-size: 12px; color: var(--slate-lt); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 1.25rem 1.1rem; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: 14.5px; line-height: 1.75; }
.faq-answer a:not(.btn) { color: var(--orange); font-weight: 600; }
.faq-cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.faq-cta p { font-size: 15px; color: var(--slate); }

/* ── Add Listing Page ────────────────────────────────────── */
.add-listing-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}
.form-card h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  transition: border-color .15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  display: block;
  width: 100%;
  background: var(--orange);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .15s;
  text-align: center;
  margin-top: .5rem;
}
.form-submit:hover { background: var(--orange-dk); }
.form-note { font-size: 12px; color: var(--slate-lt); text-align: center; margin-top: .6rem; }

.benefits-col h3 { font-size: 1.3rem; margin-bottom: 1.25rem; }
.benefit-item { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1.25rem; }
.benefit-emoji { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.benefit-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.benefit-text p { font-size: 13.5px; line-height: 1.6; margin: 0; }

.tier-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 13px; }
.tier-table th { background: var(--navy); color: var(--white); padding: .6rem .75rem; text-align: left; font-weight: 600; }
.tier-table td { padding: .6rem .75rem; border-bottom: 1px solid var(--border); color: var(--slate); }
.tier-table tr:last-child td { border-bottom: none; }
.tier-table tr:nth-child(even) td { background: var(--bg); }
.tier-table .tier-name { font-weight: 700; color: var(--navy); }
.tier-table .tier-price { color: var(--orange); font-weight: 700; }

/* ── Featured Listing Page ───────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--orange);
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(249,115,22,.1), var(--shadow-md);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: .25rem; }
.pricing-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.pricing-price span { font-size: 1rem; color: var(--slate-lt); }
.pricing-features { list-style: none; margin-bottom: 1.5rem; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 13.5px;
  color: var(--slate);
  padding: .35rem 0;
  border-bottom: 1px solid var(--bg2);
}
.pricing-features li:last-child { border-bottom: none; }
.feat-yes { color: var(--green); font-weight: 700; }
.feat-no  { color: var(--slate-lt); }

.benefits-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  box-shadow: var(--shadow-sm);
}
.benefit-card-emoji { font-size: 1.5rem; flex-shrink: 0; }
.benefit-card-text h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.benefit-card-text p { font-size: 13.5px; color: var(--slate); margin: 0; line-height: 1.6; }

/* ── Blog Index ──────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
.blog-thumb {
  height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.blog-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.05) 60%);
  pointer-events: none;
}
.blog-thumb span {
  position: relative;
  z-index: 1;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  padding: .5rem .85rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.blog-thumb.amber      { background: linear-gradient(135deg, #f59e0b, #d97706); }
.blog-thumb.blue       { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.blog-thumb.green      { background: linear-gradient(135deg, #22c55e, #16a34a); }
.blog-thumb.pink       { background: linear-gradient(135deg, #ec4899, #be185d); }
.blog-thumb.purple     { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.blog-thumb.indigo     { background: linear-gradient(135deg, #6366f1, #4338ca); }
.blog-thumb.navy       { background: linear-gradient(135deg, #1e3a5f, #0f2240); }
.blog-thumb.teal       { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.blog-thumb.green-dark { background: linear-gradient(135deg, #16a34a, #14532d); }
.blog-thumb.red        { background: linear-gradient(135deg, #ef4444, #b91c1c); }

/* Featured blog post */
.blog-featured { max-width: 1100px; margin: 3rem auto 0; padding: 0 1.5rem; }
.blog-card-featured {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .2s, box-shadow .2s;
  margin-bottom: 2rem;
}
.blog-card-featured:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card-featured .blog-thumb { height: 100%; min-height: 280px; }
.blog-card-featured .blog-body { padding: 2rem 2rem 1.75rem; justify-content: center; }
.blog-card-featured .blog-body h2 { font-size: 1.6rem; line-height: 1.2; margin-bottom: .75rem; }
.blog-card-featured .blog-body p { font-size: 15px; line-height: 1.8; }
.blog-feat-label {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: .6rem;
}

.blog-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .4rem;
}
.blog-body h2,
.blog-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #222;
  line-height: 1.25;
  margin-bottom: .5rem;
  transition: color .15s;
}
.blog-card:hover .blog-body h2,
.blog-card:hover .blog-body h3 { color: var(--orange); }
.blog-body h2 a, .blog-body h3 a { color: inherit; text-decoration: none; }
.blog-body h2 a:hover, .blog-body h3 a:hover { color: var(--orange); }
.blog-body p { font-size: 13.5px; color: var(--slate); margin-bottom: .75rem; flex: 1; line-height: 1.75; }
.blog-meta { font-size: 11.5px; color: var(--slate-lt); margin-top: auto; }

/* ── Blog Post Layout ────────────────────────────────────── */
.post-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}
.post-hero { background: var(--navy); padding: 3.5rem 1.5rem; }
.post-hero-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.post-hero h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.1; }
.post-hero .breadcrumb { background: transparent; border: none; padding: 0; margin-bottom: 1rem; font-size: 12px; }
.post-hero .breadcrumb a { color: rgba(255,255,255,.5); }
.post-hero .breadcrumb a:hover { color: var(--white); }
.post-hero .breadcrumb span { color: rgba(255,255,255,.35); }
.post-hero .blog-cat { margin-bottom: .75rem; }
.post-hero .blog-meta { justify-content: center; margin-top: 1rem; color: rgba(255,255,255,.55); gap: 1.5rem; display: flex; flex-wrap: wrap; font-size: 13px; }
.article h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--navy);
  margin: 2.25rem 0 .75rem;
  line-height: 1.15;
}
.article h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.5rem 0 .5rem;
}
.article p { font-size: 15.5px; color: var(--slate); line-height: 1.85; margin-bottom: 1rem; }
.article ul, .article ol { margin: .75rem 0 1rem 1.5rem; }
.article li { font-size: 15.5px; color: var(--slate); line-height: 1.8; margin-bottom: .35rem; }
.article a:not(.btn) { color: var(--orange); font-weight: 600; }
.article a:not(.btn):hover { text-decoration: underline; }
.article .btn-primary { color: var(--white); font-weight: 600; padding: 12px 24px; }
.article .btn-primary:hover { background: var(--orange-dk); border-color: var(--orange-dk); color: var(--white); }

/* Comparison table */
.cmp-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 14px; }
.cmp-table thead tr { background: var(--navy); color: var(--white); }
.cmp-table th { padding: .65rem 1rem; text-align: left; font-weight: 600; }
.cmp-table td { padding: .65rem 1rem; border-bottom: 1px solid var(--border); color: var(--slate); }
.cmp-table tbody tr:nth-child(even) td { background: var(--bg); }
.cmp-table tbody tr:last-child td { border-bottom: none; }

/* Callout / tip box */
.callout {
  border-left: 4px solid var(--orange);
  background: var(--orange-lt);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 1.5rem 0;
}
.callout-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .4rem;
}
.callout p { font-size: 14.5px; color: var(--navy); margin: 0; line-height: 1.7; }

/* Quick answer boxes */
.quick-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.qbox {
  padding: 1.25rem;
  border-radius: var(--r-md);
  font-size: 14px;
  line-height: 1.7;
}
.qbox-orange { background: rgba(249,115,22,.1); border: 1.5px solid rgba(249,115,22,.3); }
.qbox-indigo { background: rgba(99,102,241,.08); border: 1.5px solid rgba(99,102,241,.2); }
.qbox strong { display: block; font-size: 15px; font-weight: 800; margin-bottom: .4rem; color: var(--navy); }

/* FAQ accordion (blog post version) */
.blog-faq { margin-top: 1rem; }
.blog-faq-item { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--white); margin-bottom: .5rem; }
.blog-faq-q {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: background .15s;
}
.blog-faq-q:hover { background: var(--bg); }
.faq-arrow { font-size: 12px; color: var(--slate-lt); transition: transform .25s; flex-shrink: 0; }
.blog-faq-item.open .faq-arrow { transform: rotate(180deg); }
.blog-faq-a { display: none; padding: 0 1.25rem 1rem; }
.blog-faq-item.open .blog-faq-a { display: block; }
.blog-faq-a p { font-size: 14.5px; line-height: 1.75; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-widget {
  border-radius: var(--r-lg);
  overflow: hidden;
}
.sidebar-widget-navy {
  background: var(--navy);
  padding: 1.5rem;
  color: var(--white);
}
.sidebar-widget-navy h4 { font-size: 1.1rem; color: var(--white); margin-bottom: .4rem; }
.sidebar-widget-navy p { font-size: 13.5px; color: rgba(255,255,255,.65); margin-bottom: 1rem; }
.sidebar-widget-border {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget-border h4 { font-size: 1rem; margin-bottom: .75rem; color: var(--navy); }
.sidebar-widget-border ul { list-style: none; }
.sidebar-widget-border ul li a {
  display: block;
  font-size: 13.5px;
  color: var(--slate);
  padding: .3rem 0;
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.sidebar-widget-border ul li:last-child a { border-bottom: none; }
.sidebar-widget-border ul li a:hover { color: var(--orange); }

/* ── Technology Landing Pages ────────────────────────────── */
.tech-landing-body {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}
.tech-main h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: .75rem;
}
.tech-main h2:first-child { margin-top: 0; }
.tech-main p { font-size: 15px; line-height: 1.8; color: var(--slate); margin-bottom: .85rem; }
.tech-main a:not(.btn) { color: var(--orange); font-weight: 600; }
.tech-main ul { list-style: disc; margin-left: 1.5rem; margin-bottom: 1rem; }
.tech-main ul li { font-size: 15px; color: var(--slate); margin-bottom: .3rem; line-height: 1.75; }

.use-cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: .75rem 0;
}
.use-case-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .85rem 1rem;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .6rem;
  box-shadow: var(--shadow-sm);
}
.use-case-tile::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; }

.material-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .75rem 0; }
.mat-tag {
  background: var(--orange-lt);
  color: var(--orange-dk);
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(249,115,22,.25);
}

.sidebar-stats { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.sidebar-stats h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--navy); }
.stat-row { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.stat-row:last-of-type { border-bottom: none; }
.stat-row span:first-child { color: var(--slate-lt); }
.stat-row span:last-child { font-weight: 600; color: var(--navy); }

/* ── Homepage Sections ───────────────────────────────────── */
.homepage-hero {
  background: var(--navy);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.homepage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(249,115,22,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.homepage-hero h1 { color: var(--white); position: relative; }
.homepage-hero h1 span { color: var(--orange); }
.homepage-hero p { color: rgba(255,255,255,.7); max-width: 560px; margin: 1rem auto; font-size: 16px; position: relative; }
.hero-stats { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; position: relative; }
.hero-stat strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 2rem; font-weight: 900; color: var(--white); }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; }

/* Search box */
.search-box {
  background: var(--white);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 2rem auto;
  position: relative;
}
.search-field { flex: 1; padding: .75rem 1.25rem; }
.search-field label { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-lt); }
.search-field input { border: none; outline: none; width: 100%; font-size: 14.5px; color: var(--navy); background: transparent; margin-top: 2px; }

/* ── City combobox dropdown ──────────────────────────────── */
.city-combo { position: relative; width: 100%; }
.city-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: -1.25rem;
  right: -1px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0; padding: 0;
  max-height: 260px;
  overflow-y: auto;
  z-index: 200;
}
.city-dropdown.open { display: block; }
.city-dropdown li {
  padding: .55rem 1.25rem;
  font-size: 13.5px;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}
.city-dropdown li span.city-state { font-size: 11px; color: var(--slate-lt); white-space: nowrap; }
.city-dropdown li:hover,
.city-dropdown li.active { background: var(--bg-lt); color: var(--orange); }
.city-dropdown li.active { background: #fff5f0; }

.search-divider { width: 1px; height: 36px; background: var(--border); }
.search-btn {
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 0 1.5rem;
  height: 100%;
  min-height: 64px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: background .15s;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.search-btn:hover { background: var(--orange-dk); }

/* Tech grid */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tech-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  text-decoration: none;
  transition: box-shadow .2s, border-color .2s, transform .2s;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.tech-card:hover { box-shadow: var(--shadow-md); border-color: var(--orange); transform: translateY(-2px); }
.tech-card-emoji { font-size: 2rem; }
.tech-card h3 { font-size: 1.1rem; color: var(--navy); margin: 0; }
.tech-card p { font-size: 13px; color: var(--slate-lt); margin: 0; }
.tech-card-count { font-size: 12px; font-weight: 700; color: var(--orange); background: var(--orange-lt); padding: 2px 10px; border-radius: 100px; display: inline-block; margin-top: auto; }

/* Listing card */
.listings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, border-color .2s;
}
.listing-card:hover { box-shadow: var(--shadow-md); border-color: rgba(249,115,22,.3); }
.listing-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .5rem; }
.listing-badge { background: var(--orange); color: var(--white); font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 100px; }
.listing-card h3 { font-size: 1.05rem; color: var(--navy); }
.listing-card .listing-loc { font-size: 13px; color: var(--slate-lt); margin-bottom: .35rem; }
.listing-card .listing-rating { font-size: 13px; color: var(--slate); margin-bottom: .4rem; }
.listing-card .listing-desc { font-size: 13.5px; color: var(--slate); line-height: 1.6; margin-bottom: .75rem; }
.listing-view { font-size: 13px; font-weight: 700; color: var(--orange); text-decoration: none; }
.listing-view:hover { text-decoration: underline; }

/* Section header */
.section-hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.5rem; }
.section-hd h2 { font-size: 1.75rem; }
.section-hd a { font-size: 13.5px; color: var(--orange); font-weight: 600; }
.section-hd a:hover { text-decoration: underline; }

/* CTA section */
.cta-section { background: var(--navy); padding: 4rem 1.5rem; }
.cta-box-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.cta-box-inner h2 { color: var(--white); font-size: 2rem; margin-bottom: .75rem; }
.cta-box-inner p { color: rgba(255,255,255,.7); margin-bottom: 1rem; font-size: 15.5px; }
.cta-features { list-style: none; text-align: left; display: inline-block; margin-bottom: 1.5rem; }
.cta-features li { color: rgba(255,255,255,.75); font-size: 14.5px; padding: .3rem 0; }

/* ── Tech landing hero CTA row ───────────────────────────── */
.hero-cta-row { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }

/* ── Add-listing form column ─────────────────────────────── */
.form-col { min-width: 0; }

/* ── Benefit icon (add-listing page) ─────────────────────── */
.benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange-lt);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Pricing display ─────────────────────────────────────── */
.price-num { font-size: 2.5rem; font-weight: 900; font-family: 'Barlow Condensed', sans-serif; color: var(--navy); }
.price-per { font-size: 1rem; color: var(--slate-lt); font-weight: 400; font-family: 'Inter', sans-serif; }
.pricing-card-featured { border-color: var(--orange); border-width: 2px; box-shadow: 0 0 0 4px rgba(249,115,22,.1), var(--shadow-md); }

/* ── Benefit card icon ───────────────────────────────────── */
.benefit-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange-lt);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── Sidebar links ───────────────────────────────────────── */
.sidebar-link {
  display: block;
  font-size: 13.5px;
  color: var(--slate);
  padding: .35rem 0;
  border-bottom: 1px solid var(--border);
  transition: color .15s;
  text-decoration: none;
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--orange); }

/* ── Sidebar navy widget h3 ─────────────────────────────── */
.sidebar-widget-navy h3 { font-size: 1.1rem; color: var(--white); margin-bottom: .5rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; }

/* ── Article lead paragraph ─────────────────────────────── */
.article-lead {
  font-size: 17px;
  color: var(--navy-md);
  line-height: 1.85;
  font-weight: 400;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--orange);
  padding-left: 1.25rem;
}

/* ── Use-case tile layout fix ────────────────────────────── */
.use-case-tile { display: block; }
.use-case-tile strong { display: block; margin-bottom: .25rem; }
.use-case-tile p { font-size: 13px; font-weight: 400; color: var(--slate); margin: 0; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .tech-guide-body { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .add-listing-body { grid-template-columns: 1fr; }
  .benefits-grid-2x2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-cta { display: none; }
  .ham { display: block; }
  .post-wrap { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .tech-landing-body { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card-featured { grid-template-columns: 1fr; }
  .blog-card-featured .blog-thumb { min-height: 200px; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .quick-boxes { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: repeat(2, 1fr); }
  .use-cases-grid { grid-template-columns: 1fr; }
  .stat-bar-inner { gap: 2rem; }
  .hero-stats { gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
}

/* ── Amazon Affiliate ────────────────────────────────────── */
.cta-amazon {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(160deg, #ffaa00 0%, #e07b00 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: filter .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 2px 8px rgba(224,123,0,.30), inset 0 1px 0 rgba(255,255,255,.18);
  letter-spacing: .01em;
}
.cta-amazon:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(224,123,0,.38);
}
.footer-amazon {
  text-align: center;
  font-size: 11.5px;
  color: rgba(255,255,255,.45);
  padding: 8px 0 0;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ── Pro Tip Box ─────────────────────────────────────────── */
.pro-tip-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
}
.pro-tip-box .pro-tip-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.pro-tip-box p { color: var(--navy); margin: 0; line-height: 1.5; }
.pro-tip-box a { color: #ff9900; font-weight: 700; }
.pro-tip-box a:hover { text-decoration: underline; }

/* ── Recommended for Makers Sidebar Widget ───────────────── */
.amz-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
}
.amz-widget h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.amz-widget-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.amz-widget-item:last-of-type { border-bottom: none; padding-bottom: 0; }
.amz-widget-item strong { font-size: 13.5px; color: var(--navy); }
.amz-widget-item span { font-size: 12px; color: var(--slate); }
.amz-widget-item .cta-amazon {
  margin-top: 4px;
  font-size: 13px;
  padding: 8px 16px;
  justify-content: center;
}
.amz-widget-disclosure {
  font-size: 10.5px;
  color: var(--slate-lt);
  margin-top: 10px;
  text-align: center;
}

/* ── ELEGOO Brand Hub ────────────────────────────────────── */
.elegoo-hub-section {
  background: #080d1a;
  border-top: 1px solid rgba(249,115,22,.18);
  border-bottom: 1px solid rgba(249,115,22,.18);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.elegoo-hub-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,91,170,.1) 0%, transparent 70%);
  pointer-events: none;
}
.elegoo-hub-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.elegoo-hub-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin: .6rem 0 .5rem;
  line-height: 1.1;
}
.elegoo-hub-intro {
  color: rgba(255,255,255,.6);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}
.elegoo-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
}
.elegoo-hub-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-lg);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color .2s;
}
.elegoo-hub-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, #1a8fe3 100%);
}
.elegoo-hub-card:hover { border-color: rgba(249,115,22,.3); }
.elegoo-hub-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.elegoo-hub-icon {
  width: 48px;
  height: 48px;
  background: rgba(249,115,22,.12);
  border: 1px solid rgba(249,115,22,.2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.elegoo-hub-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--orange);
  stroke-width: 2;
  fill: none;
}
.elegoo-hub-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 2px;
}
.elegoo-hub-tagline {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0;
}
.elegoo-hub-desc {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 16px;
}
.elegoo-hub-card .elegoo-spec-list { margin-bottom: 24px; flex-grow: 1; }
.elegoo-hub-card .btn-elegoo { width: 100%; justify-content: center; margin-top: auto; }
.elegoo-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(249,115,22,.12);
  border: 1px solid rgba(249,115,22,.3);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: .75rem;
}
.btn-elegoo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(160deg, #1a8fe3 0%, #005baa 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: filter .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 2px 8px rgba(0,91,170,.30), inset 0 1px 0 rgba(255,255,255,.18);
  letter-spacing: .01em;
}
.btn-elegoo:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,91,170,.38);
}

.elegoo-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.elegoo-spec-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
}
.elegoo-spec-list li i {
  color: var(--orange);
  font-size: 11px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .elegoo-hub-grid { grid-template-columns: 1fr; }
}

/* ── Recommended Gear Page ───────────────────────────────── */
.gear-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e2d4a 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gear-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(249,115,22,.15) 0%, transparent 70%);
  pointer-events: none;
}
.gear-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,115,22,.18);
  border: 1px solid rgba(249,115,22,.35);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.gear-hero h1 { color: var(--white); margin-bottom: .75rem; }
.gear-hero p { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto; font-size: 16px; line-height: 1.7; }
.gear-hero-disclosure {
  margin-top: 1.25rem;
  font-size: 11.5px;
  color: rgba(255,255,255,.35);
}

.gear-section { padding: 3.5rem 0; }
.gear-section:nth-child(even) { background: var(--bg2); }

.gear-section-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 2rem;
}
.gear-section-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--orange-lt);
  border: 1px solid rgba(249,115,22,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.gear-section-text {}
.gear-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .2rem;
  line-height: 1.1;
}
.gear-section-sub { color: var(--slate); font-size: 14.5px; margin: 0; }

.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.gear-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
  position: relative;
  overflow: hidden;
}
.gear-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border);
  transition: background .22s ease;
}
.gear-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,.13);
  transform: translateY(-4px);
  border-color: rgba(249,115,22,.28);
}
.gear-card:hover::before { background: var(--orange); }

.gear-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.gear-card-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-lt);
  border: 1px solid rgba(249,115,22,.18);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gear-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--orange);
  stroke-width: 2;
  fill: none;
}
.gear-section-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--orange);
  stroke-width: 2;
  fill: none;
}
.elegoo-spotlight-icon svg {
  width: 2.4rem;
  height: 2.4rem;
  stroke: var(--orange);
  stroke-width: 1.75;
  fill: none;
}

.gear-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--bg2);
  color: var(--slate);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.gear-badge-pick  { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.gear-badge-value { background: #dcfce7; color: #166534; border-color: #86efac; }
.gear-badge-pro   { background: #ede9fe; color: #5b21b6; border-color: #c4b5fd; }

.gear-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 8px;
}
.gear-card p {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.65;
  margin: 0;
  flex-grow: 1;
}
.gear-card-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.gear-card .cta-amazon {
  width: 100%;
  justify-content: center;
  font-size: 13.5px;
  padding: 11px 16px;
}

.gear-cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1e2d4a 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gear-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(249,115,22,.12) 0%, transparent 70%);
  pointer-events: none;
}
.gear-cta-section h2 { color: var(--white); margin-bottom: .5rem; position: relative; }
.gear-cta-section p  { color: rgba(255,255,255,.65); margin-bottom: 1.75rem; position: relative; }

@media (max-width: 768px) {
  .gear-grid { grid-template-columns: repeat(2, 1fr); }
  .gear-section-header { flex-direction: row; }
}
@media (max-width: 500px) {
  .gear-grid { grid-template-columns: 1fr; }
  .pro-tip-box { flex-direction: column; gap: 8px; }
}

/* ── Related Services / Nearby Printers ─────────────────────────── */
.related-services-section {
  background: var(--light, #f4f5f7);
  border-top: 1px solid var(--border, #e2e4e8);
  padding: 3rem 0 2.5rem;
}
.related-block { margin-bottom: 2.5rem; }
.related-block:last-child { margin-bottom: 0; }
.related-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy, #0A0A0F);
  margin: 0 0 1rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: #fff;
  border: 1px solid var(--border, #e2e4e8);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  text-decoration: none;
  transition: border-color .18s, box-shadow .18s;
}
.related-card:hover {
  border-color: var(--orange, #FF6B2B);
  box-shadow: 0 2px 10px rgba(255,107,43,.13);
}
.related-card-type {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--orange, #FF6B2B);
}
.related-card-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy, #0A0A0F);
  line-height: 1.3;
}
.related-card-loc {
  font-size: 0.78rem;
  color: var(--slate, #6b7280);
}
.related-card-rating {
  font-size: 0.78rem;
  color: var(--slate, #6b7280);
}
.related-view-all {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange, #FF6B2B);
  text-decoration: none;
}
.related-view-all:hover { text-decoration: underline; }

/* City links grid (category & city pages) */
.city-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.city-links-grid a {
  display: block;
  padding: 0.6rem 0.875rem;
  background: #fff;
  border: 1px solid var(--border, #e2e4e8);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy, #0A0A0F);
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.city-links-grid a:hover {
  border-color: var(--orange, #FF6B2B);
  color: var(--orange, #FF6B2B);
}

@media (max-width: 600px) {
  .related-grid { grid-template-columns: 1fr 1fr; }
  .city-links-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .related-grid { grid-template-columns: 1fr; }
  .city-links-grid { grid-template-columns: 1fr; }
}

/* ── Responsive images (WebP <picture> pattern) ─────────────── */
/* Used by pictureImg() in generate-listings.js and blog templates.
   Always pair with explicit width/height attrs to prevent CLS.    */
.lp-img,
.blog-img,
.site-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--r-md, 8px);
}
/* Hero / full-width images */
.lp-img-hero {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--r-lg, 12px);
}
/* Thumbnail variant */
.lp-img-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--r-sm, 6px);
  flex-shrink: 0;
}
picture { display: contents; }
