.gctp {
	--gctp-blue: #2685C7;
	--gctp-blue-dark: #1C6CA4;
	--gctp-ink: #1F2124;
	--gctp-muted: #5B6470;
	--gctp-line: #DDE3EA;
	--gctp-soft: #F3F7FB;
	max-width: 760px;
	margin: 0 auto;
	color: var(--gctp-ink);
	font-family: inherit;
	box-sizing: border-box;
}
.gctp *, .gctp *::before, .gctp *::after { box-sizing: border-box; }
.gctp-head { text-align: center; margin-bottom: 20px; }
.gctp-title { margin: 0 0 6px; font-size: 1.75rem; line-height: 1.25; }
.gctp-sub { margin: 0; color: var(--gctp-muted); }

.gctp-form { background: #fff; border: 1px solid var(--gctp-line); border-radius: 8px; padding: 24px; }
.gctp-step { border: 0; margin: 0 0 20px; padding: 0 0 20px; border-bottom: 1px solid var(--gctp-line); min-width: 0; }
.gctp-step:last-of-type { border-bottom: 0; padding-bottom: 0; }
.gctp-step legend { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; padding: 0; }
.gctp-num { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--gctp-blue); color: #fff; font-size: .85rem; align-items: center; justify-content: center; }
.gctp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gctp-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; position: relative; }
.gctp-field label, .gctp-label { font-weight: 600; font-size: .9rem; margin: 0; }
.gctp-label { margin: 6px 0 8px; }
.gctp-field input, .gctp-field select {
	width: 100%; padding: 10px 12px; font-size: 1rem; border: 1px solid #C5CED8; border-radius: 6px; background: #fff; color: var(--gctp-ink);
}
.gctp-field input:focus, .gctp-field select:focus, .gctp-check input:focus-visible, .gctp-btn:focus-visible {
	outline: 3px solid rgba(38, 133, 199, .35); outline-offset: 1px; border-color: var(--gctp-blue);
}
.gctp-hint { margin: 2px 0 0; font-size: .85rem; color: var(--gctp-muted); min-height: 1em; }

.gctp-suggest {
	position: absolute; top: 72px; left: 0; right: 0; z-index: 50; list-style: none; margin: 0; padding: 4px 0;
	background: #fff; border: 1px solid var(--gctp-line); border-radius: 6px; box-shadow: 0 8px 24px rgba(16, 24, 40, .12); max-height: 280px; overflow: auto;
}
.gctp-suggest[hidden] { display: none; }
.gctp-opt { padding: 9px 12px; cursor: pointer; display: flex; gap: 4px; align-items: baseline; flex-wrap: wrap; }
.gctp-opt:hover, .gctp-opt.is-active { background: var(--gctp-soft); }
.gctp-opt-meta { margin-left: auto; color: var(--gctp-muted); font-size: .85rem; }
.gctp-opt-none { cursor: default; color: var(--gctp-muted); font-size: .9rem; }

.gctp-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.gctp-check { display: flex; align-items: flex-start; gap: 8px; font-size: .95rem; cursor: pointer; line-height: 1.35; }
.gctp-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--gctp-blue); flex: none; }

