/* ============================================================
   SEOSID — Industry landing pages (e.g. /industries/seo-for-lawyers)
   Extends assets/css/style.css. Selectors prefixed .ind-
   ============================================================ */

.ind-hero { padding-bottom: 5.5rem; }
.ind-hero-inner { max-width: 860px; }
.ind-hero .hero-badge { margin-bottom: 1rem; }
.ind-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -0.03em; }
.ind-hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.ind-trust { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.12); }
.ind-trust li { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.75); }
.ind-trust .g3-ico { color: #60A5FA; }

.g3-ico { width: 1.1em; height: 1.1em; flex-shrink: 0; display: inline-block; vertical-align: -0.2em; }

/* On-this-page nav */
.ind-toc { border-bottom: 1px solid var(--border-color); background: var(--white); }
.ind-toc .container { display: flex; align-items: center; gap: 0.35rem; overflow-x: auto; scrollbar-width: none; padding-top: 0.8rem; padding-bottom: 0.8rem; }
.ind-toc .container::-webkit-scrollbar { display: none; }
.ind-toc-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); white-space: nowrap; margin-right: 0.4rem; }
.ind-toc a { font-size: 0.85rem; font-weight: 600; color: var(--dark-3); white-space: nowrap; padding: 0.35rem 0.75rem; border-radius: 100px; border: 1px solid var(--border-color); }
.ind-toc a:hover { color: var(--blue-bright); border-color: var(--blue-bright); background: var(--blue-pale); }
section[id] { scroll-margin-top: 90px; }

/* Layout */
.ind-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: center; }
.ind-split--top { align-items: start; }
.ind-split > *, .ind-grid > * { min-width: 0; }
.ind-prose p { font-size: 1.0125rem; }
.ind-prose p a, .ind-note-center a, .ind-prose li a { text-decoration: underline; text-underline-offset: 3px; }
.ind-prose .check-list { margin: 1.25rem 0 1.5rem; }
.ind-lead { font-size: 1.125rem !important; background: var(--blue-pale); border-left: 4px solid var(--blue-bright); border-radius: 0 10px 10px 0; padding: 1rem 1.25rem; }
.ind-lead strong { color: #1E3A8A; font-weight: 600; }

.ind-grid { display: grid; gap: 1.25rem; }
.ind-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ind-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ind-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ind-grid--wide { gap: 1.5rem; }

.ind-card { background: var(--white); border: 1px solid var(--border-color); border-radius: 16px; padding: 1.6rem; transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition); }
.ind-card:hover { border-color: #BFDBFE; box-shadow: var(--shadow); }
.ind-card h3 { font-size: 1.0625rem; margin: 0.9rem 0 0.45rem; }
.ind-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.75rem; }
.ind-card p:last-child { margin-bottom: 0; }
.ind-card--row { display: flex; gap: 1.1rem; align-items: flex-start; }
.ind-card--row h3 { margin-top: 0.15rem; }
.ind-card--dark { background: var(--gradient-hero); border: 0; color: var(--white); }
.ind-card--dark h3 { color: var(--white); margin-top: 0; font-size: 1.2rem; }
.ind-card--dark .ind-ticks li { color: rgba(255,255,255,0.82); }
.ind-card--dark .ind-ticks strong { color: var(--white); }
.ind-card--dark .ind-ticks .g3-ico { color: #4ADE80; }
.ind-card--feature { padding: 2rem; }
.ind-card--feature h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 1rem 0 0.75rem; }
.ind-card--feature > p { font-size: 0.95rem; }

