/* YardBackup SEO Guide & Comparison Page Extensions */

.breadcrumb {
  padding: 16px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--pine);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.seo-hero {
  padding: 36px 0 48px;
  border-bottom: 1px solid var(--rule);
}

.seo-hero-inner {
  max-width: 780px;
}

.seo-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pine);
  background: var(--pine-tint);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.seo-hero h1 {
  font-family: var(--f-disp);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}

.seo-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.seo-answer-box {
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--pine);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.seo-answer-box h2 {
  font-family: var(--f-disp);
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--ink);
}

.seo-answer-box p {
  margin: 0;
  color: var(--ink-soft);
}

/* Comparison Tables (Google, Bing, and AI Search extraction-ready) */
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  margin-top: 24px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 15px;
  text-align: left;
}

.compare-table caption {
  text-align: left;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 20px;
  background: var(--stone);
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.compare-table thead th {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  background: var(--chalk);
}

.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th {
  border-bottom: none;
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--ink);
}

.compare-table .col-highlight {
  background: var(--pine-tint);
  color: var(--ink);
  font-weight: 600;
}

.compare-table thead .col-highlight {
  background: var(--pine);
  color: var(--white);
}

/* Template Cards (copy-and-paste value) */
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.template-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.template-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.template-card h3 {
  font-family: var(--f-disp);
  font-size: 18px;
  margin: 0;
  color: var(--ink);
}

.char-badge {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--pine-tint);
  color: var(--pine);
  white-space: nowrap;
}

.sms-bubble {
  background: var(--stone);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

.template-note {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* Interactive Cost & Missed-Call Calculator */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

.calc-panel,
.calc-results {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 24px;
}

.calc-results {
  background: var(--night);
  color: var(--chalk);
  border-color: var(--rule-dark);
}

.calc-results h3 {
  font-family: var(--f-disp);
  font-size: 20px;
  margin: 0 0 16px;
  color: var(--white);
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.calc-field:last-child {
  margin-bottom: 0;
}

.calc-field label {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.calc-field input[type="number"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--chalk);
}

.calc-stat {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-dark);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.calc-stat:last-of-type {
  border-bottom: none;
}

.calc-stat-label {
  font-size: 14px;
  color: var(--mist);
}

.calc-stat-value {
  font-family: var(--f-disp);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

.calc-stat-value--accent {
  color: #F4A261;
}

.calc-disclaimer {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--mist);
}

/* Honest Fit Callout & CTA Banner */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.fit-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 22px;
}

.fit-card--good {
  border-top: 4px solid var(--pine);
}

.fit-card--alt {
  border-top: 4px solid var(--ink-soft);
}

.fit-card h3 {
  font-family: var(--f-disp);
  font-size: 19px;
  margin: 0 0 12px;
}

.fit-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.fit-card li + li {
  margin-top: 8px;
}

.cta-banner {
  background: var(--pine);
  color: var(--white);
  border-radius: var(--r-md);
  padding: 32px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-banner h2 {
  font-family: var(--f-disp);
  font-size: clamp(24px, 3.5vw, 32px);
  margin: 0 0 8px;
  color: var(--white);
}

.cta-banner p {
  margin: 0;
  color: var(--pine-tint);
  max-width: 560px;
}
