/* SitePatron page: before/after of one niche site in the hero (two radio buttons, no script) and layout tweaks.
   Base panel and note styles come from ppc/ppc.css (loaded before this file). */

.sp-mock { padding-bottom: 20px; }
.sp-switch { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sp-in { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sp-switch > label { flex: 1 1 0; min-width: 0; text-align: center; cursor: pointer; font-weight: 700; font-size: 15px; line-height: 1.25;
  padding: 10px 12px; border-radius: 999px; border: 1.5px solid var(--field); background: var(--white); color: var(--ink); }
.sp-in:focus-visible + label { outline: 3px solid rgba(240,101,28,.35); outline-offset: 1px; }
.sp-in-before:checked + label { background: var(--night); border-color: var(--night); color: var(--white); }
.sp-in-after:checked + label { background: var(--orange); border-color: var(--orange); color: var(--white); }
.sp-screen { display: none; flex-basis: 100%; margin-top: 10px; }
.sp-in-before:checked ~ .sp-before, .sp-in-after:checked ~ .sp-after { display: block; }

/* the little browser window */
.sp-bar { display: flex; gap: 5px; padding: 8px 10px; background: #E3E9EE; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.sp-bar i { width: 9px; height: 9px; border-radius: 50%; background: #B5C2CC; }
.sp-site { border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); padding: 12px; background: var(--white); }
.sp-head { margin: 0 0 10px; font-weight: 800; font-size: 15px; color: var(--muted); }
.sp-head-brand { display: flex; align-items: center; }
.sp-logo { display: inline-block; padding: 5px 10px; border-radius: 4px; background: var(--orange); color: var(--white); font-size: 13px; letter-spacing: .06em; }
.sp-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sp-card { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 4px; border: 2px solid var(--line); background: var(--white); min-width: 0; }
.sp-img { display: block; height: 46px; border-radius: 3px; background: var(--ground); }
.sp-name { font-size: 12.5px; font-weight: 700; line-height: 1.25; }
.sp-btn { font-size: 11.5px; font-weight: 700; color: var(--blue); }
.sp-card-you { border-color: var(--orange); }
.sp-card-you .sp-img { background: #FDE3D3; }
.sp-card-comp { background: #F7F7F7; }
.sp-card-comp .sp-name, .sp-card-comp .sp-btn { color: #8A99A5; }
.sp-about, .sp-contact { margin: 10px 0 0; padding: 8px 10px; border-radius: 4px; font-size: 13px; line-height: 1.35; }
.sp-about { background: var(--ground); }
.sp-contact { background: #E8F6EE; color: #0F5132; font-weight: 700; }
.sp-note { margin: 10px 0 0; padding: 9px 12px 9px 14px; border-left: 4px solid; border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; line-height: 1.4; font-weight: 600; }
.sp-note-bad { border-color: #C62828; background: #FDECEC; color: #7A1616; }
.sp-note-good { border-color: #1F9D55; background: #E8F6EE; color: #0F5132; }
.sp-hint { flex-basis: 100%; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.sp-in-after:checked ~ .sp-after ~ .sp-hint { display: none; }

/* six benefit cards in three columns */
@media (min-width: 900px) { .sp .svc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } }

/* offer box with two buttons */
.sp-offer-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.sp .steps + .svc-facts { margin-top: 30px; }
@media (max-width: 520px) {
  .sp-offer-ctas .btn { width: 100%; }
  .sp-name { font-size: 12px; }
  .sp-btn { font-size: 11px; }
}
