/* =========================================================
   Delow — service page template (hero, table of contents, sticky graphic,
   tips, comparison, free-analysis flow, related services)
   ========================================================= */

/* ---------- Hero ---------- */
.phero { position: relative; padding: 24px 0 64px; overflow: clip; }
.phero__glow {
  position: absolute; z-index: -1; pointer-events: none; right: -18%; top: -14%; width: 72vw; max-width: 980px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(203,169,197,.46), rgba(203,169,197,.15) 45%, transparent 72%);
}
@media (max-width: 767px) { .phero__glow { width: 150vw; right: -70vw; top: -10%; } }
.phero__grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--fs-small); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .2s ease; }
.crumbs a:hover { text-decoration-color: currentColor; }
.crumbs [aria-current] { color: var(--muted); }
.phero .crumbs { margin-bottom: 28px; }
.phero__title { font-size: clamp(2.375rem, 1.3rem + 3.4vw, 4.25rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 650; max-width: 15ch; text-wrap: balance; }
.phero__lead { margin-top: 20px; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.phero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.phero__phone { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; }
.phero__phone small { display: block; font-family: var(--font-text); font-weight: 400; font-size: .8125rem; color: var(--muted); }
.phero__phone-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--surface); transition: background-color .25s ease, color .25s ease, transform .3s var(--ease-out); }
.phero__phone-icon .ico { width: 21px; height: 21px; }
@media (hover: hover) and (pointer: fine) { .phero__phone:hover .phero__phone-icon { background: var(--ink); color: #fff; transform: rotate(-12deg); } }
.phero__brief { padding: 22px; border-radius: var(--r-card); background: var(--surface); }
.phero__brief-title { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -.015em; margin-bottom: 14px; }
.phero__brief .check-list { font-size: 1.0625rem; line-height: 1.45; }
@media (max-width: 559px) {
  .phero__actions .btn { width: 100%; justify-content: space-between; }
}
/* Phone: the breadcrumb already names the page, so the first screen keeps H1, lead, graphic and button */
@media (max-width: 767px) {
  .phero { padding-top: 16px; }
  .phero__grid { gap: 20px; }
  .phero .crumbs { margin-bottom: 18px; }
  .phero .eyebrow { display: none; }
  .phero__lead { margin-top: 14px; }
}
@media (min-width: 1024px) {
  .phero { padding: 40px 0 96px; }
  .phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy visual" "actions visual" "brief visual"; column-gap: 72px; row-gap: 32px; align-items: start; }
  .phero__copy { grid-area: copy; }
  .phero__visual { grid-area: visual; align-self: center; }
  .phero__actions { grid-area: actions; }
  .phero__brief { grid-area: brief; max-width: 520px; }
}

/* Hero load choreography (JS only) */
html.js .phero__copy > *, html.js .phero__visual, html.js .phero__actions, html.js .phero__brief { opacity: 0; transform: translateY(16px); }
html.js.is-loaded .phero__copy > *, html.js.is-loaded .phero__visual, html.js.is-loaded .phero__actions, html.js.is-loaded .phero__brief { opacity: 1; transform: none; transition: opacity .55s ease, transform .7s var(--ease-out); }
html.js.is-loaded .phero__copy > :nth-child(2) { transition-delay: .05s; }
html.js.is-loaded .phero__copy > :nth-child(3) { transition-delay: .1s; }
html.js.is-loaded .phero__copy > :nth-child(4) { transition-delay: .16s; }
html.js.is-loaded .phero__visual { transition-delay: .22s; }
html.js.is-loaded .phero__actions { transition-delay: .28s; }
html.js.is-loaded .phero__brief { transition-delay: .34s; }

/* ---------- Hero graphic: "your site" climbs to #1 ---------- */
.climb { --row: 52px; --gap: 8px; position: relative; padding: 18px; border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; }
.climb__bar { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; margin-right: 56px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(15,14,17,.06), 0 0 0 1px var(--line); font-weight: 500; }
.climb__bar .ico { width: 18px; height: 18px; color: var(--muted); }
.climb__list { position: relative; margin-top: 14px; height: calc(var(--row) * 5 + var(--gap) * 4); transition: opacity .3s ease; }
.climb.is-reset .climb__list { opacity: 0; }
.climb.is-reset .climb__row { transition: none; }
.climb__row {
  position: absolute; left: 0; right: 0; top: 0; height: var(--row);
  display: flex; align-items: center; gap: 12px; padding: 0 14px; border-radius: 14px;
  background: rgba(255,255,255,.55); color: var(--ink-2); font-size: .9375rem;
  transform: translateY(calc(var(--slot) * (var(--row) + var(--gap))));
  transition: transform .7s var(--ease-out), background-color .3s ease;
}
.climb__row b { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); font-family: var(--font-display); font-size: .875rem; font-weight: 600; color: var(--ink); }
.climb__row.is-you { z-index: 2; background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow-lift), 0 0 0 1px var(--line); }
.climb__row.is-you b { background: var(--accent); color: #fff; }
.climb__row em { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: .8125rem; font-weight: 600; color: #15803d; white-space: nowrap; transition: opacity .35s ease, transform .45s var(--ease-out); }
.climb__row em .ico { width: 16px; height: 16px; }
.climb.is-climbing .climb__row em { opacity: 0; transform: translateX(8px); }
@media (max-width: 559px) {
  .climb { --row: 40px; --gap: 5px; padding: 12px; border-radius: 22px; }
  .climb__bar { height: 40px; font-size: .9375rem; margin-right: 50px; }
  .climb__list { margin-top: 10px; }
  .climb__row { font-size: .875rem; padding: 0 10px; }
  .climb__row b { width: 26px; height: 26px; }
}
@media (min-width: 1024px) { .climb { --row: 58px; padding: 24px; } }

/* ---------- Article layout with table of contents ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: 24px; }
.doc__body { min-width: 0; }
.doc__intro { padding-top: 8px; }
.doc__sec { padding-top: clamp(72px, 9vw, 120px); scroll-margin-top: calc(var(--header-h) + 64px); }
.doc__h2 { max-width: 20ch; }
.doc__lead { margin-top: 20px; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.doc__after { margin-top: 24px; max-width: 62ch; color: var(--ink-2); }
.doc__cta { margin-top: 36px; }
@media (max-width: 559px) { .doc__cta { width: 100%; justify-content: space-between; } }

.prose { max-width: 64ch; color: var(--ink-2); }
.prose p + p, .prose p + blockquote, .prose blockquote + p { margin-top: 1.1em; }
.prose a, .doc__body a:not(.btn):not(.link-arrow) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-light); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .2s ease; }
.prose a:hover, .doc__body a:not(.btn):not(.link-arrow):hover { text-decoration-color: var(--accent); }
.prose--dark { color: var(--on-dark-2); }
.prose--dark a, .panel-dark a:not(.btn) { color: #fff !important; }

/* Table of contents: phone = sticky pill that opens; desktop = sticky side column */
.toc { position: sticky; top: calc(var(--header-h) - 4px); z-index: 20; margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter); }
.toc__box { position: relative; }
.toc__summary {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 8px 6px 18px; border-radius: 999px;
  background: rgba(255,255,255,.96); box-shadow: 0 0 0 1px var(--line), 0 10px 24px -14px rgba(15,14,17,.3);
  cursor: pointer; list-style: none; font-weight: 600; font-size: .9375rem;
}
.toc__summary::-webkit-details-marker { display: none; }
.toc__label { flex: none; color: var(--muted); font-weight: 500; }
.toc__current { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.toc__chev { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--surface); transition: transform .3s var(--ease-out); }
.toc__box[open] .toc__chev { transform: rotate(180deg); }
.toc__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: grid; gap: 2px; padding: 10px;
  border-radius: 20px; background: #fff; box-shadow: var(--shadow-float), 0 0 0 1px var(--line);
}
.toc__list a { display: block; padding: 11px 14px; border-radius: 12px; color: var(--ink-2); font-size: .9688rem; line-height: 1.35; transition: background-color .2s ease, color .2s ease; }
.toc__list a:hover { background: var(--surface); color: var(--ink); }
.toc__list a.is-current { color: var(--ink); font-weight: 600; background: var(--surface); }
.toc__progress { position: absolute; left: calc(var(--gutter) + 22px); right: calc(var(--gutter) + 22px); bottom: 7px; height: 2px; border-radius: 2px; overflow: hidden; pointer-events: none; }
.toc__progress i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
html:not(.js) .toc { position: static; }

