:root {
  --paper: #f6f8fb;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --ink: #17202a;
  --muted: #64748b;
  --line: #d8e1ea;
  --accent: #0f766e;
  --accent-2: #2563eb;
  --accent-soft: #e8f5f4;
  --header-bg: rgba(255, 255, 255, 0.9);
  --section-bg: #ffffff;
  --footer-bg: #101827;
  --photo-tint: rgba(10, 15, 25, 0.10);
  --card-top: var(--accent);
  --warn: #b7791f;
  --shadow: 0 30px 70px -36px rgba(15, 23, 42, 0.42);
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.06), 0 18px 36px -28px rgba(15, 23, 42, 0.4);
  --shadow-hover: 0 22px 44px -30px rgba(15, 23, 42, 0.46);
  --font: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body {
  margin: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--paper), #ffffff 16%) 0, var(--paper) 42%, var(--section-bg) 100%);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.demo-law {
  --paper: #f7f1e7;
  --surface: #fffaf0;
  --surface-strong: #ffffff;
  --ink: #25170f;
  --muted: #6d5a45;
  --line: #dfca9d;
  --accent: #b8862b;
  --accent-2: #4a2d1a;
  --accent-soft: #f4e5c4;
  --header-bg: rgba(255, 250, 240, 0.94);
  --section-bg: #fffaf0;
  --footer-bg: #24170f;
  --photo-tint: rgba(73, 45, 26, 0.16);
  --card-top: #b8862b;
  --shadow: 0 24px 54px -30px rgba(74, 45, 26, 0.55);
}

body.demo-clinic {
  --paper: #f2f8ff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --ink: #0e2a47;
  --muted: #55708c;
  --line: #cfe2f6;
  --accent: #1d78c8;
  --accent-2: #0b4f86;
  --accent-soft: #e3f1ff;
  --header-bg: rgba(255, 255, 255, 0.94);
  --section-bg: #ffffff;
  --footer-bg: #0d3152;
  --photo-tint: rgba(29, 120, 200, 0.08);
  --card-top: #1d78c8;
  --shadow: 0 24px 54px -30px rgba(13, 49, 82, 0.42);
}

body.demo-service {
  --paper: #f6f7f1;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #17251f;
  --muted: #65736a;
  --line: #d9ded2;
  --accent: #b45309;
  --accent-2: #0f766e;
  --accent-soft: #e9f4ef;
  --header-bg: rgba(255, 253, 248, 0.94);
  --section-bg: #fffdf8;
  --footer-bg: #16241f;
  --photo-tint: rgba(15, 118, 110, 0.09);
  --card-top: #0f766e;
  --shadow: 0 24px 54px -30px rgba(22, 36, 31, 0.48);
}

body.demo-whatsapp {
  --paper: #f1f7f4;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --ink: #12302a;
  --muted: #58736d;
  --line: #c9ded7;
  --accent: #128c7e;
  --accent-2: #25d366;
  --accent-soft: #dff7eb;
  --header-bg: rgba(255, 255, 255, 0.94);
  --section-bg: #ffffff;
  --footer-bg: #0b241f;
  --card-top: #25d366;
  --shadow: 0 24px 54px -30px rgba(18, 48, 42, 0.42);
}

a { color: inherit; text-decoration: none; }

.demo-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.demo-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 28%);
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.demo-header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.demo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 30px -20px var(--accent);
}

