/* Page-only layout for /nz/zoho-partner-in-christchurch/ (prefix chc-). Christchurch city page: Port Hills ridge, the rebuilt
   low-rise central city with Lyttelton cranes, and the flat Canterbury Plains with an irrigator in parallax behind the hero;
   precinct finder card; dealer and export chains; cost drivers; NZ rules cards; sort-deck split.
   Accent: Canterbury plains green (#4F7A2E, 5.1:1 on white) with a red marker (#B3261E) for the central city. */
.chc-hero { overflow-x: clip; }
.chc-hero .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
.chc-scene { position: absolute; inset: auto 0 0 0; height: 54%; z-index: 0; pointer-events: none; overflow: clip; }
.chc-scene svg { position: absolute; left: 0; width: 100%; height: auto; display: block; }
.chc-scene__hills { bottom: 28%; }
.chc-scene__city { bottom: 11%; opacity: .9; }
.chc-scene__plains { bottom: 0; }

/* precinct finder */
.chc-finder { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 14px;
  box-shadow: 0 24px 48px -28px rgba(25, 48, 20, .42); }
.chc-finder__h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 6px; font: 600 14px/1.35 var(--font-ui); color: var(--ink); }
.chc-finder__h span { flex: none; font: 700 11px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: #4F7A2E; background: #EEF5E7; border-radius: 999px; padding: 6px 9px; }
.chc-finder__map { display: block; width: 100%; height: auto; margin: 4px 0 8px; }
.chc-finder__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.chc-finder__btns button { -webkit-appearance: none; appearance: none; min-height: 36px; padding: 7px 10px; border: 1px solid #C9DABB; border-radius: 10px;
  background: #FBFDF8; font: 600 12.5px/1.25 var(--font-ui); color: var(--ink); cursor: pointer; text-align: left; }
.chc-finder__btns button:hover { border-color: #4F7A2E; }
.chc-finder__btns button.is-on { background: #4F7A2E; border-color: #4F7A2E; color: #fff; }
.chc-finder__btns button:focus-visible { outline: 3px solid #93C5FD; outline-offset: 2px; }
.chc-finder__panels { margin-top: 12px; }
.chc-finder__panel { padding: 14px 16px; border-radius: 12px; background: linear-gradient(180deg, #F1F7EA, #fff); border: 1px solid #D6E5C8; }
.chc-finder__panel > b { display: block; margin: 0 0 6px; font: 700 17px/1.35 var(--font); color: var(--ink); }
.chc-finder__panel p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.chc-finder__k { margin: 0 0 6px !important; font: 700 11.5px/1.2 var(--font-ui) !important; letter-spacing: .07em; text-transform: uppercase; color: #4F7A2E; }
.chc-finder__apps { margin-top: 8px !important; font: 600 13px/1.4 var(--font-ui) !important; color: #1B5A94; }
.chc-finder__foot { margin: 10px 0 0; font: 500 12px/1.45 var(--font-ui); color: var(--muted); }
.chc-finder:not(.is-js) .chc-finder__panel[hidden] { display: block; margin-top: 10px; }

.chc-watch { margin: 10px 0 0; font-size: 14.5px; }

/* chains */
.chc-chains { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chc-chain { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; border-left: 5px solid #4F7A2E; }
.chc-chain h3 { margin: 0 0 14px; font-size: 18px; }
.chc-chain ol { list-style: none; margin: 0; padding: 0; counter-reset: chc; }
.chc-chain li { position: relative; padding: 0 0 14px 40px; counter-increment: chc; }
.chc-chain li::before { content: counter(chc); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: #EEF5E7; color: #4F7A2E;
  font: 700 13px/26px var(--font-ui); text-align: center; }
.chc-chain li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 28px; bottom: 2px; width: 2px; background: #D6E5C8; }
.chc-chain li b { display: block; font: 700 15px/1.35 var(--font-ui); color: var(--ink); }
.chc-chain li span { display: block; font: 500 14px/1.45 var(--font-ui); color: var(--text); }

/* cost drivers */
.chc-drivers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.chc-drivers > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.chc-drivers b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #EEF5E7; color: #4F7A2E; font: 700 14px/1 var(--font-ui); }
.chc-drivers h3 { margin: 10px 0 6px; font-size: 16px; }
.chc-drivers p { margin: 0; font-size: 14px; line-height: 1.55; }

/* rules cards */
.chc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.chc-cards > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; }
.chc-cards h3 { margin: 0 0 8px; font-size: 16.5px; }
.chc-cards p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.55; flex: 1; }
.chc-cards small { font: 600 12px/1.3 var(--font-ui); color: #4F7A2E; }

.chc-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: start; }
.chc-ticks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.chc-ticks li { position: relative; padding-left: 26px; font: 500 14.5px/1.45 var(--font-ui); color: var(--text); }
.chc-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #EEF5E7;
  box-shadow: inset 0 0 0 5px #EEF5E7, inset 0 0 0 8px #4F7A2E; }
.chc-ticks--two { grid-template-columns: 1fr 1fr; margin-top: 22px; }
.chc-note { margin: 18px 0 0; font: 500 14px/1.6 var(--font-ui); color: var(--muted); }
.chc-note a { font-weight: 600; }
.lic-note { margin: 12px 0 0; color: var(--muted); }
.chc-related-h { margin: 0 0 16px; font-size: 22px; }

@media (max-width: 1100px) { .chc-drivers { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .chc-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .chc-hero .hero__grid, .chc-split, .chc-chains { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .chc-ticks--two, .chc-cards, .chc-drivers, .chc-finder__btns { grid-template-columns: 1fr; }
  .chc-finder { padding: 14px 12px 12px; }
}
