/* PAGE LAYOUT HELPERS */
.section-navy {
  background: var(--hubpro-navy);
}

.section-light {
  background: var(--hubpro-navy-light);
}

.section-navy-compact {
  background: var(--hubpro-navy);
  padding: 64px 0;
}

/* HERO */
.directory-hero {
  background: linear-gradient(135deg, rgba(18, 43, 74, 0.72), rgba(18, 43, 74, 0.52)),
    url("https://d2xsxph8kpxj0f.cloudfront.net/310519663243066473/kBK8wf4TTX9MDvUnPpkY2A/hero-directory-KyAWpFvEQ8QxeLsr7NJWcv.webp") center/cover no-repeat;
  clip-path: none;
}

.directory-hero-title {
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 68.4px;
  margin: 0 0 24px;
}

.directory-hero-copy {
  color: oklch(0.872 0.01 258.338);
  font-family: "Source Sans 3", sans-serif;
  font-size: 20px;
  line-height: 32.5px;
  margin: 0 0 32px;
}

.directory-hero-note {
  color: var(--hubpro-steel);
  font-size: 14px;
  margin-top: 16px;
}

/* SECTION HEADERS */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-block;
  text-transform: uppercase;
  color: var(--hubpro-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 48px;
  line-height: 1.2;
  margin: 12px 0;
}

.section-header h2 span {
  color: var(--hubpro-orange);
}

.section-description {
  color: var(--hubpro-steel);
  font-size: 18px;
  max-width: 700px;
  margin: 16px auto 0;
  line-height: 1.6;
}

.search-badge {
  color: #ff6a00;
  display: inline;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.8px;
  line-height: 20px;
  text-align: center;
  text-transform: uppercase;
}

.search-title {
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
  margin: 12px 0 0;
  text-align: center;
}

/* STATS SECTION */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 16px;
}

.stat-number {
  color: #ff6a00;
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
  margin-bottom: 8px;
  text-align: center;
}

.stat-plus {
  color: var(--hubpro-orange);
}

.stat-label {
  color: #a0b3c8;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.7px;
  line-height: 20px;
  margin: 4px 0 0;
  text-align: center;
  text-transform: uppercase;
}

/* SEARCH PREVIEW */
.search-preview {
  max-width: 1120px;
  margin: 0 64px 48px;
  background-color: oklab(0.342288 -0.0220913 -0.0674109 / 0.8);
  border-color: oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
  border-radius: 12px;
  border-style: solid;
  border-width: 0.666667px;
  color: oklch(0.96 0.005 250);
  line-height: 24px;
  padding: 32px;
}

.search-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.search-input-group {
  align-items: center;
  background-color: #122b4a;
  border-color: oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
  border-radius: 8px;
  border-style: solid;
  border-width: 0.666667px;
  color: oklch(0.96 0.005 250);
  display: flex;
  flex-basis: 0%;
  gap: 12px;
  line-height: 24px;
  padding: 12px 16px;
}

.search-input-group input::placeholder {
  color: oklch(0.96 0.005 250);
}

.search-input-group svg {
  color: var(--hubpro-steel);
  flex-shrink: 0;
}

.search-results {
  margin-bottom: 24px;
}

.result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.result-item:last-child {
  border-bottom: none;
}

.result-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 106, 0, 0.1);
  border-radius: 8px;
  color: var(--hubpro-orange);
  flex-shrink: 0;
}

.result-info {
  flex: 1;
}

.result-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.result-info p {
  font-size: 13px;
  color: var(--hubpro-steel);
}

.result-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.result-rating svg {
  color: var(--hubpro-orange);
  flex-shrink: 0;
}

.search-cta {
  text-align: center;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.3);
  border-radius: 999px;
  color: var(--hubpro-orange);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.cta-link:hover {
  background: rgba(255, 106, 0, 0.2);
  border-color: rgba(255, 106, 0, 0.5);
}

/* VISIBILITY CARDS */
.visibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.visibility-card {
  background: var(--hubpro-navy-light);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}

.visibility-card:hover {
  border-color: rgba(255, 106, 0, 0.3);
}

.visibility-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--white);
}

.visibility-icon.orange {
  background: rgba(255, 106, 0, 0.1);
  color: var(--hubpro-orange);
}

.visibility-icon.blue {
  background: rgba(52, 168, 224, 0.1);
  color: #34a8e0;
}

.visibility-icon.green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--hubpro-green);
}

.visibility-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.visibility-description {
  font-size: 14px;
  color: var(--hubpro-steel);
  margin-bottom: 16px;
  line-height: 1.5;
}

.visibility-list {
  margin-bottom: 16px;
}

.visibility-list:last-child {
  margin-bottom: 0;
}

.visibility-label {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--hubpro-steel);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}

.visibility-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
  color: #d1dce8;
}

.visibility-item svg {
  color: var(--hubpro-green);
  flex-shrink: 0;
}

.visibility-item.no-see svg {
  color: #ff6b6b;
}

.visibility-item.no-see span {
  color: #b8c4d4;
}

