/* ============================================================
   CITY / LOCATION SEO CONTENT — premium card library
   For MVP Site Builder generated sections (up to 10).
   Each section type has a DISTINCT treatment; sides alternate
   so a long page never feels repetitive. Headings stay uniform
   (~H2) per the inner-page rule.
   ============================================================ */

.seo { background: var(--cream); }
/* uniform heading size across all auto-card sections (matches inner-page rule) */
.seo h2, .seo h3, .seo h4 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(25px, 3vw, 33px); line-height: 1.14;
  letter-spacing: -0.02em; color: var(--text); text-wrap: balance;
}
.seo-band { padding: clamp(20px,3vw,40px) var(--pad-x); }
.seo-band.tint {
  background:
    radial-gradient(ellipse 42% 38% at 100% 0%, rgba(31,111,214,0.05), transparent 60%),
    radial-gradient(ellipse 38% 34% at 0% 100%, rgba(224,58,44,0.045), transparent 60%),
    var(--cream-2);
}

.seo-row {
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px,4.4vw,64px); align-items: center;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(38px,4.4vw,60px) 0;
}
.seo-row.reverse .seo-text { order: 2; }
.seo-row .seo-text .eyebrow { color: var(--brass); display: block; margin-bottom: 13px; }
.seo-row .seo-text h2, .seo-row .seo-text h3 { margin-bottom: 15px; }
.seo-row .seo-text p { color: var(--text-soft); line-height: 1.78; font-size: 15.5px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; text-wrap: pretty; }
.seo-row .seo-text p + p { margin-top: 13px; }
@media (max-width: 880px) {
  .seo-row { grid-template-columns: 1fr; gap: 26px; }
  .seo-row.reverse .seo-text { order: 0; }
  .seo-row .seo-text p { text-align: left; }
}

/* shared aside shell */
.seo-aside { position: relative; }
.aside-label {
  font-family: var(--display); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass);
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.aside-label::before { content: ""; width: 22px; height: 2px; background: var(--brass); border-radius: 2px; }

/* ---------- VARIANT 1 · LADDER (numbered, connected) ---------- */
.card-ladder {
  background: linear-gradient(180deg,#fff,var(--card));
  border: 1px solid rgba(17,36,64,0.08); border-radius: var(--radius);
  padding: clamp(26px,3vw,36px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(17,36,64,0.04), 0 26px 54px -36px rgba(17,36,64,0.24);
}
.ladder { list-style: none; position: relative; display: flex; flex-direction: column; gap: 20px; }
.ladder::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--fern), rgba(31,111,214,0.12)); }
.ladder li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.ladder .ln { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 17px; color:#fff; background: linear-gradient(150deg,var(--fern),#1657b0); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 0 0 5px var(--card); z-index: 1; }
.ladder b { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--text); display: block; margin-bottom: 3px; }
.ladder p { font-size: 14px; color: var(--text-soft); line-height: 1.55; }

/* ---------- VARIANT 2 · CHECK PANEL (light, red checks) ---------- */
.card-checks {
  background: linear-gradient(180deg,#fff,var(--card));
  border: 1px solid rgba(17,36,64,0.08); border-radius: var(--radius);
  padding: clamp(26px,3vw,38px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(17,36,64,0.04), 0 26px 54px -36px rgba(17,36,64,0.24);
}
.check-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; font-size: 15px; line-height: 1.5; color: var(--text); }
.check-list li b { font-weight: 700; }
.check-list .ci { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color:#fff; background: var(--fern); margin-top: 1px; }
.check-list.red .ci { background: var(--brass); }

/* ---------- VARIANT 3 · RECEIPT TIMELINE (dark navy) ---------- */
.card-timeline {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, var(--forest-soft) 0%, var(--forest) 62%);
  color: var(--cream); border-radius: var(--radius);
  padding: clamp(28px,3vw,40px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 60px -38px rgba(0,0,0,0.55);
}
.card-timeline .ac-glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(224,58,44,0.2), transparent 65%); top: -70px; right: -60px; }
.card-timeline .aside-label { color: var(--brass-bright); }
.timeline { list-style: none; position: relative; display: flex; flex-direction: column; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--brass-bright), rgba(217,180,104,0.15)); }
.timeline li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; }
.timeline .tn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--brass-bright); border: 1px solid var(--brass-soft); background: var(--forest-deep); z-index: 1; }
.timeline b { font-family: var(--display); font-weight: 700; font-size: 15.5px; color: var(--cream); display: block; margin-bottom: 3px; }
.timeline p { font-size: 13.5px; color: rgba(242,246,252,0.72); line-height: 1.5; }

