/* =======================================================================
   Hero product mock - the split-hero's right side on marketing pages.
   A pure-CSS "screenshot" of a finished customer site in a browser frame,
   with a Stoney chat card hanging off the corner to show the
   edit-by-asking loop. Decorative only (mark the root aria-hidden).

   Used by: index.html (default blue mini-site), small-business-websites
   (.hero-mock.painter - mirrors Templates/painter-template: Fraunces/
   Georgia serif, warm paper, terracotta accent, captioned gallery tiles,
   ink stats band). Custom hm-* classes on purpose - the dark theme's
   Tailwind overrides never touch these.
   ======================================================================= */

.hero-mock { position: relative; max-width: 560px; margin: 0 auto 40px;
    --hm-accent: #2563eb; --hm-accent-dark: #1d4ed8; }
.hm-browser { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 1px 3px rgba(2, 6, 23, .25), 0 18px 36px -10px rgba(2, 6, 23, .40), 0 40px 80px -20px rgba(2, 6, 23, .45); }
.hm-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f7; border-bottom: 1px solid rgba(15, 23, 42, .07); }
.hm-dot { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; flex: none; }
.hm-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; margin: 0 8px; background: #fff; border: 1px solid rgba(15, 23, 42, .08); border-radius: 8px; padding: 4px 10px; font: 600 11.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: #475569; white-space: nowrap; overflow: hidden; }
.hm-url svg { color: #16a34a; flex: none; }
.hm-live { display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; color: #16a34a; letter-spacing: .06em; text-transform: uppercase; flex: none; }
.hm-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.hm-page { padding: 16px 18px 50px; }
.hm-nav { display: flex; align-items: center; gap: 9px; padding: 2px 2px 12px; }
.hm-logo { font-size: 12.5px; font-weight: 800; color: #0f172a; letter-spacing: -.01em; white-space: nowrap; }
.hm-links { margin-left: auto; display: flex; gap: 7px; }
.hm-links i { width: 26px; height: 6px; border-radius: 3px; background: #e2e8f0; }
.hm-navcta { font-size: 9.5px; font-weight: 700; color: #fff; background: var(--hm-accent); border-radius: 6px; padding: 4px 8px; white-space: nowrap; }
.hm-hero { border-radius: 12px; padding: 20px 18px 18px; background-color: #0f172a; background-image: linear-gradient(165deg, rgba(15, 23, 42, .88), rgba(15, 23, 42, .55)), url(/img/mock/mock-hero.jpg); background-size: cover; background-position: center 40%; }
.hm-kicker { font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #7dd3fc; margin-bottom: 6px; }
.hm-title { font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: #fff; max-width: 240px; margin-bottom: 12px; }
.hm-btn { display: inline-block; font-size: 10.5px; font-weight: 700; color: #fff; background: linear-gradient(180deg, var(--hm-accent), var(--hm-accent-dark)); border-radius: 7px; padding: 6px 11px; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.hm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.hm-card { border: 1px solid rgba(15, 23, 42, .08); border-radius: 9px; padding: 9px; background: #fff; }
.hm-card .hm-sq { display: block; width: 16px; height: 16px; border-radius: 5px; background: #dbeafe; margin-bottom: 7px; }
.hm-card i { display: block; height: 5px; border-radius: 3px; background: #e2e8f0; margin-top: 4px; }
.hm-card i.w60 { width: 60%; }
.hm-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.hm-shot { position: relative; height: 62px; border-radius: 9px; overflow: hidden; }
.hm-shot.before { background: #64748b url(/img/mock/mock-before.jpg) center/cover; }
.hm-shot.after { background: #2563eb url(/img/mock/mock-after.jpg) center/cover; }
.hm-shot span { position: absolute; left: 6px; bottom: 5px; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .92); background: rgba(15, 23, 42, .45); padding: 2px 6px; border-radius: 4px; }
.hm-chat { position: absolute; right: -12px; bottom: -24px; width: min(56%, 240px); background: #fff; border: 1px solid rgba(15, 23, 42, .08); border-radius: 14px; padding: 11px 12px 12px; box-shadow: 0 1px 3px rgba(2, 6, 23, .18), 0 16px 32px -8px rgba(2, 6, 23, .35); }
.hm-chat-head { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #64748b; margin-bottom: 8px; }
.hm-chat-head img { width: 14px; height: 14px; }
.hm-msg { font-size: 11.5px; line-height: 1.45; border-radius: 10px; padding: 7px 10px; max-width: 88%; }
.hm-msg-user { background: linear-gradient(180deg, var(--hm-accent), var(--hm-accent-dark)); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; width: fit-content; }
.hm-msg-ai { background: #f1f5f9; color: #0f172a; margin-top: 6px; border-bottom-left-radius: 4px; display: flex; align-items: center; gap: 6px; width: fit-content; }
.hm-msg-ai svg { color: #16a34a; flex: none; }
@media (max-width: 1023px) { .hm-chat { right: 4px; } }

/* ---- Painter-template variant (mirrors Templates/painter-template:
        warm paper page, ink nav with serif monogram + biz name, dark-warm
        hero with Fraunces-style serif headline, flat terracotta CTA,
        captioned gallery with a featured tile, ink stats band). ---- */
.hero-mock.painter { --hm-accent: #b4531f; --hm-accent-dark: #8f3f15; }
.hero-mock.painter .hm-page { background: #f7f4ee; }
.hero-mock.painter .hm-mark { width: 18px; height: 18px; border-radius: 5px; background: #15110d; color: #f7f4ee; font: 600 10px/18px Georgia, "Times New Roman", serif; text-align: center; flex: none; }
.hero-mock.painter .hm-logo { font-family: Georgia, "Times New Roman", serif; font-weight: 600; color: #15110d; }
.hero-mock.painter .hm-links i { background: #e3dccf; }
.hero-mock.painter .hm-navcta { background: #15110d; border-radius: 5px; }
.hero-mock.painter .hm-hero { background-color: #15110d; background-image: linear-gradient(90deg, rgba(15, 17, 13, .86), rgba(15, 17, 13, .42)), url(/img/mock/mock-hero.jpg); background-size: cover; background-position: center 40%; }
.hero-mock.painter .hm-kicker { color: #eab488; letter-spacing: .18em; font-weight: 600; }
.hero-mock.painter .hm-title { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.01em; line-height: 1.1; }
.hero-mock.painter .hm-btn { background: var(--hm-accent); border-radius: 5px; box-shadow: none; }
.hero-mock.painter .hm-g { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 7px; margin-top: 10px; }
.hero-mock.painter .hm-tile { position: relative; border-radius: 8px; overflow: hidden; display: flex; align-items: flex-end; min-height: 48px; }
.hero-mock.painter .hm-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .45)); }
.hero-mock.painter .hm-tile.feat { grid-row: span 2; min-height: 104px; background: #7a3411 url(/img/mock/mock-int.jpg) center/cover; }
.hero-mock.painter .hm-tile.t2 { background: #5c4a31 url(/img/mock/mock-ext.jpg) center/cover; }
.hero-mock.painter .hm-tile.t3 { background: #243027 url(/img/mock/mock-detail.jpg) center/cover; }
.hero-mock.painter .hm-tile span { position: relative; z-index: 1; color: #fff; font-size: 8.5px; font-weight: 600; padding: 5px 8px; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.hero-mock.painter .hm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; background: #15110d; border-radius: 9px; padding: 9px 6px; text-align: center; }
.hero-mock.painter .hm-stats b { display: block; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 13px; color: #fff; }
.hero-mock.painter .hm-stats i { display: block; font-style: normal; font-size: 7px; letter-spacing: .1em; text-transform: uppercase; color: #b7ab98; margin-top: 2px; }
/* Keep the stats band readable under the chat card: more bottom padding
   on the mock page + a narrower, lower-hanging chat. */
.hero-mock.painter .hm-page { padding-bottom: 60px; }
.hero-mock.painter .hm-chat { width: min(50%, 212px); bottom: -32px; }
