:root {
  --bg: #f9fafb;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --card: #ffffff;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
  --bg: #111827;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #60a5fa;
  --accent-dark: #3b82f6;
  --card: #1f2937;
  --border: #374151;
}

/* âœ… Critical: predictable sizing everywhere */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.container-wide{
  max-width: 1320px;
}


h1, h2, h3, h4, h5 {
  margin-bottom: 0.5em;
}

p {
  margin-top: 0;
  color: var(--muted);
}

/* Legacy header styles (kept for other pages that may still use them) */
header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s ease;
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 30px;
  height: 30px;
  background: linear-gradient(to top right, var(--accent), var(--accent-dark));
  border-radius: 8px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.cta {
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.guide-cta {
  border: 1px dashed rgba(0,0,0,.18);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,.70);
  transition: box-shadow .15s ease;
}

.guide-cta:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

#dark-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 1rem;
  color: var(--muted);
}

/* ------------------------------------
   HERO ROTATING SECTION WITH OVERLAY
------------------------------------ */

.hero-carousel {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay Gradient Background */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
  z-index: 0;
}

/* Overlay Text */
.hero-slide .overlay {
  position: absolute;
  bottom: 40px;
  left: 40px;
  color: white;
  z-index: 1;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.hero-slide .overlay h2 {
  font-size: 2.4rem;
  margin: 0;
}

.hero-slide .overlay p {
  font-size: 1.2rem;
  margin: 8px 0 0;
}

/* ------------------------------------
   FORM & INPUT ANIMATIONS
------------------------------------ */

.hero {
  padding: 60px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5em;
}

.hero form {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hero input,
.hero button {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.hero input:nth-child(1) { animation-delay: 0.4s; }
.hero input:nth-child(2) { animation-delay: 0.5s; }
.hero button { animation-delay: 0.6s; }

.hero input {
  padding: 10px 14px;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  min-width: 220px;
  background: var(--card);
  color: var(--text);
}

.hero button {
  padding: 10px 20px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.hero button:hover {
  background: var(--accent-dark);
  transform: scale(1.05);
}

.hero .container {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------
   HUB CARD SECTION
------------------------------------ */

.hub-links {
  padding: 60px 0 20px;
}

.grid.hub-options {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hub-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(30px);
}

.hub-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.hub-card .icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.hub-btn {
  margin-top: 14px;
  padding: 10px 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hub-btn:hover {
  background: var(--accent-dark);
}

/* ------------------------------------
   RESULTS SECTION + CARDS
------------------------------------ */

.grid.results {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 30px;
}

.result-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.result-card .badges {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 6px;
}

.rating {
  color: gold;
  font-size: 1.1rem;
}

/* ------------------------------------
   TAGS / FILTER CHIPS
------------------------------------ */

.tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.tags span {
  background: var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text);
}

/* ------------------------------------
   FOOTER (legacy)
------------------------------------ */

footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

footer a:hover {
  color: var(--text);
}

/* ------------------------------------
   SKELETON LOADING
------------------------------------ */

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.skeleton-card {
  height: 160px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

.hidden {
  display: none !important;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ------------------------------------
   RESPONSIVE
------------------------------------ */

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    flex-direction: column;
    gap: 12px;
  }

  .hero form {
    flex-direction: column;
  }

  .hero input,
  .hero button {
    width: 100%;
  }
}

.provider-form label {
  display: block;
  margin-top: 18px;
  font-weight: bold;
  color: var(--text);
}

.provider-form input,
.provider-form select,
.provider-form textarea {
  width: 100%;
  padding: 10px 14px;
  margin-top: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 1rem;
  color: var(--text);
}

.provider-form textarea {
  resize: vertical;
}

.provider-form input:focus,
.provider-form select:focus,
.provider-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}

/* ===== Header / Nav (new system) ===== */
.skip-link{
  position:absolute; left:-9999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto;
  padding:10px 12px; border-radius:10px;
  background:#fff; color:#111; z-index:9999;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

[data-theme="dark"] .site-header{
  background: rgba(15,23,42,.72);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: inherit;
}
.brand-logo{
  width:44px; height:44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-name{ font-weight: 800; letter-spacing: -.02em; }
.brand-tagline{ font-size: .85rem; color: var(--muted, #64748b); margin-top: 3px; }

.nav{ display:flex; align-items:center; gap: 10px; }
.nav-links{
  display:flex;
  align-items:center;
  gap: 14px;
  list-style:none;
  margin:0; padding:0;
}
.nav-links a{
  text-decoration:none;
  color: inherit;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  opacity: .92;
}
.nav-links a:hover{ background: rgba(37,99,235,.08); opacity: 1; }

.nav-links a.active{
  background: rgba(37,99,235,.12);
  opacity: 1;
}

.nav-cta{
  background: #2563eb;
  color: #fff !important;
  padding: 10px 14px !important;
  border-radius: 14px;
}
.nav-cta:hover{ filter: brightness(1.05); background:#2563eb; }

.theme-toggle{
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.7);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
}
[data-theme="dark"] .theme-toggle{
  border-color: rgba(255,255,255,.12);
  background: rgba(15,23,42,.6);
}

/* Mobile nav */
.nav-toggle{
  display:none;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.8);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.nav-toggle-bars{
  display:block; width:18px; height:2px; background:#111;
  position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after{
  content:""; position:absolute; left:0; width:18px; height:2px; background:#111;
}
.nav-toggle-bars::before{ top:-6px; }
.nav-toggle-bars::after{ top:6px; }

[data-theme="dark"] .nav-toggle{ background: rgba(15,23,42,.6); border-color: rgba(255,255,255,.12); }
[data-theme="dark"] .nav-toggle-bars,
[data-theme="dark"] .nav-toggle-bars::before,
[data-theme="dark"] .nav-toggle-bars::after{ background:#fff; }

@media (max-width: 860px){
  .nav-toggle{ display:inline-flex; align-items:center; }
  .nav-links{
    position: absolute;
    right: 16px;
    top: 70px;
    width: min(320px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,.12);
    display: none;
  }
  [data-theme="dark"] .nav-links{
    background: rgba(15,23,42,.96);
    border-color: rgba(255,255,255,.10);
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ width: 100%; }
}

/* ===== Footer (new system) ===== */
.site-footer{
  margin-top: 80px;
  padding: 42px 0 18px;
  border-top: 1px solid rgba(0,0,0,.06);
  background: rgba(2,6,23,.03);
}
[data-theme="dark"] .site-footer{
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

.footer-inner{
  display:grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 26px;
  align-items:start;
}
@media (max-width: 860px){
  .footer-inner{ grid-template-columns: 1fr; }
}

.footer-brand{
  display:flex; gap:10px; align-items:center;
  text-decoration:none; color:inherit; font-weight:800;
}
.footer-logo{
  width:34px; height:34px;
  border-radius: 10px;
  object-fit: cover;
}
.footer-desc{ color: var(--muted, #64748b); margin-top: 10px; max-width: 44ch; }

.site-footer h5{ margin: 0 0 10px; font-size: 1rem; }
.site-footer ul{ list-style:none; margin:0; padding:0; display:grid; gap: 8px; }
.site-footer a{ text-decoration:none; color: inherit; opacity:.9; }
.site-footer a:hover{ opacity:1; text-decoration: underline; }

.footer-bottom{
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.06);
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  color: var(--muted, #64748b);
}
[data-theme="dark"] .footer-bottom{ border-top-color: rgba(255,255,255,.08); }
.footer-dot{ opacity:.55; }

/* =========================================================
   PRICING / SHARED SECTION STYLES
========================================================= */

.muted { color: var(--muted); }

.pricing-hero{
  padding: 52px 0 18px;
  text-align: center;
}
.pricing-hero h2{ margin: 0 0 10px; }
.pricing-hero .lead{
  margin: 0 auto;
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 6px 0 16px;
  flex-wrap: wrap;
}
.section-head h3{ margin: 0; }
.section-head p{ margin: 0; }

.how-it-works{
  margin: 22px auto 0;
  max-width: 980px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 860px){
  .how-it-works{ grid-template-columns: 1fr; }
}
.how-step{
  display:flex;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.6);
}
[data-theme="dark"] .how-step{
  border-color: rgba(255,255,255,.10);
  background: rgba(15,23,42,.35);
}
.how-num{
  width: 34px; height: 34px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(37,99,235,.12);
  font-weight: 800;
}

.price-btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding: 11px 14px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 800;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 12px 24px rgba(37,99,235,.18);
}
.price-btn:hover{ filter: brightness(1.05); }

/* ===== Form layout improvements for List My Service ===== */
.req{ color:#ef4444; font-weight:900; margin-left:4px; }

/* âœ… Critical: allow grid children to shrink so inputs never overlap */
.form-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.form-grid > *{ min-width: 0; }     /* MOST IMPORTANT FIX */
.form-field{ display:block; min-width:0; }

.form-span-2{ grid-column: span 2; }
@media (max-width: 860px){
  .form-grid{ grid-template-columns: 1fr; }
  .form-span-2{ grid-column: auto; }
}

/* âœ… Keep label spacing sane inside grid (prevents weird vertical gaps) */
.form-grid .provider-form label,
.provider-form .form-grid label{
  margin-top: 0;
}

/* âœ… Ensure controls respect their container */
.provider-form input,
.provider-form select,
.provider-form textarea{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
}

.form-section{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.06);
}
[data-theme="dark"] .form-section{ border-top-color: rgba(255,255,255,.10); }

.form-h4{ margin: 0 0 6px; }

.plan-pills{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.pill{
  flex: 1;
  min-width: 220px;
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.7);
  cursor: pointer;
}
[data-theme="dark"] .pill{
  border-color: rgba(255,255,255,.12);
  background: rgba(15,23,42,.40);
}
.pill input{ transform: scale(1.1); }
.pill span{ display:flex; flex-direction:column; line-height:1.1; }
.pill small{ color: var(--muted); font-weight:700; margin-top: 4px; }

.upgrade-checks{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 860px){
  .upgrade-checks{ grid-template-columns: 1fr; }
}
.check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.6);
  cursor: pointer;
}
[data-theme="dark"] .check{
  border-color: rgba(255,255,255,.10);
  background: rgba(15,23,42,.35);
}
.check input{ margin-top: 4px; transform: scale(1.1); }
.check em{ font-style: normal; font-weight: 900; color: #2563eb; margin-left: 6px; }
.check small{ display:block; margin-top: 6px; color: var(--muted); }

/* =========================================================
   PRICING CARDS (restore pricing page layout)
   Add this at the VERY BOTTOM of style.css
========================================================= */

.pricing-section{
  padding: 26px 0 64px;
}

.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

@media (max-width: 980px){
  .pricing-grid{ grid-template-columns: 1fr; }
}

.price-card{
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.75);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  display:flex;
  flex-direction: column;
  min-height: 100%;
}

[data-theme="dark"] .price-card{
  border-color: rgba(255,255,255,.10);
  background: rgba(15,23,42,.40);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.price-card h4{
  margin: 0 0 6px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.price{
  margin: 0 0 10px;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}

.price span{
  font-size: .95rem;
  font-weight: 700;
  color: var(--muted);
  margin-left: 6px;
}

.card-blurb{
  margin: 0 0 14px;
  color: var(--muted);
}

.feature-list{
  margin: 0 0 14px;
  padding-left: 0;
  list-style: none;
  display:grid;
  gap: 8px;
}

.feature-list li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(15,23,42,.92);
}

[data-theme="dark"] .feature-list li{
  color: rgba(255,255,255,.90);
}

.price-btn{
  margin-top: auto; /* keeps CTA at bottom */
}

.price-card.popular{
  border-color: rgba(37,99,235,.35);
  background: rgba(37,99,235,.06);
}

.badge-top{
  position:absolute;
  top: 14px;
  right: 14px;
  font-size: .8rem;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37,99,235,.16);
  color: #1d4ed8;
}

[data-theme="dark"] .badge-top{
  color: #93c5fd;
  background: rgba(147,197,253,.14);
}

/* =========================================================
   UPGRADES + FAQ (restore pricing page layout)
   Paste at the VERY BOTTOM of style.css
========================================================= */

/* Upgrades section */
.upgrades-section{ padding: 10px 0 0; }

.upgrades-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 980px){
  .upgrades-grid{ grid-template-columns: 1fr; }
}

.upgrade-item{
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.6);
}

[data-theme="dark"] .upgrade-item{
  border-color: rgba(255,255,255,.10);
  background: rgba(15,23,42,.35);
}

.upgrade-top{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 8px;
}

.upgrade-price{
  font-weight: 900;
  color: #2563eb;
}

/* Upgrades CTA strip */
.upgrade-cta{
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(37,99,235,.06);
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}

[data-theme="dark"] .upgrade-cta{
  border-color: rgba(255,255,255,.10);
  background: rgba(37,99,235,.14);
}

/* FAQ section */
.faq-section{ padding-top: 10px; }

.faq-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 860px){
  .faq-grid{ grid-template-columns: 1fr; }
}

.faq-item{
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.6);
}

[data-theme="dark"] .faq-item{
  border-color: rgba(255,255,255,.10);
  background: rgba(15,23,42,.35);
}

.faq-item summary{
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker{ display:none; }

.faq-item p{
  margin: 10px 0 0;
  color: var(--muted);
}

/* =========================================================
   HOMEPAGE: Premium Split (scoped â€” safe for other pages)
   Append-only block. Does NOT override global .cta, .feature-list, etc.
========================================================= */

.home-split{ padding: 46px 0 58px; }

.home-intro{
  text-align: center;
  max-width: 980px;
  margin: 0 auto 18px;
}

.home-kicker{
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 10px;
  margin-bottom: 10px;
}

.home-pill{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
  font-weight: 850;
  font-size: .85rem;
}

[data-theme="dark"] .home-pill{
  border-color: rgba(255,255,255,.12);
  background: rgba(15,23,42,.40);
}

.home-kicker-dot{ opacity: .45; }
.home-kicker-muted{ opacity: .82; font-weight: 650; }

.home-intro h1{
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 2.4vw, 2.45rem);
  letter-spacing: -0.02em;
  color: var(--text);
}

.home-lead{
  margin: 0 auto 12px;
  max-width: 880px;
  line-height: 1.55;
  color: var(--muted);
}

.home-seo-links{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.home-seo-links a{
  font-weight: 850;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px dashed rgba(0,0,0,.35);
  padding-bottom: 2px;
  opacity: .95;
}

[data-theme="dark"] .home-seo-links a{
  border-bottom-color: rgba(255,255,255,.28);
}

.home-seo-links a:hover{ opacity: 1; }

/* Grid + cards */
.home-split-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 14px;
}
@media (min-width: 980px){
  .home-split-grid{ grid-template-columns: 1fr 1fr; }
}

.home-card{
  position: relative;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  padding: 20px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 14px 35px rgba(0,0,0,.06);
  overflow:hidden;
}

[data-theme="dark"] .home-card{
  border-color: rgba(255,255,255,.10);
  background: rgba(15,23,42,.40);
  box-shadow: 0 18px 45px rgba(0,0,0,.40);
}

.home-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(900px 240px at 14% 0%, rgba(37,99,235,.12), transparent 60%);
  pointer-events:none;
}
.home-card-provider::before{
  background: radial-gradient(900px 240px at 14% 0%, rgba(16,185,129,.12), transparent 60%);
}

.home-card:hover{
  transform: translateY(-2px);
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

.home-card-top{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  position: relative;
}

.home-icon-badge{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.80);
  color: rgba(37,99,235,.95);
}

[data-theme="dark"] .home-icon-badge{
  border-color: rgba(255,255,255,.12);
  background: rgba(15,23,42,.55);
}

.home-icon-provider{ color: rgba(16,185,129,.95); }

.home-card-title h2{
  margin: 0 0 4px;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.home-card-title p{
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

/* Features (scoped, avoids global .feature-list collision) */
.home-feature-list{
  list-style:none;
  padding: 0;
  margin: 14px 0 12px;
  display:grid;
  gap: 9px;
  position: relative;
}

.home-feature-list li{
  color: var(--text);
  opacity: .92;
  display:flex;
  align-items:flex-start;
  gap: 10px;
}

.home-check{
  display:inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.86);
  flex: 0 0 auto;
  margin-top: 1px;
}

[data-theme="dark"] .home-check{
  border-color: rgba(255,255,255,.12);
  background: rgba(15,23,42,.55);
}

/* CTAs (scoped, does NOT touch global .cta) */
.home-cta-row{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 10px;
  position: relative;
}

.home-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  text-decoration:none;
  font-weight: 900;
  background: #fff;
  color: var(--text);
}

[data-theme="dark"] .home-cta{
  border-color: rgba(255,255,255,.12);
  background: rgba(15,23,42,.55);
}

.home-cta:hover{
  filter: brightness(1.02);
  transform: translateY(-1px);
  transition: transform .15s ease, filter .15s ease;
}

.home-cta-primary{
  background: rgba(37,99,235,.12);
  border-color: rgba(37,99,235,.25);
}

.home-cta-primary.home-cta-provider{
  background: rgba(16,185,129,.14);
  border-color: rgba(16,185,129,.25);
}

@media (max-width: 520px){
  .home-cta{ width: 100%; }
}

/* Picker (scoped) */
.home-picker{
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.65);
  position: relative;
}

[data-theme="dark"] .home-picker{
  border-color: rgba(255,255,255,.10);
  background: rgba(15,23,42,.35);
}

.home-picker-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.home-mini-note{
  font-size: .92rem;
  opacity: .78;
  font-weight: 700;
  color: var(--muted);
}

.home-picker-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 980px){
  .home-picker-grid{ grid-template-columns: 1fr 1fr 1fr auto; align-items:end; }
}

.home-picker label{
  display:block;
  font-weight: 900;
  font-size: .92rem;
  margin-bottom: 6px;
  color: var(--text);
}

.home-picker select{
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  color: var(--text);
}

[data-theme="dark"] .home-picker select{
  border-color: rgba(255,255,255,.12);
  background: rgba(15,23,42,.55);
}

.home-picker-go button{
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  font-weight: 950;
  cursor:pointer;
  color: var(--text);
}

[data-theme="dark"] .home-picker-go button{
  border-color: rgba(255,255,255,.12);
  background: rgba(15,23,42,.55);
}

.home-fineprint{
  font-size: .92rem;
  opacity: .84;
  margin: 10px 0 0;
  line-height: 1.45;
  color: var(--muted);
}

.home-mini-links{
  margin-top: 10px;
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
}

.home-mini-links a{
  font-weight: 900;
  text-decoration:none;
  color: inherit;
  border-bottom: 1px dashed rgba(0,0,0,.35);
}

[data-theme="dark"] .home-mini-links a{
  border-bottom-color: rgba(255,255,255,.28);
}

/* Provider trust strip */
.home-trust-strip{
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.65);
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
  justify-content:flex-start;
  position: relative;
}

[data-theme="dark"] .home-trust-strip{
  border-color: rgba(255,255,255,.10);
  background: rgba(15,23,42,.35);
}

.home-trust-item{ font-weight: 850; opacity: .92; color: var(--text); }
.home-trust-dot{ opacity: .45; }

/* =========================================================
   HOMEPAGE refinements (append-only)
   - Softer intro (not sticky)
   - Simpler cards (less busy)
========================================================= */

.home-intro-soft{
  position: static !important; /* ensures not sticky even if something upstream sets it */
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 26px;
  padding: 22px 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.06);
  backdrop-filter: blur(8px);
  margin: 16px auto 22px;
}

