/* GoHighLevel service pages: product mocks and page furniture.
   Everything here is namespaced .ghl- so none of it reaches another page. */

.ghl-illus { font: 600 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.ghl-herolink { margin-top: 18px; font-size: 15.5px; }
.ghl-smallprint { margin: 46px 0 0; padding-top: 22px; border-top: 1px solid var(--border); max-width: 760px; }
.ghl-mock { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 0; }
.ghl-mock figcaption { padding: 10px 14px; border-top: 1px solid var(--border); background: var(--bg-2); }
.ghl-mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.ghl-mock-dot { width: 9px; height: 9px; border-radius: 99px; background: var(--border-2); flex: none; }
.ghl-mock-t { font: 500 12.5px/1 ui-monospace, Consolas, monospace; color: var(--dim); margin-left: 6px; }
.ghl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; align-items: start; }
.ghl-one { margin-top: 28px; }
@media (max-width: 980px) { .ghl-two { grid-template-columns: 1fr; } }

/* ---- feature grid ---- */
.ghl-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.ghl-feats li { display: flex; align-items: center; gap: 13px; padding: 18px 20px; background: var(--bg); font-size: 15px; font-weight: 500; line-height: 1.35; }
.ghl-i { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: linear-gradient(135deg, rgba(139,108,255,.25), rgba(79,124,255,.12)); border: 1px solid rgba(139,108,255,.35); }
.ghl-i svg { width: 17px; height: 17px; fill: none; stroke: var(--violet-2); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .ghl-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ghl-feats { grid-template-columns: 1fr; } }

/* ---- checklists ---- */
.ghl-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ghl-check li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 13px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 15px; color: var(--muted); }
.ghl-tick { width: 20px; height: 20px; border-radius: 6px; margin-top: 1px; background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.4); display: grid; place-items: center; }
.ghl-tick::after { content: "✓"; font-size: 12px; font-weight: 700; color: var(--good); }

