/* services.css — page-specific styles. Global vars/nav/footer in global.css */
body { background: var(--border-light); }

/* BREADCRUMB */
.breadcrumb-custom { background: white; border-bottom: 1px solid var(--border); padding: 20px 1%; }
.breadcrumb-inner-custom { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-lighter); }
.breadcrumb-custom a { color: var(--text-light); text-decoration: none; transition: color .2s; }
.breadcrumb-custom a:hover { color: var(--orange); }
.breadcrumb-custom span { color: var(--text); }

/* HERO STRIP */
.cat-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); padding: 18px 5%; position: relative; overflow: hidden; }
.cat-hero-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: nowrap; }
.cat-hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(232,100,42,0.15); border: 1px solid rgba(232,100,42,0.3); color: #FF9A6C; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 500; margin-bottom: 12px; }
.cat-hero h1 { font-family: 'Sora', sans-serif; font-size: clamp(26px, 3vw, 35px); font-weight: 800; color: white; letter-spacing: -1px; margin-bottom: 8px; }
.cat-hero h1 em { color: var(--orange); font-style: normal; }
.cat-hero-sub { font-size: 15px; color: rgba(255,255,255,0.6); font-weight: 300; }
.cat-hero-stats { display: flex; gap: 32px; flex-wrap: nowrap; }
.cat-stat { text-align: center; }
.cat-stat-num { font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 800; color: white; }
.cat-stat-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* SEARCH BAR */
.search-strip { margin: 0 auto; }
.search-strip-inner { max-width: 1280px; margin: 0 auto; display: flex; gap: 10px; align-items: center; }
.ss-input-wrap { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--border-light); transition: border-color .2s; }
.ss-input-wrap:focus-within { border-color: var(--orange); background: white; }
.ss-input-wrap svg { color: var(--text-lighter); flex-shrink: 0; }
.ss-input-wrap input { border: none; outline: none; font-size: 14px; font-family: 'DM Sans', sans-serif; color: var(--text); background: transparent; width: 100%; }
.ss-input-wrap input::placeholder { color: var(--text-lighter); }
.ss-select { padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--border-light); outline: none; cursor: pointer; min-width: 160px; }
.ss-btn { padding: 10px 22px; background: var(--orange); color: white; border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; white-space: nowrap; transition: all .2s; }
.ss-btn:hover { background: var(--orange-dark); }

/* MAIN LAYOUT */
.main-layout { max-width: 1280px; margin: 0 auto; padding: 15px 5%; display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }

/* Filter toggle — spans full width above the grid on mobile */
.filter-toggle-btn {
  display: none;
  grid-column: 1 / -1;
}

/* SIDEBAR */
.sidebar { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 16px; }
.sidebar-card { background: white; border-radius: var(--radius); padding: 20px; border: 1.5px solid var(--border); }
.sidebar-title { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }
.sidebar-title button { font-size: 11px; color: var(--orange); background: none; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.filter-group { margin-bottom: 20px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-lighter); margin-bottom: 10px; }
.filter-options { display: flex; flex-direction: column; gap: 6px; }
.filter-option { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px 8px; border-radius: 8px; transition: background .2s; }
.filter-option:hover { background: var(--border-light); }
.filter-option input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--orange); cursor: pointer; }
.filter-option label { font-size: 13px; color: var(--text-light); cursor: pointer; flex: 1; }
.filter-option .count { font-size: 11px; color: var(--text-lighter); }
.rating-filter { display: flex; flex-direction: column; gap: 6px; }
.rating-row { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 0; }
.stars-sm { color: #F59E0B; font-size: 12px; letter-spacing: 0.5px; }
.rating-label { font-size: 13px; color: var(--text-light); }
.distance-slider { width: 100%; accent-color: var(--orange); cursor: pointer; margin: 8px 0; }
.distance-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-lighter); }
.trust-sidebar { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); border: none; }
.trust-sidebar .sidebar-title { color: white; }
.trust-point { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 13px; color: rgba(255,255,255,0.85); }
.trust-point:last-child { margin-bottom: 0; }
.trust-point-dot { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; margin-top: 1px; }

