/* ============================================================
   Inner pages — old-design look for services / areas / faqs
   Loaded after style.css; uses the same design tokens.
   ============================================================ */

.inner-hero {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 84px 0 58px;
}

.inner-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--gray-light);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.breadcrumbs a { color: #60a5fa; }
.breadcrumbs .sep { color: var(--gray); }

.inner-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.inner-hero .inner-hero-sub {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 720px;
  margin-top: 14px;
  line-height: 1.65;
}
.inner-hero .inner-hero-sub a { color: #60a5fa; font-weight: 600; }

.inner-hero .inner-hero-img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 26px;
  box-shadow: var(--shadow-lg);
}

.inner-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #93c5fd;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.inner-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.inner-section { padding: 54px 0; }
.inner-section.alt { background: var(--light); }
.inner-section h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.inner-section .inner-lead { color: var(--gray); margin-top: 8px; max-width: 720px; line-height: 1.6; }

/* ---- services index: per-trade blocks ---- */
.trade-stack { margin-top: 46px; display: flex; flex-direction: column; gap: 22px; }
.trade-block {
  background: #fff;
  border: 1px solid var(--gray-lighter);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.trade-block:hover { box-shadow: var(--shadow-md); }
.trade-block-head { display: flex; gap: 18px; align-items: flex-start; }
.trade-block-head img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.trade-block h2 { font-size: 1.35rem; font-weight: 800; color: var(--dark); }
.trade-block .blurb { color: var(--gray); margin-top: 6px; font-size: 0.95rem; }
.trade-block .job-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.mini-job {
  display: block;
  background: var(--light);
  border: 1px solid var(--gray-lighter);
  border-radius: 10px;
  padding: 10px 12px;
  transition: var(--transition);
}
.mini-job:hover { border-color: var(--primary); transform: translateY(-1px); }
.mini-job .mj-name { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.mini-job .mj-area { font-size: 0.72rem; color: var(--gray); }
.trade-block .trade-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- generic buttons (old-design variants) ---- */
.btn-sm { padding: 9px 16px; font-size: 0.85rem; border-radius: 10px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.btn-outline { border: 1px solid var(--gray-lighter); color: var(--dark-light); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { background: #eff6ff; }
.btn-outline-white { border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; }
.btn-outline-white:hover { border-color: #fff; }

/* ---- job list cards (trade + job pages) ---- */
.job-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.job-card {
  display: block;
  background: #fff;
  border: 1px solid var(--gray-lighter);
  border-radius: 12px;
  padding: 15px 16px;
  transition: var(--transition);
}
.job-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.job-card .job-name { font-weight: 700; color: var(--dark); }
.job-card .job-blurb { font-size: 0.8rem; color: var(--gray); margin-top: 4px; line-height: 1.5; }

/* ---- chips ---- */
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--gray-lighter);
  background: #fff;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  transition: var(--transition);
  text-decoration: none;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
a.chip { text-decoration: none; }

/* ---- FAQs ---- */
.jumpnav {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--gray-lighter);
  backdrop-filter: blur(8px);
}
.jumpnav-inner { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; }
.jumpnav .chip { flex-shrink: 0; white-space: nowrap; }

.faq-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-lighter);
  border-radius: 12px;
  padding: 15px 18px;
  transition: var(--transition);
}
.faq-item:hover { border-color: #bfdbfe; }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\25BE";
  color: var(--gray-light);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p { margin-top: 10px; font-size: 0.92rem; color: var(--gray); line-height: 1.65; }
.faq-item p a { color: var(--primary); }

.faq-head { display: flex; gap: 14px; align-items: center; }
.faq-head img { width: 84px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.faq-head .faq-title-wrap h2 { font-size: 1.3rem; margin: 0; }
.faq-head .sub { font-size: 0.85rem; color: var(--gray); margin-top: 2px; }
.faq-head .sub a { color: var(--primary); font-weight: 600; }

/* ---- CTA band ---- */
.cta-band {
  margin-top: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 16px;
  padding: 38px 28px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.cta-band h3 { font-size: 1.3rem; font-weight: 800; }
.cta-band p { color: #dbeafe; margin-top: 8px; }
.cta-band .cta-band-actions { margin-top: 18px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- job page: guide cards / included / process ---- */
.two-col { display: grid; gap: 22px; margin-top: 22px; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1.2fr 1fr; } }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 22px; }
.guide-card { background: var(--light); border: 1px solid var(--gray-lighter); border-radius: 12px; padding: 15px 16px; }
.guide-card dt { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gray); }
.guide-card dd { font-weight: 800; color: var(--dark); margin-top: 4px; font-size: 0.95rem; }
.included-card { background: #fff; border: 1px solid var(--gray-lighter); border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow-sm); }
.included-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--dark); }
.included-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.included-list li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--dark-light); }
.included-list .tick { color: var(--success); font-weight: 800; }
.process-list { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.process-step {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--gray-lighter);
  border-radius: 12px;
  padding: 14px 16px;
  align-items: center;
}
.process-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.process-step p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* ---- areas ---- */
.area-search { position: relative; max-width: 560px; margin: 34px auto 0; }
.area-search input {
  width: 100%;
  border: 2px solid var(--gray-lighter);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 1.02rem;
  background: #fff;
  color: var(--dark);
  font-family: inherit;
}
.area-search input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.area-search .dropdown,
.area-search .none {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--gray-lighter);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 30;
  text-align: left;
}
.area-search .dropdown button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 12px 16px;
  text-align: left;
  background: #fff;
  font-family: inherit;
  font-size: 0.92rem;
}
.area-search .dropdown button:hover,
.area-search .dropdown button.hl { background: #eff6ff; }
.area-search .dropdown .an { font-weight: 600; color: var(--dark); }
.area-search .dropdown .ac { font-size: 0.85rem; color: var(--gray); }
.area-search .none { padding: 14px 16px; }
.area-search .none p { color: var(--dark); font-weight: 600; }
.area-search .none .sub { font-size: 0.85rem; color: var(--gray); margin-top: 4px; font-weight: 400; }
.area-search .none a { color: var(--primary); font-weight: 600; }

.county-stack { margin-top: 38px; display: flex; flex-direction: column; gap: 30px; }
.county-block h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  border-bottom: 1px solid var(--gray-lighter);
  padding-bottom: 10px;
}
.county-block .count { font-size: 0.85rem; font-weight: 500; color: var(--gray); margin-left: 10px; }
.area-links {
  list-style: none;
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 4px 18px;
}
.area-links a { font-size: 0.88rem; color: var(--dark-light); }
.area-links a:hover { color: var(--primary); }
.area-links.muted a { color: var(--gray); }
.more-toggle {
  margin-top: 12px;
  width: 100%;
  background: var(--light);
  border: 1px solid var(--gray-lighter);
  border-radius: 10px;
  padding: 10px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
}
.more-toggle:hover { color: var(--primary); border-color: var(--primary); }