.demo-law .demo-mark {
  color: #24170f;
  background: linear-gradient(135deg, #f1d28b, #b8862b);
}

.demo-clinic .demo-mark {
  background: linear-gradient(135deg, #2e91df, #0b4f86);
}

.demo-whatsapp .demo-mark {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.demo-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 16px 30px -22px var(--accent);
}

.demo-logo svg,
.demo-logo img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: inherit;
}

.demo-logo .logo-bg,
.demo-logo .logo-fill {
  fill: currentColor;
}

.demo-logo .logo-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-logo {
  color: #2a1a0f;
  background: linear-gradient(135deg, #f4d992, #b8862b 68%, #6b3f18);
  border: 1px solid rgba(74, 45, 26, 0.18);
}

.legal-logo .logo-bg {
  fill: rgba(255, 250, 240, 0.86);
}

.legal-logo .logo-line {
  stroke: #3a2415;
  stroke-width: 1.75;
}

.clinic-logo {
  color: #ffffff;
  background: linear-gradient(135deg, #61c5ff, #1d78c8 56%, #0b4f86);
}

.clinic-logo .logo-bg {
  fill: rgba(255, 255, 255, 0.26);
}

.clinic-logo .logo-fill {
  fill: #ffffff;
}

.service-logo {
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #2f8f63 50%, #b45309);
}

.service-logo .logo-bg {
  fill: rgba(255, 255, 255, 0.22);
}

.service-logo .logo-fill {
  fill: #ffffff;
}

.service-logo .logo-line {
  stroke: #ffffff;
  stroke-width: 1.75;
}

.whatsapp-logo {
  color: #ffffff;
  background: linear-gradient(135deg, #25d366, #128c7e 58%, #075e54);
}

.whatsapp-logo .logo-bg {
  fill: rgba(255, 255, 255, 0.22);
}

.whatsapp-logo .logo-line {
  stroke: #ffffff;
  stroke-width: 1.75;
}

.demo-nav {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.demo-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 160ms ease, color 160ms ease;
}

.demo-nav a:hover {
  background: #eef3f8;
  color: var(--ink);
}

.demo-law .demo-nav a:hover { background: #f4e5c4; }
.demo-clinic .demo-nav a:hover { background: #e3f1ff; }
.demo-service .demo-nav a:hover { background: #e9f4ef; }
.demo-whatsapp .demo-nav a:hover { background: #dff7eb; }

.demo-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-lang {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.demo-lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.demo-lang a.is-active {
  background: var(--accent);
  color: #fff;
}

.demo-preview-strip {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 16%);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent-soft), transparent 30%), transparent 62%),
    color-mix(in srgb, var(--surface), #ffffff 12%);
}

.demo-preview-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.demo-preview-copy {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.demo-preview-copy span {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-preview-copy strong {
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.demo-preview-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  box-shadow: var(--shadow-soft);
}

.demo-law .demo-preview-cta {
  color: #24170f;
  background: linear-gradient(135deg, #f1d28b, #b8862b);
}

.demo-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-2);
}

.demo-hero {
  min-height: min(820px, calc(100vh - 68px));
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding: clamp(48px, 7vw, 84px) 0 34px;
}

.demo-law .demo-hero,
.demo-clinic .demo-hero {
  position: relative;
}

.demo-law .demo-hero::before,
.demo-clinic .demo-hero::before {
  content: "";
  position: absolute;
  inset: 18px 24px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  pointer-events: none;
}

.demo-copy h1 {
  max-width: 780px;
  margin: 14px 0 16px;
  font-size: clamp(44px, 5.7vw, 68px);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.demo-copy,
.demo-visual {
  min-width: 0;
}

.demo-copy p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18.5px;
  line-height: 1.62;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.demo-btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.demo-btn.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.demo-law .demo-btn.primary {
  color: #24170f;
  background: linear-gradient(135deg, #f1d28b, #b8862b);
}

.demo-whatsapp .demo-btn.primary {
  background: linear-gradient(135deg, #128c7e, #0b6f62);
}

.demo-visual {
  display: grid;
  gap: 14px;
}

.demo-photo {
  position: relative;
  min-height: 318px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(var(--photo-tint), var(--photo-tint)),
    var(--photo) center/cover no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.demo-photo::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 6px;
  pointer-events: none;
}

.demo-law .demo-photo {
  background-blend-mode: multiply, normal;
}

.legal-visual,
.clinic-visual,
.service-visual,
.whatsapp-visual {
  align-items: stretch;
}

.demo-law .legal-visual {
  grid-template-columns: minmax(180px, 0.84fr) minmax(240px, 1.16fr);
}

.demo-law .legal-visual .demo-photo {
  grid-row: span 2;
  min-height: 430px;
}

.demo-law .legal-visual .demo-proof-grid,
.demo-clinic .clinic-visual .demo-proof-grid,
.demo-service .service-visual .demo-proof-grid,
.demo-whatsapp .whatsapp-visual .demo-proof-grid {
  grid-column: 1 / -1;
}

.legal-dossier,
.clinic-care-card,
.service-board,
.wa-channel-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.legal-dossier {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 260px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(184, 134, 43, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(255, 250, 240, 0.7)),
    var(--surface);
}

.dossier-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 18%);
}

.dossier-seal {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(74, 45, 26, 0.2);
  background: linear-gradient(135deg, #f1d28b, #b8862b);
  color: #2a1a0f;
  font-weight: 900;
}

.dossier-top span,
.clinic-card-head span,
.service-board-head span,
.wa-channel-panel > div:first-child > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dossier-top strong,
.clinic-card-head strong,
.service-board-head strong,
.wa-channel-panel strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  line-height: 1.2;
}

.dossier-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 38%);
}

.dossier-row:last-child { border-bottom: 0; }

.dossier-row span {
  color: var(--muted);
  font-size: 13px;
}

.dossier-row b {
  color: var(--ink);
  font-size: 13px;
  text-align: right;
}

.demo-clinic .clinic-visual {
  grid-template-columns: minmax(220px, 0.78fr) minmax(300px, 1.22fr);
}

.demo-clinic .clinic-visual .demo-photo {
  min-height: 330px;
}

.clinic-care-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(29, 120, 200, 0.14), transparent 48%),
    #ffffff;
}

.clinic-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d8e9fa;
}

.clinic-cross-mini {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #e3f1ff;
}

.clinic-cross-mini::before,
.clinic-cross-mini::after {
  content: "";
  position: absolute;
  inset: 11px 17px;
  border-radius: 2px;
  background: #1d78c8;
}

.clinic-cross-mini::after {
  inset: 17px 11px;
}

.clinic-slot {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #d8e9fa;
  border-radius: 8px;
  background: #f7fbff;
}

.clinic-slot b {
  color: #0b4f86;
  font-size: 15px;
}

.clinic-slot span,
.clinic-note {
  color: var(--muted);
  font-size: 13px;
}

.clinic-note {
  padding: 12px;
  border-radius: 8px;
  background: #eef7ff;
}

.demo-service .service-visual {
  grid-template-columns: minmax(240px, 0.95fr) minmax(300px, 1.05fr);
}

.demo-service .service-visual .demo-photo {
  min-height: 330px;
}

.service-board {
  display: grid;
  gap: 12px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.13), transparent 46%),
    #fffdf8;
}

.service-board-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.service-board-head strong {
  color: #0f766e;
  font-size: 28px;
}

.service-ticket {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid #0f766e;
  border-radius: 8px;
  background: #ffffff;
}

.service-ticket.is-soft {
  border-left-color: #b45309;
  background: #fff7ed;
}

.service-ticket b {
  font-size: 15px;
}

.service-ticket span {
  color: var(--muted);
  font-size: 13px;
}

.wa-phone {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 420px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f7fbf9;
  box-shadow: var(--shadow);
}

.wa-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px 14px 8px 8px;
  background: #075e54;
  color: #fff;
}