.gctp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gctp-error { background: #FDECEC; color: #8A1C1C; border: 1px solid #F3C2C2; border-radius: 6px; padding: 10px 12px; margin: 0 0 14px; }
.gctp-error[hidden], .gctp-field[hidden] { display: none; }

.gctp-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.gctp-btn {
	display: inline-block; background: var(--gctp-blue); color: #fff !important; border: 0; border-radius: 6px; padding: 12px 22px;
	font-size: 1rem; font-weight: 700; text-decoration: none !important; cursor: pointer; line-height: 1.2;
}
.gctp-btn:hover { background: var(--gctp-blue-dark); }
.gctp-btn[disabled] { opacity: .65; cursor: progress; }
.gctp-btn-ghost { background: transparent; color: var(--gctp-blue) !important; border: 1px solid var(--gctp-blue); }
.gctp-btn-ghost:hover { background: var(--gctp-soft); }

.gctp-result { outline: none; }
.gctp-result-title { margin: 0 0 14px; font-size: 1.35rem; }
.gctp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.gctp-tile { border: 1px solid var(--gctp-line); border-radius: 6px; padding: 12px 14px; background: #fff; }
.gctp-tile span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gctp-muted); font-weight: 700; }
.gctp-tile strong { display: block; font-size: 1.4rem; margin-top: 2px; }
.gctp-tile.is-total { background: var(--gctp-blue); border-color: var(--gctp-blue); color: #fff; }
.gctp-tile.is-total span { color: #DCEBF7; }
.gctp-next { background: var(--gctp-soft); border-left: 4px solid var(--gctp-blue); padding: 12px 14px; margin: 0 0 14px; }
.gctp-frame { width: 100%; min-height: 900px; border: 1px solid var(--gctp-line); border-radius: 8px; margin-top: 16px; background: #EEF2F6; }

@media (max-width: 640px) {
	.gctp-form { padding: 16px; }
	.gctp-grid, .gctp-checks, .gctp-tiles { grid-template-columns: 1fr; }
	.gctp-btn { width: 100%; text-align: center; }
}

.gctp-researching { text-align: center; padding: 40px 24px !important; }
.gctp-researching .gctp-research-status { color: var(--gctp-muted); max-width: 520px; margin: 0 auto; }
.gctp-spinner { width: 40px; height: 40px; margin: 0 auto 16px; border: 4px solid var(--gctp-soft); border-top-color: var(--gctp-blue); border-radius: 50%; animation: gctp-spin .9s linear infinite; }
@keyframes gctp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gctp-spinner { animation-duration: 3s; } }

/* ---- Town confirmation card (population is shown, never typed) ---- */
.gctp-towncard { margin-top: 10px; border: 1px solid #CFE2F3; background: var(--gctp-soft); border-radius: 8px; padding: 12px 14px; }
.gctp-towncard[hidden] { display: none; }
.gctp-towncard-name { font-size: 1.05rem; margin-bottom: 8px; }
.gctp-towncard-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gctp-chip { display: inline-block; background: var(--gctp-blue); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 600; }
.gctp-chip-soft { background: #fff; color: var(--gctp-ink); border: 1px solid var(--gctp-line); font-weight: 500; }
.gctp-towncard-src { margin-top: 8px; font-size: .8rem; color: var(--gctp-muted); }
.gctp-towncard-src:empty { display: none; }

.gctp-hint:empty { display: none; }

/* ---- Thank-you after submitting ---- */
.gctp-thanks { background: #fff; border: 1px solid var(--gctp-line); border-radius: 8px; padding: 48px 28px !important; text-align: center; outline: none; }
.gctp-thanks-icon { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--gctp-blue); position: relative; }
.gctp-thanks-icon::after { content: ""; position: absolute; left: 19px; top: 15px; width: 16px; height: 24px; border-right: 4px solid #fff; border-bottom: 4px solid #fff; transform: rotate(45deg); }
.gctp-thanks .gctp-result-title { font-size: 1.5rem; margin: 0 0 8px; }
.gctp-thanks-text { color: var(--gctp-muted); margin: 0 auto; max-width: 520px; }
.gctp-thanks-text:empty { display: none; }

/* Proposal mode (v2.3): the proposal shown on the page after Submit. */
.gctp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 6px; }
.gctp-actions .gctp-btn { text-decoration: none; display: inline-block; }
.gctp-btn-ghost:hover { background: var(--gctp-soft); }
.gctp-result .gctp-frame { min-height: 600px; display: block; }
@media (max-width: 640px) { .gctp-actions .gctp-btn { flex: 1 1 100%; text-align: center; } }

/* Shown until the form script runs (v2.4.1). The help line appears only if it never does. */
.gctp-loading { text-align: center; padding: 32px 16px; color: var(--gctp-muted, #5B6470); border: 1px solid var(--gctp-line, #DDE3EA); border-radius: 8px; background: #fff; }
.gctp-loading-help { display: block; max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; animation: gctp-help-in .4s ease 12s forwards; }
.gctp-loading-help small { display: block; margin-top: 10px; text-align: left; }
@keyframes gctp-help-in { to { max-height: 400px; opacity: 1; margin-top: 10px; } }

/* On-page estimate heading (v2.5). */
.gctp-result > .gctp-result-title { font-size: 1.6rem; margin: 0 0 4px; }
.gctp-result-place { margin: 0 0 14px; color: var(--gctp-muted, #5B6470); }

/* Contact pop-up after Submit (v2.8). */
.gctp.gctp-modal { position: fixed; inset: 0; z-index: 100000; max-width: none; margin: 0; background: rgba(16, 24, 40, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.gctp-modal-box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 10px; padding: 28px 24px 20px; box-shadow: 0 24px 60px rgba(16, 24, 40, .3); }
.gctp-modal-title { margin: 0 0 6px; font-size: 1.35rem; line-height: 1.3; padding-right: 28px; }
.gctp-modal-sub { margin: 0 0 18px; color: var(--gctp-muted); }
.gctp-modal-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--gctp-muted); cursor: pointer; border-radius: 6px; }
.gctp-modal-x:hover, .gctp-modal-x:focus-visible { background: var(--gctp-soft); color: var(--gctp-ink); }
.gctp-modal-actions { margin-top: 6px; }
body.gctp-modal-open { overflow: hidden; }
@media (max-width: 560px) { .gctp-modal .gctp-grid { grid-template-columns: 1fr; gap: 0; } }

/* "Here is your ballpark estimate" over a baseball diamond, in the site's navy and blue (v2.8.2). */
.gctp-result-hero { position: relative; overflow: hidden; text-align: center; border-radius: 10px; padding: 24px 16px; margin: 0 0 16px; min-height: 210px;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	background: linear-gradient(160deg, #0B1F3F 0%, #12305E 60%, #1A4A86 100%); }
.gctp-diamond { position: absolute; left: 50%; top: 50%; width: 380px; max-width: 96%; transform: translate(-50%, -50%); line-height: 0; pointer-events: none; opacity: .6; }
.gctp-result-hero .gctp-result-title { position: relative; color: #FFFFFF !important; font-size: 1.9rem; line-height: 1.2; font-weight: 800; margin: 0 0 6px; text-shadow: 0 2px 10px rgba(5, 15, 35, .6); }
.gctp-result-hero .gctp-result-place { position: relative; color: #BFE2FF !important; margin: 0; font-weight: 600; text-shadow: 0 1px 6px rgba(5, 15, 35, .6); }
@media (max-width: 560px) { .gctp-result-hero .gctp-result-title { font-size: 1.45rem; } .gctp-result-hero { padding: 20px 12px; min-height: 180px; } }

/* 2.8.6 design pass: one sans-serif font, larger labels/options, more breathing room, bigger button. */
/* Everything uses the page's body font (a sans-serif on geocivix.com), so headings, labels, fields and buttons match. */
.gctp h1, .gctp h2, .gctp h3, .gctp legend, .gctp label, .gctp p, .gctp span, .gctp li, .gctp strong,
.gctp input, .gctp select, .gctp textarea, .gctp button { font-family: inherit !important; }
.gctp-step legend { font-size: 18px; margin-bottom: 14px; }
.gctp-field label, .gctp-label { font-size: 16px; line-height: 1.35; }
.gctp-field input, .gctp-field select { font-size: 16px; min-height: 46px; }
.gctp-hint { font-size: 14px; line-height: 1.45; }
.gctp-opt { font-size: 15px; }
.gctp-opt-meta { font-size: 14px; }
.gctp-label { margin: 8px 0 10px; }
.gctp-checks + .gctp-label { margin-top: 26px; } /* More space between Modules and Integrations. */
.gctp-checks { gap: 12px 20px; }
.gctp-check { font-size: 16px; line-height: 1.4; padding: 2px 0; }
.gctp-check input { width: 18px; height: 18px; margin-top: 2px; }
.gctp-form > .gctp-actions { margin-top: 8px; }
.gctp-btn-submit { min-width: 260px; min-height: 48px; padding: 12px 36px; font-size: 16px; font-weight: 700; letter-spacing: .01em; text-align: center; }
@media (max-width: 560px) { .gctp-btn-submit { width: 100%; min-width: 0; } }



/* 2.8.5.9: booking page shown in place of the estimate after Request a Demo. */
.gctp-booking { margin-top: 16px; }
.gctp-booking-title { margin: 0 0 10px; font-size: 20px; font-weight: 700; }
.gctp-booking-frame { display: block; width: 100%; height: 1100px; border: 1px solid var(--gctp-line); border-radius: 8px; background: #fff; }
.gctp-booking-link { margin: 8px 0 0; font-size: 14px; }
@media (max-width: 560px) { .gctp-booking-frame { height: 1300px; } }


/* ---- 2.8.5.14: card layout (three numbered step cards, module tiles, submit bar) ---- */
.gctp { --gctp-grad: linear-gradient(60deg, #2984C6 0%, #3E8BF4 100%); --gctp-navy: #0B1F3F; --gctp-ok: #17663A; }
.gctp-form.gctp-form--cards { background: transparent; border: 0; border-radius: 0; padding: 0; }
.gctp-lede { text-align: center; color: var(--gctp-muted); font-size: 16px; margin: 0 0 22px; }
.gctp-card { background: #fff; border: 1px solid #E2E8F0 !important; border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 18px rgba(16, 24, 40, .05); }
.gctp-form--cards .gctp-step.gctp-card { margin: 0 0 16px; padding: 24px 28px 22px; }
.gctp-form--cards .gctp-step.gctp-card:last-of-type { padding-bottom: 22px; }
.gctp-form--cards .gctp-legend { display: flex; align-items: center; gap: 14px; width: 100%; float: left; margin: 0 0 18px; padding: 0; font-size: 19px; font-weight: 700; color: var(--gctp-navy); }
.gctp-form--cards .gctp-step > :not(legend) { clear: both; }
.gctp-pill { flex: none; background: var(--gctp-grad); color: #fff !important; font-weight: 700; font-size: 14px; line-height: 1; border-radius: 9px; padding: 8px 12px; letter-spacing: .04em; box-shadow: 0 3px 8px rgba(41, 132, 198, .3); }
.gctp-optional { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--gctp-muted); background: var(--gctp-soft); border: 1px solid #E2E8F0; border-radius: 20px; padding: 3px 10px; }
.gctp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.gctp-form--cards .gctp-field input, .gctp-form--cards .gctp-field select { min-height: 48px; border-radius: 9px; border-color: #CBD5E1; }
.gctp-form--cards .gctp-field input:focus, .gctp-form--cards .gctp-field select:focus { outline: 0; border-color: var(--gctp-blue); box-shadow: 0 0 0 4px rgba(41, 132, 198, .15); }
.gctp-form--cards .gctp-grid { gap: 16px; }
.gctp-form--cards .gctp-grid .gctp-field { margin-bottom: 4px; }
.gctp-hint.is-ok { color: var(--gctp-ok); display: flex; gap: 6px; }
.gctp-hint.is-ok::before { content: "\2713"; font-weight: 700; }

/* Checkboxes drawn in the site's blue. */
.gctp-modtile input, .gctp-check input {
	-webkit-appearance: none; appearance: none; flex: none; width: 20px !important; height: 20px !important; margin: 1px 0 0 !important; padding: 0 !important; min-height: 0 !important;
	border: 1.5px solid #94A3B8; border-radius: 5px; background: #fff center / 13px 13px no-repeat; cursor: pointer;
}
.gctp-modtile input:checked, .gctp-check input:checked {
	border-color: #2984C6;
	background-color: #2E87DA;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.gctp-modtile input:focus-visible, .gctp-check input:focus-visible { outline: 3px solid rgba(38, 133, 199, .35); outline-offset: 2px; }

.gctp-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gctp-modtile { display: flex; gap: 11px; align-items: flex-start; border: 1.5px solid #E2E8F0; border-radius: 11px; padding: 14px 14px 13px; background: #fff; cursor: pointer; transition: border-color .15s, background-color .15s; }
.gctp-modtile:hover { border-color: #9CC3E6; }
.gctp-modtile.is-on, .gctp-modtile:has(input:checked) { border-color: var(--gctp-blue); background: var(--gctp-soft); }
.gctp-modtile:not(:has(input:checked)) { border-color: #E2E8F0; background: #fff; }
.gctp-modtile-text strong { display: block; font-size: 16px; color: var(--gctp-navy); line-height: 1.3; }
.gctp-modtile-text small { display: block; font-size: 13px; color: var(--gctp-muted); margin-top: 3px; line-height: 1.4; }

.gctp-form--cards .gctp-ints { gap: 8px 18px; }
.gctp-form--cards .gctp-check { gap: 11px; padding: 9px 12px; border: 1px solid transparent; border-radius: 9px; transition: background-color .15s; }
.gctp-form--cards .gctp-check:hover { background: #F8FAFC; }
.gctp-form--cards .gctp-check.is-on, .gctp-form--cards .gctp-check:has(input:checked) { background: var(--gctp-soft); border-color: #D6E6F5; }
.gctp-form--cards .gctp-check:not(:has(input:checked)) { background: transparent; border-color: transparent; }

.gctp-submitbar.gctp-card { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; padding: 22px 28px; margin: 0; }
.gctp-form--cards .gctp-btn-submit { background: var(--gctp-grad); border-radius: 10px; min-height: 52px; padding: 14px 34px; font-size: 17px; box-shadow: 0 6px 16px rgba(41, 132, 198, .35); white-space: nowrap; }
.gctp-form--cards .gctp-btn-submit:hover { filter: brightness(1.05); background: var(--gctp-grad); }
.gctp-submit-note { margin: 0; font-size: 14px; color: var(--gctp-muted); line-height: 1.5; }
.gctp-submit-note strong { color: var(--gctp-ink); }
.gctp-form--cards > .gctp-error { margin: 0 0 16px; }

@media (max-width: 640px) {
	.gctp-lede { font-size: 15px; }
	.gctp-form--cards .gctp-step.gctp-card { padding: 20px 18px; }
	.gctp-form--cards .gctp-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.gctp-modules, .gctp-form--cards .gctp-ints { grid-template-columns: 1fr; }
	.gctp-submitbar.gctp-card { flex-direction: column; align-items: stretch; padding: 18px; gap: 14px; }
	.gctp-form--cards .gctp-btn-submit { width: 100%; }
}
@media (max-width: 380px) { .gctp-form--cards .gctp-grid { grid-template-columns: 1fr; } }

/* 2.8.5.16: county pricing basis under the result banner. */
.gctp .gctp-result-basis { position: relative; margin: 8px auto 0; max-width: 560px; color: #fff; font-size: 14px; line-height: 1.45; opacity: .95; }

/* Email Marketing 1.0.1: Request a Demo button in the result's top button row. */
.gctp .gctp-actions a.gctp-btn-demo { color: #ffffff !important; text-decoration: none; text-align: center; min-width: 200px; flex: 1 1 200px; font-weight: 700; }
.gctp .gctp-actions a.gctp-btn-demo:hover, .gctp .gctp-actions a.gctp-btn-demo:focus { color: #ffffff !important; }
