/* ═══════════════════════════════════════════
   PEBMARKET — PAGES: Index Hero, Vendors Page, Blog, Calculator
   ═══════════════════════════════════════════ */

/* ══════════════════════════════════════
   INDEX — HERO
══════════════════════════════════════ */
#hero {
  padding-top: calc(var(--nav-height) + 28px);
  padding-bottom: 0;
  background:
    linear-gradient(108deg,
      rgba(10,20,38,0.97) 0%,
      rgba(10,20,38,0.90) 34%,
      rgba(10,20,38,0.52) 58%,
      rgba(10,20,38,0.12) 100%),
    url('/assets/pebmarket_hero.webp') 68% center / cover no-repeat;

  /* Use image-set when supported: AVIF primary, WebP fallback */
  @supports (background-image: image-set(url('/assets/pebmarket_hero.avif') type('image/avif') 1x)) {
    background:
      linear-gradient(108deg,
        rgba(10,20,38,0.97) 0%,
        rgba(10,20,38,0.90) 34%,
        rgba(10,20,38,0.52) 58%,
        rgba(10,20,38,0.12) 100%),
      image-set(url('/assets/pebmarket_hero.avif') type('image/avif') 1x, url('/assets/pebmarket_hero.webp') type('image/webp') 1x) 68% center / cover no-repeat;
  }
  position: relative; overflow: hidden;
}
#hero::before { display: none; }
#hero::after { display: none; }

/* ── Hero Layout: mobile → 2col desktop ── */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 64px;
}

/* ── Hero Right Column (calculator wrapper) ── */
.hero-right-col {
  position: relative;
}
.hero-right-col::before { display: none; }
.hero-calc-wrap { position: relative; z-index: 1; }

/* ── Eyebrow label above calculator ── */
.hero-calc-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.72rem; font-weight: 600; color: var(--grey-400);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 12px; text-align: center;
}
.hce-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); display: inline-block; flex-shrink: 0;
}

.hero-content { max-width: 600px; }
.hero-badge { margin-bottom: 18px; }
.hero-badge .badge {
  background: rgba(224,161,0,0.15);
  border-color: rgba(224,161,0,0.45);
  color: #EDBC40;
  box-shadow: none;
}
.hero-title { color: #FFFFFF; }
.hero-title span { color: #E0A100; position: relative; display: inline; }
.hero-sub { margin-top: 14px; font-size: 0.95rem; color: rgba(255,255,255,0.72); line-height: 1.65; }

/* ── Hero Feature Icons ── */
.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.hero-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s;
}
.hero-feat:hover { border-color: rgba(224,161,0,0.45); background: rgba(255,255,255,0.11); }
.hf-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(224,161,0,0.18); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hf-icon svg { width: 18px; height: 18px; color: #E0A100; }
.hf-title { font-size: 0.8rem; font-weight: 700; color: #FFFFFF; line-height: 1.3; }
.hf-desc { font-size: 0.72rem; color: rgba(255,255,255,0.58); margin-top: 2px; line-height: 1.4; }

/* ── Hero CTAs ── */
.hero-ctas { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-talk {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.88rem;
  cursor: pointer; border: 2px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.08); color: #FFFFFF;
  transition: all 0.2s; white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-talk:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.7); color: #FFFFFF; }
.btn-talk svg { width: 16px; height: 16px; }

/* ── Hero Stats Bar ── */
.hero-stats-bar {
  background: rgba(8,16,30,0.88);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── PEB PROPOSAL SECTION ── */
#proposal {
  background: #FEFEFE !important;
  background-image: none !important;
  color: var(--dark);
}
#proposal::before,
#proposal::after { display: none !important; }
#proposal .container { width: min(100%, 1120px); }
#proposal .proposal-header {
  text-align: center;
  margin-bottom: 18px;
  padding: 0 6px;
}
#proposal .proposal-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  min-width: 0;
}
.proposal-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.proposal-copy {
  display: block;
  max-width: 100%;
  min-width: 0;
}
.proposal-image-card {
  padding: 5px;
}
.proposal-image-card picture {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
}
.proposal-image-card img { width: 100%; height: auto; display: block; }
.proposal-image-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(9, 38, 63, 0.9);
  color: #ffffff;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(9, 38, 63, 0.18);
}

.proposal-image-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f4b000;
  box-shadow: 0 0 0 4px rgba(244, 176, 0, 0.16);
  flex-shrink: 0;
}
.proposal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 24px 24px;
  background: #F8F8FF;
  color: var(--grey-600);
  font-size: 0.82rem;
  align-items: center;
}
.proposal-tags span { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; background: #FFFFFF; border: 1px solid rgba(218,165,32,0.16); color: var(--dark); }
.proposal-tags span:first-child { background: rgba(212,160,23,0.1); border-color: transparent; color: var(--dark); font-weight: 700; }
.proposal-copy {
  display: block;
  max-width: 620px;
}
.proposal-copy .heading,
.proposal-copy .subheading { text-align: left; }

.proposal-features { display: grid; gap: 8px; margin-top: 12px; grid-template-columns: 1fr; }
.proposal-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(19, 44, 73, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: 0 10px 28px rgba(19, 44, 73, 0.06);
}
.proposal-feature-icon {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
  padding: 0;
}
.proposal-feature-icon svg,
.proposal-feature-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.proposal-feature-body {
  min-width: 0;
}

/* symbol styling when using text glyphs/emojis */
.proposal-feature-icon .pf-symbol {
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  color: var(--gold-dark);
}
.proposal-feature strong { display: block; font-size: 0.9rem; margin-bottom: 3px; color: var(--dark); }
.proposal-feature p { font-size: 0.82rem; color: var(--grey-600); line-height: 1.42; margin: 0; }
.proposal-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 24px;
  padding-top: 4px;
}
.proposal-cta .btn {
  width: 100%;
  max-width: 460px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  line-height: 1.2;
}
.proposal-cta .btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.proposal-cta .btn span {
  display: inline-block;
}
.proposal-cta-arrow {
  font-size: 1.05rem;
  line-height: 1;
}
.proposal-cta .btn-lg { padding: 16px 22px; }

