/* ============================================================
   MovingCompaniesBostonMA.com — Home Page Styles
   ============================================================ */

/* ── HERO ── */
.mcb-home-hero {
  background: linear-gradient(135deg, #1a3c6e 0%, #1a3260 60%, #0f2a4a 100%);
  padding: 72px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mcb-home-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(244,98,42,.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.mcb-home-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(245,166,35,.07) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.mcb-home-hero-inner {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
}

/* Hero badge */
.mcb-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(244,98,42,.15);
  border: 1px solid rgba(244,98,42,.3);
  color: #ff7a47;
  font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 24px;
}
.mcb-hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #f07c20;
  animation: mcb-pulse 2s ease-in-out infinite;
}
@keyframes mcb-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.85); }
}

.mcb-hero-h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900; line-height: 1.1; color: #fff;
  margin: 0 0 18px;
  letter-spacing: -.02em;
}
.mcb-hero-sub {
  font-size: clamp(.88rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,.6); line-height: 1.7;
  max-width: 560px; margin: 0 auto 36px;
}

/* Hero stats row */
.mcb-hero-meta-row {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mcb-hero-stat { text-align: center; }
.mcb-hero-stat strong {
  display: block; font-size: 1.25rem; font-weight: 700; color: #fff; line-height: 1;
}
.mcb-hero-stat span {
  display: block; font-size: .68rem; color: rgba(255,255,255,.4);
  letter-spacing: .4px; margin-top: 4px;
}
.mcb-hero-stat-div {
  width: 1px; height: 28px;
  background: rgba(255,255,255,.12);
}

/* ── SEARCH BOX ── */
.mcb-search-wrap {
  position: relative; max-width: 640px; margin: 0 auto;
}
.mcb-search-box {
  display: flex; align-items: center;
  background: #fff; border-radius: 10px;
  padding: 6px 6px 6px 18px;
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
}
.mcb-search-icon {
  color: #b8c4ce; flex-shrink: 0; margin-right: 10px;
  display: flex; align-items: center;
}
.mcb-search-input {
  flex: 1; border: none; outline: none;
  font-size: .95rem; color: #1a3c6e;
  background: transparent; min-width: 0;
  font-family: inherit;
}
.mcb-search-input::placeholder { color: #b8c4ce; }
.mcb-search-btn {
  background: #f07c20; color: #fff;
  border: none; padding: 12px 24px;
  border-radius: 7px; font-size: .88rem; font-weight: 700;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background .18s;
  font-family: inherit;
}
.mcb-search-btn:hover { background: #ff7a47; }

/* Suggestions dropdown */
.mcb-suggestions {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border-radius: 10px;
  box-shadow: 0 8px 32px rgba(15,31,61,.18);
  list-style: none; margin: 0; padding: 6px 0;
  z-index: 200; border: 1px solid #dde3ea;
  overflow: hidden;
}
.mcb-suggestion-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px; cursor: pointer;
  transition: background .12s;
}
.mcb-suggestion-item:hover,
.mcb-suggestion-item.mcb-sug-active { background: #f5f7fa; }
.mcb-sug-name { font-size: .88rem; color: #1a3c6e; font-weight: 500; }
.mcb-sug-name strong { color: #f07c20; font-weight: 700; }
.mcb-sug-meta { font-size: .72rem; color: #b8c4ce; }

/* ── SECTION HEADER ── */
.mcb-section-header { text-align: center; margin-bottom: 32px; }
.mcb-section-h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700; color: #1a3c6e; margin: 0 0 10px;
  line-height: 1.2;
}
.mcb-section-sub { font-size: .9rem; color: #5a6a78; line-height: 1.65; }

/* ── STATS BANNER ── */
.mcb-stats-banner {
  background: #1a3c6e; padding: 32px 24px;
}
.mcb-stats-banner-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-around;
  flex-wrap: wrap; gap: 24px;
}
.mcb-sstat { text-align: center; }
.mcb-sstat-num {
  font-size: 2rem; font-weight: 700; color: #f07c20; line-height: 1;
}
.mcb-sstat-lbl {
  font-size: .72rem; color: rgba(255,255,255,.45);
  letter-spacing: .5px; margin-top: 5px;
}
.mcb-sstat-div {
  width: 1px; height: 40px;
  background: rgba(255,255,255,.1);
}

/* ── SERVICE TILES ── */
.mcb-services-section { padding: 56px 24px; background: #f5f7fa; }
.mcb-services-grid {
  display: grid; gap: 14px;
  max-width: 1000px; margin: 0 auto;
}
.mcb-services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mcb-services-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.mcb-service-tile {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1.5px solid #dde3ea;
  border-radius: 12px; padding: 18px 16px;
  text-decoration: none; color: #1a3c6e;
  transition: all .2s; position: relative; overflow: hidden;
}
.mcb-service-tile::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 4px;
  background: #f07c20; transform: scaleY(0);
  transform-origin: bottom; transition: transform .2s;
  border-radius: 0 2px 2px 0;
}
.mcb-service-tile:hover {
  border-color: #f07c20;
  box-shadow: 0 6px 24px rgba(15,31,61,.1);
  transform: translateY(-2px);
}
.mcb-service-tile:hover::before { transform: scaleY(1); }
.mcb-svc-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--svc-bg, #f5f7fa);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.mcb-svc-body { flex: 1; min-width: 0; }
.mcb-svc-label { font-size: .92rem; font-weight: 700; color: #1a3c6e; margin-bottom: 3px; }
.mcb-svc-desc  { font-size: .76rem; color: #5a6a78; line-height: 1.5; }
.mcb-svc-arrow {
  color: #dde3ea; font-size: .9rem; flex-shrink: 0;
  transition: transform .18s, color .18s;
}
.mcb-service-tile:hover .mcb-svc-arrow { transform: translateX(4px); color: #f07c20; }

/* ── CITY GRID ── */
.mcb-city-grid-section { padding: 56px 24px; }
.mcb-county-filter {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-bottom: 20px; justify-content: center;
}
.mcb-county-btn {
  background: #fff; border: 1.5px solid #dde3ea;
  color: #5a6a78; font-size: .75rem; font-weight: 700;
  padding: 6px 14px; border-radius: 100px;
  cursor: pointer; transition: all .18s;
  font-family: inherit;
}
.mcb-county-btn:hover { border-color: #f07c20; color: #f07c20; }
.mcb-county-btn.active { background: #f07c20; border-color: #f07c20; color: #fff; }

.mcb-grid-search-wrap {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.mcb-grid-search {
  flex: 1; border: 1.5px solid #dde3ea; border-radius: 7px;
  padding: 9px 14px; font-size: .88rem; font-family: inherit;
  color: #1a3c6e; outline: none; max-width: 340px;
}
.mcb-grid-search:focus { border-color: #f07c20; }
.mcb-grid-count { font-size: .78rem; color: #b8c4ce; white-space: nowrap; }

.mcb-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px; max-width: 1100px; margin: 0 auto;
}
.mcb-city-tile {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid #dde3ea;
  border-radius: 10px; padding: 12px 14px;
  text-decoration: none; color: #1a3c6e;
  transition: all .18s; position: relative; overflow: hidden;
}
.mcb-city-tile:hover {
  border-color: #f07c20;
  box-shadow: 0 4px 16px rgba(15,31,61,.1);
  transform: translateY(-2px);
}
.mcb-city-tile.has-movers .mcb-tile-name { color: #1a3c6e; }
.mcb-city-tile:not(.has-movers) { opacity: .7; }
.mcb-tile-body { flex: 1; min-width: 0; }
.mcb-tile-name { font-size: .85rem; font-weight: 700; color: #1a3c6e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcb-tile-meta { display: flex; align-items: center; gap: 7px; margin-top: 3px; }
.mcb-tile-type {
  font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .4px; padding: 1px 6px; border-radius: 3px;
}
.type-city { background: #e8f4fd; color: #0a4b7a; }
.type-town { background: #e9f7ef; color: #0a5c2c; }
.mcb-tile-count { font-size: .7rem; color: #b8c4ce; }
.mcb-tile-arrow {
  color: #dde3ea; font-size: .85rem; flex-shrink: 0;
  transition: transform .18s, color .18s;
}
.mcb-city-tile:hover .mcb-tile-arrow { transform: translateX(3px); color: #f07c20; }

.mcb-grid-empty {
  text-align: center; padding: 32px 20px;
  font-size: .88rem; color: #5a6a78;
  max-width: 900px; margin: 0 auto;
}
.mcb-link-btn {
  background: none; border: none; color: #f07c20;
  font-weight: 700; cursor: pointer; font-size: inherit;
  text-decoration: underline; font-family: inherit;
}

/* ── COUNTY ACCORDION ── */
.mcb-counties-section { padding: 56px 24px; background: #f5f7fa; }
.mcb-counties-list { max-width: 900px; margin: 0 auto; }
.mcb-county-accordion {
  background: #fff; border: 1px solid #dde3ea;
  border-radius: 10px; margin-bottom: 10px; overflow: hidden;
}
.mcb-county-acc-head {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: none; border: none;
  cursor: pointer; text-align: left; font-family: inherit;
  transition: background .15s;
}
.mcb-county-acc-head:hover { background: #f9f9f9; }
.mcb-county-acc-name {
  font-size: .92rem; font-weight: 700; color: #1a3c6e; flex: 1;
}
.mcb-county-acc-meta { font-size: .75rem; color: #b8c4ce; }
.mcb-county-acc-arrow {
  color: #b8c4ce; font-size: .7rem;
  transition: transform .25s;
}
.mcb-county-acc-body { border-top: 1px solid #dde3ea; padding: 16px 18px; }
.mcb-county-cities { display: flex; flex-wrap: wrap; gap: 8px; }
.mcb-county-city-link {
  display: inline-flex; align-items: center; gap: 5px;
  background: #f5f7fa; border: 1px solid #dde3ea;
  color: #1a3c6e; font-size: .8rem; font-weight: 600;
  padding: 5px 12px; border-radius: 100px; text-decoration: none;
  transition: all .15s;
}
.mcb-county-city-link:hover { background: #f07c20; border-color: #f07c20; color: #fff; }
.mcb-county-city-link:hover .mcb-county-city-type { color: rgba(255,255,255,.7); }
.mcb-county-city-type { font-size: .62rem; color: #b8c4ce; }

/* ── POPULAR STRIP ── */
.mcb-popular-section { padding: 28px 24px; background: #fff; border-top: 1px solid #dde3ea; }
.mcb-popular-label {
  font-size: .72rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #b8c4ce; margin-bottom: 12px;
  text-align: center;
}
.mcb-popular-strip {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  max-width: 900px; margin: 0 auto;
}
.mcb-popular-chip {
  display: inline-block;
  background: #f5f7fa; border: 1px solid #dde3ea;
  color: #5a6a78; font-size: .78rem; font-weight: 500;
  padding: 6px 14px; border-radius: 100px;
  text-decoration: none; transition: all .15s;
}
.mcb-popular-chip:hover { background: #f07c20; border-color: #f07c20; color: #fff; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .mcb-home-hero { padding: 48px 16px 56px; }
  .mcb-hero-h1 { font-size: 1.75rem; }
  .mcb-search-box { padding: 5px 5px 5px 14px; }
  .mcb-search-input { font-size: .88rem; }
  .mcb-search-btn { padding: 10px 16px; font-size: .82rem; }
  .mcb-hero-meta-row { gap: 14px; }
  .mcb-hero-stat-div { height: 20px; }

  .mcb-stats-banner-inner { gap: 16px; }
  .mcb-sstat-div { display: none; }
  .mcb-sstat-num { font-size: 1.5rem; }

  /* Services — single column, full width, description visible */
  .mcb-services-section { padding: 40px 14px; }
  .mcb-services-grid.cols-3,
  .mcb-services-grid.cols-4 { grid-template-columns: 1fr; gap: 10px; }
  .mcb-service-tile { padding: 14px 14px; border-radius: 10px; }
  .mcb-svc-icon { width: 40px; height: 40px; font-size: 1.2rem; flex-shrink: 0; }
  .mcb-svc-label { font-size: .88rem; }
  .mcb-svc-desc { display: block; font-size: .75rem; line-height: 1.5; margin-top: 2px; }
  .mcb-svc-arrow { display: none; }

  .mcb-city-grid-section { padding: 40px 14px; }
  .mcb-city-grid { grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 8px; }
  .mcb-county-filter { gap: 5px; }
  .mcb-county-btn { font-size: .7rem; padding: 5px 11px; }

  .mcb-counties-section { padding: 40px 14px; }
  .mcb-county-acc-head { padding: 12px 14px; }
}

@media (max-width: 480px) {
  .mcb-city-grid { grid-template-columns: 1fr 1fr; }
  .mcb-search-btn { padding: 10px 12px; font-size: .78rem; }
}