/* RESULTS */
.results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.results-count { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; color: var(--dark); }
.results-count span { color: var(--orange); }
.results-meta { font-size: 13px; color: var(--text-light); }
.sort-wrap { display: flex; align-items: center; gap: 10px; }
.sort-label { font-size: 13px; color: var(--text-light); }
.sort-select { padding: 8px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-family: 'DM Sans', sans-serif; color: var(--text); background: white; outline: none; cursor: pointer; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.active-filter { display: flex; align-items: center; gap: 6px; background: var(--orange-pale); border: 1px solid rgba(232,100,42,0.2); color: var(--orange-dark); padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 500; }
.active-filter button { background: none; border: none; cursor: pointer; color: var(--orange); font-size: 14px; line-height: 1; padding: 0; }

/* PROFESSIONAL CARDS */
.pro-list { display: flex; flex-direction: column; gap: 16px; }
.pro-card-full { background: white; border-radius: var(--radius); border: 1.5px solid var(--border); transition: all .25s; overflow: hidden; }
.pro-card-full:hover { border-color: var(--orange); box-shadow: var(--shadow-md); }
.pro-card-inner { padding: 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: start; }
.pro-avatar-lg { width: 72px; height: 72px; border-radius: 18px; background: var(--orange); display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 800; color: white; flex-shrink: 0; }
.pro-main-info { min-width: 0; }
.pro-top-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.pro-full-name { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; color: var(--dark); }
.pro-verified { display: flex; align-items: center; gap: 4px; background: var(--success-light); color: var(--success); padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; }
.pro-featured-tag { background: var(--orange-pale); color: var(--orange-dark); padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; }
.pro-category { font-size: 14px; color: var(--text-light); margin-bottom: 10px; }
.pro-description { font-size: 13px; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; }
.pro-meta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pro-meta-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-light); }
.pro-meta-item strong { color: var(--dark); font-weight: 600; }
.pro-star-row { display: flex; align-items: center; gap: 6px; }
.stars-lg { color: #F59E0B; font-size: 14px; letter-spacing: 1px; }
.pro-rating-num { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; color: var(--dark); }
.pro-reviews { font-size: 12px; color: var(--text-lighter); }
.pro-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; min-width: 140px; }
.pro-price { text-align: right; margin-bottom: 4px; }
.pro-price-label { font-size: 11px; color: var(--text-lighter); }
.pro-price-val { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; color: var(--dark); }
.pro-price-note { font-size: 11px; color: var(--text-lighter); }
.btn-view { width: 100%; padding: 10px 20px; background: var(--orange); color: white; border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all .2s; text-align: center; text-decoration: none; display: block; }
.btn-view:hover { background: var(--orange-dark); }
.btn-message { width: 100%; padding: 9px 20px; background: white; color: var(--text); border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all .2s; text-align: center; }
.btn-message:hover { border-color: var(--orange); color: var(--orange); }
.pro-skills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.skill-tag { background: var(--border-light); color: var(--text-light); padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 500; }
.pro-card-footer-full { padding: 12px 24px; border-top: 1px solid var(--border-light); background: var(--border-light); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.pro-footer-stats { display: flex; gap: 24px; }
.pro-footer-stat { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-light); }
.pro-footer-stat strong { color: var(--dark); }
.pro-location-full { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-light); }
.pro-card-full.is-featured { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.featured-banner { background: linear-gradient(90deg, var(--orange), var(--orange-dark)); padding: 6px 24px; font-size: 12px; font-weight: 600; color: white; display: flex; align-items: center; gap: 6px; }

/* CONTENT SECTION */
.content-section { background: white; border-radius: var(--radius); border: 1.5px solid var(--border); padding: 32px; margin-top: 10px; }
.content-section h2 { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 16px; letter-spacing: -0.5px; }
.content-section h3 { font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 700; color: var(--dark); margin: 24px 0 10px; }
.content-section p { font-size: 14px; line-height: 1.8; color: var(--text-light); margin-bottom: 12px; }
.content-section ul { padding-left: 20px; margin-bottom: 12px; }
.content-section ul li { font-size: 14px; line-height: 1.8; color: var(--text-light); margin-bottom: 6px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 2px; margin-top: 20px; }
.faq-item { border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question { width: 100%; padding: 16px 20px; background: white; border: none; display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--dark); cursor: pointer; font-family: 'DM Sans', sans-serif; text-align: left; transition: all .2s; }
.faq-question:hover { color: var(--orange); }
.faq-question.open { color: var(--orange); background: var(--orange-pale); }
.faq-icon { font-size: 18px; color: var(--text-lighter); transition: transform .2s; flex-shrink: 0; }
.faq-question.open .faq-icon { transform: rotate(45deg); color: var(--orange); }
.faq-answer { display: none; padding: 0 20px 16px; font-size: 13px; line-height: 1.8; color: var(--text-light); background: white; }
.faq-answer.open { display: block; }

/* Related areas */
.related-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.related-area { background: var(--border-light); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; text-decoration: none; color: var(--text); font-size: 13px; font-weight: 500; transition: all .2s; display: flex; align-items: center; justify-content: space-between; }
.related-area:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-pale); }

/* PAGINATION */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 28px; }
.page-btn { width: 38px; height: 38px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: white; font-size: 14px; font-weight: 500; color: var(--text-light); cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; }
.page-btn:hover { border-color: var(--orange); color: var(--orange); }
.page-btn.active { background: var(--orange); border-color: var(--orange); color: white; }
.page-btn.arrow { font-size: 16px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: none; } /* hidden by default, toggled via JS */
  .sidebar.mobile-open { display: flex; }
  /* Show filter toggle button on mobile */
  .filter-toggle-btn {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all .2s;
    width: fit-content;
    margin-bottom: 4px;
  }
  .filter-toggle-btn:hover { border-color: var(--orange); color: var(--orange); }
  .pro-card-inner { grid-template-columns: auto 1fr; gap: 16px; }
  .pro-actions { grid-column: 1/-1; flex-direction: row; align-items: center; }
  .btn-view, .btn-message { width: auto; }
}
@media (max-width: 600px) {
  .cat-hero-stats { display: none; }
  .cat-hero-inner { flex-wrap: wrap; }
  .related-areas { grid-template-columns: 1fr 1fr; }
  .pro-actions { flex-direction: column; }
  .btn-view, .btn-message { width: 100%; }
  .search-strip-inner { flex-wrap: wrap; }
  .ss-select { min-width: unset; width: 100%; }
}
