/* Area pages (areas/*.html). Each area has its own accent colour and its own signature blocks. */
.ap { --muted: #3F5F5C; --line: rgba(11, 57, 55, .12); --teal: #0B3937; --gold: #E6BD7A;
  --ac: #137A5F; --ac-soft: #DDF3EA; --ac-dark: #0B3937; }

.ap .container { max-width: 1240px; padding: 0 28px; }
.ap .sp-btn-ac { background: var(--gold); color: var(--teal); }
.ap .sp-btn-ac:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }

/* ---------- Hero ---------- */
.apx-hero { position: relative; overflow: hidden; color: #fff; padding: 48px 0 72px; background: linear-gradient(160deg, var(--ac-dark) 0%, var(--ac) 130%); }
.apx-hero .container { position: relative; z-index: 2; }
.apx-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 4.8vw, 3.5rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 16px; max-width: 17ch; }
.apx-hero .sp-lead { color: rgba(255, 255, 255, .88); }
.apx-hero .sp-crumbs { margin-bottom: 20px; }
.apx-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.apx-kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.apx-hero-art svg { display: block; width: 100%; height: auto; }

.apx-hero--right .apx-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px; align-items: center; }
.apx-hero--right .apx-hero-art svg { border-radius: 26px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 24px 50px rgba(0, 0, 0, .25); }
.apx-hero--bottom { padding-bottom: 210px; }
.apx-hero--bottom .apx-hero-art { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; }
.apx-hero--bottom .apx-hero-art svg { height: 190px; }
.apx-hero--center { text-align: center; }
.apx-hero--center h1, .apx-hero--center .sp-lead { margin-left: auto; margin-right: auto; }
.apx-hero--center .sp-crumbs, .apx-hero--center .sp-hero-cta { justify-content: center; }
.apx-hero--center .apx-kicker { justify-content: center; }

/* ---------- Stat strip ---------- */
.apx-strip { position: relative; z-index: 3; margin-top: -36px; }
.apx-strip-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: 20px; box-shadow: 0 18px 44px rgba(11, 57, 55, .16); border: 1px solid var(--line); overflow: hidden; }
.apx-strip-grid li { padding: 22px 18px; text-align: center; }
.apx-strip-grid li + li { border-left: 1px solid var(--line); }
.apx-strip-grid b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ac); line-height: 1.1; }
.apx-strip-grid span { display: block; margin-top: 4px; font-size: .85rem; color: var(--muted); }

/* ---------- Generic section pieces ---------- */
.apx-sec { padding: 72px 0; background: #fff; }
.apx-sec--tint { background: #F6FBFA; }
.apx-sec--accent { background: var(--ac-soft); }
.apx-head { max-width: 640px; margin: 0 0 36px; }
.apx-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.apx-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 10px; }
.apx-head p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.apx-eyebrow { display: block; margin-bottom: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); }

.apx-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.apx-intro.flip > :first-child { order: 2; }
.apx-intro h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.12; letter-spacing: -.03em; margin: 0 0 16px; }
.apx-intro p { margin: 0 0 14px; font-size: 1.05rem; line-height: 1.75; color: var(--muted); }
.apx-card-accent { background: var(--ac); color: #fff; border-radius: 24px; padding: 34px 32px; position: relative; overflow: hidden; }
.apx-card-accent::after { content: ""; position: absolute; right: -50px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.apx-card-accent h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 12px; position: relative; }
.apx-card-accent p { margin: 0; color: rgba(255, 255, 255, .92); font-size: 1rem; line-height: 1.7; position: relative; }

/* ---------- Clifton: timeline + compare ---------- */
.apx-timeline { list-style: none; margin: 0; padding: 0 0 0 38px; position: relative; display: grid; gap: 26px; max-width: 760px; }
.apx-timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--ac), var(--ac-soft)); border-radius: 3px; }
.apx-timeline li { position: relative; }
.apx-timeline li::before { content: ""; position: absolute; left: -38px; top: 4px; width: 25px; height: 25px; border-radius: 50%; background: #fff; border: 5px solid var(--ac); }
.apx-timeline h3 { font-family: var(--font-display); margin: 0 0 4px; font-size: 1.15rem; }
.apx-timeline p { margin: 0; color: var(--muted); line-height: 1.65; }
.apx-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.apx-compare > div { border-radius: 20px; padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--ac); }
.apx-compare h3 { font-family: var(--font-display); margin: 0 0 12px; font-size: 1.25rem; }
.apx-compare ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); line-height: 1.55; }

/* ---------- Bedminster: cutaway ---------- */
.apx-cutaway { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.apx-cutaway svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 24px rgba(11, 57, 55, .15)); }
.apx-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.apx-legend li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.apx-legend i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ac); color: #fff; display: grid; place-items: center; font: 800 .95rem var(--font-display); font-style: normal; }
.apx-legend b { display: block; font-family: var(--font-display); margin-bottom: 2px; }
.apx-legend span { color: var(--muted); font-size: .94rem; line-height: 1.5; }

