/* ─────────────────────────────────────────────────────────────
 * JNCS Local Landing pages · shared component CSS
 * ─────────────────────────────────────────────────────────────
 * The "custom PC builder in <town>, NY" pages (lp- prefix) all
 * render the same components on the site shell — hero, NAP card,
 * service-area chips, reviews strip, FAQ, closing CTA. This file
 * holds that set once; each town page links it and supplies only
 * its own copy + JSON-LD. Loaded after site-shell.css so it leans
 * on the shared design tokens. Was previously re-inlined (~85
 * lines) in all 8 town pages.
 * ───────────────────────────────────────────────────────────── */

.lp-wrap { max-width: 980px; margin: 0 auto; padding: clamp(40px, 8vh, 88px) 20px 80px; }

/* ── Hero ── */
.lp-head { max-width: 720px; margin: 0 auto clamp(26px, 5vh, 40px); text-align: center; }
.lp-head .kicker { margin-bottom: 12px; }
.lp-head h1 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(30px, 4.6vw, 48px); line-height: 1.05; margin: 0 0 14px;
}
.lp-head h1 .accent { color: var(--accent); }
.lp-head p { font-size: 16.5px; color: var(--ink-70); line-height: 1.6; margin: 0; }

.lp-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 22px auto 0; }
.lp-trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-70); }
.lp-trust-item svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.lp-trust-item b { color: var(--ink); font-weight: 600; }

.lp-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ── Contact / NAP card ── */
.lp-nap {
  margin-top: clamp(34px, 6vh, 52px);
  border: 1px solid var(--line-2); border-radius: var(--r-4); background: var(--paper-2);
  padding: clamp(22px, 4vw, 34px); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: var(--r-5); align-items: center;
}
.lp-nap::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
@media (max-width: 680px) { .lp-nap { grid-template-columns: 1fr; } }
.lp-nap-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.lp-nap-addr { font-size: 16px; color: var(--ink); line-height: 1.5; margin: 0 0 6px; font-weight: 600; }
.lp-nap-rows { font-size: 14px; color: var(--ink-70); line-height: 1.7; }
.lp-nap-rows a { color: var(--accent); }

/* ── Sections ── */
.lp-section { margin-top: clamp(48px, 8vh, 76px); }
.lp-section > h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; font-size: clamp(23px, 3vw, 30px); line-height: 1.15; margin: 0 0 8px; }
.lp-section > .lp-lede { font-size: 15px; color: var(--ink-70); line-height: 1.6; margin: 0 0 24px; max-width: 64ch; }

.lp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 680px) { .lp-grid { grid-template-columns: 1fr; } }
.lp-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-3); padding: 20px 20px 18px; transition: border-color 0.18s, transform 0.18s; }
.lp-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.lp-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin: 0 0 8px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.lp-card h3 svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.lp-card p { font-size: 13.5px; color: var(--ink-70); line-height: 1.55; margin: 0; }

/* ── Proximity callout ── */
.lp-near { margin-top: clamp(48px, 8vh, 76px); border: 1px solid var(--line-2); border-radius: var(--r-4); background: var(--paper-2); padding: clamp(24px, 4.5vw, 38px); }
.lp-near h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 2.8vw, 28px); margin: 0 0 12px; letter-spacing: -0.01em; }
.lp-near p { font-size: 15px; color: var(--ink-70); line-height: 1.65; margin: 0 0 12px; max-width: 70ch; }
.lp-near p:last-child { margin-bottom: 0; }
.lp-near a { color: var(--accent); }

/* ── Service area chips ── */
.lp-areas { display: flex; flex-wrap: wrap; gap: 9px; }
.lp-area { font-family: var(--font-mono); font-size: 12px; color: var(--ink-70); background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; }
.lp-area.is-home { color: var(--accent); border-color: var(--accent); }

/* ── Reviews strip ── */
.lp-reviews { margin-top: clamp(48px, 8vh, 76px); text-align: center; border: 1px solid var(--line); border-radius: var(--r-4); padding: clamp(26px, 5vw, 40px); }
.lp-stars { font-size: 22px; color: var(--accent); letter-spacing: 4px; margin-bottom: 8px; }
.lp-reviews h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 8px; }
.lp-reviews p { font-size: 14.5px; color: var(--ink-70); line-height: 1.6; margin: 0 auto 16px; max-width: 56ch; }
.lp-reviews a { color: var(--accent); }

/* ── FAQ ── */
.lp-faq { border-top: 1px solid var(--line); }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary { cursor: var(--cursor-pointer); list-style: none; padding: 16px 2px; font-weight: 600; font-size: 15.5px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; font-family: var(--font-mono); color: var(--accent); font-size: 20px; flex-shrink: 0; }
.lp-faq details[open] summary::after { content: '\2212'; }
.lp-faq .lp-faq-a { padding: 0 2px 18px; font-size: 14px; color: var(--ink-70); line-height: 1.6; max-width: 68ch; }
.lp-faq .lp-faq-a a { color: var(--accent); }

/* ── Closing CTA ── */
.lp-close { margin-top: clamp(48px, 8vh, 76px); text-align: center; border: 1px solid var(--line-2); border-radius: var(--r-4); background: var(--paper-2); padding: clamp(28px, 5vw, 44px); }
.lp-close h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 28px); margin: 0 0 10px; letter-spacing: -0.01em; }
.lp-close p { font-size: 15px; color: var(--ink-70); line-height: 1.6; margin: 0 auto 22px; max-width: 56ch; }
.lp-close-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lp-close-contact { margin-top: 16px; font-size: 13px; color: var(--ink-50); }
.lp-close-contact a { color: var(--accent); }

@media (prefers-reduced-motion: reduce) { .lp-card { transition: none; } }