.proposal-popup-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: rgba(8, 19, 37, 0.62);
  backdrop-filter: blur(7px);
  z-index: 2100;
}
.proposal-popup-overlay.open { display: flex; }
.proposal-popup {
  position: relative;
  width: 100%;
  max-width: 404px;
  max-height: calc(100vh - 16px);
  overflow-y: auto;
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.92), rgba(255,255,255,0.98) 40%),
    linear-gradient(180deg, #FFFDFC 0%, #FFFFFF 100%);
  border: 1px solid rgba(8, 19, 37, 0.08);
  box-shadow: 0 24px 64px rgba(9, 30, 66, 0.24);
  animation: proposalPopupIn 0.28s ease;
}
@keyframes proposalPopupIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.proposal-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #173066;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.proposal-popup-close:hover {
  background: rgba(23, 48, 102, 0.08);
  color: #0f2550;
}
.proposal-popup-close svg {
  width: 18px;
  height: 18px;
}
.proposal-popup-inner {
  padding: 22px 14px 14px;
}
.proposal-popup-title {
  margin: 0px 0 14px;
  color: #173066;
  text-align: center;
  font-size: 1.42rem;
  line-height: 1.08;
  font-weight: 800;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: -0.04em;
}
.proposal-popup-alert {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(210, 63, 63, 0.18);
  background: #FFF5F5;
  color: #AF2F2F;
  font-size: 0.82rem;
  font-weight: 600;
}
.proposal-popup-unit-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(23, 48, 102, 0.12);
}
.proposal-popup-unit-label {
  color: #173066;
  font-size: 0.92rem;
  font-weight: 700;
}
.proposal-popup-unit-label span,
.proposal-popup-field label span {
  color: #7A869A;
  font-weight: 500;
}
.proposal-popup-unit-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 12px;
  border: 1px solid #E4E8F0;
  background: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}
