/* ===================================================================
   seo.css — utility classes for SEO/service-page templates.
   Used by /web-design/, /ai-chatbots/, /seo/, /kent-web-design/,
   /insights/, comparison + industry pages. Designed to complement
   shared.css and effects.css without overriding existing styles.
   =================================================================== */

/* BREADCRUMBS */
.breadcrumbs {
  padding: 5.6rem 5vw 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 2;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; padding: 0; margin: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--accent);
  opacity: 0.5;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs li[aria-current="page"] { color: var(--text); }
@media (max-width: 700px) { .breadcrumbs { padding: 5.2rem 5vw 0; font-size: 0.74rem; } }

/* SERVICE FEATURES GRID — 3-col responsive */
.service-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.sf-card {
  background: linear-gradient(145deg, var(--surface), var(--surface2));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem 1.6rem 1.8rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.sf-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110,255,232,0.25);
  box-shadow: 0 16px 36px rgba(0,0,0,0.32);
}
.sf-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.sf-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.sf-card p a { color: var(--accent); text-decoration: none; border-bottom: 1px dashed rgba(110,255,232,0.4); }
.sf-card p a:hover { border-bottom-color: var(--accent); }
@media (max-width: 900px) { .service-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .service-features { grid-template-columns: 1fr; } }

/* RELATED-SERVICES GRID */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.related-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, var(--surface), var(--surface2));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.4rem 1.6rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110,255,232,0.3);
  box-shadow: 0 16px 36px rgba(0,0,0,0.32);
}
.related-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.related-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  flex: 1;
}
.related-link {
  margin-top: 1rem;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
@media (max-width: 1000px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }

/* FAQ ACCORDION */
.faq-accordion { display: flex; flex-direction: column; gap: 1rem; }
.faq-accordion details {
  background: linear-gradient(145deg, var(--surface), var(--surface2));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  transition: border-color 0.2s;
}
.faq-accordion details:hover { border-color: rgba(110,255,232,0.25); }
.faq-accordion summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary span {
  color: var(--accent);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-accordion details[open] summary span { transform: rotate(45deg); }
.faq-accordion p {
  color: var(--muted);
  margin-top: 0.8rem;
  line-height: 1.75;
  font-size: 0.94rem;
}
.faq-accordion p a { color: var(--accent); text-decoration: none; border-bottom: 1px dashed rgba(110,255,232,0.4); }
.faq-accordion p a:hover { border-bottom-color: var(--accent); }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, rgba(110,255,232,0.05), rgba(167,139,250,0.04));
  border: 1px solid rgba(110,255,232,0.18);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: left;
}
.cta-banner h2 { margin-bottom: 1rem; }
@media (max-width: 600px) { .cta-banner { padding: 2rem 1.6rem; } }

/* COMPARE TABLE */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: linear-gradient(145deg, var(--surface), var(--surface2));
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 2rem;
  font-size: 0.92rem;
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  vertical-align: top;
}
.compare-table thead th {
  background: var(--surface3);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}
.compare-table thead th.win { color: var(--accent); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td.win { color: var(--text); }
.compare-table td.win::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.compare-table td.lose::before { content: "✗ "; color: #ff6b8a; font-weight: 700; }
@media (max-width: 700px) {
  .compare-table { font-size: 0.84rem; }
  .compare-table th, .compare-table td { padding: 0.8rem; }
}

/* TRUST BAR (sub-hero strip) */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.trust-bar span {
  background: rgba(110,255,232,0.05);
  border: 1px solid rgba(110,255,232,0.18);
  color: var(--muted);
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
}
.trust-bar span::before { content: "✓ "; color: var(--accent); }

/* INSIGHTS / BLOG GRID */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.insight-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, var(--surface), var(--surface2));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.insight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110,255,232,0.25);
  box-shadow: 0 16px 36px rgba(0,0,0,0.32);
}
.insight-card .insight-meta {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-weight: 500;
}
.insight-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text);
  line-height: 1.3;
}
.insight-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  flex: 1;
}
.insight-card .insight-cta {
  margin-top: 1.2rem;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
}
@media (max-width: 900px) { .insights-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .insights-grid { grid-template-columns: 1fr; } }

/* ARTICLE LAYOUT */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text);
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--text);
  scroll-margin-top: 6rem;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}
.article-body p { color: var(--muted); margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { color: var(--muted); padding-left: 1.6rem; margin-bottom: 1.4rem; }
.article-body li { margin-bottom: 0.5rem; line-height: 1.8; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body a { color: var(--accent); text-decoration: none; border-bottom: 1px dashed rgba(110,255,232,0.4); transition: border-color 0.2s; }
.article-body a:hover { border-bottom-color: var(--accent); }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.4rem;
  margin: 1.4rem 0;
  color: var(--muted);
  font-style: italic;
}
.article-body code {
  background: var(--surface2);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--accent);
}
.article-meta {
  max-width: 720px;
  margin: 0 auto 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-toc {
  max-width: 720px;
  margin: 1.5rem auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
}
.article-toc-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.article-toc ol {
  list-style: decimal;
  padding-left: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.article-toc li { margin-bottom: 0.35rem; }
.article-toc a { color: var(--muted); text-decoration: none; }
.article-toc a:hover { color: var(--accent); }

/* LOCATION-PAGE LIST */
.location-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1.8rem;
}
.location-list a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.location-list a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 700px) { .location-list { grid-template-columns: 1fr 1fr; } }

/* CASE-STUDY EVIDENCE BLOCK */
.evidence-block {
  background: linear-gradient(135deg, rgba(110,255,232,0.05), rgba(167,139,250,0.04));
  border: 1px solid rgba(110,255,232,0.18);
  border-radius: 14px;
  padding: 1.8rem 2rem;
  margin: 2rem 0;
}
.evidence-block .evidence-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.evidence-block blockquote {
  border: 0;
  padding: 0;
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text);
  font-style: normal;
}
.evidence-block cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.86rem;
}