/* ---------- Redland: rooms ---------- */
.apx-rooms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.apx-rooms li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; position: relative; overflow: hidden; }
.apx-rooms li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--ac); }
.apx-rooms b { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px; }
.apx-rooms span { color: var(--muted); font-size: .94rem; line-height: 1.55; }

/* ---------- Fishponds: appliance chips + meter ---------- */
.apx-chips { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.apx-chips li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 2px solid var(--ac); color: var(--ac-dark); font-weight: 700; font-size: .95rem; }
.apx-meter { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 28px 24px; }
.apx-meter h3 { font-family: var(--font-display); margin: 0 0 18px; font-size: 1.2rem; }
.apx-bar { margin-bottom: 18px; }
.apx-bar label { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 6px; color: var(--muted); }
.apx-bar div { height: 18px; border-radius: 999px; background: #E8EFEE; overflow: hidden; }
.apx-bar i { display: block; height: 100%; border-radius: 999px; background: var(--ac); }
.apx-bar.over i { background: linear-gradient(90deg, var(--ac), var(--gold)); }
.apx-meter small { display: block; color: var(--muted); font-size: .8rem; }

/* ---------- Keynsham: old vs new + flow ---------- */
.apx-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.apx-flow li { position: relative; background: #fff; border: 2px solid var(--ac); border-radius: 18px; padding: 22px 18px; text-align: center; }
.apx-flow li:not(:last-child)::after { content: "\2192"; position: absolute; right: -28px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 800; color: var(--ac); }
.apx-flow li:last-child { background: var(--ac); color: #fff; }
.apx-flow b { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; }
.apx-flow span { font-size: .9rem; line-height: 1.5; color: var(--muted); }
.apx-flow li:last-child span { color: rgba(255, 255, 255, .9); }

/* ---------- Portishead: outdoor diagram + weather ---------- */
.apx-weather { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.apx-weather li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; }
.apx-weather b { display: block; font-family: var(--font-display); color: var(--ac); font-size: 1.05rem; margin-bottom: 4px; }
.apx-weather span { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ---------- Clevedon: seasons ---------- */
.apx-seasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.apx-seasons li { border-radius: 20px; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-bottom: 6px solid var(--ac); }
.apx-seasons li:nth-child(2) { border-bottom-color: var(--gold); }
.apx-seasons li:nth-child(3) { border-bottom-color: #A5DDD4; }
.apx-seasons li:nth-child(4) { border-bottom-color: #0B3937; }
.apx-seasons b { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.apx-seasons span { font-size: .93rem; color: var(--muted); line-height: 1.6; }

/* ---------- Problems (different style per area) ---------- */
.apx-acc { display: grid; gap: 12px; max-width: 860px; }
.apx-acc details { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.apx-acc details[open] { border-color: var(--ac); box-shadow: 0 8px 22px rgba(11, 57, 55, .08); }
.apx-acc summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }
.apx-acc summary::-webkit-details-marker { display: none; }
.apx-acc summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ac-soft); color: var(--ac); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; }
.apx-acc details[open] summary::after { content: "\2212"; background: var(--ac); color: #fff; }
.apx-acc p { margin: 0; padding: 0 22px 20px; color: var(--muted); line-height: 1.65; }

.apx-zig { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.apx-zig li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: center; max-width: 780px; padding: 20px 24px; background: #fff; border-radius: 20px; border: 1px solid var(--line); counter-increment: z; }
.apx-zig li:nth-child(even) { margin-left: auto; }
.apx-zig { counter-reset: z; }
.apx-zig li::before { content: counter(z); width: 56px; height: 56px; border-radius: 50%; background: var(--ac); color: #fff; display: grid; place-items: center; font: 800 1.4rem var(--font-display); }
.apx-zig h3, .apx-rows h3, .apx-pcards h3, .apx-picons h3 { font-family: var(--font-display); font-size: 1.12rem; margin: 0 0 4px; }
.apx-zig p, .apx-rows p, .apx-pcards p, .apx-picons p { margin: 0; color: var(--muted); line-height: 1.6; font-size: .96rem; }

.apx-rows { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.apx-rows li { counter-increment: r; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); align-items: start; }
.apx-rows li:last-child { border-bottom: 1px solid var(--line); }
.apx-rows li::before { content: counter(r, decimal-leading-zero); font: 800 2.6rem/1 var(--font-display); color: var(--ac); opacity: .85; }

.apx-pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.apx-pcards li { padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--ac); border-radius: 6px 18px 18px 6px; }

.apx-picons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.apx-picons li { padding: 24px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-align: center; }
.apx-picons li::before { content: ""; display: block; width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 14px; background: var(--ac-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23137A5F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7l1-8Z'/%3E%3C/svg%3E") center / 24px no-repeat; }

/* ---------- Steps (call process) ---------- */
.apx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: st; position: relative; }
.apx-steps li { counter-increment: st; text-align: center; padding: 0 6px; }
.apx-steps li::before { content: counter(st); width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--ac); color: #fff; display: grid; place-items: center; font: 800 1.3rem var(--font-display); position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--ac-soft); }
.apx-steps b { display: block; font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 6px; }
.apx-steps span { font-size: .92rem; color: var(--muted); line-height: 1.55; }

/* ---------- Nearby ---------- */
.apx-near { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.apx-near a { padding: 14px 24px; border-radius: 999px; background: #fff; border: 2px solid var(--ac); color: var(--ac-dark); font-weight: 700; text-decoration: none; }
.apx-near a:hover { background: var(--ac); color: #fff; }

/* Reused sections */
.ap .faq-section { background: #F6FBFA; }
.ap .services-section { background: #fff; }
.ap .services-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ap .cta-section { background: #fff; padding-top: 0; }
.ap .faq-icon { background: var(--ac-soft); color: var(--ac); }
.ap .faq-item[open] .faq-icon { background: var(--gold); color: var(--teal); }

@media (max-width: 1000px) {
  .apx-hero--right .apx-hero-grid { grid-template-columns: 1fr; }
  .apx-hero--right .apx-hero-art { max-width: 460px; }
  .apx-intro, .apx-cutaway { grid-template-columns: 1fr; gap: 32px; }
  .apx-intro.flip > :first-child { order: 0; }
  .apx-rooms, .apx-weather, .apx-seasons, .apx-picons, .apx-steps, .apx-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apx-flow { gap: 28px 34px; }
  .apx-flow li:nth-child(2)::after { display: none; }
  .ap .services-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ap .container { padding: 0 16px; }
  .apx-hero { padding: 32px 0 56px; }
  .apx-hero--bottom { padding-bottom: 150px; }
  .apx-hero--bottom .apx-hero-art svg { height: 130px; }
  .apx-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apx-strip-grid li:nth-child(3) { border-left: 0; }
  .apx-strip-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .apx-sec { padding: 52px 0; }
  .apx-compare, .apx-pcards { grid-template-columns: 1fr; }
  .apx-rooms, .apx-weather, .apx-seasons, .apx-picons, .apx-steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .apx-steps { gap: 24px 12px; }
  .apx-rooms li, .apx-picons li, .apx-seasons li { padding: 16px 14px; }
  .apx-flow { grid-template-columns: 1fr; }
  .apx-flow li::after { display: none !important; }
  .apx-zig li { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .apx-zig li::before { width: 44px; height: 44px; font-size: 1.1rem; }
  .apx-rows li { grid-template-columns: 56px minmax(0, 1fr); }
  .apx-rows li::before { font-size: 1.8rem; }
  .apx-card-accent { padding: 26px 22px; }
}

/* about block under hero */
.ap .about-section { padding-top: 56px; }
.ap .about-copy > p { margin-bottom: 14px; }
.ap .about-copy .about-features { margin-top: 14px; }
@media (max-width: 1000px) { .ap .about-section { padding-top: 32px; } }

/* Areas overview: coverage map */
.amap-section { padding: 64px 0 24px; background: #fff; }
.amap-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px; align-items: center; }
.amap-eyebrow { margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #3F5F5C; }
.amap-copy h2 { margin: 0 0 14px; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.03em; color: #0B3937; }
.amap-copy p { color: #3F5F5C; margin: 0 0 18px; }
.amap-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 14px; }
.amap-list li { background: #EEF6F4; border-radius: 12px; padding: 14px 20px; }
.amap-list b { display: block; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 1.8rem; line-height: 1; color: #137A5F; }
.amap-list span { font-size: .85rem; color: #3F5F5C; }
.amap-small { font-size: .9rem; }
.amap-box { border-radius: 20px; overflow: hidden; background: #DDF3EA; position: relative; }
.amap-box svg { display: block; width: 100%; height: auto; }
.amap-note { position: absolute; right: 12px; bottom: 8px; font-size: .72rem; color: #3F5F5C; }
.amap-centre { font: 700 12px "DM Sans", sans-serif; fill: #0B3937; }
.amap-pin { cursor: pointer; }
.amap-ring { fill: #137A5F; opacity: .18; transition: opacity .2s, r .2s; }
.amap-dot { fill: #137A5F; stroke: #fff; stroke-width: 3; transition: fill .2s; }
.amap-name { font: 700 15px "DM Sans", sans-serif; fill: #0B3937; }
.amap-pc { font: 500 12px "DM Sans", sans-serif; fill: #3F5F5C; }
.amap-pin:hover .amap-ring, .amap-pin:focus .amap-ring { opacity: .35; r: 26; }
.amap-pin:hover .amap-dot, .amap-pin:focus .amap-dot { fill: #0B3937; }
@media (max-width: 900px) { .amap-grid { grid-template-columns: 1fr; gap: 24px; } .amap-section { padding-top: 40px; } }