[data-theme="dark"] .home-intro-soft{
  background: rgba(15,23,42,.38);
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
}

/* Reduce the â€œboxyâ€ feeling and tighten spacing */
.home-split-grid-simple{ margin-top: 8px; }
.home-card-simple{ padding: 18px; }
.home-card-simple .home-feature-list{ margin: 12px 0 10px; gap: 8px; }

/* Make CTAs more decisive and reduce button clutter */
.home-cta-row-simple{ margin-top: 10px; }
.home-cta-row-simple .home-cta{ min-width: 220px; }
@media (max-width: 520px){
  .home-cta-row-simple .home-cta{ width: 100%; min-width: unset; }
}

/* Slightly calm the link row under the intro */
.home-seo-links a{
  border-bottom-color: rgba(0,0,0,.25);
  opacity: .9;
}
.home-seo-links a:hover{ opacity: 1; }

/* Soften overall card look a touch */
.home-card{
  border-radius: 24px;
}

/* ==============================
   DIRECTORY PAGES (HLE) - LAYOUT
   ============================== */

/* Two-column layout: listings left, sidebar right */
.dir-layout{
  display:grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px) !important;
  gap: 16px;
  align-items:start;
}
.dir-results, .dir-side { min-width: 0; }
.dir-results * { min-width: 0; word-break: break-word; }