/* ---------- VARIANT 4 · CHIP GRID ---------- */
.card-chips {
  background: linear-gradient(180deg,#fff,var(--card));
  border: 1px solid rgba(17,36,64,0.08); border-radius: var(--radius);
  padding: clamp(26px,3vw,36px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(17,36,64,0.04), 0 26px 54px -36px rgba(17,36,64,0.24);
}
.chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chip-grid .chip { display: flex; align-items: center; gap: 11px; padding: 14px 16px; border-radius: 14px; background: rgba(31,111,214,0.05); border: 1px solid rgba(31,111,214,0.14); font-size: 14px; font-weight: 600; color: var(--text); }
.chip-grid .chip svg { color: var(--fern); flex-shrink: 0; }
@media (max-width: 480px) { .chip-grid { grid-template-columns: 1fr; } }

/* ---------- VARIANT 5 · FAQ ACCORDION (full width) ---------- */
.seo-faq { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px,4.6vw,62px) 0; }
.seo-faq-head { text-align: center; max-width: 700px; margin: 0 auto clamp(28px,3vw,44px); }
.seo-faq-head .eyebrow { color: var(--brass); display: block; margin-bottom: 14px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item {
  background: linear-gradient(180deg,#fff,var(--card));
  border: 1px solid rgba(17,36,64,0.08); border-radius: 16px;
  padding: 24px 26px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 18px 40px -32px rgba(17,36,64,0.2);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.faq-item:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 34px 64px -38px rgba(17,36,64,0.3); }
.faq-item .q { display: flex; align-items: flex-start; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 16.5px; color: var(--text); margin-bottom: 10px; line-height: 1.3; }
.faq-item .q .qm { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; background: var(--brass); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; font-family: var(--display); }
.faq-item .a { font-size: 14.5px; line-height: 1.65; color: var(--text-soft); padding-left: 36px; text-wrap: pretty; }
@media (max-width: 680px) { .faq-grid { grid-template-columns: 1fr; } .faq-item .a { padding-left: 0; } }

/* ---------- NEARBY INTERLINK BAND ---------- */
.seo-nearby { max-width: var(--maxw); margin: 0 auto; padding: clamp(34px,4vw,52px) 0 0; }
.nearby-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--forest) 0%, var(--ink) 100%);
  color: var(--cream); border-radius: var(--radius);
  padding: clamp(28px,3.4vw,42px) clamp(28px,3.4vw,46px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.nearby-card .ac-glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(31,111,214,0.4), transparent 65%); bottom: -120px; left: -60px; }
.nearby-card .nc-text { position: relative; z-index: 1; }
.nearby-card .nc-eyebrow { font-family: var(--display); font-size: 11.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); display: block; margin-bottom: 10px; }
.nearby-card h3 { font-family: var(--display); font-weight: 800; font-size: clamp(20px,2.3vw,28px); letter-spacing: -0.02em; color: var(--cream); max-width: 22ch; text-wrap: balance; }
.nearby-links { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.nearby-links a { display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: var(--cream); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: background 0.25s, transform 0.25s, border-color 0.25s; }
.nearby-links a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); transform: translateY(-2px); }
.nearby-links a svg { color: var(--brass-bright); transition: color 0.25s; }
.nearby-links a:hover svg { color: var(--ink); }

.seo-back { max-width: var(--maxw); margin: 0 auto; padding: 26px 0 0; }
.seo-back a { display: inline-flex; align-items: center; gap: 9px; color: var(--fern); font-family: var(--display); font-weight: 700; font-size: 15px; text-decoration: none; transition: gap 0.25s; }
.seo-back a:hover { gap: 13px; }

/* ---------- VARIANT 6 · BULLETS (two-column checklist) ---------- */
.card-bullets {
  background: linear-gradient(180deg,#fff,var(--card));
  border: 1px solid rgba(17,36,64,0.08); border-radius: var(--radius);
  padding: clamp(26px,3vw,36px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(17,36,64,0.04), 0 26px 54px -36px rgba(17,36,64,0.24);
}
.bullets-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; list-style: none; }
.bullets-2 li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.bullets-2 li b { font-weight: 700; }
.bullets-2 li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(224,58,44,0.12); }
@media (max-width: 480px) { .bullets-2 { grid-template-columns: 1fr; } }

/* ---------- VARIANT 7 · STAT DUO (2x2 numeric tiles) ---------- */
.card-statduo {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, var(--forest-soft) 0%, var(--forest) 62%);
  color: var(--cream); border-radius: var(--radius);
  padding: clamp(26px,3vw,38px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 60px -38px rgba(0,0,0,0.55);
}
.card-statduo .ac-glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(31,111,214,0.4), transparent 65%); top: -80px; right: -60px; }
.card-statduo .aside-label { color: var(--brass-bright); }
.statduo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; position: relative; }
.statduo .sd { }
.statduo .sd .n { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(26px,3.2vw,38px); letter-spacing: -0.03em; color: var(--brass-bright); line-height: 1; }
.statduo .sd .l { font-size: 13px; color: var(--sage); margin-top: 6px; display: block; line-height: 1.4; }

