/* /solar-panels-coventry/ (16 Oct 2026): a city of terraces. The hero's chart card under a terrace roofline; every
   section below is white icon cards in a grid of different sizes. Sections start on pale blue after the hero. */

/* Hero: the chart card on the left */
.cv-chart { position: relative; margin: 0; padding: clamp(22px, 2.6vw, 32px); border-radius: 24px; background: var(--paper); box-shadow: var(--ak-lift); }
.cv-terrace { display: block; width: 100%; height: auto; margin: 0 0 18px; }
.cv-t-line { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cv-t-line rect { fill: var(--sky); }
.cv-t-party { stroke: var(--line-strong); }
.cv-t-panels rect { fill: #fff3e9; stroke: var(--sun-coral); stroke-width: 1.4; stroke-linejoin: round; }
.cv-chart-title { margin: 0 0 18px; padding-top: 18px; border-top: 1px solid var(--line); font: 500 1.3125rem/1.3 var(--display); color: var(--ink); text-wrap: balance; }
.cv-chart .ak-bars { padding: 0; border-radius: 0; box-shadow: none; background: none; }
.cv-chart .ak-bars li { grid-template-columns: minmax(0, 6rem) minmax(0, 1fr) 3.5rem; }
.cv-chart .ak-bars-track { height: 18px; }
.cv-chart .ak-bars-value { font-size: 1.375rem; }
.cv-chart .ak-bars figcaption { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-top: 20px; }
.cv-chart-src { color: var(--ink-soft); }
@media (min-width: 1000px) { .cv-hero .ak-hero-aside { margin-top: 56px; } }
@media (max-width: 999px) {
  .cv-hero .ak-hero-act { order: 2; }
  .cv-hero .ak-hero-aside { order: 3; }
  .cv-hero .ak-hero-text { order: 1; }
}
@media (max-width: 520px) { .cv-chart .ak-bars li { grid-template-columns: minmax(0, 1fr) 3.5rem; } }

/* The grid of cards, used by every section */
.cv-bento { display: grid; gap: clamp(16px, 2vw, 22px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .cv-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cv-w2, .cv-w3 { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .cv-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cv-w2 { grid-column: span 2; } .cv-w3 { grid-column: 1 / -1; } .cv-h2 { grid-row: span 2; }
}
.cv-card { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 32px); border-radius: 22px; }
.cv-card .ak-ring { margin-bottom: 18px; }
.cv-card h3 { font-size: 1.25rem; }
.cv-card > p { margin-top: 10px; font-size: 1.0625rem; line-height: 1.65; }
.cv-card a { color: var(--ink); font-weight: 600; }
.cv-label { margin-top: 22px !important; margin-bottom: 12px; font-weight: 600; color: var(--ink) !important; font-size: 1rem !important; }
.section--sky .cv-card .ak-chips span { background: var(--sky); box-shadow: none; }
.cv-card .ak-chips span { background: var(--sky); box-shadow: none; }

/* Intro: the price card beside the opening card; the services in the third card of the second row */
.cv-a > p { font-size: 1.1875rem !important; color: var(--ink) !important; max-width: 40rem; }
.cv-price { justify-content: center; border: 3px solid transparent; box-shadow: var(--ak-shadow);
  background: url("../sun-arc.svg") right -150px top -170px / 300px 300px no-repeat padding-box, linear-gradient(var(--paper), var(--paper)) padding-box, var(--ak-sun) border-box; }
.cv-price .ak-price-fig { margin: 0 0 14px; font: 500 clamp(2.5rem, 1.9rem + 1.8vw, 3.125rem)/1 var(--display); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.cv-price .ak-price-fig small { display: block; white-space: normal; margin-bottom: 10px; font: 500 1rem/1.3 var(--text); color: var(--ink-soft); letter-spacing: 0; }
.cv-price > p:not(.ak-price-fig) { margin-top: 0; color: var(--ink-soft); }
.cv-price .btn { align-self: flex-start; margin-top: 22px; }
.cv-install h3 { margin-bottom: 16px; }
.cv-install .ak-services a { padding: 10px 16px 10px 10px; box-shadow: 0 0 0 1px var(--line); }
.cv-install .ak-services .ak-ring { width: 44px; height: 44px; border-width: 2px; }
.cv-install .ak-services .sp-icon { width: 24px; height: 24px; }
@media (min-width: 760px) and (max-width: 999px) { .cv-install { grid-column: 1 / -1; } }

/* Costs: the grant card and the guides beside it */
.cv-grant > p:first-of-type { color: var(--ink); }
.cv-grant .cv-label { margin-top: auto !important; padding-top: 24px; }
.cv-guides { display: flex; flex-direction: column; gap: 14px; }
.cv-guides > p { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.6; }
.cv-guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cv-guide-list li { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--ak-shadow); }
.cv-guide-list .ak-ring { width: 44px; height: 44px; border-width: 2px; }
.cv-guide-list .sp-icon { width: 24px; height: 24px; }
.cv-guide-list p { font-size: 1rem; line-height: 1.45; color: var(--ink-soft); }
.cv-guide-list a { color: var(--ink); font-weight: 600; }
@media (min-width: 760px) and (max-width: 999px) { .cv-guides { grid-column: 1 / -1; } .cv-guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* How it works: one wide card, the three warranties under it */
.cv-how-card { gap: 6px 32px; }
@media (min-width: 760px) { .cv-how-card { flex-direction: row; align-items: flex-start; padding: clamp(28px, 3.2vw, 40px); } .cv-how-card .ak-ring { margin: 0; } }
.cv-how-card > div { max-width: 52rem; }
.cv-how-card p { color: var(--ink-soft); line-height: 1.65; }
.cv-how-card p + p { margin-top: 14px; }
.cv-how-card .cv-how-text { font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.cv-how .ak-warr--cards { grid-column: 1 / -1; display: grid; gap: clamp(16px, 2vw, 22px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .cv-how .ak-warr--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cv-how .ak-warr--cards > div { border-radius: 22px; padding: 24px 26px; }

/* Planning: the council card, the two smaller cards beside it with their rings inline */
.cv-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.cv-card-head .ak-ring { margin: 0; width: 46px; height: 46px; }
.cv-card-head .sp-icon { width: 24px; height: 24px; }
.cv-card--inline { padding: 24px 26px; }
.cv-council > p:first-of-type { color: var(--ink); font-size: 1.1875rem; }


/* Reviews */
.cv-quotes .ak-review { padding-top: 22px; }

/* Nearby */
.cv-near .ak-near-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
