/* SEO category / near-me / locality landing pages */
.seo-page {
  font-family: 'Poppins', system-ui, sans-serif;
}

.seo-main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1rem 5rem;
}

@media (min-width: 640px) {
  .seo-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .seo-main {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.seo-intro {
  max-width: 42rem;
}

.seo-section {
  margin-top: 2.75rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.seo-section__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(161, 222, 86, 0.9);
  margin-bottom: 0.5rem;
}

.seo-section__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.4rem;
  line-height: 1.25;
}

.seo-section__sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 1.35rem;
  line-height: 1.5;
  max-width: 40rem;
}

.seo-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .seo-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .seo-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.seo-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-width: 1px;
  border-style: solid;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

a.seo-card:hover,
.seo-card:hover {
  transform: translateY(-3px);
}

.seo-card--tier-3 {
  background: linear-gradient(168deg, #1a6b3c 0%, #134d2e 38%, #0f3522 68%, #0b2418 100%);
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 8px 28px rgba(22, 101, 52, 0.35);
}

.seo-card--tier-3:hover {
  border-color: rgba(134, 239, 172, 0.75);
  box-shadow: 0 18px 44px rgba(34, 197, 94, 0.45);
}

.seo-card--tier-5 {
  background: linear-gradient(168deg, #1e4a8a 0%, #16366a 38%, #102548 68%, #0b1830 100%);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35);
}

.seo-card--tier-5:hover {
  border-color: rgba(147, 197, 253, 0.75);
  box-shadow: 0 18px 44px rgba(59, 130, 246, 0.45);
}

.seo-card--tier-8 {
  background: linear-gradient(168deg, #8a5a12 0%, #6b4510 38%, #4a300c 68%, #2e1f08 100%);
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 8px 28px rgba(180, 83, 9, 0.35);
}

.seo-card--tier-8:hover {
  border-color: rgba(253, 224, 71, 0.75);
  box-shadow: 0 18px 44px rgba(245, 158, 11, 0.45);
}

.seo-card--tier-12 {
  background: linear-gradient(168deg, #5b21b6 0%, #4a1890 22%, #6d28d9 42%, #3b1578 68%, #1e1035 100%);
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.4);
}

.seo-card--tier-12:hover {
  border-color: rgba(216, 180, 254, 0.8);
  box-shadow: 0 18px 48px rgba(168, 85, 247, 0.5);
}

.seo-card--tier-default {
  background: linear-gradient(168deg, #2a2a2a 0%, #1a1a1a 50%, #121212 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

.seo-card--tier-default:hover {
  border-color: rgba(161, 222, 86, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.seo-card__body {
  padding: 1.15rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 0.3rem;
}

.seo-card__org {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seo-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f5f5f5;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.seo-card__meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.4;
}

.seo-card__maps {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a1de56;
  text-decoration: none;
}

.seo-card__maps:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.seo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: #e5e7eb;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
}

.seo-card__footer {
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.seo-card__price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.seo-card__price s {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  margin-right: 0.35rem;
}

.seo-card__cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #a1de56;
  white-space: nowrap;
}

.seo-card__badge {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.seo-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.seo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.seo-btn--primary {
  background: #a1de56;
  color: #0a0a0a;
}

.seo-btn--primary:hover {
  opacity: 0.95;
}

.seo-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e5e7eb;
  background: transparent;
}

.seo-btn--ghost:hover {
  border-color: #a1de56;
  color: #a1de56;
}

.seo-empty {
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.5;
}

.seo-empty a {
  color: #a1de56;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .seo-card,
  a.seo-card:hover,
  .seo-card:hover {
    transition: none;
    transform: none;
  }
}
