/* =============================================================
   FT LISTINGS SEO PLUGIN — style.css
   Colour system matches faithai-foodtruck-child theme:
     Navy   #1a3c5e  (primary)
     Orange #f4801a  (accent / CTA)
     Amber  #fbbf24  (highlight / stars / featured)
     Slate  #64748b  (muted text)
     Light  #f0f4f8  (card backgrounds)
   ============================================================= */

:root {
  --ft-navy:        #1a3c5e;
  --ft-navy-dark:   #122942;
  --ft-navy-light:  #e8eef4;
  --ft-orange:      #f4801a;
  --ft-orange-dark: #d96a0a;
  --ft-amber:       #fbbf24;
  --ft-green:       #22c55e;
  --ft-slate:       #64748b;
  --ft-slate-light: #94a3b8;
  --ft-bg:          #f0f4f8;
  --ft-white:       #ffffff;
  --ft-border:      #dde4ed;
  --ft-text:        #1e293b;
  --ft-text-muted:  #475569;
  --ft-radius:      10px;
  --ft-shadow:      0 2px 12px rgba(26,60,94,0.10);
  --ft-shadow-hover:0 6px 24px rgba(26,60,94,0.18);
  --ft-transition:  all 0.22s ease;
}

/* =============================================================
   GRID
   ============================================================= */

.ftlseo-provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 8px 0 32px;
}

@media (max-width: 640px) {
  .ftlseo-provider-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* =============================================================
   CARD
   ============================================================= */

.ftlseo-card {
  background: var(--ft-white);
  border-radius: var(--ft-radius);
  border: 1px solid var(--ft-border);
  box-shadow: var(--ft-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--ft-transition);
  position: relative;
}

.ftlseo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ft-shadow-hover);
  border-color: #c5d3e0;
}

.ftlseo-card.is-featured {
  border-color: var(--ft-amber);
  box-shadow: 0 4px 20px rgba(251,191,36,0.22);
}

.ftlseo-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ft-navy-light);
}

.ftlseo-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.38s ease;
}

.ftlseo-card:hover .ftlseo-card-image img { transform: scale(1.04); }

.card-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}

.card-badge.verified   { top: 10px; left: 10px;  background: var(--ft-navy);   color: #fff; }
.card-badge.featured   { top: 10px; right: 10px; background: var(--ft-amber);  color: #7c4d00; }
.card-badge.membership { bottom: 10px; left: 10px; background: rgba(26,60,94,0.82); color: #fff; backdrop-filter: blur(4px); }
.card-badge.membership.platinum { background: rgba(99,60,180,0.85); }
.card-badge.membership.gold     { background: rgba(180,120,0,0.85); }
.card-badge.membership.silver   { background: rgba(80,100,120,0.85); }

.ftlseo-card-content {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ftlseo-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.ftlseo-card-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ft-orange);
  letter-spacing: -0.01em;
}

.ftlseo-card-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ft-navy);
  background: var(--ft-navy-light);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.ftlseo-card-title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.ftlseo-card-title a { color: var(--ft-navy); text-decoration: none; transition: color 0.2s; }
.ftlseo-card-title a:hover { color: var(--ft-orange); }

.ftlseo-card-meta {
  font-size: 0.82rem;
  color: var(--ft-slate);
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ftlseo-card-meta i { color: var(--ft-orange); font-size: 0.8rem; }

.ftlseo-card-tagline {
  font-size: 0.82rem;
  color: var(--ft-slate);
  font-style: italic;
  margin: 0 0 8px;
  line-height: 1.4;
}

.ftlseo-card-excerpt {
  font-size: 0.85rem;
  color: var(--ft-text-muted);
  line-height: 1.55;
  margin: 0 0 12px;
  flex: 1;
}

.ftlseo-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--ft-border);
  margin-top: auto;
}

.review-count { font-size: 0.78rem; color: var(--ft-slate); display: flex; align-items: center; gap: 4px; }

.ftlseo-card-stars { display: flex; gap: 2px; }
.ftlseo-card-stars i { font-size: 0.78rem; color: #d1d5db; }
.ftlseo-card-stars i.active { color: var(--ft-amber); }

.view-profile-btn {
  display: inline-block;
  padding: 6px 14px;
  background: var(--ft-orange);
  color: var(--ft-white) !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.view-profile-btn:hover { background: var(--ft-orange-dark); transform: translateY(-1px); }

/* =============================================================
   NO RESULTS
   ============================================================= */

.ftlseo-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ft-slate);
}