/* VISIBILITY CALLOUT */
.visibility-callout {
  background: rgba(52, 168, 224, 0.08);
  border: 1px solid rgba(52, 168, 224, 0.2);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.visibility-callout svg {
  color: #34a8e0;
  margin: 0 auto 12px;
}

.visibility-callout h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.visibility-callout p {
  color: var(--hubpro-steel);
  font-size: 15px;
  line-height: 1.6;
}

.visibility-callout strong {
  color: var(--white);
}

/* TRADES GRID */
.trades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.trade-item {
  background: rgba(18, 43, 74, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.trade-item:hover {
  border-color: rgba(255, 106, 0, 0.3);
}

.trade-item:hover .trade-icon {
  background: rgba(255, 106, 0, 0.2);
}

.trade-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 106, 0, 0.1);
  border-radius: 8px;
  color: var(--hubpro-orange);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.trade-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.trade-item p {
  font-size: 14px;
  color: var(--hubpro-steel);
}

.trades-footer {
  text-align: center;
  color: var(--hubpro-steel);
  font-size: 14px;
}

/* LISTED BANNER */
.listed-banner {
  background: linear-gradient(to right, rgba(255, 106, 0, 0.1), rgba(52, 168, 224, 0.1));
  border: 1px solid rgba(255, 106, 0, 0.2);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.listed-content {
  flex: 1;
}

.listed-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.listed-content p {
  color: #d1dce8;
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #d1dce8;
}

.benefit-item svg {
  color: var(--hubpro-green);
  flex-shrink: 0;
}

.listed-banner .btn {
  flex-shrink: 0;
  height: fit-content;
}

/* BENEFITS SECTION */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.benefits-content span {
  display: block;
  margin-bottom: 16px;
}

.benefits-content h2 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 32px;
}

.benefits-content h2 span {
  color: var(--hubpro-orange);
}

.benefits-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: #d1dce8;
  line-height: 1.6;
}

.benefit-row svg {
  color: var(--hubpro-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.side-card {
  background: rgba(18, 43, 74, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px;
}

.side-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.side-card p {
  color: var(--hubpro-steel);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.side-card .btn {
  margin-bottom: 12px;
}

.card-footer {
  text-align: center;
  font-size: 13px !important;
  color: var(--hubpro-steel) !important;
}

.full-width-center {
  width: 100%;
  justify-content: center;
}

.final-cta {
  text-align: center;
}

.final-cta-title {
  font-size: 56px;
  margin-bottom: 16px;
}

.final-cta-title .accent {
  color: var(--hubpro-orange);
}

.final-cta-copy {
  color: var(--hubpro-steel);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 32px;
}

.final-cta-actions {
  justify-content: center;
}

.site-footer {
  background: var(--hubpro-navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0;
}

.site-footer-inner {
  color: var(--hubpro-steel);
  font-size: 14px;
  text-align: center;
}

.footer-link {
  color: var(--hubpro-steel);
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .search-preview {
    margin: 0 24px 48px;
  }

  .search-inputs {
    grid-template-columns: 1fr;
  }

  .visibility-grid {
    grid-template-columns: 1fr;
  }

  .trades-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .listed-banner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-header h2 {
    font-size: 32px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .directory-hero-title {
    font-size: 42px;
    line-height: 1.05;
  }

  .stat-number {
    font-size: 40px;
    line-height: 40px;
  }

  .trades-grid {
    grid-template-columns: 1fr;
  }

  .trade-item {
    flex-direction: column;
    text-align: center;
  }

  .search-preview {
    margin: 0 0 48px;
    padding: 16px;
  }

  .listed-banner {
    padding: 24px;
  }

  .side-card {
    padding: 20px;
  }
}
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.contractor-meta span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 4px 10px;
  font-size: 12px;
  color: #d7e2ed;
}

.directory-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
}

.panel-title {
  margin-bottom: 10px;
}

.panel-copy {
  color: var(--hubpro-steel);
  margin-bottom: 14px;
}

.filter-list {
  display: grid;
  gap: 10px;
}

.filter-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d7e3ef;
  font-size: 14px;
}

.filter-list input[type="checkbox"] {
  accent-color: #ff6a00;
}

.filter-apply-btn {
  margin-top: 16px;
}

.map-placeholder {
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.map-placeholder div {
  font-family: "Oswald", sans-serif;
  font-size: 26px;
}

.map-placeholder span {
  color: #a0b3c8;
  font-size: 14px;
}

.directory-categories-section {
  background: rgba(18, 43, 74, 0.5);
}

.quote-card {
  min-height: 180px;
}

.quote-card p {
  color: #d6e1ed;
  margin-bottom: 14px;
}

.quote-card strong {
  color: #ff6a00;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
}

.directory-cta-section {
  padding-top: 20px;
}

.center-actions {
  justify-content: center;
  margin-top: 20px;
}

.footer-logo-inline {
  margin-bottom: 12px;
}

@media (max-width: 1100px) {
  .directory-search {
    grid-template-columns: 1fr 1fr;
  }

  .search-btn {
    grid-column: span 2;
  }

  .directory-grid {
    grid-template-columns: 1fr;
  }

  .directory-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .directory-search {
    grid-template-columns: 1fr;
  }

  .search-btn {
    grid-column: span 1;
    width: 100%;
  }
}
