/* CS Connectivity checker – brand: navy #002E5D, cyan #00A9CE */
.csc {
  --csc-navy: #002E5D;
  --csc-cyan: #00A9CE;
  --csc-cyan-dark: #00849F;
  --csc-ink: #1F1F32;
  --csc-muted: #5B6472;
  --csc-line: #E4E4E7;
  --csc-soft: #F2F8FB;
  --csc-ok: #12805C;
  --csc-err: #B42318;
  --csc-radius: 14px;
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--csc-ink);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px -20px rgba(0, 46, 93, .35), 0 2px 6px rgba(0, 46, 93, .06);
  padding: clamp(20px, 4vw, 36px);
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  line-height: 1.5;
  font-size: 16px;
}
.csc *, .csc *::before, .csc *::after { box-sizing: border-box; }
.csc h2, .csc h3, .csc h4 { font-family: "Palanquin Dark", Roboto, sans-serif; color: var(--csc-navy); margin: 0; line-height: 1.2; font-weight: 400; }
.csc-title { font-size: clamp(22px, 3vw, 28px); margin-bottom: 14px !important; }
.csc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* progress */
.csc-steps { list-style: none; display: flex; gap: 6px; margin: 0 0 22px; padding: 0; counter-reset: none; }
.csc-steps li { flex: 1; font-size: 13px; color: var(--csc-muted); display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 3px solid var(--csc-line); margin: 0; }
.csc-steps li span { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; background: var(--csc-line); color: var(--csc-muted); flex: none; }
.csc-steps li.done { border-color: var(--csc-cyan); }
.csc-steps li.done span { background: var(--csc-cyan); color: #fff; }
.csc-steps li.current { border-color: var(--csc-navy); color: var(--csc-navy); font-weight: 500; }
.csc-steps li.current span { background: var(--csc-navy); color: #fff; }
@media (max-width: 560px) { .csc-steps li:not(.current) { font-size: 0; gap: 0; } }

/* forms */
.csc-form label, .csc-form legend { display: block; font-weight: 500; color: var(--csc-navy); margin: 0 0 6px; font-size: 15px; }
.csc-form fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.csc input[type=text], .csc input:not([type]), .csc input[type=email], .csc input[type=tel], .csc input[type=search], .csc textarea {
  width: 100%; font: inherit; color: var(--csc-ink); background: #fff;
  border: 1.5px solid #C9D3DD; border-radius: 10px; padding: 12px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
.csc textarea { min-height: 0; resize: vertical; }
.csc input:focus, .csc textarea:focus { outline: none; border-color: var(--csc-cyan); box-shadow: 0 0 0 4px rgba(0, 169, 206, .18); }
.csc [aria-invalid=true] { border-color: var(--csc-err) !important; }
.csc-inline { display: flex; gap: 10px; }
.csc-inline input { flex: 1; text-transform: uppercase; font-size: 18px; letter-spacing: .04em; }
.csc-inline input::placeholder { text-transform: none; letter-spacing: 0; }
@media (max-width: 520px) { .csc-inline { flex-direction: column; } }
.csc-hint, .csc-small { color: var(--csc-muted); font-size: 14px; margin: 8px 0 0; }
.csc-small { font-size: 13px; }
.csc-opt { font-weight: 400; color: var(--csc-muted); font-size: 13px; }
.csc-lede { margin: 0 0 18px; color: var(--csc-muted); }
.csc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
@media (max-width: 560px) { .csc-grid { grid-template-columns: 1fr; } }
.csc-ferr { display: block; color: var(--csc-err); font-size: 13px; min-height: 0; margin-top: 4px; }
.csc-ferr:empty { display: none; }
.csc-error { color: var(--csc-err); background: #FEF3F2; border-radius: 10px; padding: 10px 14px; margin: 14px 0 0; font-size: 15px; }
.csc-error a { color: inherit; font-weight: 600; }
.csc-hp { position: absolute; left: -9999px; }

/* buttons */
.csc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px/1 Roboto, sans-serif; letter-spacing: .04em; text-transform: uppercase;
  background: var(--csc-cyan); color: #fff !important; border: 0; border-radius: 999px;
  padding: 0 26px; min-height: 48px; cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: background .15s, transform .1s;
}
.csc-btn:hover { background: var(--csc-cyan-dark); }
.csc-btn:active { transform: translateY(1px); }
.csc-btn:disabled { opacity: .75; cursor: progress; }
.csc-btn:focus-visible, .csc-link:focus-visible { outline: 3px solid var(--csc-navy); outline-offset: 2px; }
.csc-btn--ghost { background: transparent; color: var(--csc-navy) !important; box-shadow: inset 0 0 0 1.5px var(--csc-navy); }
.csc-btn--ghost:hover { background: var(--csc-soft); }
.csc-link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--csc-cyan-dark); text-decoration: underline; cursor: pointer; font-weight: 400; margin-left: 8px; }
.csc-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.csc-actions .csc-link { margin: 0; }
.csc-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: csc-spin .8s linear infinite; }
@keyframes csc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .csc-spin { animation-duration: 2s; } }