.ftlseo-no-results i { font-size: 2.5rem; color: var(--ft-border); display: block; margin-bottom: 1rem; }
.ftlseo-no-results a { color: var(--ft-orange); font-weight: 600; }

/* =============================================================
   PAGINATION
   ============================================================= */

.ftlseo-custom-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.ftlseo-custom-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--ft-border);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ft-navy);
  text-decoration: none;
  background: var(--ft-white);
  transition: var(--ft-transition);
}

.ftlseo-custom-pagination .page-numbers:hover { background: var(--ft-navy-light); border-color: var(--ft-navy); }
.ftlseo-custom-pagination .page-numbers.current { background: var(--ft-navy); border-color: var(--ft-navy); color: #fff; }
.ftlseo-custom-pagination .page-numbers.dots { border: none; background: none; color: var(--ft-slate-light); }

/* =============================================================
   SEARCH / FILTER BAR
   ============================================================= */

.ftlseo-filter-form {
  background: var(--ft-white);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.ftlseo-search-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.ftlseo-search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.ftlseo-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ft-slate-light);
  font-size: 0.9rem;
  pointer-events: none;
}

.ftlseo-search-input-wrap input[type="text"] {
  width: 100%;
  padding: 11px 38px 11px 38px;
  border: 2px solid var(--ft-border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--ft-text);
  background: var(--ft-white);
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.ftlseo-search-input-wrap input[type="text"]:focus { outline: none; border-color: var(--ft-navy); }

.ftlseo-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ft-slate-light);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.ftlseo-search-clear:hover { color: var(--ft-orange); }

.ftlseo-search-btn {
  background: var(--ft-orange);
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.ftlseo-search-btn:hover { background: var(--ft-orange-dark); transform: translateY(-1px); color: #fff; }

.ftlseo-search-active-label { margin: 10px 0 0; font-size: 0.88rem; color: var(--ft-slate); }
.ftlseo-search-active-label a { color: var(--ft-orange); font-weight: 600; text-decoration: none; }

.ftlseo-filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--ft-border);
}

.ftlseo-filter-field { flex: 1; min-width: 160px; }

.ftlseo-filter-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ft-navy);
  margin-bottom: 5px;
}

.ftlseo-filter-field select {
  width: 100%;
  padding: 9px 32px 9px 12px;
  border: 2px solid var(--ft-border);
  border-radius: 8px;
  background: var(--ft-white);
  color: var(--ft-text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2364748b'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.ftlseo-filter-field select:focus { outline: none; border-color: var(--ft-navy); }

@media (max-width: 600px) {
  .ftlseo-search-bar { flex-direction: column; }
  .ftlseo-search-btn { width: 100%; text-align: center; }
  .ftlseo-filter-row { flex-direction: column; }
  .ftlseo-filter-field { min-width: 100%; }
}

/* =============================================================
   SINGLE LISTING PAGE
   ============================================================= */

.ftlseo-provider-single {
  max-width: 960px;
  margin: 24px auto;
  padding: 0 16px 48px;
  font-size: 0.95rem;
  color: var(--ft-text);
}

.ftlseo-return-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ft-orange);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 18px;
  transition: color 0.2s;
}

.ftlseo-return-link:hover { color: var(--ft-orange-dark); }
.ftlseo-return-link::before { content: "← "; }

.ftlseo-provider-header {
  background: var(--ft-navy);
  color: #fff;
  border-radius: var(--ft-radius) var(--ft-radius) 0 0;
  padding: 28px 32px;
}

.ftlseo-provider-header h1 {
  margin: 0 0 6px;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.ftlseo-provider-header .tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  font-style: italic;
  margin: 0;
}

