/* =============================================
   STARTUP BOOST — Directory Page
   Claude Palette: Crail #C15F3C | Cloudy #B1ADA1 | Pampas #F4F3EE | White #FFF
   ============================================= */

.sb-page {
  background: #F4F3EE;
  color: #2D2926;
  min-height: 100%;
  padding-bottom: 0;
}

/* ── Hero — warm gradient with texture ── */
.sb-hero {
  padding: 36px 24px 28px;
  text-align: center;
  background: linear-gradient(160deg, #FFFFFF 0%, #faf5f0 40%, #f7ede4 100%);
  border-bottom: 1px solid rgba(193, 95, 60, 0.08);
  position: relative;
  overflow: hidden;
}

.sb-hero::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(193,95,60,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.sb-hero::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(177,173,161,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.sb-hero h1 {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: #2D2926;
  margin: 0 0 10px;
  position: relative;
}

.sb-hero-highlight {
  color: #C15F3C;
}

.sb-hero-sub {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #6B6560;
  max-width: 520px;
  margin: 0 auto 16px;
  position: relative;
}
.sb-hero-sub strong {
  color: #2D2926;
}

.sb-hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── Hero inline steps ── */
.sb-hero-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 16px;
  position: relative;
  flex-wrap: wrap;
}

.sb-hero-step {
  font-size: 0.82rem;
  font-weight: 600;
  color: #2D2926;
  background: rgba(193, 95, 60, 0.06);
  padding: 4px 12px;
  border-radius: 6px;
}
.sb-hero-step strong {
  color: #C15F3C;
}

.sb-hero-step-arrow {
  color: #B1ADA1;
  font-size: 0.9rem;
}

/* ── Buttons with warmth ── */
.sb-page .sb-btn-primary {
  background: linear-gradient(135deg, #C15F3C, #d4795a) !important;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 24px;
  border-radius: 10px;
  text-transform: none;
  box-shadow: 0 4px 16px rgba(193, 95, 60, 0.2);
  transition: box-shadow 0.2s, transform 0.2s;
  white-space: nowrap;
}
.sb-page .sb-btn-primary:hover {
  box-shadow: 0 6px 24px rgba(193, 95, 60, 0.3);
  transform: translateY(-1px);
}

.sb-page .sb-btn-outline {
  border-color: rgba(193, 95, 60, 0.3) !important;
  color: #C15F3C !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 24px;
  border-radius: 10px;
  text-transform: none;
  transition: border-color 0.2s, background 0.2s;
}
.sb-page .sb-btn-outline:hover {
  border-color: #C15F3C !important;
  background: rgba(193, 95, 60, 0.04) !important;
}

/* ── Sections ── */
.sb-section {
  padding: 40px 24px;
}

.sb-section-title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 800;
  color: #2D2926;
  text-align: center;
  margin: 0 0 8px;
}

.sb-section-sub {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #6B6560;
  text-align: center;
  max-width: 480px;
  margin: 0 auto 28px;
}

/* ── Directory Grid ── */
.sb-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.sb-load-more {
  text-align: center;
  margin-top: 28px;
}

.sb-listing-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #FFFFFF;
  border: 1px solid rgba(177, 173, 161, 0.2);
  border-radius: 14px;
  padding: 22px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
}
.sb-listing-card:hover {
  border-color: rgba(193, 95, 60, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

.sb-listing-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sb-listing-logo {
  width: 44px; height: 44px; border-radius: 10px;
  object-fit: cover; border: 1px solid rgba(177, 173, 161, 0.2);
  flex-shrink: 0;
}

.sb-listing-logo-ph {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(193,95,60,0.08), rgba(193,95,60,0.03));
  border: 1px solid rgba(193, 95, 60, 0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sb-listing-logo-ph svg { font-size: 20px; color: #C15F3C; }

.sb-listing-info { flex: 1; min-width: 0; }
.sb-listing-info h3 {
  font-size: 0.95rem; font-weight: 700; color: #2D2926;
  margin: 0 0 3px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  display: flex; align-items: center; gap: 6px;
}

.sb-listing-dr {
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #C15F3C, #d4795a);
  padding: 1px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.sb-listing-cat {
  font-size: 0.68rem; font-weight: 600; color: #C15F3C;
  text-transform: uppercase; letter-spacing: 0.06em;
}

.sb-listing-verified {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(74, 163, 99, 0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sb-listing-verified svg { font-size: 14px; color: #4aa363; }

.sb-listing-desc {
  font-size: 0.85rem; line-height: 1.5;
  color: #6B6560; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* ── DR Service Grid ── */
.sb-dr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.sb-dr-card {
  background: #FFFFFF;
  border: 1px solid rgba(177, 173, 161, 0.18);
  border-radius: 16px;
  padding: 28px 22px 22px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sb-dr-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.sb-dr-card-popular {
  border-color: #C15F3C;
}

.sb-dr-popular-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: #C15F3C;
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 10px;
  border-radius: 0 0 8px 8px;
}

/* DR ring */
.sb-dr-ring-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.sb-dr-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.sb-dr-ring-val {
  font-size: 1.6rem;
  font-weight: 900;
  color: #2D2926;
  line-height: 1;
  letter-spacing: -0.02em;
}

.sb-dr-ring-sub {
  font-size: 0.62rem;
  font-weight: 700;
  color: #B1ADA1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sb-dr-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2D2926;
  margin: -8px 0 0;
}

.sb-dr-desc {
  font-size: 0.82rem;
  color: #6B6560;
  line-height: 1.55;
  margin: 0;
}

.sb-dr-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.sb-dr-features li {
  font-size: 0.8rem;
  color: #6B6560;
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}

.sb-dr-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C15F3C;
  opacity: 0.45;
}

/* Pricing */
.sb-dr-prices {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid #F4F3EE;
  border-bottom: 1px solid #F4F3EE;
}

.sb-dr-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sb-dr-price-tag {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2D2926;
}

.sb-dr-price-note {
  font-size: 0.75rem;
  color: #B1ADA1;
  font-weight: 500;
}

.sb-dr-price-row-inst .sb-dr-price-tag {
  color: #C15F3C;
}

.sb-dr-price-row-inst .sb-dr-price-note {
  color: #6B6560;
}

.sb-dr-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.sb-dr-btn-full {
  background: linear-gradient(135deg, #C15F3C, #d4795a) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  border-radius: 10px !important;
  text-transform: none !important;
  padding: 10px 16px !important;
  box-shadow: none !important;
}
.sb-dr-btn-full:hover {
  box-shadow: 0 4px 14px rgba(193, 95, 60, 0.25) !important;
}

.sb-dr-btn-installment-primary {
  border-color: rgba(193, 95, 60, 0.35) !important;
  color: #C15F3C !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  border-radius: 10px !important;
  text-transform: none !important;
  padding: 9px 16px !important;
}
.sb-dr-btn-installment-primary:hover {
  border-color: #C15F3C !important;
  background: rgba(193, 95, 60, 0.04) !important;
}

/* ── FAQ ── */
.sb-faq-section {
  background: #FFFFFF;
}

.sb-faq-list {
  max-width: 600px;
  margin: 20px auto 0;
}

.sb-faq-item {
  border-bottom: 1px solid rgba(177, 173, 161, 0.2);
}

.sb-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2D2926;
  text-align: left;
  font-family: inherit;
  gap: 12px;
}
.sb-faq-q:hover {
  color: #C15F3C;
}

.sb-faq-toggle {
  font-size: 1.2rem;
  font-weight: 700;
  color: #C15F3C;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.sb-faq-a {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #6B6560;
  margin: 0 0 16px;
  padding: 0;
}

/* ── Badge Brag Section ── */
.sb-badge-brag {
  display: flex;
  gap: 28px;
  align-items: center;
  background: linear-gradient(160deg, #FFFFFF 0%, #fdf9f6 100%);
  border: 1px solid rgba(193, 95, 60, 0.12);
  border-radius: 16px;
  padding: 28px;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.sb-badge-brag::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(193,95,60,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.sb-badge-brag-img { flex-shrink: 0; position: relative; }
.sb-badge-brag-img img {
  width: 160px;
  height: auto;
  border-radius: 12px;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(193,95,60,0.1));
}

.sb-badge-brag-content { flex: 1; min-width: 0; position: relative; }

.sb-badge-brag-content h2 {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #2D2926;
  margin: 0 0 10px;
}

.sb-badge-brag-content > p {
  font-size: 0.84rem;
  line-height: 1.6;
  color: #6B6560;
  margin: 0 0 12px;
}

.sb-badge-brag-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.sb-badge-brag-perks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.82rem;
  color: #6B6560;
  line-height: 1.5;
}

.sb-badge-brag-perks li svg {
  font-size: 17px;
  color: #C15F3C;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Sticky Mobile CTA ── */
.sb-sticky-cta {
  display: none;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .sb-hero { padding: 24px 16px 20px; }
  .sb-section { padding: 32px 16px; }

  .sb-badge-brag {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
    gap: 16px;
  }
  .sb-badge-brag-img img { width: 140px; margin: 0 auto; }
  .sb-badge-brag-perks li { justify-content: center; }
  .sb-directory-grid { grid-template-columns: 1fr; }
  .sb-dr-grid { grid-template-columns: 1fr; }

  /* Sticky CTA visible on mobile */
  .sb-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    padding: 10px 16px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    background: rgba(244, 243, 238, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(193, 95, 60, 0.15);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
  }

  /* Add bottom padding to page body so sticky bar doesn't cover content */
  .sb-page {
    padding-bottom: 70px;
  }
}