.proposal-unit-btn {
  min-width: 42px;
  height: 34px;
  padding: 0 14px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: #6B7690;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.proposal-unit-btn.is-active {
  background: linear-gradient(180deg, #D4A017 0%, #D4A017 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 18px rgba(240, 161, 0, 0.28);
}
.proposal-popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.proposal-popup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.proposal-popup-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.proposal-popup-field-full {
  width: 100%;
}
.proposal-popup-field label {
  color: #173066;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}
.proposal-popup-field input,
.proposal-popup-field select {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 12px;
  border: 1px solid #DCE2EE;
  border-radius: 10px;
  background: #FFFFFF;
  color: #173066;
  font-size: 0.86rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}
.proposal-popup-field input,
.proposal-popup-field input:focus,
.proposal-popup-field select,
.proposal-popup-field select:focus {
  color: #173066;
}
.proposal-popup-field select {
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173066' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 15px;
}
.proposal-popup-field input::placeholder {
  color: #8B96AB;
}
.proposal-popup-field select:invalid {
  color: #8B96AB;
}
.proposal-popup-field select option {
  color: #173066;
}
.proposal-popup-field input:focus,
.proposal-popup-field select:focus {
  border-color: rgba(240, 161, 0, 0.95);
  box-shadow: 0 0 0 4px rgba(240, 161, 0, 0.14);
}
.proposal-popup-submit {
  width: 100%;
  height: 50px;
  margin-top: 2px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #D4A017 0%, #D4A017 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(240, 161, 0, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.proposal-popup-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(240, 161, 0, 0.28);
}
.proposal-popup-submit svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
@media (max-width: 359px) {
  .proposal-popup-overlay { padding: 6px; }
  .proposal-popup { max-height: calc(100vh - 12px); }
  .proposal-popup-inner { padding: 20px 10px 12px; }
  .proposal-popup-title { font-size: 1.28rem; }
  .proposal-popup-unit-label,
  .proposal-popup-field label { font-size: 0.84rem; }
  .proposal-popup-grid { gap: 8px; }
  .proposal-popup-field input,
  .proposal-popup-field select {
    height: 44px;
    padding: 0 10px;
    font-size: 0.82rem;
  }
  .proposal-popup-field select {
    padding-right: 30px;
    background-position: right 8px center;
    background-size: 14px;
  }
  .proposal-popup-submit { font-size: 0.86rem; }
}
@media (min-width: 768px) {
  #proposal .proposal-grid { grid-template-columns: 50% 50%; align-items: center; }
  #proposal .proposal-header { margin-bottom: 22px; padding: 0; }
  .proposal-visual { align-items: center; }
  .proposal-copy { display: flex; flex-direction: column; justify-content: center; }
  .proposal-image-card { border-radius: 28px; box-shadow: 0 28px 70px rgba(19, 44, 73, 0.12); }
  #proposal .proposal-image-card img { transform: scale(1.02); transition: transform 0.25s ease; }
  #proposal .proposal-image-card:hover img { transform: scale(1.03); }
  /* .proposal-features { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; } */
  .proposal-feature { gap: 10px; align-items: flex-start; }
  .proposal-feature-icon { width: 42px; height: 42px; }
  .proposal-feature-icon svg { width: 16px; height: 16px; }
  .proposal-feature strong { font-size: 0.94rem; }
  .proposal-popup { max-width: 404px; max-height: calc(100vh - 32px); border-radius: 18px; }
  .proposal-popup-inner { padding: 24px 18px 18px; }
  .proposal-popup-title { margin-top: 0px; font-size: 1.48rem; }
  .proposal-popup-unit-bar {
    gap: 12px;
    padding-top: 12px;
  }
  .proposal-popup-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .proposal-popup-field { gap: 8px; }
  .proposal-popup-unit-label { font-size: 0.9rem; }
  .proposal-popup-field label { font-size: 0.88rem; }
  .proposal-popup-field input,
  .proposal-popup-field select { height: 48px; font-size: 0.88rem; }
  .proposal-popup-submit { height: 50px; font-size: 0.9rem; gap: 8px; }
  .proposal-popup-submit svg { width: 17px; height: 17px; }
}

@media (max-width: 767px) {
  .proposal-tags { justify-content: center; }
  #proposal .proposal-image-card img { transform: none !important; }
  #proposal .subheading { font-size: 0.86rem; }
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.hero-stat-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-item:nth-child(2n) { border-right: none; }
.hero-stat-item:nth-last-child(-n+2) { border-bottom: none; }
.hsi-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(224,161,0,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hsi-icon svg { width: 20px; height: 20px; color: var(--gold); }
.hsi-num { font-size: 1.3rem; font-weight: 800; color: var(--gold); font-family: 'Playfair Display', serif; line-height: 1; display: block; }
.hsi-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.5); font-weight: 500; margin-top: 2px; display: block; }

/* ── TICKER ── */
.ticker { background: var(--dark); padding: 10px 0; overflow: hidden; }
.ticker-inner { display: flex; gap: 60px; animation: ticker 15s linear infinite; white-space: nowrap; }
.ticker-item { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 8px; }
.ticker-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── HOW IT WORKS ── */
#how { background: var(--dark); padding: 56px 0; }
#how .label { color: var(--gold); }
#how .heading { color: var(--white); }
#how .subheading { color: rgba(255,255,255,0.6); }

/* Steps — mobile: column stack */
.steps { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; position: relative; }
.steps::before { display: none; content: ''; position: absolute; top: 40px; left: 80px; right: 80px; height: 2px; background: linear-gradient(90deg, var(--gold) 0%, rgba(218,165,32,0.3) 100%); z-index: 0; }
.step { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 16px; }
.step-num { width: 72px; height: 72px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.4rem; font-weight: 800; color: white; font-family: 'Playfair Display', serif; box-shadow: 0 8px 24px rgba(218,165,32,0.4); position: relative; }
.step-num::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px dashed rgba(218,165,32,0.4); }
.step-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.step-desc { font-size: 0.83rem; color: rgba(255,255,255,0.5); line-height: 1.55; }

/* ── VENDOR JOIN ── */
#vendor { background: linear-gradient(135deg, var(--dark) 0%, #263d5c 100%); padding: 56px 0; position: relative; overflow: hidden; }
#vendor::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(212,160,23,0.1) 0%, transparent 70%); }

/* vendor-grid: mobile single col */
.vendor-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.vendor-left .label { color: var(--gold); }
.vendor-left .heading { color: var(--white); margin-top: 8px; }
.vendor-left p { color: rgba(255,255,255,0.6); margin-top: 16px; line-height: 1.7; }
.vendor-perks { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.vendor-perk { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.vendor-perk svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.vendor-form { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 28px 20px; backdrop-filter: blur(10px); }
.vendor-form h3 { color: var(--white); font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; font-family: 'DM Sans', sans-serif; }

/* ── INLINE FORM SECTION ── */
.inline-form-section { background: var(--gold-bg); border-top: 1px solid rgba(218,165,32,0.2); border-bottom: 1px solid rgba(218,165,32,0.2); }
.inline-form-wrap { max-width: 680px; margin: 0 auto; }
.inline-form-wrap h2 { font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.inline-form-wrap p { font-size: 0.88rem; color: var(--grey-600); margin-bottom: 24px; }
/* inline-form-grid: mobile single col */
.inline-form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* ── FAQ SECTION ── */
#faq { background: var(--off-white); }
#services { background: var(--off-white); }
#why { background: var(--white); }

/* ══════════════════════════════════════
   INDEX — HERO CALCULATOR (hc-*)
══════════════════════════════════════ */
.hero-calc-wrap {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,0.45), 0 8px 24px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.hc-header { display: flex; align-items: center; gap: 11px; padding: 16px 20px 14px; background: var(--dark); border-bottom: 1px solid rgba(212,160,23,0.2); }
.hc-icon-wrap { width: 36px; height: 36px; border-radius: 9px; background: rgba(212,160,23,0.2); border: 1px solid rgba(212,160,23,0.3); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.hc-title { font-size: 0.92rem; font-weight: 700; color: #fff; font-family: 'DM Sans', sans-serif; }
.hc-sub { font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-top: 1px; }
.hc-free-badge { margin-left: auto; flex-shrink: 0; background: rgba(212,160,23,0.2); border: 1px solid rgba(212,160,23,0.35); color: var(--gold); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; }
.hc-steps { display: flex; align-items: center; padding: 12px 20px 10px; background: rgba(27,42,65,0.96); border-bottom: 1px solid rgba(255,255,255,0.08); }
.hc-step-item { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.hc-step-dot { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; border: 1.5px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.4); background: transparent; transition: all .22s; flex-shrink: 0; }
.hc-step-dot.active { background: var(--gold); border-color: var(--gold); color: #fff; }
.hc-step-dot.done { background: rgba(134,239,172,0.2); border-color: #86EFAC; color: #86EFAC; }
.hc-step-lbl { font-size: 0.6rem; color: rgba(255,255,255,0.4); white-space: nowrap; }
.hc-step-line { flex: 1; height: 1px; background: rgba(255,255,255,0.15); margin: 0 3px 14px; transition: background .3s; }
.hc-step-line.done { background: #86EFAC; }
.hc-body { padding: 16px 20px 18px; }
.hc-view { animation: hcFade .25s ease; }
@keyframes hcFade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.hc-unit-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.hc-unit-lbl { font-size: 0.75rem; font-weight: 600; color: #8A7450; }
.hc-unit-toggle { display: inline-flex; border: 1px solid #DDD5C0; border-radius: 100px; overflow: hidden; }
.hc-unit-btn { padding: 4px 14px; font-size: 0.75rem; font-weight: 600; cursor: pointer; background: transparent; border: none; color: #A08C5A; font-family: 'DM Sans', sans-serif; transition: all .18s; }
.hc-unit-btn.active { background: var(--gold); color: #fff; }
.hc-field { margin-bottom: 10px; }
.hc-label { display: block; font-size: 0.72rem; font-weight: 700; color: #6B5B30; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.hc-req { color: var(--gold); }
.hc-input { width: 100%; height: 38px; padding: 0 11px; border: 1.5px solid #E0D8C8; border-radius: 8px; background: #FEFCF6; color: #1A1200; font-size: 0.88rem; font-family: 'DM Sans', sans-serif; outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.hc-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,160,23,0.12); background: #fff; }
.hc-input::placeholder { color: #C4B48A; }
.hc-input::-webkit-inner-spin-button { opacity: 0; }
.hc-input option { background: #fff; color: #1A1200; }
select.hc-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23A08C5A'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 34px; }
.hc-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.hc-chip { padding: 3px 11px; border-radius: 100px; border: 1px solid #DDD5C0; font-size: 0.72rem; font-weight: 600; cursor: pointer; color: #A08C5A; background: #FEFCF6; transition: all .14s; font-family: 'DM Sans', sans-serif; }
.hc-chip:hover { border-color: var(--gold); color: var(--gold); background: #FDF8E8; }
.hc-chip.sel { background: rgba(212,160,23,0.15); border-color: var(--gold); color: var(--gold-dark); }
.hc-area-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(212,160,23,0.12); border: 1px solid rgba(212,160,23,0.35); border-radius: 100px; padding: 4px 12px; font-size: 0.78rem; color: var(--gold-dark); margin: 3px 0 8px; font-weight: 600; }
/* hc-row2: mobile single col */
.hc-row2 { display: grid; grid-template-columns: 1fr; gap: 10px; }
.hc-btn-primary { width: 100%; padding: 11px 16px; border-radius: 9px; border: none; background: var(--gold); color: #fff; font-size: 0.9rem; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; transition: all .2s; box-shadow: 0 4px 16px rgba(212,160,23,0.35); }
.hc-btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,160,23,0.45); }
.hc-btn-primary:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.hc-btn-ghost { width: 100%; padding: 9px; border-radius: 8px; margin-top: 7px; border: 1px solid #DDD5C0; background: transparent; color: #A08C5A; font-size: 0.82rem; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all .18s; }
.hc-btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); background: #FDF8E8; }
.hc-est-card { background: linear-gradient(135deg,#FFF8E7 0%,#FEF3CC 100%); border: 1px solid #F0E4BB; border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.hc-est-label { font-size: 0.68rem; font-weight: 700; color: #B8860B; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; }
.hc-est-range { font-size: clamp(1.2rem,2.5vw,1.6rem); font-weight: 800; color: #7B5400; font-family: 'Playfair Display', serif; line-height: 1.2; }
.hc-est-meta { font-size: 0.75rem; color: #A08C5A; margin-top: 3px; }
.hc-est-stats { display: flex; align-items: center; gap: 0; margin-top: 10px; background: rgba(255,255,255,0.6); border-radius: 8px; overflow: hidden; border: 1px solid #EEE3C0; }
.hc-est-stat { flex: 1; padding: 8px 12px; text-align: center; }
.hc-est-stat-val { font-size: 0.88rem; font-weight: 700; color: #5A3E00; }
.hc-est-stat-lbl { font-size: 0.62rem; color: #B8960C; margin-top: 1px; text-transform: uppercase; letter-spacing: 0.04em; }
.hc-est-divider { width: 1px; background: #EEE3C0; align-self: stretch; }
.hc-disclaimer { font-size: 0.72rem; color: #B8A070; text-align: center; margin-bottom: 8px; font-style: italic; }
.hc-locked { position: relative; border: 1px dashed #DDD5C0; border-radius: 10px; overflow: hidden; margin-bottom: 10px; background: #FEFCF6; }
.hc-locked-blur { filter: blur(3.5px); padding: 10px 14px; pointer-events: none; user-select: none; }
.hc-brow { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #EEE9DE; font-size: 0.8rem; color: #9A8060; }
.hc-brow:last-child { border-bottom: none; }
.hc-lock-over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(255,252,242,0.7); }
.hc-lock-ico { width: 30px; height: 30px; border-radius: 50%; background: #FDF3D8; border: 1.5px solid #DDD5C0; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.hc-lock-txt { font-size: 0.73rem; color: #9A7B2A; text-align: center; max-width: 180px; line-height: 1.4; font-weight: 600; }
.hc-unlock-badge { display: flex; align-items: center; gap: 7px; background: #FFF8E7; border: 1px solid #F0E4BB; border-radius: 8px; padding: 9px 13px; font-size: 0.8rem; font-weight: 600; color: #7B5400; margin-bottom: 12px; }
.hc-note { font-size: 0.7rem; color: #B8A070; text-align: center; margin-top: 8px; }
.hc-success-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 10px; padding: 10px 13px; }
.hc-success-ico { width: 34px; height: 34px; border-radius: 50%; background: #DCFCE7; border: 1px solid #86EFAC; display: flex; align-items: center; justify-content: center; color: #16A34A; flex-shrink: 0; }
.hc-success-title { font-size: 0.88rem; font-weight: 700; color: #14532D; }
.hc-success-sub { font-size: 0.72rem; color: #15803D; margin-top: 1px; }
.hc-breakdown-wrap { background: #FAFAF8; border: 1px solid #EEE9DE; border-radius: 10px; padding: 11px 14px; }
.hc-breakdown-title { font-size: 0.72rem; font-weight: 700; color: #9A7B2A; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 8px; }
.hc-brow-result { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #EEE9DE; font-size: 0.8rem; }
.hc-brow-result:last-child { border-bottom: none; }
.hc-brow-result span:first-child { color: #6B5B30; }
.hc-brow-result span:last-child { font-weight: 700; color: var(--gold-dark); }
.hc-vendor-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid #EEE9DE; }
.hc-vendor-row:last-child { border-bottom: none; }
.hc-v-ico { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 800; flex-shrink: 0; }
.hc-v-name { font-size: 0.8rem; font-weight: 700; color: #1A1200; }
.hc-v-meta { font-size: 0.68rem; color: #9A8060; }
.hc-v-badge { margin-left: auto; font-size: 0.62rem; padding: 2px 7px; border-radius: 100px; background: #DCFCE7; border: 1px solid #86EFAC; color: #15803D; font-weight: 700; flex-shrink: 0; }

/* ══════════════════════════════════════
   VENDORS PAGE SPECIFIC
══════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #263d5c 100%);
  padding: calc(var(--nav-height) + 24px) 0 40px;
  position: relative; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 50% -10%,rgba(218,165,32,.14) 0%,transparent 70%); }
.ph-label { display: inline-flex; align-items: center; gap: 6px; background: rgba(218,165,32,.15); border: 1px solid rgba(218,165,32,.3); padding: 5px 14px; border-radius: 100px; font-size: .72rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.ph-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem,4vw,2.8rem); font-weight: 800; color: white; line-height: 1.15; margin-bottom: 12px; }
.ph-title span { color: var(--gold); }
.ph-sub { font-size: 0.95rem; color: rgba(255,255,255,.55); max-width: 520px; line-height: 1.65; }
.ph-stats { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.ph-stat-num { font-size: 1.4rem; font-weight: 800; color: white; font-family: 'Playfair Display', serif; line-height: 1; }
.ph-stat-num span { color: var(--gold); }
.ph-stat-lbl { font-size: .75rem; color: rgba(255,255,255,.45); margin-top: 2px; }

.search-bar-wrap { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--grey-100); padding: 14px 0; position: sticky; top: var(--nav-height); z-index: 200; box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); }
.search-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 10px; row-gap: 12px; flex-wrap: wrap; }
.sb-input-wrap { flex: 1; min-width: 180px; display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1.5px solid var(--grey-200); border-radius: 10px; padding: 9px 14px; transition: border-color .2s; }
.sb-input-wrap:focus-within { border-color: var(--gold); }
.sb-input-wrap svg { width: 16px; height: 16px; color: var(--grey-400); flex-shrink: 0; }
.sb-input-wrap input { border: none; background: none; font-family: 'DM Sans', sans-serif; font-size: .88rem; color: var(--dark); outline: none; width: 100%; }
.sb-select { padding: 10px 14px; border: 1.5px solid var(--grey-200); border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: .83rem; color: var(--grey-600); background: var(--white); outline: none; cursor: pointer; transition: border-color .2s; min-width: 140px; }
.sb-select:focus { border-color: var(--gold); }
.sb-count { font-size: .82rem; color: var(--grey-400); white-space: nowrap; margin-left: auto; }

/* page-body: mobile single col */
.page-body { max-width: 1380px; margin: 0 auto; padding: 24px 16px 60px; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; position: relative; }

body.filters-open { overflow: hidden; }

.filters-backdrop {
  position: fixed; inset: 0; border: none;
  background: rgba(27,42,65,.34); opacity: 0; pointer-events: none;
  transition: opacity .24s ease; z-index: 440;
}
.filters-backdrop.open { opacity: 1; pointer-events: auto; }

/* filters-sidebar: mobile = hidden drawer at bottom */
.filters-sidebar {
  display: block; position: fixed; top: calc(var(--nav-height) + 12px); left: 12px; bottom: 12px; z-index: 500;
  width: min(88vw, 340px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--white); border-radius: 0;
  height: auto; max-height: calc(100vh - var(--nav-height) - 24px);
  border-radius: 20px;
  padding: 24px 24px calc(24px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 24px 48px rgba(27,42,65,.24);
  transform: translateX(calc(-100% - 24px));
  visibility: hidden; pointer-events: none;
  transition: transform .28s ease, visibility .28s ease, opacity .2s ease;
  opacity: 0;
}
.filters-sidebar.open { transform: translateX(0); visibility: visible; pointer-events: auto; opacity: 1; }
.filter-toggle { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--grey-200); border-radius: 10px; background: var(--white); font-size: .85rem; font-weight: 600; color: var(--dark); cursor: pointer; font-family: 'DM Sans', sans-serif; }
.filter-toggle svg { width: 16px; height: 16px; }

.fs-title { font-size: .9rem; font-weight: 700; color: var(--dark); margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fs-actions { display: flex; align-items: center; gap: 10px; }
.fs-reset { font-size: .75rem; font-weight: 600; color: var(--gold); cursor: pointer; border: none; background: none; font-family: 'DM Sans', sans-serif; }
.fs-reset:hover { text-decoration: underline; }
.fs-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid var(--grey-200); background: var(--white);
  color: var(--grey-600); font-size: 1rem; cursor: pointer;
}
.fs-close:hover { border-color: var(--gold); color: var(--gold); }
.fg-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--grey-400); margin-bottom: 10px; margin-top: 18px; }
.fg-label:first-of-type { margin-top: 0; }
.fc-item { display: flex; align-items: center; gap: 9px; padding: 7px 0; cursor: pointer; border-radius: 7px; transition: background .15s; }
.fc-item:hover { background: var(--gold-bg); padding-left: 6px; }
.fc-item input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--gold); cursor: pointer; flex-shrink: 0; }
.fc-item label { font-size: .84rem; color: var(--grey-600); cursor: pointer; flex: 1; }
.fc-item .fc-count { font-size: .72rem; color: var(--grey-400); font-weight: 600; }
.rating-filter { display: flex; flex-direction: column; gap: 6px; }
.rs-item { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 5px 0; }
.rs-item input { accent-color: var(--gold); cursor: pointer; }
.rs-stars { color: var(--gold); font-size: .85rem; letter-spacing: 1px; }
.rs-label { font-size: .82rem; color: var(--grey-600); }
.exp-row { display: flex; flex-wrap: wrap; gap: 7px; }
.exp-pill { padding: 6px 14px; border: 1.5px solid var(--grey-200); border-radius: 100px; font-size: .78rem; font-weight: 600; color: var(--grey-600); cursor: pointer; transition: all .18s; background: var(--white); font-family: 'DM Sans', sans-serif; }
.exp-pill:hover, .exp-pill.active { background: var(--gold); border-color: var(--gold); color: white; }

.vendors-main { min-width: 0; }
.vm-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.vm-header h2 { font-size: 1rem; font-weight: 700; color: var(--dark); }
.vm-sort { padding: 8px 13px; border: 1.5px solid var(--grey-200); border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: .8rem; color: var(--grey-600); background: var(--white); outline: none; cursor: pointer; }
.vm-sort:focus { border-color: var(--gold); }

/* vg-grid: mobile single col */
.vg-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }

/* Quote Popup (vendors page) */
.qp-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(5px); }
.qp-overlay.open { display: flex; }
.qp-box { background: var(--white); border-radius: 20px; width: 100%; max-width: 440px; overflow: hidden; animation: qpPop .35s cubic-bezier(.175,.885,.32,1.275); max-height: 92vh; overflow-y: auto; }
@keyframes qpPop { from { transform: scale(.88); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.qp-head { background: linear-gradient(135deg, var(--dark), #263d5c); padding: 26px 26px 20px; position: relative; }
.qp-close { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.1); border: none; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: background .2s; }
.qp-close:hover { background: rgba(255,255,255,.2); }
.qp-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(218,165,32,.2); border: 1px solid rgba(218,165,32,.3); padding: 3px 10px; border-radius: 100px; font-size: .68rem; font-weight: 700; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.qp-title { color: white; font-size: 1.3rem; font-weight: 800; font-family: 'Playfair Display', serif; line-height: 1.2; }
.qp-sub { color: rgba(255,255,255,.5); font-size: .8rem; margin-top: 4px; }
.qp-body { padding: 22px 26px 26px; }
.qp-alert { display: none; background: #FEF3CD; border: 1px solid rgba(218,165,32,.4); border-radius: 8px; padding: 9px 12px; font-size: .8rem; color: #856404; font-weight: 600; margin-bottom: 12px; }
.qp-submit { width: 100%; padding: 13px; background: var(--gold); border: none; border-radius: 9px; color: white; font-size: .93rem; font-weight: 700; cursor: pointer; transition: all .2s; font-family: 'DM Sans', sans-serif; display: flex; align-items: center; justify-content: center; gap: 7px; }
.qp-submit:hover { background: var(--gold-dark); }
.qp-note { font-size: .72rem; color: var(--grey-400); text-align: center; margin-top: 9px; }
.qp-success { display: none; padding: 32px 26px; text-align: center; }
.qp-success svg { width: 52px; height: 52px; color: var(--green); margin: 0 auto 14px; }
.qp-success h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.qp-success p { font-size: .84rem; color: var(--grey-600); line-height: 1.6; }

/* ══════════════════════════════════════
   BLOG — BREADCRUMB FIX (overlap with fixed nav)
══════════════════════════════════════ */
.breadcrumb-wrap {
  background: var(--off-white);
  border-bottom: 1px solid var(--grey-100);
  margin-top: var(--nav-height);
}
.breadcrumb { padding: 12px 0; font-size: 0.82rem; color: var(--grey-400); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--grey-600); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--grey-200); }

/* ══════════════════════════════════════
   BLOG — HERO (mobile-first)
══════════════════════════════════════ */
.blog-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #263d5c 50%, #1a3a5c 100%);
  padding: 100px 0 28px;
  color: var(--white);
}
.blog-hero .label { color: var(--gold-light); }
.blog-hero .heading { color: var(--white); margin-top: 10px; }
.blog-hero-sub { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; margin-top: 14px; max-width: 600px; }
.blog-hero-stats { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.blog-hero-stat { display: flex; flex-direction: column; gap: 3px; }
.blog-hero-stat-num { font-size: 1.3rem; font-weight: 800; color: var(--gold); font-family: 'Playfair Display', serif; }
.blog-hero-stat-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.08em; }

body.blog-page .blog-hero .container > div {
  max-width: 100% !important;
}

body.blog-page .blog-hero .heading {
  font-size: clamp(1.65rem, 7.5vw, 2.6rem);
}

body.blog-page .blog-hero .heading br {
  display: none;
}

body.blog-page .blog-hero-sub {
  max-width: none;
  font-size: 0.92rem;
}

body.blog-page .blog-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.blog-page .blog-hero-stat {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ══════════════════════════════════════
   BLOG — CARDS (mobile-first grid)
══════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
.blog-card { background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.25s ease; display: flex; flex-direction: column; }
.blog-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card-img { width: 100%; height: 180px; object-fit: cover; display: block; background: var(--grey-50); }
.blog-card-img-placeholder { width: 100%; height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3rem; position: relative; overflow: hidden; }
.blog-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.blog-card-tag { display: inline-block; background: var(--gold-bg); color: var(--gold-dark); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 100px; margin-bottom: 10px; border: 1px solid rgba(218,165,32,0.25); }
.blog-card-title { font-size: 0.95rem; font-weight: 700; font-family: 'Playfair Display', serif; line-height: 1.4; color: var(--dark); margin-bottom: 8px; }
.blog-card-excerpt { font-size: 0.83rem; color: var(--grey-600); line-height: 1.65; flex: 1; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--grey-100); flex-wrap: wrap; gap: 8px; }
.blog-card-read { font-size: 0.78rem; color: var(--grey-400); }
.blog-card-link { font-size: 0.82rem; font-weight: 600; color: var(--gold-dark); display: flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.blog-card:hover .blog-card-link { gap: 8px; }
.blog-card-featured .blog-card-title { font-size: 1rem; }

/* ══════════════════════════════════════
   BLOG — ARTICLE LAYOUT (mobile-first)
══════════════════════════════════════ */
.article-section { padding: 40px 0; border-bottom: 1px solid var(--grey-100); }
.article-section:last-of-type { border-bottom: none; }
.article-section:nth-child(even) { background: var(--off-white); }

/* Mobile first: single column */
.article-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
.article-sidebar { position: static; }

.article-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-bg); color: var(--gold-dark); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 5px 12px; border-radius: 100px; border: 1px solid rgba(218,165,32,0.3); margin-bottom: 16px; }
.article-title { font-size: clamp(1.2rem,3vw,2rem); font-weight: 800; font-family: 'Playfair Display', serif; line-height: 1.25; color: var(--dark); margin-bottom: 10px; }
.article-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.article-meta-item { font-size: 0.78rem; color: var(--grey-400); display: flex; align-items: center; gap: 5px; }
.article-img { width: 100%; border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; }
.article-img img { width: 100%; height: auto; max-height: 280px; object-fit: cover; display: block; }
.article-img-placeholder { width: 100%; height: 180px; display: flex; align-items: center; justify-content: center; font-size: 4rem; border-radius: var(--radius); }
.article-body { font-size: 0.93rem; line-height: 1.8; color: var(--grey-800); }
.article-body h2 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--dark); margin: 24px 0 10px; }
.article-body h3 { font-family: 'DM Sans', sans-serif; font-size: 0.97rem; font-weight: 700; color: var(--dark); margin: 18px 0 8px; }
.article-body p { margin-bottom: 14px; }
.article-body ul, .article-body ol { margin: 0 0 14px 20px; }
.article-body li { margin-bottom: 8px; line-height: 1.7; }
.article-body strong { color: var(--dark); }
.article-body a { color: var(--gold-dark); text-decoration: underline; }

body.blog-page .article-layout {
  gap: 20px;
}

body.blog-page .article-content,
body.blog-page .article-sidebar {
  min-width: 0;
}

body.blog-page .article-title {
  font-size: clamp(1.4rem, 6vw, 2rem);
}

body.blog-page .article-meta {
  gap: 8px 12px;
}

body.blog-page .article-meta-item {
  font-size: 0.76rem;
}

body.blog-page .article-body {
  font-size: 0.91rem;
  line-height: 1.75;
}

body.blog-page .article-body h2 {
  font-size: clamp(1.1rem, 5vw, 1.4rem);
}

body.blog-page .article-body h3 {
  font-size: 1rem;
}

body.blog-page .article-body p,
body.blog-page .article-body li,
body.blog-page .sidebar-card,
body.blog-page .sidebar-cta p,
body.blog-page .highlight-box p,
body.blog-page .warning-box li {
  overflow-wrap: anywhere;
}

body.blog-page .article-body ul,
body.blog-page .article-body ol {
  margin-left: 18px;
}

body.blog-page .article-img {
  margin-bottom: 16px;
}

body.blog-page .article-img img {
  max-height: 220px;
}

body.blog-page .article-img-placeholder {
  height: 200px;
}

/* Highlight Box */
.highlight-box { background: linear-gradient(135deg,var(--gold-bg),#fff9e6); border: 1.5px solid rgba(212,160,23,0.35); border-radius: var(--radius); padding: 16px 18px; margin: 18px 0; }
.highlight-box-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-dark); margin-bottom: 8px; }
.highlight-box p { font-size: 0.88rem; color: var(--grey-800); margin: 0; line-height: 1.6; }

body.blog-page .highlight-box,
body.blog-page .warning-box,
body.blog-page .sidebar-card,
body.blog-page .sidebar-cta,
body.blog-page .article-cta-box {
  padding-left: 16px;
  padding-right: 16px;
}

body.blog-page .article-cta-box .btn,
body.blog-page .sidebar-cta .btn,
body.blog-page .blog-quote-card .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

/* Tables — scrollable on mobile */
.cost-table, .compare-table {
  width: 100%; border-collapse: collapse; margin: 16px 0 24px;
  font-size: 0.85rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.cost-table thead, .compare-table thead { background: var(--dark); color: var(--white); }
.cost-table thead th { padding: 11px 14px; text-align: left; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.cost-table tbody tr { border-bottom: 1px solid var(--grey-100); }
.cost-table tbody tr:last-child { border-bottom: none; }
.cost-table tbody tr:nth-child(even) { background: var(--off-white); }
.cost-table td { padding: 11px 14px; line-height: 1.5; white-space: nowrap; }
.cost-table td:last-child { font-weight: 700; color: var(--gold-dark); }
.compare-table thead { background: linear-gradient(90deg,var(--dark),#1a3a5c); }
.compare-table thead th { padding: 12px 14px; text-align: center; font-weight: 700; font-size: 0.83rem; white-space: nowrap; }
.compare-table thead th:first-child { text-align: left; }
.compare-table tbody tr { border-bottom: 1px solid var(--grey-100); }
.compare-table tbody tr:nth-child(even) { background: var(--off-white); }
.compare-table td { padding: 11px 14px; text-align: center; white-space: nowrap; }
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--dark); }
.compare-peb { color: #16A34A; font-weight: 700; }
.compare-rcc { color: #DC2626; font-weight: 700; }
.compare-neutral { color: var(--grey-600); }

body.blog-page .cost-table,
body.blog-page .compare-table {
  font-size: 0.8rem;
}

body.blog-page .cost-table thead th,
body.blog-page .cost-table td,
body.blog-page .compare-table thead th,
body.blog-page .compare-table td {
  white-space: normal;
  min-width: 120px;
  vertical-align: top;
}

body.blog-page .cost-table thead th:first-child,
body.blog-page .cost-table td:first-child,
body.blog-page .compare-table thead th:first-child,
body.blog-page .compare-table td:first-child {
  min-width: 160px;
}

/* Checklist */
.checklist { list-style: none; margin: 0 0 20px; padding: 0; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--grey-100); font-size: 0.87rem; line-height: 1.6; color: var(--grey-800); }
.checklist li:last-child { border-bottom: none; }
.checklist-num { min-width: 28px; height: 28px; background: var(--gold); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.checklist-icon { min-width: 22px; height: 22px; background: #DCFCE7; color: #16A34A; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }

/* Reasons Grid — mobile first 1 col */
.reasons-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 14px 0 20px; }
.reason-card { background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 16px; transition: all 0.2s; }
.reason-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.reason-icon { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; font-size: 1.2rem; }
.reason-title { font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.reason-desc { font-size: 0.8rem; color: var(--grey-600); line-height: 1.5; }

/* Sidebar cards */
.sidebar-card { background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.sidebar-card-title { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dark); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.sidebar-cta { background: linear-gradient(135deg, var(--dark), #263d5c); color: var(--white); padding: 20px; border-radius: var(--radius); margin-bottom: 16px; }
.sidebar-cta h4 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--white); margin-bottom: 8px; }
.sidebar-cta p { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; line-height: 1.5; }
.toc-link { display: block; font-size: 0.83rem; color: var(--grey-600); padding: 7px 0; border-bottom: 1px solid var(--grey-100); transition: color 0.2s; cursor: pointer; line-height: 1.4; }
.toc-link:last-child { border-bottom: none; }
.toc-link:hover, .toc-link.active { color: var(--gold-dark); font-weight: 600; }
.toc-num { display: inline-block; min-width: 18px; font-weight: 700; color: var(--gold); }

/* City Tags */
.city-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.city-tag { background: var(--grey-50); border: 1px solid var(--grey-200); color: var(--grey-800); font-size: 0.78rem; font-weight: 600; padding: 5px 12px; border-radius: 100px; }
.city-tag-gold { background: var(--gold-bg); border-color: rgba(218,165,32,0.3); color: var(--gold-dark); }

/* Author/Date bar */
.article-info-bar { background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 10px 14px; display: flex; align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.article-info-bar span { font-size: 0.8rem; color: var(--grey-400); display: flex; align-items: center; gap: 5px; }
.info-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--grey-200); display: none; }

/* Article CTA Box */
.article-cta-box { background: linear-gradient(135deg, var(--dark), #1a3a5c); border-radius: var(--radius-lg); padding: 24px 20px; text-align: center; margin: 28px 0; }
.article-cta-box h3 { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.article-cta-box p { color: rgba(255,255,255,0.7); font-size: 0.87rem; margin-bottom: 16px; }

/* City Cost Grid — mobile first 1 col */
.city-cost-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 14px 0; }
.city-cost-card { background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 12px 14px; }
.city-cost-name { font-size: 0.85rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.city-cost-range { font-size: 1rem; font-weight: 800; color: var(--gold-dark); }
.city-cost-note { font-size: 0.74rem; color: var(--grey-400); margin-top: 2px; }

/* GIDC badges */
.gidc-badge { display: inline-flex; align-items: center; gap: 5px; background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E40AF; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; margin: 3px; }

/* ══════════════════════════════════════
   PAGE-SPECIFIC ARTICLE COMPONENTS
══════════════════════════════════════ */

/* Warning box (industrial-shed-builder-guide) */
.warning-box { background: #FFF7ED; border: 1.5px solid #FED7AA; border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }
.warning-box-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #C2410C; margin-bottom: 8px; }
.warning-box ul { margin: 0; padding-left: 18px; }
.warning-box li { font-size: 0.88rem; color: #7C2D12; margin-bottom: 6px; }

/* GIDC grid cards (warehouse-construction-gidc) — mobile 1 col */
.gidc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0; }
.gidc-card { background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 14px 16px; }
.gidc-name { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.gidc-desc { font-size: 0.8rem; color: var(--grey-600); line-height: 1.5; }

/* Reason cards with number + stat (gujarat-industries-switch-peb) */
.reason-num { width: 36px; height: 36px; background: var(--gold); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 800; margin-bottom: 12px; }
.reason-stat { font-size: 1.1rem; font-weight: 800; color: var(--gold-dark); margin-top: 8px; }

/* Blog quote block */
.blog-quote-section {
  background: linear-gradient(135deg,var(--gold-bg),#fff);
  padding: 56px 0;
  border-top: 1px solid rgba(212,160,23,0.15);
  border-bottom: 1px solid rgba(212,160,23,0.15);
}

.blog-quote-list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.blog-quote-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
}

.blog-quote-item-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.blog-quote-callout {
  margin-top: 24px;
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(218,165,32,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.blog-quote-phone {
  font-size: clamp(1.05rem, 5vw, 1.3rem);
  font-weight: 800;
  color: var(--dark);
  font-family: 'Playfair Display', serif;
}

.blog-quote-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-md);
}

.blog-quote-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: 'DM Sans', sans-serif;
}

.blog-quote-card-sub {
  font-size: 0.85rem;
  color: var(--grey-600);
  margin-bottom: 20px;
}

/* ══════════════════════════════════════
   RESPONSIVE BREAKPOINTS — mobile-first (min-width)
══════════════════════════════════════ */

@media (min-width: 480px) {
  .hc-row2 { grid-template-columns: 1fr 1fr; }
  .blog-hero-stat-num { font-size: 1.5rem; }
}

@media (min-width: 580px) {
  .vg-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
  .article-info-bar { flex-direction: row; align-items: center; gap: 12px; }
  .info-dot { display: block; }
}

@media (min-width: 640px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .blog-card-featured { grid-column: span 2; }
  .blog-card-img-placeholder { height: 200px; }
  .blog-hero { padding: 100px 0 36px; }
  .article-img-placeholder { height: 240px; }
  .article-img img { max-height: 320px; }
  .inline-form-grid { grid-template-columns: 1fr 1fr; }
  .vendor-form { padding: 32px 28px; }
  .city-cost-grid { grid-template-columns: 1fr 1fr; }
  .reasons-grid { grid-template-columns: 1fr 1fr; }
  .gidc-grid { grid-template-columns: 1fr 1fr; }
  body.blog-page .blog-hero .container > div { max-width: 720px !important; }
  body.blog-page .blog-hero .heading br { display: inline; }
  .blog-quote-card { padding: 30px 28px; }
}

@media (min-width: 768px) {
  #hero { padding-top: calc(var(--nav-height) + 48px); min-height: 92vh; display: flex; flex-direction: column; }
  #hero > .container { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .hero-layout { grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
  .hero-calc-eyebrow { justify-content: flex-start; }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { margin-top: 28px; }
  .hero-stats-grid { grid-template-columns: repeat(4,1fr); }
  .hero-stat-item { border-bottom: none; }
  .hero-stat-item:nth-child(2n) { border-right: 1px solid rgba(255,255,255,0.08); }
  .hero-stat-item:last-child { border-right: none; }
  #how { padding: 80px 0; }
  .steps { flex-direction: row; gap: 0; margin-top: 60px; }
  .steps::before { display: block; }
  .step-num { width: 80px; height: 80px; font-size: 1.6rem; }
  #vendor { padding: 80px 0; }
  .vendor-grid { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .ph-stats { gap: 32px; }
  .ph-stat-num { font-size: 1.6rem; }
  .page-hero { padding: calc(var(--nav-height) + 28px) 0 56px; }
  .blog-hero { padding: 100px 0 48px; }
  .blog-hero-stat-num { font-size: 1.6rem; }
  .article-section { padding: 60px 0; }
  .article-img img { max-height: 340px; }
  body.blog-page .blog-hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .blog-quote-section { padding: 80px 0; }
  .blog-quote-list { margin-top: 32px; gap: 14px; }
  .blog-quote-callout { margin-top: 32px; padding: 20px; align-items: center; }
}

@media (min-width: 900px) {
  #hero { padding-top: calc(var(--nav-height) + 48px); }
  .hero-layout { grid-template-columns: 1.25fr 0.95fr; gap: 52px; }
  .hsi-num { font-size: 1.5rem; }
}

@media (min-width: 1100px) {
  .hero-layout { grid-template-columns: 1.3fr 0.9fr; gap: 64px; }
}

@media (min-width: 960px) {
  .page-body { grid-template-columns: 280px minmax(0,1fr); gap: 24px; padding: 32px 20px 80px; }
  .filters-backdrop { display: none; }
  .filters-sidebar {
    position: sticky; inset: auto;
    top: max(calc(var(--nav-height) + 90px), calc(var(--nav-height) + var(--vendors-search-height, 70px) + 20px)); bottom: auto; left: auto;
    width: 100%; height: fit-content; max-height: none;
    border-radius: var(--radius-lg); overflow: visible;
    border: 1px solid var(--grey-100);
    background: var(--white); padding: 24px;
    box-shadow: none; transform: none; visibility: visible; pointer-events: auto; opacity: 1;
    align-self: start; z-index: 10;
  }
  .filter-toggle { display: none; }
  .fs-close { display: none; }
  .vg-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
  .search-bar-inner { padding: 0 20px; }
}

@media (max-width: 639px) {
  .search-bar-wrap { padding: 10px 0; }
  .search-bar-inner { gap: 8px; row-gap: 6px; }
  .sb-select { display: none; }
  .filter-toggle { flex-shrink: 0; white-space: nowrap; }
  .sb-input-wrap { flex: 1; min-width: 0; }
  .sb-count { width: 100%; margin-left: 0; font-size: .75rem; white-space: normal; }
  .filters-sidebar {
    width: min(86vw, 320px);
    left: 10px; top: calc(var(--nav-height) + 10px); bottom: 10px;
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .blog-card-featured { grid-column: span 2; }
  .blog-card-featured .blog-card-img-placeholder { height: 280px; }
  .blog-card-featured .blog-card-title { font-size: 1.2rem; }
  .article-layout { grid-template-columns: 1fr 340px; gap: 60px; }
  .article-sidebar { position: sticky; top: calc(var(--nav-height) + 20px); }
  .blog-hero { padding: 100px 0 50px; }
  .article-section { padding: 72px 0; }
  .article-img img { max-height: 380px; }
  .article-img-placeholder { height: 280px; }
  body.blog-page .article-layout { gap: 60px; }
}