.ftlseo-provider-header .header-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.ftlseo-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ftlseo-header-badge.verified  { background: var(--ft-green); color: #fff; }
.ftlseo-header-badge.featured  { background: var(--ft-amber); color: #7c4d00; }
.ftlseo-header-badge.platinum  { background: #7c3aed; color: #fff; }
.ftlseo-header-badge.gold      { background: #b45309; color: #fff; }
.ftlseo-header-badge.silver    { background: #475569; color: #fff; }
.ftlseo-header-badge.starter   { background: #0369a1; color: #fff; }
.ftlseo-header-badge.novice    { background: var(--ft-slate); color: #fff; }

.ftlseo-profile-container {
  display: flex;
  gap: 28px;
  background: var(--ft-bg);
  border: 1px solid var(--ft-border);
  border-top: none;
  padding: 28px;
  border-radius: 0 0 var(--ft-radius) var(--ft-radius);
}

@media (max-width: 680px) {
  .ftlseo-profile-container { flex-direction: column; padding: 20px; }
}

.ftlseo-profile-left { flex: 0 0 240px; }

@media (max-width: 680px) { .ftlseo-profile-left { flex: unset; width: 100%; } }

.ftlseo-profile-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--ft-border);
  background: var(--ft-navy-light);
  cursor: zoom-in;
}

.ftlseo-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}

.ftlseo-gallery-strip { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

.ftlseo-gallery-strip img.thumb-nav {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  cursor: zoom-in;
  border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.75;
}

.ftlseo-gallery-strip img.thumb-nav:hover,
.ftlseo-gallery-strip img.thumb-nav.active {
  border-color: var(--ft-orange);
  opacity: 1;
}

.ftlseo-profile-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ftlseo-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.ftlseo-spec-item {
  background: var(--ft-white);
  border: 1px solid var(--ft-border);
  border-radius: 8px;
  padding: 10px 12px;
}

.ftlseo-spec-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ft-slate);
  margin-bottom: 3px;
}

.ftlseo-spec-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ft-navy);
}

.ftlseo-spec-value.price { font-size: 1.1rem; color: var(--ft-orange); }

.ftlseo-section {
  background: var(--ft-white);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  padding: 20px 24px;
  margin-top: 20px;
}

.ftlseo-section h2 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ft-navy);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ftlseo-section h2 i { color: var(--ft-orange); }

.ftlseo-section p,
.ftlseo-section li {
  font-size: 0.9rem;
  color: var(--ft-text-muted);
  line-height: 1.65;
  margin: 0 0 8px;
}

.ftlseo-trust-note {
  background: var(--ft-navy-light);
  border-left: 4px solid var(--ft-navy);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--ft-navy-dark);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

.ftlseo-contact-box {
  background: var(--ft-navy);
  color: #fff;
  border-radius: var(--ft-radius);
  padding: 22px 24px;
  margin-top: 20px;
}

.ftlseo-contact-box h2 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin: 0 0 14px;
}

.ftlseo-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.88);
}

.ftlseo-contact-item i { color: var(--ft-orange); width: 16px; flex-shrink: 0; }
.ftlseo-contact-item a { color: var(--ft-amber); text-decoration: none; font-weight: 600; }
.ftlseo-contact-item a:hover { text-decoration: underline; }

.ftlseo-contact-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  margin-top: 16px;
  background: var(--ft-orange);
  color: #fff !important;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}

.ftlseo-contact-btn:hover { background: var(--ft-orange-dark); transform: translateY(-1px); }

.ftlseo-review {
  padding: 16px;
  background: var(--ft-bg);
  border: 1px solid var(--ft-border);
  border-radius: 8px;
  margin-bottom: 12px;
}

.ftlseo-review:last-child { margin-bottom: 0; }

.ftlseo-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.ftlseo-reviewer-name { font-weight: 700; color: var(--ft-navy); font-size: 0.9rem; }
.ftlseo-review-meta { font-size: 0.78rem; color: var(--ft-slate); }

.ftlseo-review-stars { display: flex; gap: 3px; align-items: center; }
.ftlseo-review-stars i { font-size: 0.75rem; color: #d1d5db; }
.ftlseo-review-stars i.active { color: var(--ft-amber); }

.ftlseo-review-text { font-size: 0.88rem; color: var(--ft-text-muted); line-height: 1.6; margin: 0; }

.ftlseo-reply-rating { display: flex; align-items: center; gap: 4px; }
.ftlseo-reply-rating i { font-size: 10px; color: #d1d5db; }
.ftlseo-reply-rating i.active { color: var(--ft-orange); }

/* =============================================================
   ARCHIVE PAGE
   ============================================================= */

.ftlseo-archive-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.ftlseo-archive-header { text-align: center; margin-bottom: 32px; }
.ftlseo-archive-header h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: var(--ft-navy); margin: 0 0 8px; }
.ftlseo-archive-header p { font-size: 1rem; color: var(--ft-slate); margin: 0; }

/* =============================================================
   PROGRESS BARS
   ============================================================= */

.ftlseo-progress { margin: 10px 0; }

.ftlseo-progress label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ft-navy);
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.ftlseo-progress-bar { width: 100%; height: 8px; background: var(--ft-border); border-radius: 20px; overflow: hidden; }
.ftlseo-progress-fill { height: 100%; background: linear-gradient(90deg, var(--ft-navy), var(--ft-orange)); border-radius: 20px; transition: width 0.6s ease; }