@media (max-width: 1400px){
  .dir-layout{ grid-template-columns: 1fr !important; }
}

/* Sidebar: stack Map + FAQs (and anything else) */
.dir-side{
  display:grid;
  gap: 12px;
  position: relative;
}
@media (min-width: 821px){
  .dir-side{ position: sticky; top: 14px; }
}

.dir-side .side-card{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,.70);
  box-shadow: 0 10px 25px rgba(0,0,0,.05);
}
[data-theme="dark"] .dir-side .side-card{
  border-color: rgba(255,255,255,.12);
  background: rgba(15,23,42,.40);
}

.map-embed{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.08);
  height: 240px;
}
.map-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   FEATURED CARDS — compact stacked layout (GLOBAL)
   Supports 150–200 words, website link, click-to-call
========================================================= */

.dir-featured{
  padding: 12px;
  margin: 12px 0;
}

#featured-slot.results-grid{
  display: grid;
  gap: 10px;
}

.dir-featured .result-card{
  padding: 12px 14px;
  border-radius: 14px;
}

.dir-featured .card-title{
  margin: 6px 0 6px;
  line-height: 1.15;
}

.dir-featured .card-desc{
  margin: 0 0 10px;
  line-height: 1.45;
}

.dir-featured .badge-row{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.dir-featured .card-meta{
  margin-top: 8px;
  display: grid;
  gap: 4px;
}

.dir-featured .meta-item{
  margin: 0;
  line-height: 1.35;
}

.dir-featured .card-actions{
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dir-featured .card-actions .dir-btn{
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
}

/* ==============================
   INCLUDE LISTINGS (split-card)
   ============================== */

.listings-wrap{
  display:grid;
  gap: 14px;
}

/* Card */
.split-card{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}
[data-theme="dark"] .split-card{
  border-color: rgba(255,255,255,.12);
  background: rgba(15,23,42,.40);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

/* Top row */
.split-card-top{
  display:flex;
  justify-content: space-between;
  align-items:flex-start;
  gap: 12px;
}
.split-card h2{
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.split-card-desc{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

/* Meta grid */
.split-card-meta{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}
@media (max-width: 560px){
  .split-card-meta{ grid-template-columns: 1fr; }
}
.split-card-meta dt{
  font-size: .82rem;
  font-weight: 900;
  opacity: .85;
  margin-bottom: 2px;
}
.split-card-meta dd{
  margin: 0;
  color: var(--text);
}
.split-card-meta a{
  color: inherit;
  text-decoration:none;
  border-bottom: 1px dashed rgba(0,0,0,.25);
}
[data-theme="dark"] .split-card-meta a{
  border-bottom-color: rgba(255,255,255,.22);
}
.split-card-meta a:hover{ opacity: 1; }

/* =========================================================
   Featured cards (split-card) — compact stacked layout
   Applies to real featured includes + placeholders
========================================================= */

.dir-featured .featured-wrap{ gap: 10px !important; } /* overrides inline gap:14px */

.dir-featured .split-card.is-featured{
  padding: 12px 14px;        /* tighter than default split-card */
  border-radius: 14px;
}

/* tighten title/desc spacing */
.dir-featured .split-card.is-featured h2{
  margin: 6px 0 0 !important;
  font-size: 1.1rem !important;
  line-height: 1.15;
}

.dir-featured .split-card.is-featured .split-card-desc,
.dir-featured .split-card.is-featured p.muted{
  margin-top: 8px !important;
  line-height: 1.45;
}

/* tighten action row */
.dir-featured .split-card.is-featured .dir-btn{
  padding: 8px 12px;
  border-radius: 12px;
  font-size: .95rem;
}

/* Badges */
.split-card-badges{
  display:flex;
  gap: 8px;
  flex-wrap:wrap;
  margin-top: 6px;
}
.split-badge{
  display:inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(37,99,235,.10);
  font-weight: 900;
  font-size: .78rem;
}
[data-theme="dark"] .split-badge{
  border-color: rgba(255,255,255,.12);
  background: rgba(37,99,235,.18);
}

/* ==============================
   DIRECTORY FAQs (sidebar)
   ============================== */

.dir-faq details{
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.65);
  border-radius: 14px;
  padding: 10px 12px;
}
[data-theme="dark"] .dir-faq details{
  border-color: rgba(255,255,255,.10);
  background: rgba(15,23,42,.35);
}
.dir-faq summary{
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}
.dir-faq summary::-webkit-details-marker{ display:none; }
.dir-faq p{
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

/* ==============================
   DIRECTORY BUTTONS (dir-btn)
   ============================== */
.dir-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.85);
  color: var(--text);
  text-decoration:none;
  font-weight: 900;
  line-height: 1;
  cursor:pointer;
}
[data-theme="dark"] .dir-btn{
  border-color: rgba(255,255,255,.12);
  background: rgba(15,23,42,.55);
  color: var(--text);
}

.dir-btn-primary{
  background: rgba(37,99,235,.14);
  border-color: rgba(37,99,235,.28);
}

.dir-btn{
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.dir-btn:hover{
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.dir-btn-primary:hover{
  background: rgba(37,99,235,.18);
  border-color: rgba(37,99,235,.40);
}

.dir-btn-outline{
  background: rgba(255,255,255,.80);
}
[data-theme="dark"] .dir-btn-outline{
  background: rgba(15,23,42,.45);
}

.promo-banner {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #f0f9ff;
  border: 1px solid #c7e0ff;
  font-weight: 600;
  text-align: center;
}
.promo-inline {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid rgba(0,0,0,.08);
  font-size: .95rem;
}
.coming-soon {
  opacity: 0.65;
  cursor: default;
  pointer-events: none;
  background: rgba(0,0,0,.03);
}
.waitlist-card{
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.85);
}

.waitlist-card h3{
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.waitlist-card p{
  margin: 0 0 12px;
  max-width: 78ch;
}

.waitlist-form{
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.waitlist-form .row{
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px){
  .waitlist-form .row{
    grid-template-columns: 1fr 1fr;
  }
}

.waitlist-form label{
  display:block;
  font-weight: 600;
  margin-bottom: 6px;
}

.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
}

.waitlist-form textarea{
  min-height: 88px;
  resize: vertical;
}

.waitlist-actions{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.waitlist-note{
  font-size: .9rem;
  opacity: .8;
}

.unclaimed-badge {
  background: #fff3cd;
  color: #856404;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 8px;
}

.btn-claim {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  font-size: 0.85rem;
  border-radius: 6px;
  background: #528557;
  color: #fff;
  text-decoration: none;
}

.btn-claim:hover {
  opacity: 0.9;
}