/* ---- area page: bullet cards ---- */
.bullet-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
  list-style: none;
}
.bullet-card {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--gray-lighter);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--dark-light);
  font-size: 0.9rem;
}
.bullet-card .bt { color: var(--primary); font-weight: 800; }

/* ---- chat widget ---- */
.chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 96px;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 10px 26px -6px rgba(37, 99, 235, 0.55);
  transition: var(--transition);
}
.chat-launcher:hover { transform: translateY(-2px); }

.chat-panel {
  position: fixed;
  right: 20px;
  bottom: 160px;
  z-index: 91;
  width: min(350px, calc(100vw - 32px));
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  color: #e2e8f0;
  box-shadow: 0 24px 60px -12px rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-family: var(--font);
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(30, 41, 59, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.chat-brand { display: flex; align-items: center; gap: 10px; }
.chat-brand img { border-radius: 8px; }
.chat-brand strong { display: block; font-size: 0.92rem; color: #f1f5f9; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: #94a3b8; }
.chat-head button {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
}
.chat-head button:hover { color: #fff; }
.chat-body {
  flex: 1;
  min-height: 200px;
  max-height: 300px;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-greeting {
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.85rem;
  color: #cbd5e1;
}
.chat-msg { max-width: 85%; }
.chat-msg p {
  margin: 0;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.chat-msg.me { align-self: flex-end; }
.chat-msg.me p { background: #2563eb; color: #fff; border-bottom-right-radius: 3px; }
.chat-msg.them { align-self: flex-start; }
.chat-msg.them p { background: #1e293b; color: #e2e8f0; border: 1px solid rgba(148, 163, 184, 0.18); border-bottom-left-radius: 3px; }
.chat-foot { border-top: 1px solid rgba(148, 163, 184, 0.15); padding: 10px 12px; background: rgba(15, 23, 42, 0.95); }
.chat-name-row { margin-bottom: 8px; }
.chat-name-row input,
.chat-input-row input {
  width: 100%;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  color: #f1f5f9;
  padding: 10px 12px;
  font-size: 0.85rem;
  font-family: inherit;
}
.chat-name-row input::placeholder,
.chat-input-row input::placeholder { color: #64748b; }
.chat-name-row input:focus,
.chat-input-row input:focus { outline: none; border-color: #3b82f6; }
.chat-input-row { display: flex; gap: 8px; }
.chat-send {
  flex-shrink: 0;
  width: 40px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-send:disabled { opacity: 0.45; cursor: default; }

/* ---- CRM chat inbox (old-design look) ---- */
.chat-inbox { display: grid; grid-template-columns: 300px 1fr; gap: 16px; }
@media (max-width: 860px) { .chat-inbox { grid-template-columns: 1fr; } }
.chat-inbox .conv-list { background: #fff; border: 1px solid var(--gray-lighter); border-radius: 14px; overflow: hidden; }
.chat-inbox .conv-item { display: block; width: 100%; text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--gray-lighter); background: #fff; font-family: inherit; }
.chat-inbox .conv-item:hover { background: var(--light); }
.chat-inbox .conv-item.active { background: #eff6ff; border-left: 3px solid var(--primary); }
.chat-inbox .conv-item.unread { background: #f0f9ff; }
.chat-inbox .conv-name { font-weight: 700; color: var(--dark); font-size: 0.9rem; }
.chat-inbox .conv-preview { font-size: 0.78rem; color: var(--gray); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; }
.chat-inbox .conv-when { font-size: 0.7rem; color: var(--gray-light); margin-top: 4px; }
.chat-inbox .conv-empty { padding: 24px 16px; color: var(--gray); font-size: 0.85rem; text-align: center; }
.chat-thread { background: #fff; border: 1px solid var(--gray-lighter); border-radius: 14px; display: flex; flex-direction: column; min-height: 480px; }
.chat-thread-head { padding: 14px 16px; border-bottom: 1px solid var(--gray-lighter); }
.chat-thread-head h2 { font-size: 1.05rem; }
.chat-thread-head .meta { font-size: 0.8rem; color: var(--gray); margin-top: 2px; }
.chat-thread-body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; background: var(--light); }
.chat-thread-body .m { max-width: 75%; }
.chat-thread-body .m p { margin: 0; padding: 9px 12px; border-radius: 12px; font-size: 0.87rem; line-height: 1.45; white-space: pre-wrap; }
.chat-thread-body .m.visitor { align-self: flex-start; }
.chat-thread-body .m.visitor p { background: #fff; border: 1px solid var(--gray-lighter); color: var(--dark); }
.chat-thread-body .m.staff { align-self: flex-end; }
.chat-thread-body .m.staff p { background: var(--primary); color: #fff; }
.chat-thread-body .m .when { display: block; font-size: 0.68rem; color: var(--gray-light); margin-top: 4px; }
.chat-reply { border-top: 1px solid var(--gray-lighter); padding: 12px 14px; display: flex; gap: 8px; }
.chat-reply textarea {
  flex: 1;
  border: 1px solid var(--gray-lighter);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.88rem;
  font-family: inherit;
  resize: none;
  min-height: 44px;
  color: var(--dark);
}
.chat-reply textarea:focus { outline: none; border-color: var(--primary); }

/* ---- consent banner ---- */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: #0f172a;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 20px 50px -12px rgba(2, 6, 23, 0.7);
  font-family: var(--font);
}
.consent-text { margin: 0; font-size: 0.82rem; line-height: 1.5; flex: 1; min-width: 200px; }
.consent-text a { color: #60a5fa; }
.consent-actions { display: flex; gap: 8px; }

/* ---- mobile sticky call bar ---- */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  grid-template-columns: 1fr 1fr 1.4fr;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: #0f172a;
}
.mobile-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  text-decoration: none;
  font-family: var(--font);
}
.mobile-cta-bar .mcb-call { background: #1e293b; }
.mobile-cta-bar .mcb-wa { background: #14532d; }
.mobile-cta-bar .mcb-quote { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; }
@media (max-width: 767px) {
  .mobile-cta-bar { display: grid; }
  .floating-btn { bottom: 82px; }
  .chat-launcher { bottom: 140px; }
  .chat-panel { bottom: 204px; }
  .back-to-top { bottom: 86px; }
  .consent-banner { bottom: 70px; }
  .site-main { padding-bottom: 0; }
  .footer { margin-bottom: 56px; }
}