/* =============================================================
   LIGHTBOX
   ============================================================= */

.ftlseo-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10,20,35,0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.ftlseo-lightbox.open { display: flex; }

#ftlseo-lightbox-image {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.7);
  user-select: none;
  z-index: 100000;
  position: relative;
}

.ftlseo-lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  font-size: 34px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  z-index: 100001;
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.ftlseo-lightbox-close:hover { color: var(--ft-amber); background: rgba(255,255,255,0.1); }

.ftlseo-lightbox-prev,
.ftlseo-lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  padding: 0;
  text-decoration: none;
}

.ftlseo-lightbox-prev { left: 14px; }
.ftlseo-lightbox-next { right: 14px; }

.ftlseo-lightbox-prev:hover,
.ftlseo-lightbox-next:hover { background: rgba(244,128,26,0.5); border-color: var(--ft-orange); }

.ftlseo-lightbox[data-count="1"] .ftlseo-lightbox-prev,
.ftlseo-lightbox[data-count="1"] .ftlseo-lightbox-next { display: none; }

@media (max-width: 600px) {
  .ftlseo-lightbox-prev { left: 6px; }
  .ftlseo-lightbox-next { right: 6px; }
  .ftlseo-lightbox-prev, .ftlseo-lightbox-next { width: 36px; height: 36px; font-size: 16px; }
}

/* =============================================================
   MISC
   ============================================================= */

.ftlseo-all-providers-btn a {
  display: inline-block;
  padding: 12px 28px;
  background: var(--ft-navy);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}

.ftlseo-all-providers-btn a:hover { background: var(--ft-navy-dark); transform: translateY(-2px); }


/* =============================================================
   SINGLE LISTING PAGE — targets real template class names
   (provider-hero-card, hero-left/right, quick-stats-grid,
    uni-section, review, etc.)
   ============================================================= */

/* Wrapper */
#page-body {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* Top bar: back link + share buttons */
.ftlseo-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--ft-border);
  margin-bottom: 24px;
}

.ftlseo-return-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ft-orange);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.ftlseo-return-link:hover { color: var(--ft-orange-dark); }

/* ── Hero card (image + info side by side) ── */
.provider-hero-card {
  display: flex;
  gap: 28px;
  background: var(--ft-white);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  box-shadow: var(--ft-shadow);
  padding: 28px;
  margin-bottom: 28px;
  align-items: flex-start;
}

@media (max-width: 700px) {
  .provider-hero-card { flex-direction: column; padding: 20px; gap: 20px; }
}

/* Left: image + thumbnails */
.hero-left {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 700px) { .hero-left { flex: unset; width: 100%; } }

.main-image-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--ft-border);
  background: var(--ft-navy-light);
  aspect-ratio: 4 / 3;
}

.main-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.3s;
}

/* Membership badge over the image */
.membership-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(26,60,94,0.82);
  color: #fff;
  backdrop-filter: blur(4px);
}

.membership-badge.level-platinum { background: rgba(99,60,180,0.88); }
.membership-badge.level-gold     { background: rgba(180,120,0,0.88); }
.membership-badge.level-silver   { background: rgba(70,90,110,0.88); }
.membership-badge.level-starter  { background: rgba(3,105,161,0.88); }

/* Gallery strip under main image */
.ftlseo-gallery-strip {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ftlseo-gallery-strip .thumb-nav {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  cursor: zoom-in;
  border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.72;
}

.ftlseo-gallery-strip .thumb-nav:hover,
.ftlseo-gallery-strip .thumb-nav.active {
  border-color: var(--ft-orange);
  opacity: 1;
}

/* Right: title, stats, actions */
.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.provider-name {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--ft-navy);
  margin: 0;
  line-height: 1.2;
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.provider-tagline {
  font-size: 0.95rem;
  color: var(--ft-slate);
  font-style: italic;
  margin: 0;
  line-height: 1.5;
  border-left: 3px solid var(--ft-orange);
  padding-left: 12px;
}

/* Quick stats grid */
.quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.stat-item {
  background: var(--ft-bg);
  border: 1px solid var(--ft-border);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ft-slate);
  display: flex;
  align-items: center;
  gap: 5px;
}

