/* Search landing pages (layouts/seo.njk): industry, feature, comparison and trust pages.
   Builds on .page-hero, .prose and .pd-card from main.css. */

.seo-hero { padding-bottom: clamp(100px, 10vw, 150px); }
.seo-hero h1 { max-width: 56rem; margin-inline: auto; }
.seo-crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin-bottom: 18px; font-size: .92rem; opacity: .92; }
.seo-crumbs li + li::before { content: "›"; margin: 0 8px; opacity: .7; }
.seo-crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.seo-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.seo-hero-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.seo-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; font-size: .95rem; }
.seo-trust a { color: #fff; opacity: .95; }
.seo-trust a:hover { text-decoration: underline; }
.seo-trust .stars { color: var(--acc-yellow); vertical-align: -2px; }

.seo-wrap { margin-top: clamp(-100px, -7vw, -64px); padding-bottom: var(--section-y); position: relative; }
.seo-body { max-width: 64rem; }
.seo-body h2 { scroll-margin-top: 90px; }
.seo-body > h2:first-of-type { margin-top: .8em; }

/* cards */
.prose .seo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin: 1.2em 0; padding: 0; list-style: none; }
.seo-card { display: block; padding: 18px 18px 16px; border: 1px solid #dfe5f0; border-top: 4px solid var(--blue); border-radius: 12px; background: #fff; color: inherit; text-decoration: none !important; }
a.seo-card:hover { box-shadow: 0 6px 18px rgba(31, 0, 117, .12); }
.prose .seo-card h3 { margin: 0; font-size: 1.08rem; }
.prose .seo-card p { margin: 6px 0 0; color: var(--text); font-size: .97rem; line-height: 1.55; }
.seo-card-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 50%; background: var(--grad); color: #fff; }

/* steps */
.prose .seo-steps { list-style: none; padding: 0; margin: 1.2em 0; counter-reset: none; }
.prose .seo-steps li { display: flex; gap: 14px; margin: 0 0 14px; padding: 14px 16px; border: 1px solid #dfe5f0; border-radius: 12px; }
.seo-step-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; }
.prose .seo-steps h3 { margin: 4px 0 0; font-size: 1.05rem; }
.prose .seo-steps p { margin: 4px 0 0; }

/* product pictures */
.prose .seo-shot { margin: 1.4em auto; max-width: 30rem; text-align: center; }
.prose .seo-shot img { margin: 0 auto; }
.seo-shot figcaption { margin-top: 8px; color: var(--muted); font-size: .9rem; }

/* comparison tables */
.prose .seo-table { position: relative; margin: 1.2em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose .seo-table table { display: table; min-width: 520px; margin: 0; }
.prose .seo-table caption { caption-side: bottom; padding-top: 8px; color: var(--muted); font-size: .88rem; text-align: left; }
.prose .seo-table tbody th { background: #fafcff; color: #333; font-weight: 600; }
.prose .seo-table td.is-yes { color: #128a12; font-weight: 700; text-align: center; }
.prose .seo-table td.is-no { color: #c0392b; font-weight: 700; text-align: center; }
.prose .seo-table thead th:nth-child(2) { background: var(--blue); color: #fff; }

/* plans */
.seo-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; margin: 1.2em 0 .4em; }
.seo-plan { padding: 16px; border: 1px solid #dfe5f0; border-radius: 12px; text-align: center; }
.seo-plan.is-featured { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue) inset; }
.prose .seo-plan h3 { margin: 0; font-size: 1.05rem; }
.prose .seo-plan p { margin: 4px 0 0; font-size: .92rem; line-height: 1.4; }
.prose .seo-plan .seo-plan-price { font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.prose .seo-plan .seo-plan-sub { color: var(--muted); font-size: .82rem; }
.prose .seo-plans-note { font-size: .92rem; color: var(--muted); }

/* boxes */
.seo-hindi { margin: 1.6em 0; padding: 18px 20px; border-radius: 12px; background: #fff8ec; border: 1px solid #f3dcae; font-family: "Inter", "Noto Sans Devanagari", system-ui, sans-serif; line-height: 1.85; }
.prose .seo-hindi h2 { margin: 0 0 6px; font-size: 1.15rem; }
.prose .seo-hindi p { margin: 0; }
.seo-note { margin: 1.2em 0; padding: 14px 18px; border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; background: #f4f8ff; }
.seo-note.is-warn { border-left-color: var(--acc-orange); background: #fff6ef; }
.seo-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 2em 0; padding: 20px 22px; border-radius: 14px; background: var(--surface-soft); border: 1px solid #d6e6ff; }
.prose .seo-cta h3 { margin: 0; }
.prose .seo-cta p { margin: 4px 0 0; }
.seo-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-cta-actions .btn { text-decoration: none; }

/* related */
.seo-related { padding-top: 0; }
.seo-rel { display: flex; flex-direction: column; color: inherit; }
.seo-rel:hover { transform: translateY(-2px); }
.seo-rel-go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; }

@media (max-width: 600px) {
  .seo-hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}