/* address list */
.csc-filter { margin-bottom: 10px; }
.csc-addrs { list-style: none; margin: 0 0 8px; padding: 0; max-height: 320px; overflow: auto; border: 1.5px solid var(--csc-line); border-radius: 12px; }
.csc-addrs li { margin: 0; border-bottom: 1px solid var(--csc-line); }
.csc-addrs li:last-child { border-bottom: 0; }
.csc-addr { display: flex !important; gap: 12px; align-items: flex-start; padding: 12px 14px; margin: 0 !important; cursor: pointer; font-weight: 400 !important; color: var(--csc-ink) !important; }
.csc-addr:hover { background: var(--csc-soft); }
.csc-addr input { margin-top: 4px; accent-color: var(--csc-cyan); width: 18px; height: 18px; flex: none; }
.csc-addr:has(input:checked) { background: #E6F7FB; }
.csc-manual { border: 1.5px dashed #C9D3DD; border-radius: 12px; margin-top: 10px !important; }
.csc-manual-box { margin-top: 10px; }

/* interests */
.csc-interests { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px !important; }
.csc-interests legend { width: 100%; margin-bottom: 8px; }
.csc-chip { display: inline-flex !important; margin: 0 !important; cursor: pointer; font-weight: 400 !important; }
.csc-chip input { position: absolute; opacity: 0; }
.csc-chip span { padding: 8px 14px; border-radius: 999px; border: 1.5px solid #C9D3DD; font-size: 14px; color: var(--csc-ink); transition: all .15s; }
.csc-chip input:checked + span { background: var(--csc-navy); border-color: var(--csc-navy); color: #fff; }
.csc-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(0, 169, 206, .3); }
.csc-consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--csc-ink) !important; margin-top: 16px !important; font-size: 14px !important; }
.csc-consent input { margin-top: 3px; accent-color: var(--csc-cyan); width: 18px; height: 18px; flex: none; }

/* results */
.csc-results:focus { outline: none; }
.csc-hero { background: linear-gradient(135deg, var(--csc-navy), #0B4A85); color: #fff; border-radius: var(--csc-radius); padding: 26px 26px 22px; margin-bottom: 18px; position: relative; overflow: hidden; }
.csc-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(0, 169, 206, .25); }
.csc-hero h3 { color: #fff; font-size: clamp(22px, 3.4vw, 30px); position: relative; }
.csc-hero p { margin: 6px 0 0; position: relative; color: rgba(255,255,255,.85); }
.csc-hero--none { background: var(--csc-soft); color: var(--csc-ink); }
.csc-hero--none::after { display: none; }
.csc-hero--none h3 { color: var(--csc-navy); }
.csc-hero--none p { color: var(--csc-muted); }
.csc-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 500; color: var(--csc-cyan) !important; margin: 0 0 6px !important; }
.csc-big { color: var(--csc-cyan); white-space: nowrap; }
.csc-addrline { font-size: 14px; }
.csc-bestline { font-size: 15px; }
.csc-cards { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.csc-card { border: 1.5px solid var(--csc-line); border-radius: var(--csc-radius); padding: 18px; margin: 0; position: relative; }
.csc-card--best { border-color: var(--csc-cyan); box-shadow: 0 0 0 3px rgba(0, 169, 206, .15); }
.csc-badge { position: absolute; top: -11px; left: 16px; background: var(--csc-cyan); color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.csc-card h4 { font-size: 18px; }
.csc-net { margin: 2px 0 12px; font-size: 13px; color: var(--csc-muted); }
.csc-speeds { display: flex; gap: 18px; }
.csc-speeds div { font-size: 12px; color: var(--csc-muted); text-transform: uppercase; letter-spacing: .05em; }
.csc-speeds span { display: block; font-family: "Palanquin Dark", Roboto, sans-serif; font-size: 22px; color: var(--csc-navy); text-transform: none; letter-spacing: 0; line-height: 1.1; }
.csc-desc { font-size: 14px; color: var(--csc-muted); margin: 12px 0 0; }
.csc-planned { background: var(--csc-soft); border-radius: 12px; padding: 14px 18px; margin-bottom: 14px; }
.csc-planned h4 { font-size: 16px; margin-bottom: 6px; }
.csc-planned ul { margin: 0; padding-left: 18px; font-size: 14px; }
.csc-note { font-size: 13px; color: var(--csc-muted); margin: 0 0 18px; }
.csc-next { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--csc-line); padding-top: 18px; }
.csc-next > div:first-child { flex: 1 1 280px; }
.csc-next h4, .csc-upsell h4 { font-size: 18px; margin-bottom: 4px; }
.csc-next p, .csc-upsell p { margin: 0; font-size: 15px; color: var(--csc-muted); }
.csc-next-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.csc-upsell { margin-top: 18px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(90deg, #E6F7FB, #F6FEFC); border-radius: 12px; padding: 16px 18px; }
.csc-upsell > div { flex: 1 1 300px; }
.csc-upsell .csc-link { margin: 0; font-weight: 500; text-decoration: none; }
@media (max-width: 560px) { .csc-steps li.current { flex: 2.2; white-space: nowrap; } }
.csc-speeds div { white-space: nowrap; }
.csc-onreq { background: #FFF; border: 1.5px dashed #C9D3DD; }
.csc-onreq p { margin: 0; font-size: 14px; color: var(--csc-muted); }

/* Theme override guard: the theme styles headings/paragraphs inside page content more specifically,
   so text on the dark results banner must be forced light. */
.csc .csc-hero h3, .csc .csc-hero h3 * { color: #fff !important; }
.csc .csc-hero h3 .csc-big { color: var(--csc-cyan) !important; }
.csc .csc-hero p { color: rgba(255,255,255,.88) !important; }
.csc .csc-hero .csc-kicker { color: var(--csc-cyan) !important; }
.csc .csc-hero--none h3, .csc .csc-hero--none h3 * { color: var(--csc-navy) !important; }
.csc .csc-hero--none p { color: var(--csc-muted) !important; }
.csc .csc-hero--none .csc-kicker { color: var(--csc-cyan-dark) !important; }
.csc .csc-btn, .csc .csc-btn:visited { color: #fff !important; }
.csc .csc-btn--ghost, .csc .csc-btn--ghost:visited { color: var(--csc-navy) !important; }

/* ---------- service enquiry forms ---------- */
.cse .csc-grid { margin-bottom: 4px; }
.cse .cse-wide { grid-column: 1 / -1; }
.cse [hidden] { display: none !important; }
.cse-h { font-size: 19px !important; margin: 26px 0 12px !important; padding-top: 18px; border-top: 1px solid var(--csc-line); }
.cse-form > .cse-h:first-child { margin-top: 0 !important; padding-top: 0; border-top: 0; }
.cse select {
  width: 100%; font: inherit; color: var(--csc-ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002E5D' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/18px no-repeat;
  border: 1.5px solid #C9D3DD; border-radius: 10px; padding: 12px 40px 12px 14px; min-height: 48px; appearance: none;
}
.cse select:focus, .cse input[type=number]:focus, .cse input[type=month]:focus { outline: none; border-color: var(--csc-cyan); box-shadow: 0 0 0 4px rgba(0,169,206,.18); }
.cse input[type=number], .cse input[type=month] { width: 100%; font: inherit; border: 1.5px solid #C9D3DD; border-radius: 10px; padding: 12px 14px; min-height: 48px; background: #fff; color: var(--csc-ink); }
.cse fieldset.csc-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.cse-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cse-customer { margin-top: 14px !important; }
.cse-upload { margin-top: 18px; }
.cse-upload > label:first-child { display: block; font-weight: 500; color: var(--csc-navy); margin-bottom: 6px; font-size: 15px; }
.cse-drop { display: flex !important; align-items: center; justify-content: center; min-height: 72px; border: 1.5px dashed #9FB3C6; border-radius: 12px; background: var(--csc-soft); cursor: pointer; position: relative; padding: 12px; text-align: center; font-weight: 400 !important; color: var(--csc-navy) !important; margin: 0 !important; }
.cse-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cse-drop:focus-within { box-shadow: 0 0 0 4px rgba(0,169,206,.25); border-color: var(--csc-cyan); }
.cse-drop.has-file { border-style: solid; border-color: var(--csc-cyan); background: #E6F7FB; }
.cse-message { margin-top: 18px; }
.cse .csc-field > label + textarea { margin-top: 0; }
.cse #cse-message { margin-bottom: 4px; }
.cse-actions { justify-content: flex-end !important; }
.cse .csc-field.cse-wide { margin-top: 14px; }
/* Keep inputs level when a neighbouring label wraps to two lines */
.cse .cse-q { align-items: end; }
.cse .cse-q > fieldset { align-self: start; }
