/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background: #f5f6fa; color: #1e293b; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* === TYPOGRAPHY === */
h1, h2, h3 { font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
.section-title { font-size: 1.75rem; text-align: center; margin-bottom: 8px; color: #0f172a; }
.section-sub { text-align: center; color: #64748b; margin-bottom: 36px; font-size: 1rem; }

/* === NAVBAR === */
.navbar {
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.6); padding: 0; position: sticky; top: 0; z-index: 100;
  height: 64px; display: flex; align-items: center; overflow: visible;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 1.35rem; font-weight: 800; color: #0f172a; text-decoration: none; letter-spacing: -0.5px; flex-shrink: 0; }
.logo span { color: #e94560; }
.nav-scroll { display: flex; gap: 4px; align-items: center; overflow: visible; scrollbar-width: none; -ms-overflow-style: none; padding: 0 8px; flex: 1; justify-content: flex-end; }
.nav-scroll::-webkit-scrollbar { display: none; }

.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.nav-dropdown-menu {
  display: none !important;
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: white; border: 1px solid #e8ecf4; border-radius: 12px; padding: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12); min-width: 170px;
  z-index: 9999;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block !important; }
.nav-dropdown-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: white; border-left: 1px solid #e8ecf4; border-top: 1px solid #e8ecf4;
}
.nav-dropdown-menu a {
  display: block; padding: 8px 14px; border-radius: 8px; color: #1e293b;
  font-size: 0.82rem; font-weight: 500; white-space: nowrap; transition: all 0.15s;
}
.nav-dropdown-menu a:hover { background: rgba(233,69,96,0.06); color: #e94560; }

.nav-scroll a {
  color: #475569; text-decoration: none; font-size: 0.82rem; font-weight: 500;
  padding: 6px 14px; border-radius: 8px; transition: all 0.2s; white-space: nowrap;
}
.nav-scroll a:hover { color: #e94560; background: rgba(233,69,96,0.06); }
.nav-scroll a.active { color: #e94560; background: rgba(233,69,96,0.1); font-weight: 600; }
.nav-dropdown-trigger {
  color: #475569; font-size: 0.82rem; font-weight: 500;
  padding: 6px 14px; border-radius: 8px; transition: all 0.2s; white-space: nowrap;
  cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}
.nav-dropdown-trigger:hover { color: #e94560; background: rgba(233,69,96,0.06); }
.nav-cta {
  background: linear-gradient(135deg, #e94560, #d63851); color: white !important; padding: 8px 20px !important;
  border-radius: 8px !important; font-weight: 600 !important; flex-shrink: 0; margin-left: 4px;
  box-shadow: 0 2px 8px rgba(233,69,96,0.25);
}
.nav-cta:hover { background: linear-gradient(135deg, #d63851, #c23045) !important; color: white !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(233,69,96,0.3) !important; }

/* === HERO === */
.hero {
  color: white; text-align: center; position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #080e1a 0%, #111d33 40%, #0a1628 70%, #1a0a1e 100%);
}
@supports (min-height: 100dvh) {
  .hero { min-height: 100dvh; }
}
.hero-slider {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(1.1) contrast(1.05);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(8,14,26,0.7) 0%, rgba(17,29,51,0.55) 40%, rgba(10,22,40,0.6) 70%, rgba(26,10,30,0.7) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: 2.8rem; margin-bottom: 14px; font-weight: 800; letter-spacing: -1.5px;
  background: linear-gradient(135deg, #fff 60%, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { color: #94a3b8; font-size: 1.1rem; margin-bottom: 32px; max-width: 620px; margin-inline: auto; line-height: 1.7; }

/* Hero Search */
.hero-search {
  display: flex; max-width: 820px; margin: 0 auto 24px; gap: 0;
  background: rgba(255,255,255,0.06); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3); transition: box-shadow 0.3s;
}
.hero-search:focus-within { box-shadow: 0 8px 40px rgba(233,69,96,0.15); border-color: rgba(233,69,96,0.3); }
.hero-search select {
  padding: 18px 22px; border: none; background: rgba(255,255,255,0.08); font-size: 1rem;
  color: #e2e8f0; cursor: pointer; min-width: 180px; border-right: 1px solid rgba(255,255,255,0.06);
  outline: none; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.hero-search select option { background: #1e293b; color: #e2e8f0; }
.hero-search input {
  flex: 1; padding: 18px 24px; border: none; background: transparent; font-size: 1.05rem;
  color: white; outline: none; min-width: 0;
}
.hero-search input::placeholder { color: rgba(148,163,184,0.6); }

/* Override for light background contexts (listing page) */
.listing-main .hero-search {
  background: white; border: 1px solid #e2e8f0; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.listing-main .hero-search select {
  background: #f8fafc; color: #1e293b; border-right-color: #e2e8f0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.listing-main .hero-search select option { background: white; color: #1e293b; }
.listing-main .hero-search input { color: #0f172a; }
.listing-main .hero-search input::placeholder { color: #94a3b8; }
.hero-search button {
  padding: 18px 40px; background: linear-gradient(135deg, #e94560, #d63851); color: white;
  border: none; font-size: 1rem; cursor: pointer; font-weight: 600; white-space: nowrap;
  transition: all 0.3s; letter-spacing: 0.3px;
}
.hero-search button:hover { background: linear-gradient(135deg, #d63851, #c23045); }

/* Hero Stats */
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 36px; flex-wrap: wrap; }
.hero-stat { text-align: center; position: relative; }
.hero-stat + .hero-stat::before {
  content: ''; position: absolute; left: -24px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 32px; background: rgba(255,255,255,0.08);
}
.hero-stat-number { font-size: 1.8rem; font-weight: 800; color: white; letter-spacing: -0.5px; }
.hero-stat-label { font-size: 0.8rem; color: #64748b; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }

/* === SECTION HEADERS (category / featured / intro) === */
.section-header { text-align: center; padding: 56px 0 8px; }
.section-header h2 { font-size: 1.75rem; color: #0f172a; }
.section-header p { color: #64748b; margin-top: 8px; font-size: 1rem; }

/* === CATEGORY CARDS === */
.categories-section { padding: 0 0 56px; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat-card {
  background: white; border: 1px solid #e8ecf4; border-radius: 14px; padding: 22px 14px;
  text-align: center; text-decoration: none; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer; position: relative; overflow: hidden;
}
.cat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #e94560, #f0b429); opacity: 0; transition: opacity 0.3s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: #e2e8f0; }
.cat-card:hover::before { opacity: 1; }
.cat-card-icon { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.cat-card-name { font-weight: 700; color: #0f172a; font-size: 1rem; }
.cat-card-count { color: #94a3b8; font-size: 0.8rem; margin-top: 6px; font-weight: 500; display: block; }

/* === FEATURED SECTION === */
.featured-section { padding: 56px 0; background: white; border-top: 1px solid #e8ecf4; }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.featured-card {
  background: #f8fafc; border: 1px solid #e8ecf4; border-radius: 14px; padding: 0;
  text-decoration: none; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); display: block;
  overflow: hidden; position: relative;
}
.featured-card:hover { border-color: #e94560; box-shadow: 0 8px 24px rgba(233,69,96,0.1); transform: translateY(-3px); }
.featured-badge {
  position: absolute; top: 14px; right: 14px; background: linear-gradient(135deg, #e94560, #d63851);
  color: white; padding: 4px 12px; border-radius: 6px; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
}
.featured-card-body { padding: 22px; }
.featured-card-body h3 { font-size: 1.05rem; color: #0f172a; margin-bottom: 6px; padding-right: 80px; }
.featured-city { color: #64748b; font-size: 0.85rem; margin-bottom: 10px; display: flex; align-items: center; gap: 4px; }
.featured-city::before { content: '📍'; font-size: 0.8rem; }
.featured-phone { color: #2563eb; font-size: 0.85rem; display: block; margin-bottom: 8px; font-weight: 500; }
.featured-desc { color: #64748b; font-size: 0.85rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.featured-view { color: #e94560; font-size: 0.8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.featured-view::after { content: '\2192'; transition: transform 0.2s; }
.featured-card:hover .featured-view::after { transform: translateX(4px); }

/* === INTRO SECTION === */
.intro-section { padding: 56px 0; border-top: 1px solid #e8ecf4; }
.intro-section h2 { font-size: 1.5rem; color: #0f172a; margin-bottom: 16px; text-align: center; }
.intro-section p { color: #475569; font-size: 0.95rem; max-width: 800px; margin: 0 auto 14px; text-align: center; line-height: 1.8; }

/* === LISTING PAGE (results bar, filters, grid) === */
.page-header { margin: 28px 0 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.page-header h2 { font-size: 1.3rem; color: #0f172a; }
.results-count { color: #64748b; font-size: 0.9rem; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.toolbar select {
  padding: 10px 16px; border: 1px solid #d1d9e6; border-radius: 10px; background: white;
  font-size: 0.85rem; color: #1e293b; cursor: pointer; outline: none; min-width: 160px;
  transition: border-color 0.2s; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.toolbar select:focus { border-color: #e94560; }

/* Listing Grid */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; margin-bottom: 32px; }
.card {
  background: white; border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04); transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer; border: 1px solid #e8ecf4;
}
.card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); transform: translateY(-3px); border-color: #d1d9e6; }
.card-body { padding: 20px; position: relative; }
.card h3 { font-size: 1.05rem; margin-bottom: 6px; color: #0f172a; padding-right: 70px; }
.card-city { color: #64748b; font-size: 0.82rem; margin-bottom: 12px; display: flex; align-items: center; gap: 4px; }
.card-city::before { content: '📍'; font-size: 0.75rem; }
.card-phone {
  color: #2563eb; font-size: 0.88rem; text-decoration: none; display: inline-block;
  margin-bottom: 6px; font-weight: 500; padding: 2px 10px; background: #eff6ff;
  border-radius: 6px; transition: background 0.2s;
}
.card-phone:hover { background: #dbeafe; text-decoration: none; }
.card-desc { color: #64748b; font-size: 0.83rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; line-height: 1.5; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid #f1f5f9; }
.card-badge { padding: 4px 12px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2px; }
.card-badge.verified { background: #dcfce7; color: #166534; }
.card-badge.unverified { background: #f1f5f9; color: #94a3b8; }
.card-badge.no-website-badge { background: #fef3c7; color: #92400e; }
.get-website-link { font-size: 0.72rem; font-weight: 600; color: #e94560; text-decoration: none; margin-left: 4px; }
.get-website-link:hover { text-decoration: underline; }
.no-website-badge-sm { display: inline-block; padding: 2px 8px; border-radius: 10px; background: #fef3c7; color: #92400e; font-size: 0.75rem; font-weight: 600; }
.verified-badge { color: #16a34a; font-size: 0.95rem; margin-left: 4px; display: inline-block; }
.website-badge { color: #2563eb; font-size: 0.85rem; margin-left: 4px; display: inline-block; }
.verified-badge-lg { color: #16a34a; font-size: 0.8rem; font-weight: 600; margin-left: 10px; background: #dcfce7; padding: 4px 12px; border-radius: 20px; vertical-align: middle; }
.unverified-badge { color: #94a3b8; font-size: 0.75rem; font-weight: 500; margin-left: 10px; background: #f1f5f9; padding: 4px 12px; border-radius: 20px; vertical-align: middle; }
.card-badge.website { background: #dbeafe; color: #1d4ed8; }
.card-claim { font-size: 0.8rem; color: #64748b; text-decoration: none; font-weight: 500; }
.card-claim:hover { color: #e94560; }

/* Skeleton Loading */
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.skeleton-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; margin-bottom: 32px; }
.skeleton-card {
  background: white; border-radius: 14px; border: 1px solid #e8ecf4; padding: 20px; overflow: hidden;
}
.skeleton-line {
  height: 14px; border-radius: 8px; margin-bottom: 10px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e8ecf4 50%, #f1f5f9 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
}
.skeleton-line:first-child { width: 70%; height: 18px; }
.skeleton-line:nth-child(2) { width: 45%; }
.skeleton-line:nth-child(3) { width: 55%; height: 12px; }
.skeleton-line:nth-child(4) { width: 90%; height: 12px; }
.skeleton-line:last-child { width: 30%; margin-top: 14px; }

/* === PAGINATION === */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 32px 0 48px; }
.pagination button {
  padding: 10px 18px; border: 1px solid #d1d9e6; background: white; border-radius: 10px;
  font-size: 0.85rem; color: #1e293b; cursor: pointer; transition: all 0.2s; font-weight: 500;
  min-width: 42px; display: flex; align-items: center; justify-content: center;
}
.pagination button:hover:not(:disabled) { border-color: #e94560; color: #e94560; background: rgba(233,69,96,0.04); }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination button.active { background: #e94560; border-color: #e94560; color: white; box-shadow: 0 2px 8px rgba(233,69,96,0.25); }
.pagination .page-info { color: #64748b; font-size: 0.85rem; padding: 0 8px; }

/* === LISTING DETAIL === */
.listing-detail { margin: 24px 0 48px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; color: #64748b; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.back-link:hover { color: #e94560; }
.detail-header {
  background: linear-gradient(135deg, #0f172a, #1e293b); border-radius: 16px; padding: 32px;
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px;
  margin-bottom: 24px; color: white;
}
.detail-header h1 { font-size: 1.8rem; color: white; }
.detail-header p { color: #94a3b8; margin-top: 6px; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.detail-actions .btn-secondary {
  background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 24px; border-radius: 10px; font-size: 0.9rem; cursor: pointer; font-weight: 500;
  text-decoration: none; transition: all 0.2s; display: inline-block;
}
.detail-actions .btn-secondary:hover { background: rgba(255,255,255,0.15); }
.detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .detail-body { grid-template-columns: 1fr; } }
.detail-section {
  background: white; border-radius: 14px; padding: 26px; box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border: 1px solid #e8ecf4;
}
.detail-section h2 { font-size: 1.1rem; color: #0f172a; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #f1f5f9; }
.detail-section p { color: #475569; font-size: 0.95rem; margin-bottom: 8px; line-height: 1.7; }
.info-row { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.93rem; }
.info-row .label { color: #94a3b8; min-width: 90px; flex-shrink: 0; font-weight: 500; }
.info-row .value { color: #1e293b; word-break: break-word; }
.info-row .value a { color: #2563eb; text-decoration: none; font-weight: 500; }
.info-row .value a:hover { text-decoration: underline; }
.products-box { background: #f8fafc; border-radius: 10px; padding: 16px; margin-top: 10px; white-space: pre-wrap; font-size: 0.85rem; color: #334155; max-height: 300px; overflow-y: auto; border: 1px solid #f1f5f9; }

/* === REVIEWS === */
.detail-section-full { grid-column: 1 / -1; }
.review-count-badge {
  display: inline-block; background: #e94560; color: white; font-size: 0.75rem;
  font-weight: 700; padding: 2px 10px; border-radius: 20px; vertical-align: middle; margin-left: 8px;
}
.review-summary { text-align: center; padding: 20px 0; border-bottom: 1px solid #f1f5f9; margin-bottom: 20px; }
.review-summary-stars { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 6px; }
.review-summary-stars .star-filled { color: #f59e0b; }
.review-summary-stars .star-empty { color: #d1d9e6; }
.review-summary-text { font-size: 1.1rem; font-weight: 600; color: #0f172a; }
.review-summary-count { color: #64748b; font-size: 0.85rem; }
.review-list { margin-bottom: 8px; }
.review-card {
  background: #f8fafc; border: 1px solid #f1f5f9; border-radius: 12px; padding: 18px;
  margin-bottom: 14px; transition: border-color 0.2s;
}
.review-card:hover { border-color: #e2e8f0; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #e94560, #d63851);
  color: white; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 0.9rem; color: #0f172a; }
.review-stars .star-filled { color: #f59e0b; }
.review-stars .star-empty { color: #d1d9e6; }
.review-date { margin-left: auto; font-size: 0.78rem; color: #94a3b8; white-space: nowrap; }
.review-text { color: #475569; font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* Star Rating Input */
.star-rating { display: flex; gap: 4px; direction: ltr; }
.star-rating .star {
  font-size: 1.8rem; cursor: pointer; color: #d1d9e6; transition: color 0.15s, transform 0.15s;
  user-select: none; line-height: 1;
}
.star-rating .star:hover { transform: scale(1.2); }

/* Card star display */
.card-stars {
  color: #f59e0b; font-size: 0.75rem; letter-spacing: 1px;
  display: inline-flex; align-items: center; gap: 2px;
}
.card-stars small { color: #94a3b8; font-size: 0.72rem; margin-left: 2px; font-weight: 500; }

/* Review form */
.review-form { margin-top: 4px; }
.review-form .form-group { margin-bottom: 16px; }
.review-form textarea { resize: vertical; min-height: 80px; }

/* === BUTTONS === */
.btn-primary {
  background: linear-gradient(135deg, #e94560, #d63851); color: white; border: none;
  padding: 14px 28px; border-radius: 10px; font-size: 0.95rem; cursor: pointer; font-weight: 600;
  transition: all 0.3s; display: inline-block; text-decoration: none; box-shadow: 0 4px 14px rgba(233,69,96,0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(233,69,96,0.3); }
.btn-outline {
  background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3);
  padding: 14px 28px; border-radius: 10px; font-size: 0.95rem; cursor: pointer; font-weight: 600;
  transition: all 0.3s; display: inline-block; text-decoration: none; margin-left: 12px;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.05); }

/* === SERVICES PAGE === */
.services-hero {
  background: linear-gradient(135deg, #080e1a 0%, #111d33 40%, #0a1628 70%, #1a0a1e 100%);
  color: white; padding: 100px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.services-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(233,69,96,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 50%, rgba(59,130,246,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.services-hero h1 { font-size: 2.8rem; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
.services-hero p { color: #94a3b8; font-size: 1.15rem; max-width: 620px; margin: 0 auto 32px; line-height: 1.7; }

.services-overview { padding: 80px 0; background: white; }
.services-overview h2 { text-align: center; font-size: 1.75rem; margin-bottom: 48px; color: #0f172a; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #f8fafc; border: 1px solid #e8ecf4; border-radius: 14px; padding: 32px 24px;
  transition: all 0.3s; text-align: center;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); border-color: #d1d9e6; }
.service-icon { margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; color: #0f172a; margin-bottom: 10px; }
.service-card p { color: #64748b; font-size: 0.9rem; line-height: 1.6; }

/* === PRICING === */
.pricing-section { padding: 80px 0; background: #f5f6fa; }
.pricing-section h2 { text-align: center; font-size: 1.75rem; color: #0f172a; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; align-items: start; }
.pricing-card {
  background: white; border: 1px solid #e8ecf4; border-radius: 16px; overflow: hidden;
  transition: all 0.3s; position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.pricing-card.featured {
  border-color: #e94560; box-shadow: 0 8px 32px rgba(233,69,96,0.12);
  transform: scale(1.05); z-index: 1;
}
.pricing-card.featured:hover { transform: scale(1.05) translateY(-4px); }
.pricing-popular {
  background: #e94560; color: white; text-align: center; padding: 8px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.pricing-header { padding: 28px 24px 20px; text-align: center; }
.pricing-header h3 { font-size: 1.1rem; color: #0f172a; margin-bottom: 8px; }
.pricing-amount { font-size: 2.2rem; font-weight: 800; color: #0f172a; letter-spacing: -1px; }
.pricing-desc { color: #94a3b8; font-size: 0.82rem; margin-top: 4px; }
.pricing-features { list-style: none; padding: 0 24px 24px; }
.pricing-features li {
  padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: 0.88rem;
  color: #475569; display: flex; align-items: center; gap: 8px;
}
.pricing-features li::before { content: '\2713'; color: #16a34a; font-weight: 700; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-btn { margin: 0 24px 28px; display: block; text-align: center; }

.services-cta {
  background: linear-gradient(135deg, #080e1a, #111d33); color: white;
  text-align: center; padding: 80px 0;
}
.services-cta h2 { font-size: 2rem; margin-bottom: 14px; }
.services-cta p { color: #94a3b8; font-size: 1.05rem; max-width: 560px; margin: 0 auto 28px; line-height: 1.7; }

@media (max-width: 768px) {
  .services-hero h1 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .btn-outline { margin-left: 0; margin-top: 12px; }
}
@media (max-width: 480px) {
  .services-hero h1 { font-size: 1.6rem; }
  .services-hero { padding: 60px 0 48px; }
  .services-overview, .pricing-section, .services-cta { padding: 48px 0; }
}

/* === CLAIM PAGE === */
.claim-page { max-width: 620px; margin: 48px auto 64px; }
.claim-page h1 { font-size: 1.7rem; margin-bottom: 8px; }
.claim-subtitle { color: #64748b; margin-bottom: 32px; font-size: 0.95rem; }
.claim-form { background: white; padding: 32px; border-radius: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); border: 1px solid #e8ecf4; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; color: #1e293b; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #d1d9e6; border-radius: 10px;
  font-size: 0.95rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #e94560; box-shadow: 0 0 0 3px rgba(233,69,96,0.1); }
.claim-success { background: #dcfce7; color: #166534; padding: 28px; border-radius: 14px; text-align: center; margin-top: 20px; }
.claim-success h3 { margin-bottom: 8px; }
.claimed-badge {
  display: inline-block; background: #dcfce7; color: #166534; padding: 10px 20px;
  border-radius: 10px; font-size: 0.85rem; font-weight: 600;
}
.claimed-badge-lg {
  display: inline-block; background: #dcfce7; color: #166534; padding: 6px 16px;
  border-radius: 8px; font-size: 0.85rem; font-weight: 700;
}
.claimed-notice { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 16px; text-align: center; }
.verify-match { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.verify-nomatch { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* === DETAIL TOOLBAR ACTIONS === */
.detail-toolbar {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px;
  padding: 12px 0; border-bottom: 1px solid #e8ecf4;
}
.toolbar-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border: 1px solid #d1d9e6; border-radius: 10px;
  background: white; color: #475569; font-size: 0.82rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.toolbar-btn:hover { border-color: #e94560; color: #e94560; background: rgba(233,69,96,0.04); }
.toolbar-btn.bookmarked { border-color: #f59e0b; color: #f59e0b; background: #fffbeb; }
.toolbar-btn-danger:hover { border-color: #dc2626; color: #dc2626; background: #fef2f2; }
.toolbar-btn-whatsapp:hover { border-color: #25D366; color: #25D366; background: #f0fdf4; }
.toolbar-btn-whatsapp.bookmarked { border-color: #25D366; color: #25D366; background: #f0fdf4; }
.toolbar-btn svg { flex-shrink: 0; }

/* === LOADING & NO RESULTS === */
.loading { text-align: center; padding: 48px; color: #94a3b8; font-size: 1rem; }
.no-results { text-align: center; padding: 48px; color: #94a3b8; font-size: 1rem; }

/* === FOOTER === */
.footer { background: #0b1120; color: #fff; padding: 48px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand h3 { font-size: 1.2rem; color: white; margin-bottom: 12px; }
.footer-brand h3 span { color: #e94560; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 340px; }
.footer-col h4 { color: white; font-size: 0.85rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { display: block; color: #fff; font-size: 0.85rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #e94560; }
.footer-cat-cols { display: flex; gap: 24px; }
.footer-cat-cols > div { display: flex; flex-direction: column; }
.footer-cat-cols a { white-space: nowrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; text-align: center; font-size: 0.8rem; color: #fff; }
.footer-bottom a { color: #e94560; text-decoration: none; }

/* === NAV TOGGLE (hamburger) === */
.nav-toggle {
  display: none; background: none; border: none; color: #0f172a; font-size: 1.5rem;
  cursor: pointer; padding: 4px 8px; line-height: 1; z-index: 101;
  -webkit-tap-highlight-color: transparent;
}

/* === RESPONSIVE === */
@media (hover: none) and (pointer: coarse) {
  .nav-dropdown-menu { display: none !important; }
  .nav-dropdown.open .nav-dropdown-menu { display: block !important; position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 16px; margin: 0; min-width: auto; background: transparent; }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-menu a { padding: 10px 14px; font-size: 0.85rem; color: #475569; }
  .nav-dropdown-trigger { cursor: pointer; }
  .dropdown-arrow { font-size: 0.7rem; margin-left: 4px; display: inline-block; transition: transform 0.2s; }
  .nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .navbar .container { flex-wrap: wrap; }
  .nav-scroll {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    background: white; border-top: 1px solid #e8ecf4; padding: 12px 0;
    max-height: calc(100vh - 64px); overflow-y: auto;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  }
  .navbar.nav-open .nav-scroll { display: flex; }
  .nav-scroll a { padding: 12px 24px; font-size: 0.9rem; border-radius: 0; color: #1e293b; }
  .nav-scroll a:hover { background: #f8fafc; }
  .nav-scroll a.active { background: rgba(233,69,96,0.08); }
  .nav-dropdown-trigger { padding: 12px 24px !important; border-radius: 0; color: #1e293b; font-size: 0.9rem; }
  .nav-dropdown-trigger:hover { background: #f8fafc; }
  .nav-dropdown { display: flex; flex-direction: column; }
  .nav-dropdown-menu { display: none !important; position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 24px; margin: 0; min-width: auto; background: transparent; border-radius: 0; }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-menu a { padding: 10px 14px; font-size: 0.85rem; color: #475569; white-space: normal; }
  .nav-dropdown-menu a:hover { background: transparent; color: #e94560; }
  .nav-dropdown.open .nav-dropdown-menu { display: block !important; }
  .nav-dropdown-trigger { cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 12px 24px !important; }
  .dropdown-arrow { font-size: 0.7rem; margin-left: 4px; display: inline-block; transition: transform 0.2s; }
  .nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }
  .nav-cta { margin: 8px 24px !important; text-align: center; }
  .nav-scroll::-webkit-scrollbar { display: none; }
  .nav-scroll { -ms-overflow-style: none; scrollbar-width: none; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .hero { min-height: 92vh; padding: 80px 0 48px; }
  .hero-search { flex-direction: column; border-radius: 12px; }
  .hero-search select { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); width: 100%; min-width: unset; }
  .hero-search input { padding: 16px 20px; font-size: 16px; }
  .hero-search button { padding: 16px; border-radius: 0; }
  .hero-stats { gap: 20px; }
  .hero-stat + .hero-stat::before { display: none; }
  .hero-stat-number { font-size: 1.3rem; }
  .hero-stat-label { font-size: 0.7rem; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cat-card { padding: 14px 8px; }
  .cat-card-icon { font-size: 1.3rem; }
  .cat-card-name { font-size: 0.82rem; }
  .cat-card-count { font-size: 0.72rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: 1fr; }
  .skeleton-grid { grid-template-columns: 1fr; }
  .detail-header { padding: 20px; flex-direction: column; }
  .detail-header h1 { font-size: 1.3rem; }
  .detail-actions { width: 100%; }
  .detail-actions .btn-secondary { width: 100%; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar select { width: 100%; }
  .page-header { flex-direction: column; align-items: flex-start; }
  .pagination { flex-wrap: wrap; justify-content: center; }
  .pagination button { min-width: 38px; padding: 8px 14px; font-size: 0.8rem; }
  .claim-page { margin: 24px auto 40px; }
  .claim-form { padding: 24px; }
  .section-header { padding: 40px 0 8px; }
  .section-header h2 { font-size: 1.4rem; }
  .categories-section { padding: 0 0 40px; }
  .featured-section { padding: 40px 0; }
  .intro-section { padding: 40px 0; }
  .intro-section h2 { font-size: 1.25rem; }
  .detail-toolbar { gap: 6px; }
  .toolbar-btn { padding: 10px 14px; font-size: 0.78rem; flex: 1; justify-content: center; }
  .card-body { padding: 16px; }
  .card h3 { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 1.4rem; letter-spacing: -0.5px; }
  .hero p { font-size: 0.88rem; }
  .hero { min-height: 90vh; padding: 60px 0 36px; }
  .hero-search select { padding: 14px 16px; font-size: 0.9rem; }
  .hero-search input { padding: 14px 16px; }
  .hero-search button { padding: 14px; font-size: 0.9rem; }
  .hero-stats { gap: 16px; }
  .hero-stat-number { font-size: 1.1rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cat-card { padding: 12px 6px; border-radius: 10px; }
  .cat-card-icon { font-size: 1.1rem; margin-bottom: 4px; }
  .cat-card-name { font-size: 0.82rem; }
  .cat-card-count { font-size: 0.72rem; }
  .navbar { height: 52px; }
  .logo { font-size: 1.1rem; }
  .logo img { height: 28px; vertical-align: middle; }
  .nav-toggle { font-size: 1.3rem; }
  .listing-grid { gap: 12px; }
  .card-body { padding: 14px; }
  .card h3 { font-size: 0.9rem; padding-right: 50px; }
  .card-city { font-size: 0.78rem; }
  .card-phone { font-size: 0.82rem; padding: 2px 8px; }
  .card-desc { font-size: 0.78rem; }
  .card-footer { flex-wrap: wrap; gap: 6px; }
  .card-badge { font-size: 0.65rem; padding: 3px 8px; }
  .detail-header { padding: 16px; border-radius: 12px; }
  .detail-header h1 { font-size: 1.15rem; }
  .detail-section { padding: 18px; }
  .detail-section h2 { font-size: 1rem; }
  .info-row { font-size: 0.85rem; flex-direction: column; gap: 2px; }
  .info-row .label { min-width: unset; }
  .toolbar-btn { padding: 8px 10px; font-size: 0.72rem; gap: 4px; }
  .toolbar-btn svg { width: 14px; height: 14px; }
  .pagination { gap: 4px; }
  .pagination button { min-width: 34px; padding: 6px 10px; font-size: 0.75rem; }
  .claim-page h1 { font-size: 1.3rem; }
  .claim-form { padding: 18px; }
  .form-group input, .form-group select, .form-group textarea { padding: 10px 14px; font-size: 16px; }
  .btn-primary { padding: 12px 20px; font-size: 0.85rem; }
  .featured-card-body { padding: 16px; }
  .featured-card-body h3 { font-size: 0.95rem; }
  .page-header h2 { font-size: 1.1rem; }
  .results-count { font-size: 0.8rem; }
  /* Prevent iOS zoom on input focus */
  input, select, textarea { font-size: 16px !important; }
  .review-card { padding: 14px; }
  .footer-cat-cols { flex-direction: column; gap: 0; }
  .star-rating .star { font-size: 1.5rem; }
  .products-box { font-size: 0.8rem; max-height: 200px; }
}

/* === MARKETPLACE PROMO ON HOMEPAGE === */
.marketplace-promo { padding: 60px 0; background: linear-gradient(135deg, #080e1a, #111d33); }
.marketplace-promo-inner { text-align: center; }
.marketplace-promo-inner h2 { font-size: 1.6rem; color: white; margin-bottom: 10px; }
.marketplace-promo-inner p { color: #94a3b8; font-size: 1rem; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.marketplace-promo-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.marketplace-promo-actions .btn-primary {
  background: linear-gradient(135deg, #e94560, #d63851); color: white; padding: 14px 28px;
  border-radius: 8px; font-size: 0.95rem; font-weight: 600; display: inline-block;
  box-shadow: 0 4px 16px rgba(233,69,96,0.3); transition: all 0.2s;
}
.marketplace-promo-actions .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(233,69,96,0.4); }
.marketplace-promo-actions .btn-outline {
  color: white; border: 1px solid rgba(255,255,255,0.3); padding: 14px 28px;
  border-radius: 8px; font-size: 0.95rem; font-weight: 600; display: inline-block;
  transition: all 0.2s;
}
.marketplace-promo-actions .btn-outline:hover { border-color: white; background: rgba(255,255,255,0.05); }

/* === MARKETPLACE === */
.marketplace-hero {
  background: linear-gradient(135deg, #080e1a, #111d33); color: white; text-align: center;
  padding: 48px 0 40px; margin-bottom: 28px;
}
.marketplace-hero h1 { font-size: 1.8rem; margin-bottom: 8px; }
.marketplace-hero p { color: #94a3b8; font-size: 0.95rem; margin-bottom: 16px; }
.marketplace-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-bottom: 32px; }
.marketplace-card {
  background: white; border-radius: 12px; overflow: hidden; border: 1px solid #e8ecf4;
  transition: all 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.marketplace-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.08); border-color: #d1d9e6; }
.marketplace-card-img {
  width: 100%; height: 200px; object-fit: cover; background: #f1f5f9; display: block;
}
.marketplace-card-img-placeholder {
  width: 100%; height: 200px; background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 0.9rem;
}
.marketplace-card-body { padding: 16px; }
.marketplace-card-body h3 { font-size: 1rem; margin-bottom: 4px; color: #0f172a; }
.marketplace-card-price {
  font-size: 1.15rem; font-weight: 700; color: #e94560; margin-bottom: 6px;
}
.marketplace-card-desc {
  color: #64748b; font-size: 0.82rem; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; margin-bottom: 10px;
}
.marketplace-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: #94a3b8; }
.marketplace-card-phone { font-size: 0.8rem; color: #e94560; font-weight: 600; }
.marketplace-source-badge {
  display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 4px;
  background: #f0fdf4; color: #16a34a; font-size: 0.7rem; font-weight: 600;
}
.marketplace-hero-search {
  display: flex; background: white; border-radius: 12px; overflow: hidden;
  max-width: 640px; margin: 0 auto; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.marketplace-hero-search select {
  padding: 16px 20px; border: none; background: white; font-size: 0.95rem;
  outline: none; color: #1e293b; min-width: 160px; cursor: pointer;
  border-right: 1px solid #e8ecf4;
}
.marketplace-hero-search input {
  flex: 1; padding: 16px 20px; border: none; font-size: 0.95rem;
  outline: none; color: #1e293b; min-width: 0;
}
.marketplace-hero-search input::placeholder { color: #94a3b8; }
.marketplace-hero-search button {
  padding: 16px 28px; background: #e94560; color: white; border: none;
  font-size: 0.95rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.marketplace-hero-search button:hover { background: #d63851; }
@media (max-width: 700px) {
  .marketplace-hero-search { flex-direction: column; border-radius: 12px; }
  .marketplace-hero-search select { border-right: none; border-bottom: 1px solid #e8ecf4; width: 100%; }
  .marketplace-hero-search input { padding: 14px 16px; font-size: 16px; }
  .marketplace-hero-search button { padding: 14px; }
}

.marketplace-filter-bar {
  display: flex; gap: 12px; align-items: center; margin-bottom: 24px; flex-wrap: wrap;
}
.marketplace-filter-bar select, .marketplace-filter-bar input {
  padding: 10px 14px; border: 1px solid #d1d9e6; border-radius: 8px; font-size: 0.9rem;
  background: white; outline: none; min-width: 180px;
}
.marketplace-filter-bar select:focus, .marketplace-filter-bar input:focus {
  border-color: #e94560; box-shadow: 0 0 0 3px rgba(233,69,96,0.1);
}
.marketplace-filter-bar .btn-primary { margin-left: auto; }

/* Post ad form */
.post-ad-page { max-width: 640px; margin: 32px auto; }
.post-ad-page h1 { font-size: 1.5rem; margin-bottom: 4px; }
.post-ad-page p { color: #64748b; margin-bottom: 24px; }
.post-ad-form .form-group { margin-bottom: 18px; }
.post-ad-form .form-group label { font-weight: 600; font-size: 0.9rem; color: #1e293b; display: block; margin-bottom: 6px; }
.post-ad-form .form-group input,
.post-ad-form .form-group select,
.post-ad-form .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #d1d9e6; border-radius: 8px;
  font-size: 0.95rem; outline: none; transition: all 0.2s; font-family: inherit;
}
.post-ad-form .form-group input:focus,
.post-ad-form .form-group select:focus,
.post-ad-form .form-group textarea:focus {
  border-color: #e94560; box-shadow: 0 0 0 3px rgba(233,69,96,0.1);
}
.post-ad-form textarea { min-height: 100px; resize: vertical; }
.post-ad-form .file-upload {
  border: 2px dashed #d1d9e6; border-radius: 8px; padding: 32px; text-align: center;
  cursor: pointer; transition: all 0.2s; background: #fafbfc;
}
.post-ad-form .file-upload:hover { border-color: #e94560; background: #fef2f4; }
.post-ad-form .file-upload input { display: none; }
.post-ad-form .file-upload-label { color: #64748b; font-size: 0.9rem; }
.post-ad-form .file-upload-label strong { color: #e94560; }
.post-ad-form .image-preview { max-width: 100%; max-height: 300px; border-radius: 8px; margin-top: 12px; display: none; }
.post-ad-form .btn-primary { width: 100%; padding: 14px; font-size: 1rem; }
.post-ad-form .char-count { text-align: right; font-size: 0.78rem; color: #94a3b8; margin-top: 4px; }
.success-message { text-align: center; padding: 48px 24px; }
.success-message h2 { color: #166534; margin-bottom: 8px; }
.success-message p { color: #64748b; margin-bottom: 20px; }

/* Ad detail */
.ad-detail-page { max-width: 780px; margin: 24px auto 48px; }
.ad-detail-img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; background: #f1f5f9; }
.ad-detail-img-placeholder {
  width: 100%; height: 250px; border-radius: 12px; background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 1rem; margin-bottom: 20px;
}
.ad-detail-title { font-size: 1.5rem; margin-bottom: 6px; }
.ad-detail-price { font-size: 1.5rem; font-weight: 700; color: #e94560; margin-bottom: 12px; }
.ad-detail-meta { color: #94a3b8; font-size: 0.85rem; margin-bottom: 16px; display: flex; gap: 16px; flex-wrap: wrap; }
.ad-detail-section { margin-bottom: 20px; }
.ad-detail-section h2 { font-size: 1rem; color: #0f172a; margin-bottom: 8px; }
.ad-detail-section p { color: #475569; font-size: 0.95rem; line-height: 1.7; }
.ad-detail-contact {
  background: #f8fafc; border: 1px solid #e8ecf4; border-radius: 12px; padding: 20px; margin-bottom: 24px;
}
.ad-detail-contact h2 { font-size: 1rem; margin-bottom: 12px; }
.ad-detail-contact-address { font-size: 0.95rem; color: #475569; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.ad-detail-contact-address::before { content: '📍'; font-size: 0.9rem; }
.ad-detail-contact-phone { font-size: 1.2rem; font-weight: 700; color: #0f172a; }
.ad-detail-contact-whatsapp { margin-top: 8px; }
.ad-detail-contact-whatsapp a { display: inline-flex; align-items: center; gap: 6px; background: #25D366; color: #fff; padding: 8px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.ad-detail-contact-whatsapp a:hover { background: #1da851; }
.ad-detail-expired {
  text-align: center; padding: 48px 24px; color: #94a3b8;
}
.empty-marketplace {
  text-align: center; padding: 64px 24px; color: #94a3b8; grid-column: 1 / -1;
}
.empty-marketplace h3 { font-size: 1.2rem; color: #64748b; margin-bottom: 8px; }

.ad-detail-caution {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 16px 20px;
  margin-bottom: 24px; display: flex; gap: 12px; align-items: flex-start;
}
.ad-detail-caution svg { flex-shrink: 0; color: #d97706; margin-top: 2px; }
.ad-detail-caution strong { color: #92400e; font-size: 0.95rem; }
.ad-detail-caution p { color: #92400e; font-size: 0.85rem; margin: 4px 0 0; line-height: 1.5; }

.marketplace-caution {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 12px 16px;
  margin-bottom: 20px; display: flex; gap: 10px; align-items: center; color: #92400e; font-size: 0.85rem;
}
.marketplace-caution svg { flex-shrink: 0; color: #d97706; }
.marketplace-caution strong { font-weight: 700; }

@media (max-width: 700px) {
  .marketplace-filter-bar select, .marketplace-filter-bar input { min-width: 100%; }
  .marketplace-filter-bar .btn-primary { width: 100%; }
  .post-ad-page { margin: 16px; }
}

/* === TESTIMONIALS === */
.testimonials-section { padding: 80px 0; background: #f8fafc; position: relative; overflow: hidden; }
.testimonials-header { text-align: center; margin-bottom: 48px; position: relative; z-index: 1; }
.testimonials-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #e94560; background: rgba(233,69,96,0.08); padding: 6px 16px; border-radius: 20px; margin-bottom: 16px; }
.testimonials-header h2 { font-size: 2rem; font-weight: 800; color: #0f172a; margin-bottom: 12px; letter-spacing: -0.03em; }
.testimonials-header p { font-size: 1.05rem; color: #64748b; max-width: 520px; margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1; }
.testimonial-card { border-radius: 16px; padding: 32px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; border-width: 2px; border-style: solid; }
.testimonial-card:nth-child(1) { background: #fef2f2; border-color: #fecaca; box-shadow: 0 8px 24px rgba(233,69,96,0.1); }
.testimonial-card:nth-child(2) { background: #eff6ff; border-color: #bfdbfe; box-shadow: 0 8px 24px rgba(37,99,235,0.1); }
.testimonial-card:nth-child(3) { background: #f0fdf4; border-color: #bbf7d0; box-shadow: 0 8px 24px rgba(5,150,105,0.1); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
.testimonial-quote-icon { font-size: 3.5rem; line-height: 1; font-family: Georgia, serif; position: absolute; top: 12px; right: 20px; user-select: none; }
.testimonial-card:nth-child(1) .testimonial-quote-icon { color: rgba(233,69,96,0.12); }
.testimonial-card:nth-child(2) .testimonial-quote-icon { color: rgba(37,99,235,0.12); }
.testimonial-card:nth-child(3) .testimonial-quote-icon { color: rgba(5,150,105,0.12); }
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 16px; }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-text { color: #334155; font-size: 0.92rem; line-height: 1.75; margin-bottom: 24px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.05); }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; font-weight: 700; color: white; flex-shrink: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.testimonial-name { font-weight: 700; font-size: 0.92rem; color: #0f172a; }
.testimonial-card:nth-child(1) .testimonial-name { color: #991b1b; }
.testimonial-card:nth-child(2) .testimonial-name { color: #1e40af; }
.testimonial-card:nth-child(3) .testimonial-name { color: #065f46; }
.testimonial-role { font-size: 0.8rem; color: #94a3b8; }
@media (max-width: 768px) { .testimonials-header h2 { font-size: 1.5rem; } .testimonials-grid { grid-template-columns: 1fr; } .testimonial-card { padding: 24px; } }

/* === PRINT === */
@media print {
  .navbar, .hero-search, .filter-bar, .toolbar, .detail-actions, .btn-primary, .btn-secondary, .footer, .pagination { display: none; }
  .hero { min-height: auto; padding: 20px 0; background: none !important; color: #333; }
  .hero h1 { -webkit-text-fill-color: #333; }
  .hero-slider, .hero-overlay { display: none; }
  .hero-stats, .hero p { color: #666; }
  .detail-section { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  .card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  body { font-size: 11pt; }
}

/* ===== Homepage (index.php) ===== */
.hero {
  padding: 100px 0 80px; text-align: center;
  background: linear-gradient(135deg, #0b1120 0%, #162044 40%, #0b1120 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(233,69,96,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(37,99,235,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px; opacity: 0.5; pointer-events: none;
}
.hero h1 {
  font-size: 3rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -1.5px;
  background: linear-gradient(135deg, #fff 60%, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  position: relative;
}
.hero p { color: #94a3b8; font-size: 1.1rem; max-width: 560px; margin: 0 auto 28px; line-height: 1.7; position: relative; }
.hero-search { max-width: 600px; margin: 0 auto; position: relative; }
.hero-stats-bar { display: flex; justify-content: center; gap: 40px; margin-top: 40px; flex-wrap: wrap; position: relative; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 1.6rem; font-weight: 800; color: white; }
.hero-stat .lbl { font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; font-weight: 600; }
.featured-section { padding: 64px 0; background: white; border-top: 1px solid #e8ecf4; }
.featured-section .section-header { padding: 0 0 32px; }
.featured-section .section-header h2 { font-size: 1.6rem; }
.marketplace-home { padding: 64px 0; background: #f8fafc; }
.marketplace-home .section-header { padding: 0 0 32px; }
.marketplace-home .section-header h2 { font-size: 1.6rem; }
.marketplace-home .section-header .section-action { color: #e94560; font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.marketplace-home .section-header .section-action:hover { text-decoration: underline; }
.marketplace-card-img { width:100%; height:180px; object-fit:cover; }
.intro-section { padding: 72px 0; background: white; border-top: 1px solid #e8ecf4; }
.intro-section h2 { font-size: 1.8rem; font-weight: 700; text-align: center; margin-bottom: 16px; }
.intro-section p { color: #475569; font-size: 0.95rem; max-width: 800px; margin: 0 auto 14px; text-align: center; line-height: 1.8; }
.home-cta {
  padding: 72px 0; background: linear-gradient(135deg, #0b1120, #162044); text-align: center; position: relative; overflow: hidden;
}
.home-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(233,69,96,0.06) 0%, transparent 60%); pointer-events: none; }
.home-cta h2 { font-size: 2rem; font-weight: 700; color: white; margin-bottom: 12px; }
.home-cta p { color: #94a3b8; max-width: 500px; margin: 0 auto 24px; font-size: 1rem; line-height: 1.7; }
.home-cta .btn-primary { display: inline-block; }
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-stats-bar { gap: 20px; }
  .hero-stat .num { font-size: 1.2rem; }
}

/* ===== About page (about.php) ===== */
.about-hero {
  padding: 100px 0 72px; text-align: center;
  background: linear-gradient(135deg, #0b1120 0%, #162044 50%, #0b1120 100%);
  position: relative; overflow: hidden;
}
.about-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(233,69,96,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(37,99,235,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.about-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px; opacity: 0.5; pointer-events: none;
}
.about-hero h1 {
  font-size: 3rem; color: white; font-weight: 800; letter-spacing: -2px; margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 60%, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.about-hero p { color: #94a3b8; font-size: 1.15rem; max-width: 620px; margin: 0 auto; line-height: 1.8; position: relative; }
.about-mission { padding: 80px 0; background: white; }
.about-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto; }
.about-mission-content h2 { font-size: 2rem; font-weight: 700; color: #0f172a; margin-bottom: 20px; letter-spacing: -0.5px; }
.about-mission-content p { color: #475569; font-size: 1rem; line-height: 1.8; margin-bottom: 14px; }
.about-mission-content .highlight { color: #e94560; font-weight: 600; }
.about-mission-visual {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9); border-radius: 16px; padding: 40px;
  border: 1px solid #e8ecf4; position: relative; overflow: hidden;
}
.about-mission-visual::before {
  content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(233,69,96,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.mission-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mission-stat { text-align: center; padding: 24px 12px; }
.mission-stat .num { font-size: 2.2rem; font-weight: 800; color: #0f172a; }
.mission-stat .num span { color: #e94560; }
.mission-stat .lbl { font-size: 0.8rem; color: #64748b; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.about-stats { padding: 64px 0; background: #0b1120; position: relative; overflow: hidden; }
.about-stats::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(233,69,96,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.about-stats h2 { text-align: center; font-size: 1.6rem; color: white; margin-bottom: 32px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 860px; margin: 0 auto; }
.stat-card { text-align: center; padding: 32px 16px; border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; background: rgba(255,255,255,0.03); transition: transform 0.3s, background 0.3s; }
.stat-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.06); }
.stat-card .number { font-size: 2.4rem; font-weight: 800; color: #e94560; }
.stat-card .label { font-size: 0.9rem; color: #94a3b8; margin-top: 8px; font-weight: 500; }
.about-offerings { padding: 80px 0; background: white; }
.about-offerings h2 { text-align: center; font-size: 1.8rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.about-offerings .section-sub { text-align: center; color: #64748b; margin-bottom: 48px; font-size: 1rem; }
.offerings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.offering-card {
  padding: 32px 20px; border-radius: 14px; border: 1px solid #e8ecf4;
  text-align: center; transition: all 0.3s; background: #fafbfc;
}
.offering-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); border-color: #d1d9e6; }
.offering-card .icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.offering-card h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.offering-card p { font-size: 0.85rem; color: #64748b; line-height: 1.6; }
.about-values { padding: 80px 0; background: #f8fafc; }
.about-values h2 { text-align: center; font-size: 1.8rem; font-weight: 700; color: #0f172a; margin-bottom: 48px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.value-card {
  padding: 32px 24px; border-radius: 14px; background: white; border: 1px solid #e8ecf4;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.value-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #e94560, #f0b429); opacity: 0; transition: opacity 0.3s; }
.value-card:hover::before { opacity: 1; }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.value-card .v-icon { font-size: 1.5rem; margin-bottom: 12px; display: block; }
.value-card h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.value-card p { font-size: 0.85rem; color: #64748b; line-height: 1.6; }
.about-team-section { padding: 80px 0; background: white; }
.about-team-section h2 { text-align: center; font-size: 1.8rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.about-team-section .section-sub { text-align: center; color: #64748b; margin-bottom: 48px; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 600px; margin: 0 auto; }
.team-card {
  text-align: center; padding: 40px 24px; border-radius: 16px;
  background: #fafbfc; border: 1px solid #e8ecf4; transition: all 0.3s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.team-card .avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #e94560, #d63851);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 1.8rem; color: white; font-weight: 700;
}
.team-card h3 { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.team-card .role { font-size: 0.85rem; color: #64748b; }
.about-cta { padding: 72px 0; background: linear-gradient(135deg, #0b1120, #162044); text-align: center; position: relative; overflow: hidden; }
.about-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(233,69,96,0.06) 0%, transparent 60%); pointer-events: none; }
.about-cta h2 { font-size: 2rem; font-weight: 700; color: white; margin-bottom: 12px; }
.about-cta p { color: #94a3b8; max-width: 500px; margin: 0 auto 24px; font-size: 1rem; line-height: 1.7; }
.about-cta .btn-primary { display: inline-block; }
@media (max-width: 768px) {
  .about-hero h1 { font-size: 2rem; }
  .about-mission-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .offerings-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .mission-stat-row { grid-template-columns: 1fr 1fr; }
}

/* ===== Services page (services.php) ===== */
.services-hero {
  padding: 80px 0 56px; text-align: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}
.services-hero h1 { font-size: 2.5rem; color: white; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; max-width: 700px; margin-left: auto; margin-right: auto; }
.services-hero p { color: #94a3b8; font-size: 1.1rem; max-width: 640px; margin: 0 auto 24px; line-height: 1.7; }
.services-hero .btn-primary, .services-hero .btn-outline { display: inline-block; margin: 4px 6px; }
.services-hero .btn-outline {
  display: inline-block; padding: 14px 28px; font-size: 0.95rem; font-weight: 600; border-radius: 8px; text-decoration: none;
  border: 2px solid rgba(255,255,255,0.2); color: white; background: transparent; transition: all 0.2s;
}
.services-hero .btn-outline:hover { border-color: white; background: rgba(255,255,255,0.05); }
.services-overview { padding: 72px 0; background: white; }
.services-overview h2 { text-align: center; font-size: 1.8rem; color: #0f172a; margin-bottom: 48px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { padding: 32px 24px; border-radius: 12px; border: 1px solid #e8ecf4; background: #fafbfc; transition: transform 0.2s, box-shadow 0.2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.06); }
.service-icon { margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; color: #0f172a; margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; color: #64748b; line-height: 1.7; }
.pricing-section { padding: 72px 0; background: #f8fafc; }
.pricing-section h2 { text-align: center; font-size: 1.8rem; color: #0f172a; margin-bottom: 8px; }
.section-sub { text-align: center; color: #64748b; margin-bottom: 48px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.pricing-card { border-radius: 12px; border: 1px solid #e2e8f0; background: white; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.06); }
.pricing-card.featured { border-color: #e94560; transform: scale(1.03); position: relative; }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-popular { background: #e94560; color: white; text-align: center; padding: 6px; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.pricing-header { padding: 24px 24px 16px; text-align: center; }
.pricing-header h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pricing-amount { font-size: 2rem; font-weight: 800; color: #0f172a; }
.pricing-desc { font-size: 0.8rem; color: #94a3b8; margin-top: 4px; }
.pricing-features { list-style: none; padding: 0 24px 24px; margin: 0; }
.pricing-features li { padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: 0.9rem; color: #475569; }
.pricing-features li::before { content: '\2713'; color: #16a34a; margin-right: 8px; font-weight: 700; }
.pricing-btn { display: block; margin: 0 24px 24px; text-align: center; }
.services-cta { padding: 72px 0; background: linear-gradient(135deg, #0f172a, #1e293b); text-align: center; }
.services-cta h2 { font-size: 1.8rem; color: white; max-width: 600px; margin: 0 auto 16px; }
.services-cta p { color: #94a3b8; max-width: 560px; margin: 0 auto 24px; font-size: 1.05rem; line-height: 1.7; }
.services-cta .btn-primary { display: inline-block; }
@media (max-width: 768px) {
  .services-hero h1 { font-size: 1.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
}

/* ===== Contact page (contact.php) ===== */
.contact-page { max-width: 900px; margin: 0 auto; padding: 40px 20px 80px; }
.contact-header { text-align: center; margin-bottom: 40px; }
.contact-header h1 { font-size: 2rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.contact-header p { color: #64748b; font-size: 1.05rem; max-width: 500px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { padding-top: 20px; }
.contact-info h2 { font-size: 1.3rem; font-weight: 700; color: #0f172a; margin-bottom: 16px; }
.contact-info p { color: #475569; line-height: 1.7; margin-bottom: 24px; }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.contact-detail svg { flex-shrink: 0; margin-top: 2px; }
.contact-detail h3 { font-size: 1rem; color: #0f172a; margin-bottom: 4px; }
.contact-detail p, .contact-detail a { font-size: 0.9rem; color: #475569; line-height: 1.5; }
.contact-form { background: #f8fafc; border-radius: 12px; padding: 32px; border: 1px solid #e8ecf4; }
.contact-form h2 { font-size: 1.3rem; font-weight: 700; color: #0f172a; margin-bottom: 20px; }
.contact-form label { display: block; font-size: 0.9rem; font-weight: 600; color: #0f172a; margin-bottom: 6px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 0.95rem; box-sizing: border-box; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form button { width: 100%; padding: 14px; background: #2563eb; color: white; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; }
.contact-form button:hover { background: #1d4ed8; }
.contact-success { text-align: center; padding: 40px 20px; }
.contact-success h2 { color: #16a34a; font-size: 1.5rem; margin-bottom: 8px; }
.contact-success p { color: #64748b; }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

/* ===== Dashboard (dashboard.php) ===== */
.dashboard-body {
  display: flex;
  min-height: calc(100vh - 60px);
  background: var(--db-bg, #f1f5f9);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.dashboard-sidebar {
  width: 260px;
  background: var(--db-sidebar, #0f172a);
  color: #fff;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.dash-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dash-sidebar-header h2 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.dash-sidebar-header p { font-size: 0.8rem; color: #94a3b8; margin: 4px 0 0; }
.dash-nav { padding: 12px 0; flex: 1; }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.15s;
}
.dash-nav a:hover, .dash-nav a.active {
  background: #1e293b;
  color: #fff;
}
.dash-nav a.active {
  border-left: 3px solid var(--db-primary, #2563eb);
  padding-left: 17px;
}
.dash-nav a .icon { width: 20px; text-align: center; font-size: 1.1rem; flex-shrink: 0; }
.dash-sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.dash-sidebar-footer a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash-sidebar-footer a:hover { color: #fff; }
.dash-main {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
  min-width: 0;
}
.dash-main h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--db-text, #0f172a);
  margin: 0 0 4px;
}
.dash-main .subtitle {
  color: var(--db-text-secondary, #64748b);
  font-size: 0.95rem;
  margin: 0 0 28px;
}
.dash-main .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.dash-main .stat-card {
  background: var(--db-card, #fff);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid var(--db-border, #e2e8f0);
  transition: transform 0.15s, box-shadow 0.15s;
}
.dash-main .stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.dash-main .stat-card .stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--db-text-secondary, #64748b);
  font-weight: 600;
}
.dash-main .stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--db-text, #0f172a);
  margin-top: 6px;
}
.dash-main .stat-card .stat-icon {
  float: right;
  font-size: 1.5rem;
  opacity: 0.7;
}
.dash-main .section-card {
  background: var(--db-card, #fff);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid var(--db-border, #e2e8f0);
  margin-bottom: 28px;
  overflow: hidden;
}
.dash-main .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--db-border, #e2e8f0);
}
.dash-main .section-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--db-text, #0f172a);
  margin: 0;
}
.dash-main .section-header .section-action {
  font-size: 0.85rem;
  color: var(--db-primary, #2563eb);
  text-decoration: none;
  font-weight: 500;
}
.dash-main .section-header .section-action:hover { text-decoration: underline; }
.dash-table {
  width: 100%;
  border-collapse: collapse;
}
.dash-table th {
  text-align: left;
  padding: 12px 24px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--db-text-secondary, #64748b);
  font-weight: 600;
  background: #f8fafc;
  border-bottom: 1px solid var(--db-border, #e2e8f0);
}
.dash-table td {
  padding: 14px 24px;
  font-size: 0.9rem;
  color: var(--db-text, #0f172a);
  border-bottom: 1px solid var(--db-border, #e2e8f0);
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: #f8fafc; }
.dash-table .empty td {
  text-align: center;
  padding: 40px 24px;
  color: var(--db-text-secondary, #64748b);
  font-size: 0.9rem;
}
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}
.status-active { background: #dcfce7; color: #166534; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-inactive,
.status-rejected { background: #fee2e2; color: #991b1b; }
.status-approved { background: #dbeafe; color: #1e40af; }
.btn-dash-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--db-primary, #2563eb);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-dash-primary:hover { background: var(--db-primary-dark, #1d4ed8); }
.btn-dash-ghost {
  color: var(--db-primary, #2563eb);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}
.btn-dash-ghost:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .dashboard-sidebar { display: none; }
  .dash-main { padding: 20px 16px; }
  .dash-main .stats-grid { grid-template-columns: 1fr 1fr; }
  .dash-main .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .dash-table th, .dash-table td { padding: 10px 16px; }
}

/* ===== Admin Panel (admin/*.php) ===== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: #0f172a; color: #fff; flex-shrink: 0; display: flex; flex-direction: column; }
.admin-sidebar-header { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-sidebar-header h2 { font-size: 1rem; font-weight: 700; }
.admin-sidebar-header p { font-size: 0.75rem; color: #94a3b8; margin-top: 2px; }
.admin-sidebar-nav { padding: 12px 0; flex: 1; }
.admin-sidebar-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: #cbd5e1; text-decoration: none; font-size: 0.875rem; transition: all 0.15s; }
.admin-sidebar-nav a:hover, .admin-sidebar-nav a.active { background: #1e293b; color: #fff; }
.admin-sidebar-nav a.active { border-left: 3px solid #2563eb; padding-left: 17px; }
.admin-sidebar-nav a .icon { width: 18px; text-align: center; flex-shrink: 0; }
.admin-sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.08); }
.admin-sidebar-footer a { color: #94a3b8; text-decoration: none; font-size: 0.8rem; display: flex; align-items: center; gap: 6px; }
.admin-sidebar-footer a:hover { color: #fff; }
.admin-main { flex: 1; padding: 28px 32px; overflow-y: auto; min-width: 0; }
.admin-main h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.admin-subtitle { color: #64748b; font-size: 0.9rem; margin-bottom: 24px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.admin-stats a { text-decoration: none; }
.admin-stat-card { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 10px; padding: 16px 18px; text-decoration: none; border: 1px solid #e2e8f0; transition: transform 0.15s, box-shadow 0.15s; }
.admin-stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.admin-stat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.admin-stat-value { font-size: 1.4rem; font-weight: 700; color: #0f172a; line-height: 1; }
.admin-stat-label { font-size: 0.75rem; color: #64748b; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
.admin-card { background: #fff; border-radius: 10px; padding: 20px 24px; border: 1px solid #e2e8f0; }
.admin-card h3 { font-size: 1rem; font-weight: 600; }
.admin-table-wrap { background: #fff; border-radius: 10px; border: 1px solid #e2e8f0; overflow-x: auto; margin-top: 16px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 12px 16px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: #64748b; font-weight: 600; background: #f8fafc; border-bottom: 1px solid #e2e8f0; white-space: nowrap; }
.admin-table td { padding: 12px 16px; font-size: 0.875rem; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f8fafc; }
.admin-table .empty td { text-align: center; padding: 32px 16px; color: #94a3b8; }
.admin-pagination { display: flex; gap: 6px; justify-content: center; padding: 16px; border-top: 1px solid #e2e8f0; }
.admin-pagination a, .admin-pagination span { padding: 6px 12px; border-radius: 6px; font-size: 0.85rem; text-decoration: none; color: #0f172a; }
.admin-pagination a:hover { background: #f1f5f9; }
.admin-pagination .active { background: #2563eb; color: #fff; }
.admin-btn { display: inline-block; padding: 6px 14px; border-radius: 6px; font-size: 0.8rem; font-weight: 500; text-decoration: none; border: none; cursor: pointer; }
.admin-btn-primary { background: #2563eb; color: #fff; }
.admin-btn-primary:hover { background: #1d4ed8; }
.admin-btn-success { background: #16a34a; color: #fff; }
.admin-btn-success:hover { background: #15803d; }
.admin-btn-danger { background: #dc2626; color: #fff; }
.admin-btn-danger:hover { background: #b91c1c; }
.admin-btn-outline { display: block; padding: 8px 14px; border-radius: 6px; font-size: 0.85rem; text-decoration: none; border: 1px solid #e2e8f0; color: #0f172a; text-align: center; }
.admin-btn-outline:hover { background: #f8fafc; }
.admin-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.admin-filter-bar input, .admin-filter-bar select { padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 0.85rem; }
.admin-filter-bar input { flex: 1; min-width: 200px; }
.admin-filter-bar button { padding: 8px 16px; }
.admin-badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 0.7rem; font-weight: 600; text-transform: capitalize; }
.admin-badge-green { background: #dcfce7; color: #166534; }
.admin-badge-yellow { background: #fef3c7; color: #92400e; }
.admin-badge-red { background: #fee2e2; color: #991b1b; }
.admin-badge-blue { background: #dbeafe; color: #1e40af; }
@media (max-width: 768px) {
  .admin-sidebar { display: none; }
  .admin-main { padding: 20px 16px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}