.wa-top strong,
.wa-top span {
  display: block;
}

.wa-top strong {
  font-size: 16px;
}

.wa-top span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.wa-live {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.22);
  color: #fff;
  font-weight: 800;
}

.wa-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  padding: 18px 12px 12px;
  border: 1px solid #d7e8e2;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background:
    linear-gradient(135deg, rgba(18, 140, 126, 0.08), transparent 44%),
    #edf6f1;
}

.wa-bubble {
  max-width: 82%;
  padding: 11px 12px;
  border: 1px solid rgba(8, 64, 55, 0.08);
  border-radius: 12px;
  color: #12302a;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 10px 24px -20px rgba(18, 48, 42, 0.4);
}

.wa-in {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: #ffffff;
}

.wa-out {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: #d9fdd3;
}

.demo-whatsapp .whatsapp-visual {
  grid-template-columns: minmax(260px, 0.88fr) minmax(280px, 1.12fr);
}

.demo-whatsapp .whatsapp-visual .wa-phone {
  grid-row: span 2;
}

.wa-channel-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(37, 211, 102, 0.14), transparent 48%),
    #ffffff;
}

.wa-channel-steps {
  display: grid;
  gap: 10px;
}

.wa-channel-steps span {
  position: relative;
  display: block;
  padding: 12px 12px 12px 38px;
  border: 1px solid #cfe8df;
  border-radius: 8px;
  background: #f4fbf7;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.wa-channel-steps span::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #25d366;
  transform: translateY(-50%);
}

