/* /solar-panels-preston/ (16 Oct 2026): 78 miles away. A large milestone dial and the journey in the hero, how it
   works as the biggest section, the reviews stacked beside the price, and the Lancashire coast by the nearby towns. */

/* Hero: the dial and the journey in one white card */
.pr-distance { padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--paper); box-shadow: var(--ak-lift); }
.pr-mile { flex-direction: column; text-align: center; gap: 14px; }
.pr-mile .ak-mile-dial { width: clamp(180px, 20vw, 232px); }
.pr-mile .ak-mile-text strong { font-size: 1.75rem; }
.pr-mile .ak-mile-text span { font-size: 1.0625rem; }
.pr-journey { flex-wrap: wrap; justify-content: space-between; row-gap: 14px; margin-top: clamp(22px, 2.6vw, 30px); padding: 18px 22px 22px; border-radius: 20px; background: var(--sky); box-shadow: none; }
.pr-journey .ak-journey-line { order: 3; flex: 1 0 100%; }
@media (min-width: 1000px) { .pr-hero .ak-hero-aside { margin-top: 12px; } }
@media (max-width: 999px) { .pr-hero .ak-hero-act { order: 2; } .pr-hero .ak-hero-aside { order: 3; } .pr-hero .ak-hero-text { order: 1; } }

/* Intro: the census figures down the side */
.pr-intro .ak-text h3 { margin-top: 30px; margin-bottom: 14px; }
.pr-homes { padding: clamp(22px, 2.6vw, 30px); border-radius: 22px; background: var(--sky); }
.pr-homes-title { margin-bottom: 14px; font-weight: 600; color: var(--ink); }
.pr-homes-stats { grid-template-columns: minmax(0, 1fr); gap: 0; }
.pr-homes-stats > div { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 18px; padding: 14px 0 !important; border-left: 0 !important; border-top: 1px solid var(--line-strong); }
.pr-homes-stats > div:first-child { border-top: 0; padding-top: 4px !important; }
.pr-homes-stats dt { margin: 0; color: var(--ink); font-size: 1.0625rem; }
.pr-homes-stats dd { flex: none; min-width: 4.4ch; font-size: clamp(2.25rem, 1.8rem + 1.4vw, 2.875rem); }

/* How it works: the promise, the survey's checks, the two steps */
.pr-how { padding-top: clamp(72px, 10vw, 136px); padding-bottom: clamp(72px, 10vw, 136px); }
.pr-promise { max-width: 52rem; margin: calc(-1 * clamp(8px, 2vw, 20px)) 0 clamp(36px, 4.6vw, 56px); font: 500 clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem)/1.3 var(--display); letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.pr-promise span { color: var(--ink-soft); }
.pr-how-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .pr-how-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; } }
.pr-check { padding: clamp(22px, 2.8vw, 32px); border-radius: 24px; background: var(--paper); box-shadow: var(--ak-shadow); }
.pr-check-title { display: flex; align-items: center; gap: 14px; font: 500 1.375rem/1.25 var(--display); color: var(--ink); }
.pr-check-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pr-check-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: 16px; background: var(--sky); font-weight: 600; line-height: 1.3; }
.pr-check-list .ak-ring { width: 44px; height: 44px; border-width: 2px; background: linear-gradient(var(--sky), var(--sky)) padding-box, linear-gradient(225deg, var(--sun-coral), var(--sun-amber)) border-box; }
.pr-check-list .sp-icon { width: 24px; height: 24px; }
.pr-check-text { margin-top: 18px; color: var(--ink-soft); line-height: 1.6; }
.pr-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pr-steps li { position: relative; padding: clamp(22px, 2.8vw, 32px) clamp(22px, 2.8vw, 32px) clamp(22px, 2.8vw, 32px) clamp(84px, 9vw, 104px); border-radius: 24px; background: var(--paper); box-shadow: var(--ak-shadow); }
.pr-step-num { position: absolute; left: clamp(22px, 2.8vw, 32px); top: clamp(20px, 2.6vw, 30px); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid transparent; background: var(--ak-ring-bg); font: 500 1.25rem/1 var(--display); }
.pr-steps h3 { font-size: 1.3125rem; }
.pr-steps p { margin-top: 8px; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.6; }
.pr-steps .pr-step-link { padding: 4px 0 0 clamp(84px, 9vw, 104px); background: none; box-shadow: none; }
.pr-step-link p { margin: 0; color: var(--ink); }
.pr-step-link a { color: var(--ink); font-weight: 600; }

/* Costs */
.pr-costs-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .pr-costs-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; } }
.pr-grant .ak-ring { margin-bottom: 14px; }
.pr-grant p { color: var(--ink) !important; font-size: 1.0625rem; }
.pr-guides > p { color: var(--ink-soft); font-size: 1.125rem; line-height: 1.6; }
.pr-guide-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pr-guide-list li { position: relative; padding: 15px 36px 15px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); line-height: 1.5; }
.pr-guide-list li::after { content: "\2192"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--sun-coral); font-size: 1.2rem; }
.pr-guide-list a { color: var(--ink); font-weight: 600; }

/* Planning: the places, sorted, beside the words */
.pr-planning .ak-text > p { color: var(--ink); }
.pr-planning .ak-note { margin-top: 16px; }
.pr-places { display: grid; gap: 0; padding: clamp(22px, 2.8vw, 32px); border-radius: 24px; background: var(--paper); box-shadow: var(--ak-shadow); }
.pr-places-group { padding: 20px 0; border-top: 1px solid var(--line); }
.pr-places-group:first-child { padding-top: 0; border-top: 0; }
.pr-places-group:last-child { padding-bottom: 0; }
.pr-places-label { margin-bottom: 12px; font: 500 1.1875rem/1.3 var(--display); color: var(--ink); }
.pr-places .ak-chips span { background: var(--sky); box-shadow: none; }
.pr-planning .ak-split { align-items: center; }

/* Reviews stacked beside the price */
.pr-quotes-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .pr-quotes-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 72px); align-items: start; } }
.pr-quotes .ak-reviews--stack { gap: 14px; }
.pr-quotes .ak-review { padding: 20px 24px 16px; }
.pr-quotes .ak-review blockquote p { font-size: 1.1875rem; }
.pr-quotes-side { display: grid; gap: 20px; }
@media (min-width: 900px) { .pr-quotes-side { position: sticky; top: 110px; } }
.pr-price .ak-price-fig { color: var(--ink); }
.pr-quotes .ak-warr--rows { box-shadow: 0 0 0 1px var(--line), var(--ak-shadow); }

/* FAQ: two columns, the last question across both */
@media (min-width: 900px) { .area-preston .ak-faq--two .faq details:nth-child(3) { grid-column: 1 / -1; } }
.area-preston .ak-faq--two .faq details p { max-width: 46rem; }

/* Nearby: the cards beside the coast */
.pr-near .ak-map { box-shadow: var(--ak-lift); }
.pr-near .ak-near-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