.ind-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-pale); color: var(--blue-bright); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ind-icon .g3-ico { width: 22px; height: 22px; }
.ind-icon--warn { background: #FFF1F2; color: #BE123C; }

.ind-ticks { display: grid; gap: 0.65rem; margin: 1rem 0; }
.ind-ticks li { display: flex; gap: 0.6rem; font-size: 0.9rem; line-height: 1.5; color: var(--dark-3); }
.ind-ticks .g3-ico { color: #15803D; margin-top: 0.15rem; }

.ind-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; font-size: 0.875rem; }
.ind-link .g3-ico { width: 15px; height: 15px; transition: transform var(--transition); }
.ind-link:hover .g3-ico { transform: translateX(3px); }
.ind-small { font-size: 0.8rem !important; color: var(--text-muted); }
.ind-mt { margin-top: 0.6rem; }

.ind-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.75rem 0 1rem; }
.ind-chips li { font-size: 0.8125rem; font-weight: 600; color: var(--blue-mid); background: var(--blue-pale); border: 1px solid #DBEAFE; border-radius: 100px; padding: 0.3rem 0.75rem; }

.ind-pa h3 { margin-top: 0; }
.ind-pa-kw { font-size: 0.8125rem !important; color: var(--dark-3) !important; background: var(--gray-50); border-radius: 8px; padding: 0.55rem 0.7rem; }
.ind-pa-kw span { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-bright); margin-bottom: 0.15rem; }
.ind-note-center { text-align: center; margin-top: 2rem; color: var(--text-muted); }

/* Steps */
.ind-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: none; }
.ind-step { background: var(--white); border: 1px solid var(--border-color); border-radius: 16px; padding: 1.35rem; position: relative; }
.ind-step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--gradient-blue); color: var(--white); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 0.9rem; }
.ind-step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.ind-step p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.55; }
.ind-proof { margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: var(--blue-pale); border: 1px solid #DBEAFE; border-radius: 16px; padding: 1.5rem 1.75rem; }
.ind-proof h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.ind-proof p { margin: 0; font-size: 0.9rem; }

/* Pricing aside */
.ind-price { position: sticky; top: 96px; box-shadow: var(--shadow-md); }
.ind-price h3 { margin-top: 0; font-size: 1.2rem; }
.ind-price ul { margin: 1rem 0; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.ind-price li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
.ind-price li:last-child { border-bottom: 0; }
.ind-price li strong { font-family: var(--font-display); font-size: 1.15rem; white-space: nowrap; }
.ind-price li small { font-size: 0.72rem; font-weight: 500; color: var(--text-muted); }

/* Choosing */
.ind-h-good, .ind-h-bad { display: flex; align-items: center; gap: 0.5rem; margin-top: 0 !important; font-size: 1.15rem !important; }
.ind-h-good .g3-ico { color: #15803D; width: 22px; height: 22px; }
.ind-h-bad .g3-ico { color: #DC2626; width: 22px; height: 22px; }
.ind-qlist { list-style: decimal; padding-left: 1.25rem; display: grid; gap: 0.55rem; margin-top: 1rem; }
.ind-qlist li { font-size: 0.925rem; color: var(--dark-3); }
.ind-redflags { display: grid; gap: 0.55rem; margin-top: 1rem; }
.ind-redflags li { position: relative; padding-left: 1.4rem; font-size: 0.925rem; color: var(--dark-3); }
.ind-redflags li::before { content: '×'; position: absolute; left: 0; top: -0.05em; color: #DC2626; font-weight: 800; font-size: 1.1rem; }

/* FAQ answers can be longer here */
.faq-item.open .faq-answer { max-height: 900px; }
.faq-answer-inner p { margin: 0; }

/* Related links */
.ind-related { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.ind-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.ind-h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.ind-linklist { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ind-linklist a { display: inline-block; font-size: 0.875rem; font-weight: 600; padding: 0.45rem 0.9rem; border: 1px solid var(--border-color); border-radius: 100px; color: var(--dark-3); }
.ind-linklist a:hover { border-color: var(--blue-bright); color: var(--blue-bright); background: var(--blue-pale); }

/* Responsive */
@media (max-width: 1100px) {
    .ind-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .ind-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .ind-split, .ind-related-grid { grid-template-columns: 1fr; gap: 2rem; }
    .ind-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .ind-grid--2 { grid-template-columns: 1fr; }
    .ind-steps { grid-template-columns: 1fr 1fr; }
    .ind-price { position: static; }
}
@media (max-width: 640px) {
    .ind-grid--3, .ind-grid--4, .ind-steps { grid-template-columns: 1fr; }
    .ind-hero-ctas .btn { width: 100%; justify-content: center; white-space: normal; }
    .ind-card--row { flex-direction: column; gap: 0.25rem; }
    .ind-card--feature { padding: 1.4rem; }
    .ind-hero h1 { font-size: 1.95rem; }
}