.demo-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.demo-proof {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.demo-proof strong {
  display: block;
  margin-bottom: 4px;
  font-size: 22px;
}

.demo-proof span {
  color: var(--muted);
  font-size: 13px;
}

.demo-band {
  border-top: 1px solid var(--line);
  background: var(--section-bg);
}

.demo-section {
  padding: clamp(58px, 7vw, 82px) 0;
}

.demo-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.demo-section-head h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
}

.demo-section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.demo-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.demo-card {
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0)),
    var(--surface);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.demo-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent), var(--line) 45%);
  box-shadow: var(--shadow-hover);
}

.demo-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--card-top);
}

.demo-card b {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.demo-card p {
  margin: 0;
  color: var(--muted);
}

.demo-conversion {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft), transparent 18%), transparent 48%),
    var(--section-bg);
}

.demo-conversion-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(52px, 7vw, 78px) 24px;
}

.demo-conversion h2 {
  max-width: 720px;
  margin: 14px 0 14px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
}

.demo-conversion p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.demo-setup-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.demo-setup-panel ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: setup;
}

.demo-setup-panel li {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
}

.demo-setup-panel li::before {
  counter-increment: setup;
  content: counter(setup);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.demo-law .demo-setup-panel li::before {
  color: #24170f;
  background: linear-gradient(135deg, #f1d28b, #b8862b);
}

.demo-footer {
  padding: 30px 0 110px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--footer-bg), #ffffff 4%), var(--footer-bg)),
    var(--footer-bg);
}

.demo-footer .demo-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.demo-footer strong { color: #fff; }

/* 2026-05 premium demo refresh */
body {
  background:
    radial-gradient(circle at 18% 8%, color-mix(in srgb, var(--accent-soft), transparent 20%), transparent 30%),
    linear-gradient(180deg, #ffffff 0, var(--paper) 38%, var(--section-bg) 100%);
}

body.demo-law {
  background:
    radial-gradient(circle at 22% 10%, rgba(214, 170, 69, 0.22), transparent 28%),
    linear-gradient(180deg, #23170f 0 820px, #f8f1e3 820px, #fffaf0 100%);
}

body.demo-clinic {
  background:
    radial-gradient(circle at 78% 8%, rgba(69, 166, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #f7fbff 0, #ffffff 48%, #f2f8ff 100%);
}

body.demo-service {
  background:
    radial-gradient(circle at 76% 10%, rgba(15, 118, 110, 0.18), transparent 30%),
    linear-gradient(180deg, #fffdf8 0, #f5f8f1 48%, #ffffff 100%);
}

body.demo-whatsapp {
  background:
    radial-gradient(circle at 76% 12%, rgba(37, 211, 102, 0.18), transparent 30%),
    linear-gradient(180deg, #f7fffb 0, #ffffff 48%, #eef8f3 100%);
}

.demo-header {
  border-bottom-color: color-mix(in srgb, var(--line), transparent 8%);
  background: color-mix(in srgb, var(--header-bg), #ffffff 8%);
}

.demo-law .demo-header {
  background: rgba(35, 23, 15, 0.92);
  border-bottom-color: rgba(214, 170, 69, 0.26);
}

.demo-law .demo-brand,
.demo-law .demo-lang a {
  color: #fff7e8;
}

.demo-header-inner {
  min-height: 76px;
}

.demo-brand {
  font-size: 19px;
  letter-spacing: 0;
}

.demo-header-actions {
  margin-left: auto;
}

.demo-nav {
  display: none;
}

.demo-lang {
  background: color-mix(in srgb, var(--surface-strong), transparent 4%);
  box-shadow: none;
}

.demo-law .demo-lang {
  border-color: rgba(214, 170, 69, 0.42);
  background: rgba(255, 247, 232, 0.08);
}

.demo-law .demo-lang a.is-active {
  color: #24170f;
  background: #f0c86a;
}

.demo-preview-strip {
  border-bottom-color: color-mix(in srgb, var(--line), transparent 28%);
  background: color-mix(in srgb, var(--surface), transparent 8%);
}

.demo-law .demo-preview-strip {
  background: linear-gradient(90deg, rgba(214, 170, 69, 0.18), rgba(255, 247, 232, 0.08));
  border-bottom-color: rgba(214, 170, 69, 0.24);
  color: #fff7e8;
}

.demo-law .demo-preview-copy strong {
  color: #fff7e8;
}

.demo-hero {
  min-height: min(760px, calc(100vh - 86px));
  grid-template-columns: minmax(0, 0.98fr) minmax(390px, 1.02fr);
  padding-top: clamp(54px, 7vw, 96px);
  padding-bottom: clamp(44px, 6vw, 76px);
}

.demo-law .demo-hero::before,
.demo-clinic .demo-hero::before {
  display: none;
}

.demo-law .demo-copy h1,
.demo-law .demo-copy p {
  color: #fff7e8;
}

.demo-law .demo-copy p {
  color: #dcc8a8;
}

.demo-copy h1 {
  max-width: 760px;
  font-size: clamp(46px, 5.4vw, 74px);
  line-height: 0.98;
}

.demo-copy p {
  max-width: 590px;
}

.demo-topline {
  letter-spacing: 0.11em;
}

.demo-visual {
  position: relative;
  gap: 16px;
}

.demo-photo,
.legal-dossier,
.clinic-care-card,
.service-board,
.wa-channel-panel,
.demo-proof,
.demo-card,
.demo-setup-panel {
  border-radius: 8px;
  box-shadow: 0 28px 62px -42px rgba(15, 23, 42, 0.55);
}

.demo-photo {
  border-color: color-mix(in srgb, var(--line), transparent 4%);
}

.demo-law .demo-photo,
.demo-law .legal-dossier,
.demo-law .demo-proof,
.demo-law .demo-card,
.demo-law .demo-setup-panel {
  border-color: rgba(214, 170, 69, 0.34);
}

.demo-law .legal-dossier {
  background:
    linear-gradient(135deg, rgba(240, 200, 106, 0.24), transparent 48%),
    linear-gradient(180deg, rgba(255, 247, 232, 0.98), rgba(255, 247, 232, 0.88));
}

.demo-clinic .clinic-care-card,
.demo-clinic .demo-card,
.demo-clinic .demo-proof {
  border-color: #bfdbfe;
}

.demo-clinic .clinic-care-card {
  background:
    linear-gradient(135deg, rgba(29, 120, 200, 0.16), transparent 52%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.demo-service .service-board,
.demo-service .demo-card,
.demo-service .demo-proof {
  border-color: #cfe0ca;
}

.demo-service .service-board {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), transparent 50%),
    linear-gradient(180deg, #ffffff, #fffdf8);
}

.demo-whatsapp .wa-phone {
  border-color: #bfe4d2;
  background: #ffffff;
}

.demo-whatsapp .wa-channel-panel,
.demo-whatsapp .demo-card,
.demo-whatsapp .demo-proof {
  border-color: #bfe4d2;
}

.demo-proof-grid {
  gap: 12px;
}

.demo-proof {
  background: color-mix(in srgb, var(--surface), #ffffff 36%);
}

.demo-section {
  padding-top: clamp(64px, 7vw, 92px);
  padding-bottom: clamp(64px, 7vw, 92px);
}

.demo-band {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--section-bg), #ffffff 8%), var(--section-bg));
}

.demo-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
    var(--surface);
}

.demo-law .demo-card {
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.98), rgba(255, 247, 232, 0.82)),
    #fff7e8;
}

.demo-conversion {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft), transparent 8%), transparent 52%),
    color-mix(in srgb, var(--section-bg), #ffffff 8%);
}

.demo-footer {
  padding-top: 34px;
}

@media (max-width: 920px) {
  .demo-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .demo-law .legal-visual,
  .demo-clinic .clinic-visual,
  .demo-service .service-visual,
  .demo-whatsapp .whatsapp-visual {
    grid-template-columns: 1fr;
  }

  .demo-law .legal-visual .demo-photo,
  .demo-whatsapp .whatsapp-visual .wa-phone {
    grid-row: auto;
  }

  .demo-copy h1 { font-size: 44px; }

  .demo-section-head {
    align-items: start;
    flex-direction: column;
  }

  .demo-cards,
  .demo-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .demo-wrap { padding: 0 16px; }

  .demo-header-inner {
    min-height: auto;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
  }

  .demo-header-actions {
    width: 100%;
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }

  .demo-nav {
    flex: 1 1 auto;
    width: auto;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .demo-lang {
    flex: 0 0 auto;
  }

  .demo-preview-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .demo-preview-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .demo-preview-copy strong {
    max-width: 340px;
    font-size: 14px;
  }

  .demo-copy h1 {
    font-size: 34px;
    line-height: 1.05;
    max-width: 340px;
  }

  .demo-copy p {
    max-width: 340px;
    font-size: 16px;
  }

  .demo-photo { min-height: 220px; }

  .demo-logo,
  .demo-logo svg {
    width: 36px;
    height: 36px;
  }

  .legal-dossier,
  .clinic-care-card,
  .service-board,
  .wa-channel-panel {
    padding: 16px;
  }

  .clinic-slot {
    grid-template-columns: 48px 1fr;
  }

  .wa-phone {
    min-height: 360px;
    border-radius: 18px;
  }

  .wa-bubble {
    max-width: 92%;
    font-size: 13px;
  }

  .demo-conversion-inner {
    grid-template-columns: 1fr;
    padding: 46px 16px;
  }

  .demo-conversion p {
    max-width: 340px;
    font-size: 16px;
  }

  .demo-footer .demo-wrap {
    flex-direction: column;
  }
}

/* ============================================================
   Real-business-site styles (added 2026-05)
   Used by the demo HTML pages to feel like an actual customer site.
   ============================================================ */

.site-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 28%);
  background: color-mix(in srgb, var(--accent), #000 12%);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-align: center;
}

.site-strip strong { font-weight: 800; }
.site-strip a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.site-nav-row {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 24%);
  background: var(--header-bg, rgba(255, 255, 255, 0.94));
  backdrop-filter: saturate(160%) blur(16px);
}

.demo-law .site-nav-row {
  background: rgba(35, 23, 15, 0.94);
  border-bottom-color: rgba(214, 170, 69, 0.32);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.site-nav-links a {
  padding: 9px 12px;
  border-radius: 8px;
  transition: background 150ms ease, color 150ms ease;
}

.site-nav-links a:hover {
  background: var(--accent-soft);
  color: var(--ink);
}

.demo-law .site-nav-links { color: #e9d6ad; }
.demo-law .site-nav-links a:hover { background: rgba(240, 200, 106, 0.15); color: #fff7e8; }

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}

.demo-law .site-nav-phone { color: #fff7e8; }

.site-nav-phone svg {
  width: 16px;
  height: 16px;
}

.site-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 30px -18px var(--accent);
}

.demo-law .site-nav-cta {
  color: #24170f;
  background: linear-gradient(135deg, #f1d28b, #b8862b);
}

/* small demo banner that sits above nav */
.demo-banner-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, #0f172a, #1e293b);
  color: #cbd5e1;
  font-size: 12px;
  text-align: center;
}

.demo-banner-mini b { color: #fff; font-weight: 800; }
.demo-banner-mini a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

/* Hero (real-site flavor) */
.site-hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px);
  overflow: hidden;
}

.site-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.site-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-law .site-hero-eyebrow {
  background: rgba(240, 200, 106, 0.18);
  color: #f0c86a;
}

.site-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.demo-law .site-hero h1,
.demo-law .site-hero-lead {
  color: #fff7e8;
}
.demo-law .site-hero-lead { color: #d8c4a3; }

.site-hero-lead {
  margin: 0;
  max-width: 580px;
  color: var(--muted);
  font-size: 18.5px;
  line-height: 1.6;
}

.site-hero-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.site-hero-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15.5px;
}

.demo-law .site-hero-list li { color: #fff7e8; }

.site-hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M6.2 11.4 2.8 8l1.1-1.1 2.3 2.3 5.9-5.9 1.1 1.1z'/></svg>") center/14px no-repeat var(--accent);
  background: var(--accent);
}

.site-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.site-hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13.5px;
}

.demo-law .site-hero-trust { color: #c8b18a; }

.site-hero-trust .avatars {
  display: flex;
}

.site-hero-trust .avatars span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--accent-soft) center/cover no-repeat;
  border: 2px solid var(--surface-strong);
  margin-left: -8px;
  background-image: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.site-hero-trust .avatars span:first-child { margin-left: 0; }

.site-hero-visual {
  position: relative;
  min-height: 480px;
  border-radius: 14px;
  background: var(--photo) center/cover no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(15, 23, 42, 0.55));
}

.site-hero-floating {
  position: absolute;
  z-index: 2;
  border-radius: 12px;
  background: var(--surface-strong);
  box-shadow: 0 24px 50px -22px rgba(15, 23, 42, 0.5);
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-size: 13.5px;
}

.site-hero-floating.tl { top: 22px; left: 22px; }
.site-hero-floating.br { bottom: 22px; right: 22px; }

.site-hero-floating b {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 14.5px;
}

.site-hero-floating span {
  color: var(--muted);
  font-size: 12.5px;
}

/* Trust bar / logos */
.site-trust {
  border-top: 1px solid color-mix(in srgb, var(--line), transparent 35%);
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 35%);
  background: color-mix(in srgb, var(--section-bg), var(--accent-soft) 16%);
}

.site-trust-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.site-trust-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 700;
  font-size: 16px;
  opacity: 0.9;
}

.site-trust-row span { letter-spacing: 0.02em; }

/* Sections */
.site-section {
  padding: clamp(64px, 7vw, 96px) 0;
}

.site-section-alt {
  background: color-mix(in srgb, var(--section-bg), var(--accent-soft) 10%);
}

.site-section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.site-section-head .eyebrow {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-section-head h2 {
  margin: 16px 0 10px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.site-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-tile:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent), var(--line) 40%);
  box-shadow: var(--shadow-hover);
}

