/* =========================================================
   TORONTO BUSINESS DIRECTORY - BUSINESS OWNER RESOURCES
   Dedicated Page Stylesheet (Part 1 of 2)
   ========================================================= */

/* 01. PAGE-SPECIFIC SCOPE & HERO ENHANCEMENTS */
.hero-directory {
  position: relative;
}

.hero-directory .hero-content {
  max-width: 860px;
}

/* 02. RESOURCE CARD GRID ENHANCEMENTS */
.quick-discovery .category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.quick-discovery .category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease;
}

.quick-discovery .category-card:hover {
  transform: translateY(-4px);
  border-color: rgb(224 108 59 / 40%);
  box-shadow: var(--shadow-md);
}

.quick-discovery .category-number {
  color: var(--orange);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-discovery .category-card-content {
  margin-top: 16px;
  margin-bottom: 24px;
}

.quick-discovery .category-card h3 {
  margin-bottom: 8px;
  color: var(--navy-800);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.quick-discovery .category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.quick-discovery .card-arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform var(--transition);
}

.quick-discovery .category-card:hover .card-arrow {
  transform: translate(3px, -3px);
}

/* 03. ONBOARDING VALUE SECTION STYLES */
.value-section {
  background: var(--cream);
  padding-block: var(--section-space);
}

.value-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 75px;
}

.value-intro h2 span {
  display: block;
  color: var(--orange);
}

.value-intro .large-copy {
  margin-top: 22px;
  color: var(--muted);
}

.value-intro .button {
  margin-top: 28px;
}

.value-list {
  border-top: 1px solid var(--border);
}

.value-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  padding-block: 26px;
  border-bottom: 1px solid var(--border);
}

.value-number {
  color: var(--orange);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.value-item h3 {
  margin-bottom: 8px;
  color: var(--navy-800);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.value-item .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 800;
}

.value-item .text-link:hover {
  color: var(--orange-dark);
}

/* 04. GROWTH GUIDES & TIPS GRID */
.guides-section {
  background: var(--white);
  padding-block: var(--section-space);
}

.guides-section .guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.guides-section .guide-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform 250ms ease,
    box-shadow 250ms ease;
}

.guides-section .guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.guides-section .guide-number {
  color: var(--orange);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.guides-section .guide-type {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guides-section .guide-card h3 {
  margin-bottom: 12px;
  color: var(--navy-800);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.guides-section .guide-card h3 a {
  color: inherit;
  transition: color var(--transition);
}

.guides-section .guide-card h3 a:hover {
  color: var(--orange);
}

.guides-section .guide-card p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.75;
}

.guides-section .guide-card > div > a:not(h3 a) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 800;
}

.guides-section .guide-card > div > a:not(h3 a):hover {
  color: var(--orange-dark);
}

/* =========================================================
   TORONTO BUSINESS DIRECTORY - BUSINESS OWNER RESOURCES
   Dedicated Page Stylesheet (Part 2 of 2)
   ========================================================= */

/* 05. FAQ SECTION STYLES */
.faq-section {
  background: var(--cream);
  padding-block: var(--section-space);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 75px;
}

.faq-intro h2 {
  margin-bottom: 18px;
  color: var(--navy-800);
  font-family: "Manrope", Arial, sans-serif;
}

.faq-intro > p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::marker {
  content: "";
}

.faq-list summary span {
  min-width: 0;
}

.faq-list summary b {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 1.35rem;
  font-weight: 400;
  transition: transform var(--transition);
}

.faq-list details[open] summary b {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 680px;
  margin: 0;
  padding: 0 35px 22px 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.8;
}

.faq-list details .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  color: var(--orange);
  font-size: 0.81rem;
  font-weight: 800;
}

.faq-list details .text-link:hover {
  color: var(--orange-dark);
}

/* 06. FINAL CTA SECTION */
.final-cta {
  padding-block: 105px;
  background: var(--white);
  text-align: center;
}

.final-cta-inner {
  max-width: 820px;
  margin-inline: auto;
}

.final-cta .section-label {
  justify-content: center;
}

.final-cta .section-label::before {
  display: none;
}

.final-cta h2 {
  margin-bottom: 20px;
  color: var(--navy-800);
  font-family: "Manrope", Arial, sans-serif;
}

.final-cta h2 em {
  display: block;
  color: var(--orange);
  font-style: normal;
}

.final-cta p {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.final-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* =========================================================
   07. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================= */

@media (max-width: 1050px) {
  .quick-discovery .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guides-section .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guides-section .guide-card:last-child {
    grid-column: 1 / -1;
  }

  .value-grid,
  .faq-grid {
    gap: 50px;
  }
}

@media (max-width: 850px) {
  .quick-discovery .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .guides-section .guide-grid {
    grid-template-columns: 1fr;
  }

  .guides-section .guide-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .quick-discovery .category-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .quick-discovery .category-card {
    padding: 22px;
  }

  .value-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    padding-block: 22px;
  }

  .guides-section .guide-card {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    padding: 22px;
  }

  .faq-list summary {
    min-height: 64px;
    gap: 14px;
    font-size: 0.9rem;
  }

  .faq-list details p {
    padding-right: 8px;
    font-size: 0.83rem;
  }

  .final-cta {
    padding-block: 76px;
  }

  .final-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .final-actions .button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .quick-discovery .category-card {
    padding: 18px;
  }

  .guides-section .guide-card {
    padding: 18px;
  }
}