/* ---- panels and strips ---- */
.ghl-panel p { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.ghl-panel-link { margin-top: 16px; }
.ghl-strip { margin-top: 26px; padding: 22px 26px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); }
.ghl-strip p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.ghl-strip b { color: var(--text); }
.ghl-strip-note { margin-top: 10px; font-size: 14px; color: var(--dim); }
.ghl-price-panel { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 30px 32px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid rgba(124,92,255,.5); }
.ghl-price-amt { font: 700 clamp(38px, 6vw, 56px)/1 var(--display); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ghl-price-what { color: var(--muted); font-size: 17px; max-width: 420px; }

/* ---- connection list (integrations page) ---- */
.ghl-conns { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.ghl-conns li { display: grid; grid-template-columns: 190px 1fr; gap: 18px; align-items: baseline; padding: 17px 22px; background: var(--bg); }
.ghl-conns b { font-size: 16px; font-weight: 600; }
.ghl-conns span { color: var(--muted); font-size: 15px; }
@media (max-width: 680px) { .ghl-conns li { grid-template-columns: 1fr; gap: 4px; } }

/* ---- MOCK A: pipeline board ---- */
.ghl-board-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ghl-board { display: grid; grid-template-columns: repeat(4, minmax(132px, 1fr)); gap: 1px; background: var(--border); min-width: 540px; }
.ghl-col { background: var(--bg-2); padding: 12px 11px 14px; display: grid; gap: 8px; align-content: start; }
.ghl-col-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 600 10.5px/1.2 var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ghl-col-n { font-variant-numeric: tabular-nums; color: var(--dim); background: var(--surface-2); border-radius: 99px; padding: 2px 7px; }
.ghl-card { background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 9px 10px; display: grid; gap: 4px; }
.ghl-card b { font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.ghl-card span { font-size: 11.5px; color: var(--dim); }

/* ---- MOCK B: unified inbox ---- */
.ghl-inbox { display: grid; grid-template-columns: 215px 1fr; min-height: 268px; }
.ghl-threads { list-style: none; margin: 0; padding: 0; border-right: 1px solid var(--border); background: var(--bg-2); }
.ghl-thread { display: grid; gap: 4px; padding: 11px 13px; border-bottom: 1px solid var(--border); }
.ghl-thread.is-open { background: var(--surface-2); box-shadow: inset 2px 0 0 var(--cyan); }
.ghl-thread b { font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.ghl-snip { font-size: 11.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ghl-ch { justify-self: start; font: 600 9.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; padding: 3px 6px; border-radius: 5px; }
.ghl-ch-sms { background: rgba(34,211,238,.16); color: var(--cyan); }
.ghl-ch-email { background: rgba(124,92,255,.2); color: var(--violet-2); }
.ghl-ch-whatsapp { background: rgba(52,211,153,.16); color: var(--good); }
.ghl-convo { padding: 14px 16px; display: grid; align-content: start; gap: 12px; }
.ghl-convo-h { font-size: 13px; font-weight: 600; padding-bottom: 11px; border-bottom: 1px solid var(--border); }
.ghl-bubbles { display: grid; gap: 9px; }
.ghl-b { max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; display: grid; gap: 4px; }
.ghl-b-k { font: 600 9.5px/1 var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--dim); }
.ghl-b-out { justify-self: end; background: rgba(124,92,255,.17); border: 1px solid rgba(124,92,255,.3); }
.ghl-b-in { justify-self: start; background: var(--surface-2); border: 1px solid var(--border); }
@media (max-width: 620px) { .ghl-inbox { grid-template-columns: 1fr; } .ghl-threads { border-right: 0; border-bottom: 1px solid var(--border); } }

/* ---- MOCK C: workflow chain ---- */
.ghl-chain { position: relative; padding: 30px 22px; }
.ghl-chain-line, .ghl-chain-dots { position: absolute; left: 50px; right: 50px; top: 50%; height: 2px; }
.ghl-chain-line { background: var(--grad); opacity: .6; border-radius: 2px; }
.ghl-dot { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 99px; background: var(--cyan); box-shadow: 0 0 10px 2px rgba(34,211,238,.55); opacity: 0; }
.ghl-chain.is-live .ghl-dot { animation: ghl-travel-x 4.4s linear infinite; }
.ghl-chain.is-live .ghl-dot-2 { animation-delay: 1.45s; }
.ghl-chain.is-live .ghl-dot-3 { animation-delay: 2.9s; }
@keyframes ghl-travel-x { 0% { left: 0; opacity: 0; } 7% { opacity: 1; } 93% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.ghl-nodes { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; }
.ghl-node { background: var(--surface); border: 1px solid var(--border-2); border-radius: 11px; padding: 12px 8px; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.3; display: grid; gap: 5px; justify-items: center; }
.ghl-node-n { font: 600 9.5px/1 ui-monospace, Consolas, monospace; color: var(--violet-2); }
@media (max-width: 860px) {
  .ghl-chain { padding: 22px 18px; }
  .ghl-chain-line, .ghl-chain-dots { left: 50%; right: auto; top: 34px; bottom: 34px; height: auto; width: 2px; transform: translateX(-1px); }
  .ghl-dot { top: 0; left: -3px; }
  .ghl-chain.is-live .ghl-dot { animation-name: ghl-travel-y; }
  @keyframes ghl-travel-y { 0% { top: 0; opacity: 0; } 7% { opacity: 1; } 93% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
  .ghl-nodes { grid-template-columns: 1fr; gap: 10px; }
  .ghl-node { padding: 13px 14px; font-size: 13.5px; grid-template-columns: auto 1fr; justify-items: start; text-align: left; gap: 10px; align-items: center; }
}

/* ---- MOCK D: calendar ---- */
.ghl-cal { padding: 14px; }
.ghl-cal-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 7px; }
.ghl-cal-days span { font: 600 10.5px/1 var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); text-align: center; }
.ghl-cal-grid { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 42px); gap: 6px; }
.ghl-cal-cell { border-radius: 8px; background: var(--bg-2); border: 1px solid var(--border); }
.ghl-slot { border-radius: 8px; padding: 6px 7px; font-size: 10.5px; font-weight: 600; line-height: 1.25; background: rgba(124,92,255,.2); border: 1px solid rgba(124,92,255,.42); color: var(--text); display: flex; align-items: center; overflow: hidden; }
.ghl-slot-alt { background: rgba(34,211,238,.16); border-color: rgba(34,211,238,.4); }
.ghl-cal-tag { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 5px 11px; border-radius: 99px; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.35); font-size: 11.5px; font-weight: 600; color: var(--good); }
.ghl-tagdot { width: 6px; height: 6px; border-radius: 99px; background: var(--good); }

/* ---- prose added by the SEO pass ---- */
.ghl-answer { font-size: 18.5px; line-height: 1.62; color: var(--text); margin-bottom: 20px; }
.ghl-answer + p, .ghl-prose p + p { margin-top: 15px; }
.ghl-after { margin-top: 26px; color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 760px; }
.ghl-prose { margin-top: 40px; max-width: 820px; }
.ghl-prose h3 { font-size: 21px; margin: 30px 0 9px; }
.ghl-prose p { color: var(--muted); font-size: 16px; line-height: 1.72; }
.ghl-prose a, .ghl-answer a, .ghl-tbl caption a { color: var(--violet-2); border-bottom: 1px solid var(--border-2); }
.ghl-prose a:hover, .ghl-answer a:hover { border-bottom-color: currentColor; }
.ghl-tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.ghl-tbl { width: 100%; min-width: 580px; border-collapse: collapse; font-size: 15px; }
.ghl-tbl caption { caption-side: bottom; padding: 14px 18px; text-align: left; font-size: 13px; color: var(--dim); line-height: 1.6; border-top: 1px solid var(--border); }
.ghl-tbl th { text-align: left; padding: 13px 18px; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border); background: var(--surface-2); }
.ghl-tbl td { padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--muted); }
.ghl-tbl tbody tr:last-child td { border-bottom: 0; }
.ghl-tbl td b { display: block; color: var(--text); font-weight: 600; font-size: 15.5px; }
.ghl-tbl td span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--dim); line-height: 1.55; }
.ghl-tbl td:last-child { white-space: nowrap; font-weight: 600; color: var(--text); }
.ghl-check b { color: var(--text); }