.service-tile-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.service-tile-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-tile h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.service-tile p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.service-tile-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed color-mix(in srgb, var(--line), transparent 20%);
}

.service-tile-price {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.service-tile-price b {
  font-size: 20px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.service-tile-cta {
  font-weight: 800;
  color: var(--accent);
  font-size: 14px;
}

.service-tile-cta::after {
  content: " →";
  transition: transform 160ms ease;
  display: inline-block;
}

.service-tile:hover .service-tile-cta::after { transform: translateX(3px); }

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.process-step h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.pricing-card.featured {
  position: relative;
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface-strong) 55%);
  box-shadow: 0 30px 60px -28px var(--accent);
  transform: translateY(-6px);
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-law .pricing-card-badge {
  color: #24170f;
  background: linear-gradient(135deg, #f1d28b, #b8862b);
}

.pricing-card-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 12px 0 6px;
}

.pricing-card-price b {
  font-size: 44px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-card-price span {
  color: var(--muted);
  font-size: 14px;
}

.pricing-card-desc {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.pricing-card ul li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
}

.pricing-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M6.2 11.4 2.8 8l1.1-1.1 2.3 2.3 5.9-5.9 1.1 1.1z'/></svg>") center/12px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M6.2 11.4 2.8 8l1.1-1.1 2.3 2.3 5.9-5.9 1.1 1.1z'/></svg>") center/12px no-repeat;
}

.pricing-card .demo-btn {
  width: 100%;
  margin-top: auto;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.testimonial-stars {
  display: flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent), transparent 88%);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.testimonial-card blockquote {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--line), transparent 30%);
}