.stat-label i { color: var(--ft-orange); }

.stat-value {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ft-navy);
}

/* Price stat gets orange */
.stat-item:first-child .stat-value { color: var(--ft-orange); font-size: 1.1rem; }

/* Reveal buttons (phone / email) */
.reveal-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.reveal-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: 2px solid var(--ft-navy);
  border-radius: 8px;
  background: var(--ft-white);
  color: var(--ft-navy);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.reveal-btn:hover {
  background: var(--ft-navy);
  color: #fff;
}

.ftlseo-phone,
.ftlseo-email {
  color: var(--ft-orange);
  font-weight: 700;
}

/* Contact CTA button (already in CSS, but ensure orange) */
.ftlseo-contact-btn {
  display: inline-block;
  padding: 13px 24px;
  background: var(--ft-orange);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}

.ftlseo-contact-btn:hover { background: var(--ft-orange-dark); transform: translateY(-1px); }

/* Social share */
.social-share-buttons { display: flex; gap: 8px; }

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ft-navy-light);
  color: var(--ft-navy);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}

.social-btn:hover { background: var(--ft-navy); color: #fff; }

/* ── Main content + sidebar layout ── */
.profile-grid-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 800px) {
  .profile-grid-body { grid-template-columns: 1fr; }
  .profile-sidebar { order: -1; }
}

.profile-main-content { display: flex; flex-direction: column; gap: 20px; }

/* ── Info sections ── */
.uni-section {
  background: var(--ft-white);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  padding: 22px 26px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.uni-section h2 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ft-navy);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ft-navy-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.uni-section h2 i { color: var(--ft-orange); }

.uni-section p,
.uni-section li {
  font-size: 0.9rem;
  color: var(--ft-text-muted);
  line-height: 1.65;
  margin: 0 0 8px;
}

.uni-section p strong { color: var(--ft-navy); }

.services-description {
  font-size: 0.9rem;
  color: var(--ft-text-muted);
  line-height: 1.7;
  white-space: pre-line;
  background: var(--ft-bg);
  border-radius: 6px;
  padding: 14px 16px;
  margin: 0;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

/* ── Reviews ── */
.review {
  background: var(--ft-bg);
  border: 1px solid var(--ft-border);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.review:last-of-type { margin-bottom: 0; }

.review p { font-size: 0.88rem; color: var(--ft-text-muted); line-height: 1.6; margin: 0 0 6px; }
.review p:first-child { font-size: 0.9rem; color: var(--ft-navy); }

.review-ratings {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: var(--ft-slate);
}

.review-ratings span { display: flex; align-items: center; gap: 4px; }

/* Submit review button */
.ftlseo-submit-review-btn {
  display: inline-block;
  padding: 10px 22px;
  background: var(--ft-navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.ftlseo-submit-review-btn:hover { background: var(--ft-navy-dark); }

/* ── Sidebar ── */
.profile-sidebar { display: flex; flex-direction: column; gap: 20px; }

.related-locations-card {
  background: var(--ft-white);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  padding: 20px;
  box-shadow: var(--ft-shadow);
}

.related-locations-card h3 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ft-navy);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ft-navy-light);
}

/* ── Read more ── */
.read-more {
  color: var(--ft-orange);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.read-more:hover { text-decoration: underline; }

/* ── Archive page wrapper ── */
.ftlseo-provider-archive {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.archive-header {
  margin-bottom: 28px;
}

.archive-header h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--ft-navy);
  margin: 0 0 6px;
}

.archive-header p { font-size: 0.95rem; color: var(--ft-slate); margin: 0; }

/* Truck type filter on archive */
.ftlseo-type-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.ftlseo-type-filter label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ft-navy);
}

.ftlseo-type-filter select {
  padding: 8px 30px 8px 12px;
  border: 2px solid var(--ft-border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ft-text);
  background: var(--ft-white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2364748b'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
}

.ftlseo-type-filter select:focus { outline: none; border-color: var(--ft-navy); }
