/* Service pages & directory */

.breadcrumb {
  padding: 20px 0 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 14px;
  color: var(--text-muted);
  width: min(100% - 48px, var(--max-w));
  margin: 0 auto;
  padding: 0 0 16px;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--border);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 500; }

/* Service hero */
.svc-hero {
  padding: 48px 0 56px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.svc-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.svc-category {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 8px;
}

.svc-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.svc-tagline {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.svc-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 560px;
}

.svc-hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}

.svc-icon-block {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.svc-card-label {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.svc-card-sub {
  font-size: 14px;
  color: var(--text-muted);
}

/* Benefits & steps */
.svc-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.svc-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.svc-benefit-list li {
  font-size: 15px;
  padding-left: 20px;
  position: relative;
  color: var(--text);
}

.svc-benefit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

.svc-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}

.svc-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.svc-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
}

.svc-step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.svc-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Booking form */
.svc-booking {
  background: var(--white);
}

.svc-booking-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.booking-form-wrap {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  background: var(--bg-subtle);
}

.form-demo-note {
  font-size: 14px;
  color: var(--text-muted);
  margin: 8px 0 24px;
  padding: 12px 16px;
  background: var(--white);
  border-left: 3px solid var(--yellow);
  border-radius: 0 4px 4px 0;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font);
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

.btn--block {
  width: 100%;
  margin-top: 8px;
}

.form-status {
  font-size: 14px;
  color: var(--navy);
  background: rgba(255, 195, 23, 0.15);
  padding: 12px 16px;
  border-radius: 6px;
  margin-top: 8px;
}

/* Sidebar */
.svc-sidebar {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.sidebar-services {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
  max-height: 360px;
  overflow-y: auto;
}

.sidebar-services a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--text-muted);
  border-radius: 4px;
}

.sidebar-services a:hover {
  background: var(--bg-subtle);
  color: var(--blue);
}

.sidebar-services .is-current a {
  background: rgba(0, 93, 255, 0.08);
  color: var(--blue);
  font-weight: 600;
}

/* Directory page */
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.section-title--light {
  color: var(--white);
}

.section-desc--light {
  color: rgba(255, 255, 255, 0.9);
}

/* Directory featured banner */
.directory-feature {
  border-bottom: 1px solid var(--border);
}

.directory-feature-banner {
  position: relative;
  min-height: clamp(240px, 36vh, 320px);
  overflow: hidden;
  background: var(--navy);
}

.directory-feature-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 42%;
}

.directory-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 65, 196, 0.9) 0%,
    rgba(0, 93, 255, 0.65) 45%,
    rgba(255, 195, 23, 0.12) 100%
  );
  pointer-events: none;
}

.directory-feature-content {
  position: relative;
  z-index: 1;
  padding-block: 56px 48px;
  max-width: 560px;
}

.directory-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}

.directory-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 16px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.filter-btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 48px;
}

.directory-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.directory-card-cat {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
}

.directory-card-title {
  font-size: 20px;
  font-weight: 700;
}

.directory-card-title a {
  color: var(--text);
}

.directory-card-title a:hover {
  color: var(--blue);
}

.directory-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.directory-card--hub {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.08) 0%, rgba(0, 93, 255, 0.06) 100%);
  border-color: var(--blue);
  border-width: 2px;
}

.directory-hub-includes {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 4px;
}

.directory-spotlight-section {
  padding-top: 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 40px;
  margin-bottom: 8px;
}

.directory-spotlight {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.directory-spotlight-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.directory-spotlight-tile:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.directory-spotlight-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 12px;
}

.directory-spotlight-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.directory-spotlight-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

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

.directory-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 48px;
}

/* Home service links */
.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.category-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  background: rgba(0, 93, 255, 0.06);
  border-radius: 4px;
}

.category-link:hover {
  background: rgba(0, 93, 255, 0.12);
  color: var(--navy);
}

.section-cta-row {
  margin-top: 32px;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.home-service-link {
  display: block;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  transition: border-color 0.15s;
}

.home-service-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

@media (max-width: 960px) {
  .svc-hero-grid,
  .svc-two-col,
  .svc-booking-grid {
    grid-template-columns: 1fr;
  }

  .svc-sidebar {
    position: static;
  }

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

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

@media (max-width: 640px) {
  .directory-feature-banner {
    min-height: 220px;
  }

  .directory-feature-img {
    object-position: 70% 30%;
  }

  .directory-feature-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 65, 196, 0.92) 0%,
      rgba(0, 93, 255, 0.75) 55%,
      rgba(0, 93, 255, 0.35) 100%
    );
  }

  .directory-feature-content {
    padding-block: 32px 28px;
  }

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

  .breadcrumb ol {
    width: min(100% - 32px, var(--max-w));
  }

  .booking-form-wrap {
    padding: 20px;
  }
}