.testimonial-author .avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
}

.testimonial-author b {
  display: block;
  font-size: 14.5px;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 13px;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  transition: transform 200ms ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: stretch;
}

.contact-info {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.contact-info h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14.5px;
}

.contact-info-item svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-item b {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-info-item span {
  color: var(--ink);
  line-height: 1.45;
}

.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.contact-form h3 {
  margin: 0 0 18px;
  font-size: 22px;
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent), transparent 78%);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form .field { margin-bottom: 12px; }

.contact-form button {
  width: 100%;
  margin-top: 8px;
}

.demo-intake-summary {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  border: 1px solid rgba(18, 140, 126, 0.26);
  border-radius: 12px;
  background: rgba(18, 140, 126, 0.08);
  padding: 14px;
}

.demo-intake-summary strong {
  color: var(--ink);
}

.demo-intake-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.demo-intake-summary ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-intake-summary li {
  display: grid;
  grid-template-columns: minmax(90px, 0.36fr) minmax(0, 1fr);
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.demo-intake-summary li b {
  color: var(--ink);
  font-weight: 700;
}

/* Real site footer */
.site-footer {
  padding: 64px 0 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--footer-bg);
  color: #cbd5e1;
}

.site-footer .demo-wrap { display: block; }

.site-footer-cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-brand b {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.site-footer-brand p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer-socials {
  display: flex;
  gap: 8px;
}

.site-footer-socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-footer-socials a:hover { background: rgba(255, 255, 255, 0.16); }

.site-footer-socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.site-footer-col h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer-col ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.site-footer-col a { color: #cbd5e1; }
.site-footer-col a:hover { color: #fff; }

.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  font-size: 13px;
  color: #94a3b8;
}

.site-footer-bottom a { color: #94a3b8; }
.site-footer-bottom a:hover { color: #fff; }

.site-footer-demo-note {
  font-size: 12px;
  color: #94a3b8;
}

.site-footer-demo-note b { color: #fff; }

/* Stats band */
.stats-band {
  padding: clamp(40px, 5vw, 60px) 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.demo-law .stats-band {
  background: linear-gradient(135deg, #b8862b, #4a2d1a);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.88;
}

/* Responsive */
@media (max-width: 1020px) {
  .services-grid,
  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .pricing-card.featured { transform: none; }
  .site-footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-hero-inner { grid-template-columns: 1fr; }
  .site-hero-visual { min-height: 320px; }
  .site-nav-links { display: none; }
  .site-nav-inner { min-height: 64px; gap: 12px; }
  .site-trust-inner { justify-content: center; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid,
  .testimonial-grid,
  .process-grid { grid-template-columns: 1fr; }
  .wa-preview-grid { grid-template-columns: 1fr !important; }
  .wa-phone,
  .wa-top,
  .wa-thread { min-width: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .site-footer-cols { grid-template-columns: 1fr; gap: 26px; }
}
