/* OTPGrove SEO hub + detail pages (JesusNumber-style layout) */

:root {
  --seo-brand: #13009a;
  --seo-accent: #137f15;
  --seo-accent-hover: #0f6611;
  --seo-header-height: 80px;
  --seo-container-max: 1200px;
}

.seo-chrome-main {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: #f9fafb;
}

.seo-chrome-main .seo-container {
  max-width: var(--seo-container-max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .seo-chrome-main .seo-container {
    padding: 0 16px;
  }
}

/* ===== HUB PAGES ===== */

.seo-page-shell {
  padding: calc(var(--seo-header-height, 80px) + 32px) 0 88px;
}

.seo-page-hero {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.seo-page-kicker {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--seo-accent);
}

.seo-page-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--seo-brand);
  margin: 0 0 14px;
  line-height: 1.15;
}

.seo-page-desc {
  color: #1b1b1b;
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 0;
}

.seo-page-intro {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
  color: #4b5563;
  line-height: 1.75;
  font-size: 1rem;
}

.seo-platform-search {
  max-width: 640px;
  margin: 0 auto 32px;
}

.seo-platform-search-label {
  display: block;
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--seo-brand);
  text-align: center;
}

.seo-platform-search-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.seo-platform-search-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  font-size: 1rem;
  color: #1b1b1b;
  background: #fff;
  box-shadow: 0 8px 24px rgba(19, 0, 154, 0.05);
}

.seo-platform-search-input:focus {
  outline: none;
  border-color: var(--seo-brand);
}

.seo-platform-search-input::placeholder {
  color: #9ca3af;
}

.seo-platform-search-btn {
  flex: 0 0 auto;
  padding: 14px 22px;
  border: none;
  border-radius: 14px;
  background: var(--seo-accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

.seo-platform-search-btn:hover {
  background: var(--seo-accent-hover);
}

.seo-platform-search-meta {
  margin: 10px 0 0;
  text-align: center;
  color: #6b7280;
  font-size: 0.92rem;
}

.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.seo-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 28px rgba(19, 0, 154, 0.06);
}

.seo-card h2 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: var(--seo-brand);
}

.seo-card p {
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 14px;
}

.seo-card a {
  color: var(--seo-accent);
  font-weight: 800;
  text-decoration: none;
}

.seo-card a:hover {
  text-decoration: underline;
}

.seo-platform-card {
  display: flex;
  flex-direction: column;
}

.seo-logo-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 0 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(19, 0, 154, 0.06);
  position: relative;
  flex-shrink: 0;
}

.seo-service-mini-card .seo-logo-image-wrap {
  margin: 0 0 8px;
}

.seo-logo-image {
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 4px;
  display: block;
  background: #fff;
}

.seo-logo-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--seo-brand);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.seo-logo-initials[hidden] {
  display: none !important;
}

.seo-service-mini-card {
  position: relative;
}

.seo-verify-badge {
  display: inline-block;
  margin: 0 0 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.4;
}

.seo-verify-badge--active {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.seo-verify-badge--expired {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.seo-service-mini-card.is-verified {
  border-color: #86efac;
  box-shadow: 0 4px 14px rgba(22, 101, 52, 0.08);
}

.seo-search-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #6b7280;
  padding: 32px 16px;
}

.seo-hub-nav {
  max-width: 1152px;
  margin: 0 auto;
  padding: 24px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f8fafc;
  text-align: center;
}

.seo-hub-nav-title {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.seo-hub-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
}

.seo-hub-nav-list a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d1d5db;
  color: var(--seo-brand);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

.seo-hub-nav-list a:hover {
  border-color: var(--seo-brand);
  background: var(--seo-brand);
  color: #fff;
}

.seo-section-block {
  margin: 48px 0 40px;
}

.seo-section-heading {
  color: var(--seo-brand);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 18px;
  text-align: center;
}

.seo-services-catalog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 600;
}

.seo-services-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1100px) {
  .seo-services-mini-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .seo-card-grid,
  .seo-services-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-platform-search-row {
    flex-direction: column;
  }

  .seo-platform-search-btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .seo-card-grid,
  .seo-services-mini-grid {
    grid-template-columns: 1fr;
  }
}

.seo-service-mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.seo-service-mini-card:hover {
  border-color: var(--seo-brand);
  box-shadow: 0 8px 24px rgba(19, 0, 154, 0.08);
}

