/* ═══ Service pages: one-of-a-kind sections ═══ */
.sg .h-head { margin-bottom: 40px; }
.sg-note-center { text-align: center; margin: 22px 0 0; font-size: .85rem; color: #5b6678; }

/* Shared: checkbox */
.sg-check { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1.5px solid var(--border); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.sg-check:hover { border-color: #fdba74; transform: translateY(-1px); }
.sg-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sg-check__box { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid #cbd5e1; display: inline-flex; align-items: center; justify-content: center; color: transparent; transition: all .2s; margin-top: 1px; }
.sg-check input:checked + .sg-check__box { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 6px 14px -4px rgba(249,115,22,.6); }
.sg-check input:focus-visible + .sg-check__box { outline: 3px solid var(--orange); outline-offset: 2px; }
.sg-check:has(input:checked) { border-color: #fdba74; background: #fffaf5; }
.sg-check__txt { display: flex; flex-direction: column; gap: 3px; }
.sg-check__txt strong { color: var(--navy); font-size: 1rem; line-height: 1.35; }
.sg-check__txt small { color: var(--slate); font-size: .875rem; line-height: 1.45; }

/* GBP scorecard */
.sg-score { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.sg-score__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sg-score__card { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 36px 30px; border-radius: 24px; color: #fff; background: radial-gradient(400px 220px at 50% 0%, rgba(249,115,22,.3), transparent 70%), linear-gradient(170deg, #1b2c55, var(--navy)); box-shadow: 0 40px 80px -40px rgba(17,31,62,.7); }
.sg-ring { position: relative; width: 168px; height: 168px; }
.sg-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sg-ring circle { fill: none; stroke-width: 10; }
.sg-ring__bg { stroke: rgba(255,255,255,.12); }
.sg-ring__fg { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p)); transition: stroke-dashoffset .6s cubic-bezier(.2,.8,.2,1), stroke .3s; filter: drop-shadow(0 0 10px rgba(249,115,22,.6)); }
[data-tier="high"] .sg-ring__fg { stroke: #34d399; filter: drop-shadow(0 0 10px rgba(52,211,153,.6)); }
.sg-ring__num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sg-ring__num b { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; font-weight: 800; }
.sg-ring__num span { font-size: .85rem; color: #b8c1d6; }
.sg-score__msg { margin: 0; font-size: 1.05rem; line-height: 1.5; color: #e2e8f0; min-height: 4.5em; }
.sg-score__note { color: #b8c1d6; font-size: .82rem; }

/* Calculators */
.sg-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -44px rgba(17,31,62,.55); border: 1px solid var(--border); }
.sg-calc__inputs { background: #fff; padding: 40px; display: flex; flex-direction: column; gap: 28px; }
.sg-field { display: flex; flex-direction: column; gap: 12px; }
.sg-field > span { font-weight: 700; color: var(--navy); }
.sg-field__row { display: flex; align-items: center; gap: 16px; }
.sg-field output { min-width: 64px; text-align: center; padding: 8px 12px; border-radius: 10px; background: #fff4ec; color: #9a3412; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.sg-field__row--money { border: 1.5px solid #d5dbe5; border-radius: 12px; padding: 0 14px; max-width: 240px; }
.sg-field__row--money:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.18); }
.sg-field__row--money b { color: var(--slate); font-size: 1.2rem; }
.sg-field__row--money input { border: 0; outline: 0; padding: 12px 0; font: 700 1.2rem var(--font-display); color: var(--navy); width: 100%; background: transparent; }
.sg input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--orange), #fdba74); outline-offset: 6px; cursor: pointer; }
.sg input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 4px 12px rgba(17,31,62,.25); }
.sg input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 4px 12px rgba(17,31,62,.25); }
.sg-calc__note { color: #5b6678; font-size: .82rem; }
.sg-calc__result { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 44px; color: #fff; background: radial-gradient(420px 260px at 100% 0%, rgba(249,115,22,.32), transparent 70%), linear-gradient(160deg, #1b2c55, var(--navy)); }
.sg-calc__label { margin: 0 0 8px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fdba74; }
.sg-calc__big { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.03em; background: linear-gradient(90deg, #fff, #fed7aa); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.sg-calc__sub { margin: 10px 0 0; color: #b8c1d6; font-weight: 600; }
.sg-calc__sub span { color: #fff; }
.sg-calc__copy { margin: 22px 0 26px; color: #dbe1ee; line-height: 1.6; }
.sg-stars { margin: 18px 0 24px; font-size: 1.6rem; letter-spacing: 4px; color: #fbbf24; text-shadow: 0 0 18px rgba(251,191,36,.5); }

/* Missed-call timeline */
.sg-timeline { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.sg-timeline::before { content: ''; position: absolute; left: 6%; right: 6%; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 16px); }
.sg-timeline li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.sg-timeline b { position: relative; z-index: 1; padding: 10px 16px; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--font-display); font-size: .95rem; box-shadow: 0 0 0 6px #fff; }
.sg-timeline li:nth-child(2) b { background: var(--orange-dark); }
.sg-timeline span { color: var(--slate); font-size: .92rem; line-height: 1.45; max-width: 220px; }

/* Reviews: what the customer sees */
.sg-ask { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 36px; border-radius: 24px; background: #fff; border: 1px solid var(--border); }
.sg-ask__title { grid-column: 1 / -1; margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark); }
.sg-ask__phone { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px; background: #f3f5f9; }
.sg-bubble { max-width: 88%; align-self: flex-end; padding: 12px 14px; border-radius: 16px 16px 4px 16px; background: var(--navy); color: #fff; font-size: .92rem; line-height: 1.45; }
.sg-bubble u { color: #fdba74; }
.sg-bubble--in { align-self: flex-start; background: #fff; color: var(--navy); border-radius: 16px 16px 16px 4px; border: 1px solid var(--border); }
.sg-review { margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid #fde68a; box-shadow: 0 10px 24px -16px rgba(17,31,62,.3); }
.sg-review span { color: #f59e0b; letter-spacing: 2px; }
.sg-review p { margin: 6px 0 4px; color: var(--navy); font-size: .92rem; }
.sg-review small { color: #5b6678; font-size: .75rem; }
.sg-ask__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sg-ask__points li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate); line-height: 1.5; }
.sg-ask__points svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: #fff4ec; color: var(--orange-dark); }
.sg-ask__points b { color: var(--navy); }

/* Citations: spot the difference */
.sg-cite__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sg-cite__card { position: relative; padding: 22px 20px; border-radius: 18px; background: #fff; border: 1.5px solid var(--border); box-shadow: 0 20px 40px -32px rgba(17,31,62,.45); transition: border-color .3s, transform .3s; }
.sg-cite__card p { margin: 0 0 4px; color: var(--slate); font-size: .92rem; }
.sg-cite__card .sg-cite__name { color: var(--navy); font-weight: 800; font-size: 1.05rem; margin-bottom: 8px; }
.sg-cite__src { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: #eef1f6; color: #475569; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sg-cite mark { background: transparent; color: inherit; border-radius: 4px; transition: background .3s, color .3s, box-shadow .3s; }
.sg-cite__issues { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s ease, opacity .3s ease; }
.sg-cite__issues li { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: #b91c1c; }
.sg-cite__issues li.ok { color: #047857; }
.sg-cite.is-revealed mark { background: #fee2e2; color: #b91c1c; box-shadow: 0 0 0 3px #fee2e2; }
.sg-cite.is-revealed .sg-cite__issues { max-height: 120px; opacity: 1; }
.sg-cite.is-revealed .has-issues { border-color: #fca5a5; transform: translateY(-3px); }
.sg-cite.is-revealed .is-good { border-color: #6ee7b7; }
.sg-cite__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 28px; }
.sg-cite__bar p { margin: 0; font-size: .85rem; color: #5b6678; }
.sg-toggle { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; background: var(--navy); color: #fff; font: 700 1rem var(--font-body); box-shadow: 0 14px 30px -14px rgba(17,31,62,.6); transition: background .2s, transform .2s; }
.sg-toggle:hover { background: #1b2c55; transform: translateY(-1px); }
.sg-toggle[aria-pressed="true"] { background: var(--orange-dark); }

/* Website anatomy */
.sg-anat { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.sg-anat__mock { position: relative; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: 0 50px 90px -50px rgba(17,31,62,.6); padding-bottom: 18px; }
.sg-anat__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: #f8fafc; border-radius: 18px 18px 0 0; }
.sg-anat__bar span { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.sg-anat__bar i { margin-left: 10px; font-style: normal; font-size: .78rem; color: #64748b; }
.sg-anat__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; }
.sg-anat__logo { width: 70px; height: 18px; border-radius: 5px; background: var(--navy); }
.sg-anat__links { display: flex; gap: 10px; }
.sg-anat__links i, .sg-anat__hero i, .sg-anat__proof i, .sg-anat__svc i, .sg-anat__form i { display: block; height: 8px; border-radius: 4px; background: #e2e8f0; }
.sg-anat__links i { width: 38px; }
.sg-anat__call { padding: 7px 12px; border-radius: 8px; background: var(--orange-dark); color: #fff; font-size: .72rem; }
.sg-anat__hero { margin: 0 20px; padding: 26px 22px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), #2a3f72); display: flex; flex-direction: column; gap: 10px; }
.sg-anat__hero b { color: #fff; font-family: var(--font-display); font-size: 1.25rem; }
.sg-anat__hero i { width: 75%; background: rgba(255,255,255,.25); }
.sg-anat__hero i.short { width: 50%; }
.sg-anat__btn { width: 120px; height: 28px; border-radius: 8px; background: var(--orange); margin-top: 6px; }
.sg-anat__proof { display: flex; align-items: center; gap: 10px; margin: 14px 20px 0; padding: 12px 14px; border-radius: 12px; background: #fffbeb; }
.sg-anat__proof span { color: #f59e0b; font-size: .85rem; letter-spacing: 1px; }
.sg-anat__proof i { flex: 1; }
.sg-anat__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; margin: 14px 20px 0; }
.sg-anat__svc, .sg-anat__form { padding: 14px; border-radius: 12px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.sg-anat__form span { height: 22px; border-radius: 6px; background: var(--orange); width: 60%; }
[data-spot] { transition: box-shadow .3s, outline-color .3s; outline: 3px solid transparent; outline-offset: 4px; }
.sg-anat__pin { position: absolute; z-index: 2; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 .8rem var(--font-display); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #fff, 0 8px 18px -6px rgba(17,31,62,.6); transition: transform .3s, background .3s; }
.sg-anat__pin[data-pin="1"] { left: -12px; top: 132px; }
.sg-anat__pin[data-pin="2"] { right: -12px; top: 58px; }
.sg-anat__pin[data-pin="3"] { left: -12px; top: 232px; }
.sg-anat__pin[data-pin="4"] { left: -12px; bottom: 50px; }
.sg-anat__pin[data-pin="5"] { right: -12px; bottom: 50px; }
.sg-anat[data-active="1"] [data-spot="1"], .sg-anat[data-active="2"] [data-spot="2"], .sg-anat[data-active="3"] [data-spot="3"], .sg-anat[data-active="4"] [data-spot="4"], .sg-anat[data-active="5"] [data-spot="5"] { outline-color: var(--orange); box-shadow: 0 0 0 10px rgba(249,115,22,.14); }
.sg-anat[data-active="1"] [data-pin="1"], .sg-anat[data-active="2"] [data-pin="2"], .sg-anat[data-active="3"] [data-pin="3"], .sg-anat[data-active="4"] [data-pin="4"], .sg-anat[data-active="5"] [data-pin="5"] { background: var(--orange-dark); transform: scale(1.15); }
.sg-anat__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sg-anat__list button { width: 100%; display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--border); background: #fff; cursor: pointer; font: inherit; transition: border-color .2s, background .2s, transform .2s; }
.sg-anat__list button:hover, .sg-anat__list button.is-on { border-color: #fdba74; background: #fffaf5; transform: translateX(4px); }
.sg-anat__n { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--navy); color: #fff; font: 800 .85rem var(--font-display); display: flex; align-items: center; justify-content: center; }
.sg-anat__list .is-on .sg-anat__n { background: var(--orange-dark); }
.sg-anat__list b { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 2px; }
.sg-anat__list small { color: var(--slate); font-size: .88rem; line-height: 1.45; }

/* Tabs (SEO and rank grid) */
.sg-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #eef1f6; margin-bottom: 22px; }
.sg-tabs button { border: 0; background: none; cursor: pointer; padding: 10px 22px; border-radius: 999px; font: 700 .95rem var(--font-body); color: #475569; transition: all .2s; }
.sg-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 8px 18px -8px rgba(17,31,62,.6); }
[data-sg-tabs] { text-align: center; }
[data-sg-tabs] > *:not(.sg-tabs) { text-align: left; }

/* Website SEO: search result */
.sg-serp { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0 28px; align-items: start; }
.sg-serp .sg-tabs { grid-column: 1 / -1; justify-self: start; }
.sg-serp__box { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--border); box-shadow: 0 40px 80px -48px rgba(17,31,62,.55); }
.sg-serp__search { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--border); color: var(--navy); font-weight: 600; margin-bottom: 22px; box-shadow: 0 6px 16px -10px rgba(17,31,62,.3); }
.sg-serp__res small { color: #475569; font-size: .82rem; }
.sg-serp__t { margin: 4px 0 6px; color: #1a0dab; font-size: 1.3rem; line-height: 1.3; font-weight: 500; }
.sg-serp__d { margin: 0; color: #4d5156; font-size: .95rem; line-height: 1.55; }
.sg-serp__why { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--border); display: grid; gap: 8px; }
.sg-serp__why li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; color: #b91c1c; }
.sg-serp__why.ok li { color: #047857; }
.sg-scan { padding: 28px; border-radius: 22px; color: #fff; background: linear-gradient(160deg, #1b2c55, var(--navy)); }
.sg-scan__title { margin: 0 0 16px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fdba74; }
.sg-scan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sg-scan li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-weight: 600; }
.sg-dot { width: 10px; height: 10px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); animation: sgPulse 2s infinite; }
.sg-scan li:nth-child(2n) .sg-dot { animation-delay: .4s; }
.sg-scan li:nth-child(3n) .sg-dot { animation-delay: .8s; }
@keyframes sgPulse { 50% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } }

/* Google Ads */
.sg-ads { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: stretch; }
.sg-ads__col { padding: 30px; border-radius: 22px; border: 1px solid var(--border); background: #fff; }
.sg-ads__col--good { border-color: #a7f3d0; background: linear-gradient(180deg, #ecfdf5, #fff 60%); }
.sg-ads__col--bad { background: #f8fafc; }
.sg-ads__h { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.sg-ads__col--good .sg-ads__h svg { color: #059669; }
.sg-ads__col--bad .sg-ads__h svg { color: #dc2626; }
.sg-ads__s { margin: 0 0 18px; color: var(--slate); font-size: .92rem; }
.sg-ads ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sg-ads li { padding: 9px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.sg-ads__col--good li { background: #fff; border: 1px solid #6ee7b7; color: #065f46; box-shadow: 0 6px 14px -10px rgba(5,150,105,.6); }
.sg-ads__col--bad li { background: #fff; border: 1px dashed #cbd5e1; color: #64748b; text-decoration: line-through; text-decoration-color: #dc2626; text-decoration-thickness: 2px; }
.sg-ads__mid { display: flex; align-items: center; }
.sg-ads__mid span { writing-mode: vertical-rl; transform: rotate(180deg); padding: 18px 10px; border-radius: 999px; background: var(--navy); color: #fdba74; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sg-ads__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 26px; padding: 24px 28px; border-radius: 18px; background: #fff4ec; }
.sg-ads__foot p { margin: 0; flex: 1 1 420px; color: var(--slate); }
.sg-ads__foot b { color: var(--navy); }

/* CRM pipeline */
.sg-switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #eef1f6; margin-bottom: 26px; }
.sg-switch button { border: 0; background: none; cursor: pointer; padding: 11px 22px; border-radius: 999px; font: 700 .95rem var(--font-body); color: #475569; transition: all .25s; }
.sg-switch button[aria-pressed="true"] { background: #b91c1c; color: #fff; }
.sg-pipe.is-with .sg-switch button[aria-pressed="true"] { background: #047857; }
.sg-pipe { text-align: center; }
.sg-pipe__stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; text-align: left; position: relative; }
.sg-pipe__stages li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 18px; border-radius: 18px; background: #fff; border: 1.5px solid #fecaca; transition: border-color .35s, transform .35s, box-shadow .35s; }
.sg-pipe__stages li:not(:last-child)::after { content: ''; position: absolute; right: -11px; top: 34px; z-index: 1; width: 8px; height: 8px; border-top: 2.5px solid #cbd5e1; border-right: 2.5px solid #cbd5e1; transform: rotate(45deg); }
.sg-pipe__n { width: 30px; height: 30px; border-radius: 9px; background: #fee2e2; color: #b91c1c; font: 800 .85rem var(--font-display); display: flex; align-items: center; justify-content: center; transition: all .35s; }
.sg-pipe__stages b { color: var(--navy); font-size: 1.02rem; }
.sg-pipe__stages p { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: .9rem; line-height: 1.45; }
.sg-pipe__stages p svg { flex: none; margin-top: 3px; }
.sg-pipe__without { color: #b91c1c; }
.sg-pipe__with { color: #047857; display: none !important; }
.sg-pipe.is-with .sg-pipe__without { display: none; }
.sg-pipe.is-with .sg-pipe__with { display: flex !important; }
.sg-pipe.is-with li { border-color: #6ee7b7; box-shadow: 0 20px 40px -30px rgba(5,150,105,.6); }
.sg-pipe.is-with .sg-pipe__n { background: #d1fae5; color: #047857; }
.sg-pipe:not(.is-with) li:nth-child(2), .sg-pipe:not(.is-with) li:nth-child(4) { transform: translateY(6px) rotate(-.6deg); }

/* Marketing management */
.sg-mm { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: stretch; }
.sg-mm__before, .sg-mm__after { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px; border-radius: 22px; text-align: center; }
.sg-mm__before { background: #f3f5f9; border: 1px dashed #cbd5e1; }
.sg-mm__after { color: #fff; background: radial-gradient(400px 220px at 50% 0%, rgba(249,115,22,.3), transparent 70%), linear-gradient(170deg, #1b2c55, var(--navy)); box-shadow: 0 40px 80px -40px rgba(17,31,62,.7); }
.sg-mm__h { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #475569; }
.sg-mm__after .sg-mm__h { color: #fdba74; }
.sg-mm__you { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; font-weight: 800; }
.sg-mm__after .sg-mm__you { background: #fff; color: var(--navy); }
.sg-mm__before ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sg-mm__before li { padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--border); font-size: .88rem; font-weight: 600; color: #475569; }
.sg-mm__before li:nth-child(odd) { transform: rotate(-2deg); }
.sg-mm__before li:nth-child(even) { transform: rotate(2deg); }
.sg-mm__before small { color: #5b6678; }
.sg-mm__team { width: 100%; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(249,115,22,.5); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; box-shadow: 0 0 30px -8px rgba(249,115,22,.5); }
.sg-mm__team small { display: block; margin-top: 6px; font-family: var(--font-body); font-weight: 600; font-size: .82rem; color: #fed7aa; }
.sg-mm__after > small { color: #dbe1ee; }
.sg-mm__arrow { display: flex; align-items: center; color: var(--orange); }
.sg-mm__arrow svg { width: 36px; height: 36px; }
.sg-month { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sg-month li { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--orange); }
.sg-month span { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark); }
.sg-month b { display: block; margin: 6px 0; font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); }
.sg-month p { margin: 0; color: var(--slate); font-size: .92rem; line-height: 1.5; }

/* Local SEO rank grid */
.sg-grid__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.sg-grid__map { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 22px; border-radius: 22px; background: linear-gradient(135deg, #e8eef7 25%, #f1f5fb 25%, #f1f5fb 50%, #e8eef7 50%, #e8eef7 75%, #f1f5fb 75%) 0 0 / 40px 40px; border: 1px solid var(--border); box-shadow: 0 40px 80px -48px rgba(17,31,62,.55); }
.sg-grid__map span { aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 800 .82rem var(--font-display); color: #fff; box-shadow: 0 6px 12px -6px rgba(17,31,62,.5); animation: sgPop .4s both; }
.sg-grid__map span:nth-child(25) { outline: 3px solid var(--navy); outline-offset: 3px; }
.sg-grid__map .rg { background: #059669; }
.sg-grid__map .ry { background: #d97706; }
.sg-grid__map .rr { background: #dc2626; }
@keyframes sgPop { from { transform: scale(.4); opacity: 0; } }
.sg-grid__key { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sg-grid__key p { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--navy); font-weight: 600; }
.sg-grid__key p span { flex: none; width: 18px; height: 18px; border-radius: 50%; }
.sg-grid__key .rg { background: #059669; } .sg-grid__key .ry { background: #d97706; } .sg-grid__key .rr { background: #dc2626; }
.sg-grid__key small { color: #5b6678; }

/* Social posts */
.sg-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sg-post__day { margin: 0 0 10px; text-align: center; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark); }
.sg-post__card { border-radius: 20px; background: #fff; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(17,31,62,.55); transition: transform .3s; }
.sg-post:nth-child(2) .sg-post__card { transform: translateY(-14px); }
.sg-post__card:hover { transform: translateY(-6px); }
.sg-post__top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: .9rem; color: var(--navy); }
.sg-post__av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--navy)); }
.sg-post__img { aspect-ratio: 4 / 3; display: flex; align-items: flex-end; padding: 14px; }
.sg-post__img span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--navy); font-size: .8rem; font-weight: 800; }
.sg-post__img--ba { background: linear-gradient(90deg, #94a3b8 0 50%, #f97316 50% 100%); }
.sg-post__img--rv { background: radial-gradient(circle at 30% 30%, #fde68a, #f59e0b); }
.sg-post__img--tm { background: linear-gradient(135deg, #1b2c55, #3b5998); }
.sg-post__cap { margin: 0; padding: 14px 16px 6px; color: var(--slate); font-size: .92rem; line-height: 1.5; }
.sg-post__acts { display: flex; gap: 16px; padding: 10px 16px 14px; margin-top: 4px; border-top: 1px solid var(--border); color: #475569; font-size: .82rem; font-weight: 700; }
.sg-post__acts i { font-style: normal; }

/* AI automation race */
.sg-race { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sg-race__col { padding: 32px; border-radius: 22px; }
.sg-race__col--no { background: #f3f5f9; border: 1px dashed #cbd5e1; }
.sg-race__col--yes { color: #fff; background: radial-gradient(400px 220px at 100% 0%, rgba(249,115,22,.3), transparent 70%), linear-gradient(160deg, #1b2c55, var(--navy)); box-shadow: 0 40px 80px -40px rgba(17,31,62,.7); }
.sg-race__h { margin: 0 0 22px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.sg-race__col--yes .sg-race__h { color: #fff; }
.sg-race ol { list-style: none; margin: 0; padding: 0 0 0 22px; display: grid; gap: 18px; border-left: 2px solid #cbd5e1; }
.sg-race__col--yes ol { border-left-color: var(--orange); }
.sg-race li { position: relative; display: flex; flex-direction: column; gap: 2px; }
.sg-race li::before { content: ''; position: absolute; left: -29px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #94a3b8; box-shadow: 0 0 0 4px #f3f5f9; }
.sg-race__col--yes li::before { background: var(--orange); box-shadow: 0 0 0 4px var(--navy), 0 0 12px rgba(249,115,22,.8); }
.sg-race b { font-family: var(--font-display); color: var(--navy); }
.sg-race__col--yes b { color: #fdba74; }
.sg-race span { color: var(--slate); }
.sg-race__col--yes span { color: #e2e8f0; }
.sg-race__col--no li:last-child span { color: #b91c1c; font-weight: 700; }
.sg-race__col--yes li:last-child span { color: #6ee7b7; font-weight: 700; }

/* Why hire us */
.sg-diy__table { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: 0 40px 80px -56px rgba(17,31,62,.55); }
.sg-diy__row { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; }
.sg-diy__row + .sg-diy__row { border-top: 1px solid var(--border); }
.sg-diy__row > * { margin: 0; padding: 22px 26px; }
.sg-diy__row--head span { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #475569; padding: 16px 26px; }
.sg-diy__row--head span:last-child { color: #fdba74; background: var(--navy); }
.sg-diy__topic { display: flex; align-items: center; font-family: var(--font-display); font-size: 1.08rem; color: var(--navy); }
.sg-diy__you { color: #5b6678; background: #f8fafc; line-height: 1.5; }
.sg-diy__us { display: flex; gap: 10px; align-items: flex-start; color: #fff; background: var(--navy); line-height: 1.5; font-weight: 600; }
.sg-diy__us svg { flex: none; margin-top: 3px; width: 22px; height: 22px; padding: 4px; border-radius: 6px; background: var(--orange); color: #fff; }
.sg-diy__m { display: none; }
.sg-diy__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 26px; }
.sg-diy__cta p { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--navy); }

/* Responsive */
@media (max-width: 1000px) {
  .sg-score, .sg-calc, .sg-ask, .sg-anat, .sg-serp, .sg-grid__wrap, .sg-race { grid-template-columns: minmax(0, 1fr); }
  .sg-score__card { position: static; }
  .sg-cite__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-timeline, .sg-month { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-timeline::before { display: none; }
  .sg-pipe__stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-pipe__stages li::after { display: none; }
  .sg-ads, .sg-mm { grid-template-columns: minmax(0, 1fr); }
  .sg-ads__mid, .sg-mm__arrow { justify-content: center; }
  .sg-ads__mid span { writing-mode: horizontal-tb; transform: none; padding: 8px 18px; }
  .sg-mm__arrow svg { transform: rotate(90deg); }
  .sg-posts { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin: 0 auto; }
  .sg-post:nth-child(2) .sg-post__card { transform: none; }
  .sg-serp .sg-scan { margin-top: 20px; }
}
@media (max-width: 720px) {
  .sg-score__list { grid-template-columns: minmax(0, 1fr); }
  .sg-calc__inputs, .sg-calc__result, .sg-ask { padding: 26px 20px; }
  .sg-cite__grid, .sg-pipe__stages { grid-template-columns: minmax(0, 1fr); }
  .sg-timeline, .sg-month { grid-template-columns: minmax(0, 1fr); }
  .sg-timeline li { flex-direction: row; text-align: left; align-items: center; }
  .sg-diy__row--head { display: none; }
  .sg-diy__row { grid-template-columns: minmax(0, 1fr); }
  .sg-diy__row > * { padding: 14px 18px; }
  .sg-diy__topic { padding-top: 20px; }
  .sg-diy__m { display: block; margin-bottom: 4px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  .sg-diy__you .sg-diy__m { color: #475569; }
  .sg-diy__us { flex-wrap: wrap; }
  .sg-diy__us .sg-diy__m { width: 100%; color: #fdba74; }
  .sg-anat__pin { display: none; }
  .sg-grid__map { gap: 5px; padding: 14px; }
  .sg-grid__map span { font-size: .68rem; }
  .sg-tabs button, .sg-switch button { padding: 10px 14px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-dot, .sg-grid__map span { animation: none; }
  .sg-ring__fg, .sg-cite__issues, .sg-anat__list button, .sg-pipe__stages li { transition: none; }
}
.sg [hidden] { display: none !important; }
.sg-post__img { position: relative; overflow: hidden; }
.sg-post__img svg { position: absolute; inset: 0; width: 100%; height: 100%; font-family: var(--font-display); }
.sg-post__img span { position: relative; z-index: 1; }
.sg-post__img--ba, .sg-post__img--rv, .sg-post__img--tm { background: none; }