@media (min-width: 1100px) {
  .doc { grid-template-columns: 230px minmax(0, 1fr); column-gap: 72px; }
  .toc { top: calc(var(--header-h) + 8px); align-self: start; margin: clamp(72px, 9vw, 120px) 0 0; padding: 0 0 0 18px; }
  .toc__summary { min-height: 0; padding: 0 0 14px; background: none; box-shadow: none; cursor: default; pointer-events: none; }
  .toc__label { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
  .toc__current, .toc__chev { display: none; }
  .toc__list { position: static; padding: 0; background: none; box-shadow: none; border-radius: 0; }
  .toc__list a { padding: 8px 0; border-radius: 0; font-size: .9375rem; }
  .toc__list a:hover, .toc__list a.is-current { background: none; }
  .toc__list a.is-current { color: var(--ink); }
  .toc__progress { left: 0; right: auto; top: 30px; bottom: 0; width: 2px; height: auto; background: var(--line); }
  .toc__progress i { height: 100%; transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
}

/* ---------- Sticky graphic ("how it works") ---------- */
.scrolly { margin-top: 40px; }
.scrolly__steps { display: grid; gap: 48px; }
.scrolly__step h3 { margin-top: 10px; font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); letter-spacing: -.03em; }
.scrolly__step p { margin-top: 14px; color: var(--ink-2); max-width: 56ch; }
.scrolly__num { align-self: flex-start; justify-self: start; display: inline-grid; place-items: center; min-width: 44px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .875rem; }
.scrolly__fig { margin-top: 22px; }
.scrolly__stage { display: none; }

@media (min-width: 960px) {
  .scrolly { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; }
  .scrolly__steps { gap: 0; }
  .scrolly__step { min-height: 62vh; padding-block: 10vh; display: flex; flex-direction: column; justify-content: center; opacity: .32; transition: opacity .45s ease; }
  .scrolly__step:first-child { padding-top: 4vh; }
  .scrolly__step.is-active { opacity: 1; }
  .scrolly__step .scrolly__fig { display: none; }
  .scrolly__stage { display: block; }
  .scrolly__frame { position: sticky; top: calc(var(--header-h) + 8vh); height: min(460px, 70vh); }
  .scrolly__frame > .fig { position: absolute; inset: 0; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .5s ease, transform .7s var(--ease-out); pointer-events: none; }
  .scrolly__frame > .fig.is-active { opacity: 1; transform: none; }
}
html:not(.js) .scrolly__step { opacity: 1; }

/* Figure shell */
.fig { position: relative; display: grid; place-items: center; align-content: center; gap: 14px; min-height: 300px; padding: 44px 22px 28px; border-radius: 26px; background: var(--surface); overflow: hidden; isolation: isolate; }
.fig__tag { position: absolute; top: 14px; right: 18px; color: var(--muted); font-size: .75rem; font-weight: 500; }
@media (min-width: 960px) { .fig { min-height: 100%; padding: 48px 36px 36px; } }

/* Fig: technical base (phone loads fast, checks tick) */
.fig--tech { grid-template-columns: auto minmax(0, 1fr); gap: 24px; justify-items: start; }
.fig-tech__phone { position: relative; display: grid; align-content: start; gap: 8px; width: 116px; height: 210px; padding: 26px 12px 12px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 5px var(--ink), var(--shadow-lift); }
.fig-tech__load { position: absolute; left: 12px; right: 12px; top: 12px; height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.fig-tech__load i { display: block; height: 100%; background: #16a34a; transform-origin: 0 50%; transform: scaleX(1); }
.fig-tech__h { height: 12px; width: 80%; border-radius: 4px; background: var(--ink); }
.fig-tech__p { height: 7px; width: 100%; border-radius: 4px; background: var(--surface-2); }
.fig-tech__p--s { width: 64%; }
.fig-tech__speed { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; padding: 5px 12px; border-radius: 999px; background: #dcfce7; color: #15803d; font-weight: 700; font-size: .875rem; white-space: nowrap; }
.fig-tech__checks { display: grid; gap: 10px; }
.fig-tech__checks li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fff; font-weight: 500; font-size: .9375rem; }
.fig-tech__checks .ico { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 2.6; }
@media (max-width: 479px) {
  .fig--tech { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .fig-tech__checks { width: 100%; }
}

/* Fig: texts that answer the search */
.fig-text__q { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-weight: 500; }
.fig-text__q .ico { width: 18px; height: 18px; color: var(--muted); }
.fig-text__arrow .ico { width: 22px; height: 22px; color: var(--accent); }
.fig-text__page { width: min(100%, 380px); padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lift); display: grid; gap: 6px; }
.fig-text__url { font-size: .8125rem; color: var(--muted); }
.fig-text__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; }
.fig-text__title mark { color: inherit; background: linear-gradient(transparent 58%, var(--accent-light) 58%) no-repeat 0 0 / 100% 100%; padding: 0 2px; }
.fig-text__page ul { display: grid; gap: 6px; margin-top: 8px; }
.fig-text__page li { display: flex; align-items: center; gap: 8px; font-size: .9375rem; color: var(--ink-2); }
.fig-text__page li .ico { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 2.6; }

/* Fig: intent behind the search */
.fig--intent { justify-items: stretch; gap: 10px; }
.fig-intent__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; }
.fig-intent__q { font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
.fig-intent__row > .ico { width: 18px; height: 18px; color: var(--muted); }
.fig-intent__a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.fig-intent__a .ico { width: 14px; height: 14px; }
.fig-intent__row.is-hot { box-shadow: 0 0 0 1.5px var(--ink); }
.fig-intent__row.is-hot .fig-intent__a { background: #16a34a; color: #fff; }
@media (max-width: 479px) {
  .fig-intent__row { grid-template-columns: minmax(0, 1fr) auto; }
  .fig-intent__row > .ico { display: none; }
}

/* Fig: trust from outside the site */
.fig--trust { min-height: 320px; }
.fig-trust__lines { position: absolute; inset: 14% 12%; width: 76%; height: 72%; overflow: visible; }
.fig-trust__lines path { fill: none; stroke: var(--accent-light); stroke-width: 2; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
.fig-trust__src { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; padding: 9px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: .875rem; font-weight: 600; white-space: nowrap; }
.fig-trust__stars { color: #f59e0b; letter-spacing: 1px; }
.fig-trust__you { position: relative; z-index: 1; padding: 14px 22px; border-radius: 16px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; box-shadow: 0 0 0 8px rgba(203,169,197,.35); }

/* Figure animations: play each time a figure becomes the active one */
html.js .fig.is-active .fig-tech__load i { animation: load 1.1s var(--ease-out) both; }
html.js .fig.is-active .fig-tech__speed { animation: pop .5s cubic-bezier(.34,1.56,.64,1) 1s both; }
html.js .fig.is-active .fig-tech__checks li,
html.js .fig.is-active .fig-intent__row,
html.js .fig.is-active .fig-trust__src { animation: rise .55s var(--ease-out) both; }
html.js .fig.is-active .fig-tech__checks li:nth-child(2), html.js .fig.is-active .fig-intent__row:nth-child(3), html.js .fig.is-active .fig-trust__src:nth-of-type(2) { animation-delay: .12s; }
html.js .fig.is-active .fig-tech__checks li:nth-child(3), html.js .fig.is-active .fig-intent__row:nth-child(4), html.js .fig.is-active .fig-trust__src:nth-of-type(3) { animation-delay: .24s; }
html.js .fig.is-active .fig-tech__checks li:nth-child(4), html.js .fig.is-active .fig-trust__src:nth-of-type(4) { animation-delay: .36s; }
html.js .fig.is-active .fig-text__page { animation: rise .6s var(--ease-out) .25s both; }
html.js .fig.is-active .fig-text__title mark { animation: mark .7s var(--ease-out) .8s both; }
html.js .fig.is-active .fig-trust__lines path { animation: dash 1.2s linear .3s both; }
html.js .fig.is-active .fig-trust__you { animation: pop .55s cubic-bezier(.34,1.56,.64,1) .1s both; }
@keyframes load { from { transform: scaleX(0); } }
@keyframes pop { from { opacity: 0; transform: scale(.7); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes mark { from { background-size: 0 100%; } }
@keyframes dash { from { stroke-dashoffset: 120; opacity: 0; } }

/* ---------- Text + figure side by side ---------- */
.split { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); grid-template-areas: "a fig" "b fig"; column-gap: 56px; row-gap: 0; align-items: start; }
  .split__a { grid-area: a; }
  .split__b { grid-area: b; margin-top: 1.1em; }
  .split__fig { grid-area: fig; position: sticky; top: calc(var(--header-h) + 40px); }
}
.quote { position: relative; margin: 32px 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--accent); }
.quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 1.15rem + .8vw, 1.875rem); line-height: 1.25; letter-spacing: -.025em; color: var(--ink); }

/* Map pack mock-up (light) */
.mappack { position: relative; padding: 18px; border-radius: 26px; background: var(--surface); display: grid; gap: 12px; }
.mappack__bar { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; margin-right: 52px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-weight: 500; }
.mappack__bar .ico { width: 18px; height: 18px; color: var(--muted); }
.mappack__caret { width: 1.5px; height: 18px; margin-left: -6px; background: var(--ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mappack__map { position: relative; height: 150px; border-radius: 16px; background: #e7e4ea; overflow: hidden; }
.mappack__road { position: absolute; background: #fff; }
.mappack__road--a { left: -10%; right: -10%; top: 56%; height: 10px; rotate: -7deg; }
.mappack__road--b { top: -10%; bottom: -10%; left: 38%; width: 8px; rotate: 14deg; }
.mappack__pin { position: absolute; left: var(--x); top: var(--y); translate: -50% -100%; color: var(--muted); }
.mappack__pin .ico { width: 28px; height: 28px; fill: #fff; stroke-width: 1.6; }
.mappack__pin.is-you { z-index: 1; color: var(--accent); }
.mappack__pin.is-you .ico { width: 40px; height: 40px; fill: var(--accent); stroke: #fff; }
.mappack__list { display: grid; gap: 6px; }
.mappack__list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.6); font-size: .875rem; color: var(--ink-2); }
.mappack__list li.is-you { background: #fff; color: var(--ink); box-shadow: var(--shadow-lift); }
.mappack__list li.is-you span { color: #15803d; font-weight: 600; }
.mappack__list b, .mappack__list span { white-space: nowrap; }
html.js .split__fig.is-in .mappack__pin.is-you { animation: drop .7s cubic-bezier(.34,1.56,.64,1) .5s both; }
@keyframes drop { from { opacity: 0; transform: translateY(-24px); } }

/* ---------- Dark panel: recommendations + how we work ---------- */
.panel-dark { position: relative; overflow: hidden; isolation: isolate; padding: 40px 20px 20px; border-radius: 30px; background: var(--dark); color: var(--on-dark); }
.panel-dark .grain { z-index: -1; opacity: .1; }
.panel-dark .h2 { color: #fff; }
.panel-dark__grid { display: grid; gap: 32px; margin-top: 28px; }
.howwe { padding: 0; }
.howwe__title { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: #fff; margin-bottom: 14px; }
.howwe__list { display: grid; gap: 10px; }
.howwe__list li { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: #fff; color: var(--ink); font-weight: 500; line-height: 1.45; }
.howwe__list .icon-box { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); }
.howwe__list .icon-box .ico { width: 21px; height: 21px; }
@media (min-width: 768px) { .panel-dark { padding: 56px; } }
@media (min-width: 1200px) { .panel-dark__grid { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; } }

/* ---------- Tips ---------- */
.tips { display: grid; gap: 12px; margin-top: 32px; }
.tip { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: start; padding: 22px; border-radius: var(--r-card); background: var(--surface); transition: background-color .3s ease, transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.tip__num { grid-row: 1 / 3; font-family: var(--font-display); font-weight: 650; font-size: 1.75rem; line-height: 1; letter-spacing: -.04em; color: var(--accent); }
.tip h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.015em; }
.tip p { margin-top: 8px; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
@media (hover: hover) and (pointer: fine) { .tip:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--shadow-lift), 0 0 0 1px var(--line); } }
@media (min-width: 768px) { .tips { grid-template-columns: 1fr 1fr; gap: 16px; } .tip { padding: 26px; } }

/* ---------- Comparison ---------- */
.compare { margin-top: 32px; }
.compare__switch { display: none; }
.compare__table { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare__table thead th { padding: 0 18px 16px; text-align: left; vertical-align: bottom; }
.compare__head { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--surface); font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.compare__head--a { background: var(--ink); color: #fff; }
.compare__head .ico { width: 18px; height: 18px; }
.compare__table tbody th, .compare__table td { padding: 18px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.5; }
.compare__table tbody th { width: 28%; font-weight: 600; color: var(--ink); font-size: 1rem; }
.compare__table td { color: var(--ink-2); }
.compare__table td:nth-child(2) { background: var(--accent-soft); color: var(--ink); font-weight: 500; }
.compare__table tbody tr:last-child td:nth-child(2) { border-radius: 0 0 16px 16px; }
@media (max-width: 767px) {
  .compare__switch { display: flex; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 999px; background: var(--surface); }
  .compare__btn { flex: 1; min-height: 44px; border-radius: 999px; font-weight: 600; font-size: .9375rem; color: var(--ink-2); transition: background-color .25s ease, color .25s ease; }
  .compare__btn.is-on { background: var(--ink); color: #fff; }
  .compare__table thead { display: none; }
  .compare__table, .compare__table tbody, .compare__table tr { display: block; }
  .compare__table tr { padding: 16px 18px; border-radius: 18px; background: var(--surface); }
  .compare__table tr + tr { margin-top: 8px; }
  .compare__table tbody th, .compare__table td { display: block; width: auto; padding: 0; border: 0; background: none !important; }
  .compare__table tbody th { font-size: .875rem; font-weight: 500; color: var(--muted); }
  .compare__table td { margin-top: 4px; font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
  .compare__table[data-show="1"] td:nth-child(3), .compare__table[data-show="2"] td:nth-child(2) { display: none; }
  .compare__table td { animation: rise .35s var(--ease-out) both; }
}

/* ---------- Free analysis flow ---------- */
.flow { display: grid; gap: 12px; margin-top: 32px; counter-reset: flow; }
.flow__step { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 18px; border-radius: 20px; background: var(--surface); }
.flow__step strong { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -.015em; }
.flow__step > span:last-child { grid-column: 2; color: var(--ink-2); font-size: .9688rem; }
.flow__icon { grid-row: 1 / 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.flow__icon .ico { width: 22px; height: 22px; }
.flow__icon--accent { background: var(--accent); color: #fff; }
@media (min-width: 768px) {
  .flow { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .flow__step { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 6px; padding: 24px; }
  .flow__icon { grid-row: auto; margin-bottom: 14px; }
  .flow__step > span:last-child { grid-column: auto; }
  .flow__step:not(:last-child)::after { content: ""; position: absolute; z-index: 1; top: 50px; right: -12px; width: 8px; height: 8px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); rotate: 45deg; }
}

/* ---------- Related services ---------- */
.related { padding-top: 0; }
.related .section-head--split { align-items: end; }
@media (min-width: 768px) { .related .section-head--split { grid-template-columns: 1fr auto; } }
.related__row { display: grid; gap: 16px; }
.rel { position: relative; display: grid; border-radius: var(--r-card); background: var(--surface); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s ease; }
.rel__viz { position: relative; display: grid; place-items: center; height: 210px; padding: 20px; background: var(--dark-2); overflow: hidden; pointer-events: none; }
.rel__viz > * { width: 100%; max-width: 300px; scale: .92; }
.rel__viz .viz-map__canvas { display: block; height: 150px; }
.rel__viz .viz-site__body { padding: 16px 16px 18px; }
.rel__body { display: grid; gap: 8px; padding: 22px 22px 26px; }
.rel__body strong { font-family: var(--font-display); font-weight: 600; font-size: 1.3125rem; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.rel__body > span { color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.rel__go { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); transition: background-color .25s ease, color .25s ease, transform .35s var(--ease-out); }
.rel__go .ico { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .rel:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow-lift), 0 0 0 1px var(--line); }
  .rel:hover .rel__go { background: var(--accent); color: #fff; transform: rotate(45deg); }
}
@media (max-width: 959px) {
  .related__row { grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .related__row::-webkit-scrollbar { display: none; }
  .rel { scroll-snap-align: start; }
}
@media (min-width: 960px) { .related__row { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .climb__row { transition: none; }
  .scrolly__frame > .fig { transition: opacity .2s ease; transform: none; }
  html.js .fig.is-active * { animation: none !important; }
  .mappack__caret { animation: none; }
}