/* ---- plan cards: the button sits at the bottom of the card ---- */
.plan[data-ghl-plan] .btn { margin-top: auto; justify-content: center; }

/* ---- light mode ----
   Light is the site's default theme, so this is what most visitors see.
   In dark the recessed surfaces (--bg-2) read as darker than the cards sitting
   on them; in light both resolve to pure white, which flattens the mocks to
   outlines. These put the tint back: tinted tray, white card on top, which is
   also how a real board reads. */
:root[data-theme="light"] .ghl-col,
:root[data-theme="light"] .ghl-threads,
:root[data-theme="light"] .ghl-cal-cell,
:root[data-theme="light"] .ghl-mock figcaption { background: var(--surface-2); }
:root[data-theme="light"] .ghl-card,
:root[data-theme="light"] .ghl-convo { background: #fff; }
:root[data-theme="light"] .ghl-card { box-shadow: 0 1px 2px rgba(16,24,40,.06); }
/* The accent fills are mixed for a dark backdrop and go washy on white. */
:root[data-theme="light"] .ghl-slot { background: rgba(107,73,255,.14); border-color: rgba(107,73,255,.45); color: #2a1b6b; }
:root[data-theme="light"] .ghl-slot-alt { background: rgba(8,145,178,.13); border-color: rgba(8,145,178,.45); color: #0b4a5c; }
:root[data-theme="light"] .ghl-b-out { background: rgba(107,73,255,.11); border-color: rgba(107,73,255,.3); }
:root[data-theme="light"] .ghl-i { background: linear-gradient(135deg, rgba(107,73,255,.14), rgba(79,124,255,.07)); border-color: rgba(107,73,255,.3); }
:root[data-theme="light"] .ghl-node { border-color: var(--border-2); box-shadow: 0 1px 2px rgba(16,24,40,.05); }
:root[data-theme="light"] .ghl-chain-line { opacity: .85; }

/* With animation off the dots stop being a signal of motion and become three
   markers on the line, so they are placed along it rather than left at 0. */
@media (prefers-reduced-motion: reduce) {
  .ghl-chain .ghl-dot, .ghl-chain.is-live .ghl-dot { animation: none !important; opacity: .9; }
  .ghl-dot-1 { left: 18%; } .ghl-dot-2 { left: 50%; } .ghl-dot-3 { left: 82%; }
}
/* Below 860px the line is vertical, so they travel down it instead of across. */
@media (prefers-reduced-motion: reduce) and (max-width: 860px) {
  .ghl-dot-1 { left: -3px; top: 18%; }
  .ghl-dot-2 { left: -3px; top: 50%; }
  .ghl-dot-3 { left: -3px; top: 82%; }
}