/* ---------- VARIANT 8 · HIGHLIGHT (single callout, for list-less sections) ---------- */
.card-highlight {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg,#fff,var(--card));
  border: 1px solid rgba(17,36,64,0.08); border-radius: var(--radius);
  padding: clamp(28px,3.2vw,40px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(17,36,64,0.04), 0 26px 54px -36px rgba(17,36,64,0.24);
}
.card-highlight .hl-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color:#fff; background: linear-gradient(150deg,var(--fern),#1657b0); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22); margin-bottom: 20px; }
.card-highlight .hl-quote { font-family: var(--display); font-weight: 700; font-size: clamp(18px,2vw,22px); line-height: 1.35; letter-spacing: -0.01em; color: var(--text); text-wrap: balance; }
.card-highlight .hl-quote .serif-accent { color: var(--fern); }
.card-highlight .hl-sub { margin-top: 14px; font-size: 14.5px; line-height: 1.6; color: var(--text-soft); }

/* ---------- PROSE BLOCK (plain article text, for list-less sections) ---------- */
.seo-prose { max-width: 900px; margin: 0 auto; padding: clamp(34px,4vw,54px) 0; }
.seo-prose .eyebrow { color: var(--brass); display: block; margin-bottom: 13px; }
.seo-prose h2, .seo-prose h3 { margin-bottom: 16px; }
.seo-prose p { color: var(--text-soft); line-height: 1.85; font-size: 16px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; text-wrap: pretty; }
.seo-prose p + p { margin-top: 14px; }
@media (max-width: 720px) { .seo-prose p { text-align: left; } }

/* ============================================================
   FULL-WIDTH CONTENT CARDS — every heading+content block is a card,
   even with NO list. Styles rotate (plain/rail/icon/tint/cols/dark)
   so up to 10 sections never repeat.
   ============================================================ */
.seo-card {
  position: relative; max-width: 1000px; margin: 0 auto; overflow: hidden;
  background: linear-gradient(180deg,#fff,var(--card));
  border: 1px solid rgba(17,36,64,0.08); border-radius: var(--radius);
  padding: clamp(30px,3.4vw,46px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(17,36,64,0.04), 0 26px 54px -38px rgba(17,36,64,0.22);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.seo-card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 38px 70px -40px rgba(17,36,64,0.32); }
.seo-card .eyebrow { color: var(--brass); display: block; margin-bottom: 13px; }
.seo-card h2, .seo-card h3 { margin-bottom: 15px; }
.seo-card p { color: var(--text-soft); line-height: 1.85; font-size: 16px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; text-wrap: pretty; }
.seo-card p + p { margin-top: 13px; }

/* A · plain — accent hairline across the top */
.seo-card.plain::before { content: ""; position: absolute; top: 0; left: clamp(30px,3.4vw,46px); right: clamp(30px,3.4vw,46px); height: 2px; background: linear-gradient(90deg, var(--brass), transparent); }
/* B · left accent rail */
.seo-card.rail { border-left: 4px solid var(--brass); }
/* C · icon top */
.seo-card .sc-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, var(--fern), #1657b0); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22); margin-bottom: 20px; }
/* D · tinted */
.seo-card.tint { background: linear-gradient(180deg, #fff, #E9F1FC); border-color: rgba(31,111,214,0.16); }
.seo-card.tint::before { content: ""; position: absolute; top: 0; left: clamp(30px,3.4vw,46px); right: clamp(30px,3.4vw,46px); height: 2px; background: linear-gradient(90deg, var(--fern), transparent); }
/* E · two-column body */
.seo-card.cols .sc-body { column-count: 2; column-gap: 44px; }
.seo-card.cols .sc-body p { text-align: justify; }
.seo-card.cols .sc-body p:first-child { margin-top: 0; }
@media (max-width: 680px) { .seo-card.cols .sc-body { column-count: 1; } }
/* F · dark */
.seo-card.dark { background: linear-gradient(165deg, var(--forest-soft), var(--forest)); border-color: transparent; color: var(--cream); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 60px -38px rgba(0,0,0,0.5); }
.seo-card.dark .eyebrow { color: var(--brass-bright); }
.seo-card.dark h2, .seo-card.dark h3 { color: var(--cream); }
.seo-card.dark p { color: rgba(242,246,252,0.78); }
.seo-card .ac-glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(224,58,44,0.18), transparent 65%); top: -80px; right: -60px; pointer-events: none; }