.seo-service-mini-card .name {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1b1b1b;
}

.seo-services-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.seo-services-pagination button {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: var(--seo-brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.seo-services-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ===== DETAIL PAGES ===== */

.seo-detail {
  padding: 0 0 88px;
}

.seo-breadcrumbs-bar {
  padding-top: calc(var(--seo-header-height, 80px) + 16px);
  padding-bottom: 14px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 28px;
}

.seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.5;
}

.seo-breadcrumbs a {
  color: var(--seo-brand);
  text-decoration: none;
  font-weight: 600;
}

.seo-breadcrumbs a:hover {
  text-decoration: underline;
}

.seo-breadcrumbs .seo-crumb-sep {
  color: #9ca3af;
  user-select: none;
}

.seo-breadcrumbs .seo-crumb-current {
  color: #374151;
  font-weight: 700;
}

.seo-detail-body {
  padding-top: 8px;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: center;
  padding: 44px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 44px rgba(19, 0, 154, 0.08);
}

.seo-kicker {
  color: var(--seo-accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  font-size: 0.82rem;
}

.seo-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  margin: 0 0 18px;
  color: var(--seo-brand);
}

.seo-hero > div > p {
  color: #1b1b1b;
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 0;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.seo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
}

.seo-btn-primary {
  background: var(--seo-accent);
  color: #fff;
}

.seo-btn-primary:hover {
  background: var(--seo-accent-hover);
}

.seo-btn-secondary {
  border: 2px solid var(--seo-brand);
  color: var(--seo-brand);
  background: #fff;
}

.seo-btn-secondary:hover {
  background: #f5f3ff;
}

.seo-side-card {
  background: #f9fafb;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #e5e7eb;
}

.seo-side-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--seo-brand);
}

.seo-side-card ul {
  margin: 0;
  padding-left: 20px;
  color: #1b1b1b;
  line-height: 1.9;
}

.seo-section {
  margin-top: 34px;
  padding: 34px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.seo-section h2 {
  color: var(--seo-brand);
  margin: 0 0 16px;
  font-size: 1.5rem;
}

.seo-section h3 {
  color: var(--seo-brand);
  margin: 1.25rem 0 0.75rem;
  font-size: 1.1rem;
}

.seo-rich {
  color: #1b1b1b;
  line-height: 1.85;
}

.seo-rich p {
  margin: 0 0 1rem;
}

.seo-rich p:last-child {
  margin-bottom: 0;
}

.seo-rich ul,
.seo-rich ol {
  margin: 0.5rem 0 1rem;
  padding-left: 1.5rem;
}

.seo-rich li {
  margin-bottom: 0.4rem;
}

.seo-list-grid,
.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.seo-pill-card,
.seo-related-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  background: #f9fafb;
  color: #1b1b1b;
  font-weight: 600;
}

.seo-related-card {
  display: block;
  color: var(--seo-brand);
  font-weight: 700;
  text-decoration: none;
}

.seo-related-card:hover {
  border-color: var(--seo-brand);
  background: #fff;
}

.seo-pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.seo-pricing-table th,
.seo-pricing-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.seo-pricing-table th {
  color: var(--seo-brand);
  font-weight: 800;
}

.seo-pricing-table a {
  color: var(--seo-accent);
  font-weight: 800;
  text-decoration: none;
}

.seo-pricing-table a:hover {
  text-decoration: underline;
}

.seo-faq details {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 12px;
  background: #f9fafb;
}

.seo-faq summary {
  font-weight: 900;
  color: var(--seo-brand);
  cursor: pointer;
}

.seo-faq details p {
  margin: 12px 0 0;
  color: #1b1b1b;
  line-height: 1.75;
}

.seo-inline-links {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f8fafc;
  font-size: 0.95rem;
}

.seo-inline-links strong {
  color: var(--seo-brand);
  margin-right: 8px;
}

.seo-inline-links a {
  color: var(--seo-brand);
  font-weight: 700;
  text-decoration: none;
  margin-right: 12px;
}

.seo-inline-links a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .seo-hero,
  .seo-list-grid,
  .seo-related-grid {
    grid-template-columns: 1fr;
  }

  .seo-hero {
    padding: 28px;
  }

  .seo-section {
    padding: 24px;
  }
}
