/* ─────────────────────────────────────────────────────────────────────────────
   landing.css: shared components for service and landing pages
   (/web-design/, /seo/, /google-ads/, /medspa-web-design/, /about/)

   Extracted from the inline <style> block that shipped with
   /medspa-web-design/ so the pattern lives in one place. Loads after
   style.css and case-study.css; only page-specific overrides should stay
   inline on an individual page.
   ───────────────────────────────────────────────────────────────────────── */

html { scroll-behavior: smooth; }

/* Tighter hero than a case study: the EFW showcase is the pitch, so it
   needs to reach the fold rather than sit a full screen below it. */
.cs-hero { padding-top: 104px; padding-bottom: 28px; }
.cs-hero .case-title { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.0; }

/* ── Hero CTA ── */
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 2px; text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.lp-btn-primary { background: var(--accent); border-color: var(--accent); color: #1A1103; }
.lp-btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-2px); }
.lp-btn-secondary { border-color: var(--rule-strong); color: var(--ice); }
.lp-btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.lp-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lp-btn:active { transform: scale(var(--press-scale)); transition-duration: var(--press-duration); }

/* ── Showcase: device mockups ── */
.showcase-frame {
  position: relative; display: grid; grid-template-columns: 1fr 200px;
  gap: 20px; align-items: end; margin-top: 32px;
}
.mock-desktop {
  border-radius: 3px; overflow: hidden;
  border: 1px solid var(--rule-strong);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
  background: var(--strata);
}
.mock-desktop-bar {
  display: flex; gap: 6px; align-items: center;
  padding: 9px 12px; background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.mock-url {
  margin-left: 8px; font-size: 11px; color: var(--muted);
  font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
}
.mock-desktop img, .mock-phone img { width: 100%; height: auto; display: block; }
.mock-phone {
  border-radius: 2px; overflow: hidden; padding: 7px;
  border: 1px solid rgba(255,255,255,0.14); background: #0A0F1F;
  box-shadow: 0 14px 44px rgba(0,0,0,0.55);
}
.mock-phone img { border-radius: 2px; }
.showcase-caption { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.6; }

/* ── Three-up service blocks ── */
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.lp-card {
  padding: 24px 22px; border-radius: 2px;
  border: 1px solid var(--rule); background: var(--strata);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.lp-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.lp-card:active { transform: scale(var(--press-scale-lg)); transition-duration: var(--press-duration); }
.lp-card-icon { color: var(--accent); margin-bottom: 14px; display: block; }
.lp-card h3 {
  font-family: var(--font-display); font-stretch: var(--display-wide);
  font-size: 15px; font-weight: 700; text-transform: uppercase;
  line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 10px; color: var(--fg);
}
.lp-card p { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0; text-wrap: pretty; }

/* ── Proof strip ── */
.proof-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center;
  margin-top: 28px; padding: 22px; border-radius: 2px;
  border: 1px solid var(--rule); background: var(--strata);
  text-decoration: none; transition: border-color 0.25s ease;
}
.proof-card { transition: border-color 0.25s ease, transform 0.24s var(--ease-out); }
.proof-card:hover { border-color: var(--accent); }
.proof-card:active { transform: scale(var(--press-scale-lg)); transition-duration: var(--press-duration); }
.proof-thumb { border-radius: 2px; overflow: hidden; border: 1px solid var(--rule); }
.proof-thumb img { width: 100%; height: 130px; object-fit: cover; display: block; }
.proof-label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.proof-title {
  display: block; font-family: var(--font-display); font-stretch: var(--display-wide);
  font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.015em;
  color: var(--fg); margin: 8px 0 8px;
}
.proof-text { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ── FAQ ──
   Answers stay open: the FAQPage markup in <head> mirrors this copy, and an
   always-visible answer is both better UX and simpler than an accordion. */
.faq-list { margin-top: 26px; }
.faq-item { padding: 18px 0; }
.faq-q {
  font-family: var(--font-display); font-stretch: 104%;
  font-size: 15px; font-weight: 600; color: var(--fg);
  margin: 0 0 8px; line-height: 1.35; letter-spacing: -0.01em;
}
.faq-a { font-size: 14px; line-height: 1.72; color: var(--muted); margin: 0; max-width: 68ch; text-wrap: pretty; }
.faq-a a { color: var(--accent); }

/* ── Prose blocks ──
   .case-section-text carries no vertical margin (it was only ever used as a
   single lead paragraph). Stacked paragraphs need separating. */
.case-section-text + .case-section-text { margin-top: 18px; }

/* A four-card grid reads better as 2x2 than 3 + 1 orphan. Scoped to wide
   viewports so the single-column mobile rule below still wins. */
@media (min-width: 901px) {
  .lp-grid:has(> :nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
}

/* ── Final CTA ── */
.final-cta {
  margin-top: 32px; padding: 36px 32px; border-radius: 2px; text-align: center;
  border: 1px solid var(--rule-strong); background: var(--strata);
}
.final-cta h2 {
  font-family: var(--font-display); font-stretch: var(--display-wide);
  font-size: clamp(22px, 3vw, 32px); font-weight: 700; text-transform: uppercase;
  line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 14px; color: var(--fg);
}
.final-cta p { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0 auto; max-width: 520px; }
.final-cta .lp-cta-row { justify-content: center; }
.booking-embed { margin-top: 26px; }
.booking-fallback { font-size: 13px; color: var(--muted); margin-top: 18px; }
.booking-fallback a { color: var(--accent); }

@media (max-width: 900px) {
  .showcase-frame { grid-template-columns: 1fr; gap: 24px; justify-items: center; }
  .mock-phone { width: 190px; }
  .lp-grid { grid-template-columns: 1fr; }
  .proof-card { grid-template-columns: 1fr; }
  .proof-thumb img { height: 170px; }
}
@media (max-width: 700px) {
  .lp-cta-row { flex-direction: column; align-items: stretch; }
  .lp-btn { justify-content: center; }
  .final-cta { padding: 28px 20px; }
}

/* ── Touch ──
   Hover lifts either never fire or stick to the last tapped element on a
   touch pointer; the press state is the feedback there. */
@media (hover: none) {
  .lp-btn-primary:hover, .lp-btn-secondary:hover, .lp-card:hover { transform: none; }
}
