/* SwiperClick Kit: audit form, calculator, contact list, exit-intent offer.
   Colour tokens come from the SwiperClick theme; fallbacks keep it usable alone. */

/* ---------- Audit form ---------- */
.sc-form { --f-navy: var(--sc-navy, #0B1F3A); --f-orange: var(--sc-orange, #FF6A2B); --f-line: var(--sc-line, #E3E8EF); --f-muted: var(--sc-muted, #667185); position: relative; margin-top: 14px; font-size: 15.5px; color: var(--f-navy); }
.sc-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sc-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sc-form__progress { height: 6px; border-radius: 999px; background: var(--f-line); overflow: hidden; }
.sc-form__bar { display: block; height: 100%; width: 33.333%; border-radius: inherit; background: linear-gradient(90deg, var(--f-orange), #FFB38F); transition: width .35s ease; }
.sc-form__count { margin: 8px 0 14px !important; font-size: 13px; font-weight: 600; color: var(--f-muted); letter-spacing: .02em; }
.sc-step { display: grid; gap: 14px; }
.sc-step__q { padding: 0; margin: 0 0 2px; font-family: var(--sc-display, inherit); font-weight: 700; font-size: 17px; color: var(--f-navy); }
.sc-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sc-choice { position: relative; cursor: pointer; }
.sc-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sc-choice span { display: flex; align-items: center; min-height: 54px; padding: 12px 14px 12px 42px; border: 1.5px solid var(--f-line); border-radius: 12px; font-weight: 600; font-size: 14.5px; line-height: 1.3; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; position: relative; }
.sc-choice span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid #C5CDD9; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.sc-choice:hover span { border-color: #C5CDD9; }
.sc-choice input:checked + span { border-color: var(--f-orange); background: #FFF5EF; box-shadow: 0 0 0 3px rgba(255, 106, 43, .15); }
.sc-choice input:checked + span::before { border-color: var(--f-orange); box-shadow: inset 0 0 0 4px #fff; background: var(--f-orange); }
.sc-choice input:focus-visible + span { outline: 3px solid var(--f-orange); outline-offset: 2px; }
.sc-field { display: grid; gap: 6px; margin: 0; }
.sc-field > span { font-size: 13.5px; font-weight: 600; color: var(--f-navy); }
.sc-field em { font-style: normal; font-weight: 400; color: var(--f-muted); }
.sc-form input[type="text"], .sc-form input[type="tel"], .sc-form input[type="email"], .sc-form select, .sc-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1.5px solid var(--f-line);
	border-radius: 12px;
	background: #fff;
	color: var(--f-navy);
	font: inherit;
	font-size: 16px; /* stops iOS zoom */
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
	-webkit-appearance: none;
	appearance: none;
}
.sc-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667185' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.sc-form textarea { min-height: 90px; resize: vertical; }
.sc-form input:focus, .sc-form select:focus, .sc-form textarea:focus { outline: none; border-color: var(--f-navy); box-shadow: 0 0 0 3px rgba(11, 31, 58, .12); }
.sc-form .is-invalid, .sc-form .is-invalid + span { border-color: #D92D20 !important; box-shadow: 0 0 0 3px rgba(217, 45, 32, .12) !important; }
.sc-form__err { display: block; margin-top: 2px; font-size: 13px; color: #B42318; font-weight: 500; }
.sc-form__alert { margin: 0 0 12px !important; padding: 10px 14px; border-radius: 10px; background: #FEF3F2; color: #B42318; font-size: 14px; font-weight: 600; }
.sc-form__nav { display: flex; gap: 10px; align-items: center; }
.sc-form__next, .sc-form__submit {
	flex: 1 1 auto;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 56px;
	padding: 14px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--f-orange);
	color: var(--f-navy);
	font-family: var(--sc-display, inherit);
	font-weight: 800;
	font-size: 16.5px;
	cursor: pointer;
	box-shadow: 0 12px 24px -12px rgba(255, 106, 43, .8);
	transition: transform .15s ease, background-color .15s ease;
}
.sc-form__next:hover, .sc-form__submit:hover { background: var(--sc-orange-2, #FF8450); transform: translateY(-1px); }
.sc-form__submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.sc-form__back { flex: 0 0 auto; min-height: 56px; padding: 0 16px; border: 1.5px solid var(--f-line); border-radius: 999px; background: #fff; color: var(--f-navy); font: inherit; font-weight: 600; cursor: pointer; }
.sc-form__back:hover { border-color: var(--f-navy); }
.sc-form__legal { margin: 2px 0 0 !important; font-size: 12.5px; color: var(--f-muted); line-height: 1.5; }
.sc-form__legal a { color: inherit; }
.sc-form__assure { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 14px 0 0 !important; font-size: 12.5px; color: var(--f-muted); font-weight: 500; }

/* Without JS every step shows and the step buttons hide. */
.sc-form:not(.is-enhanced) .sc-form__progress, .sc-form:not(.is-enhanced) .sc-form__count,
.sc-form:not(.is-enhanced) [data-sc-next], .sc-form:not(.is-enhanced) [data-sc-back] { display: none; }
.sc-form:not(.is-enhanced) .sc-step { margin-bottom: 18px; }
.sc-form.is-enhanced .sc-step { display: none; }
.sc-form.is-enhanced .sc-step.is-active { display: grid; animation: sc-step-in .3s ease; }
@keyframes sc-step-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sc-form.is-enhanced .sc-step.is-active { animation: none; } }
@media (max-width: 420px) { .sc-choices { grid-template-columns: 1fr; } }

/* ---------- Calculator ---------- */
.sc-calc { background: #fff; border-radius: 22px; padding: 32px; box-shadow: 0 30px 60px -24px rgba(11, 31, 58, .35); border: 1px solid var(--sc-line, #E3E8EF); color: var(--sc-navy, #0B1F3A); }
.sc-calc__title { margin: 0 0 4px !important; font-family: var(--sc-display, inherit); font-weight: 800; font-size: 1.35rem; }
.sc-calc__sub { margin: 0 0 22px !important; color: var(--sc-muted, #667185); font-size: 15px; }
.sc-calc__row { display: grid; gap: 10px; margin-bottom: 22px; }
.sc-calc__row > span { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; }
.sc-calc__row output { font-family: var(--sc-display, inherit); font-weight: 800; color: var(--sc-orange-ink, #C2410C); font-variant-numeric: tabular-nums; }
.sc-calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--sc-orange, #FF6A2B) var(--p, 4%), var(--sc-line, #E3E8EF) var(--p, 4%)); outline: none; }
.sc-calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--sc-orange, #FF6A2B); box-shadow: 0 4px 10px rgba(11, 31, 58, .2); cursor: grab; }
.sc-calc input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--sc-orange, #FF6A2B); cursor: grab; }
.sc-calc input[type="range"]:focus-visible { outline: 3px solid var(--sc-orange, #FF6A2B); outline-offset: 4px; }
.sc-calc__result { margin: 0 0 22px; padding: 18px 20px; border-radius: 14px; background: var(--sc-soft, #F4F6FA); display: grid; gap: 10px; }
.sc-calc__result > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sc-calc__result dt { color: var(--sc-text, #3A4555); }
.sc-calc__result dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.sc-calc__result .sc-zero { color: var(--sc-green, #12855A); }
.sc-calc__total { border-top: 1px dashed #C5CDD9; padding-top: 12px; font-size: 17px !important; }
.sc-calc__total dt { color: var(--sc-navy, #0B1F3A) !important; font-weight: 700; }
.sc-calc__total dd { font-family: var(--sc-display, inherit); font-weight: 800 !important; font-size: 1.4rem; }
.sc-calc__cta { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 999px; background: var(--sc-navy, #0B1F3A); color: #fff !important; font-family: var(--sc-display, inherit); font-weight: 700; text-decoration: none; transition: transform .15s ease, background-color .15s ease; }
.sc-calc__cta:hover { background: var(--sc-navy-3, #1A3762); transform: translateY(-1px); }
.sc-calc__note { margin: 14px 0 0 !important; font-size: 12.5px; color: var(--sc-muted, #667185); line-height: 1.5; }
@media (max-width: 767px) { .sc-calc { padding: 22px 18px; } }

/* ---------- Contact details ---------- */
.sc-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sc-contact li { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--sc-line, #E3E8EF); border-radius: 14px; background: #fff; }
.sc-contact strong { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--sc-muted, #667185); font-weight: 600; }
.sc-contact a, .sc-contact span:not(.sc-ic) { color: var(--sc-navy, #0B1F3A); font-weight: 700; font-family: var(--sc-display, inherit); text-decoration: none; }
.sc-contact .sc-ic { flex: 0 0 auto; }

/* Testimonial quote mark */
.sc-qmark { display: block; height: 34px; font-family: Georgia, serif; font-size: 64px; line-height: 1; color: var(--sc-orange, #FF6A2B); }

/* ---------- Exit intent ---------- */
.sc-exit { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(11, 31, 58, .6); backdrop-filter: blur(4px); }
.sc-exit[hidden] { display: none; }
.sc-exit__box { position: relative; max-width: 480px; width: 100%; background: #fff; border-radius: 22px; padding: 40px 36px 28px; text-align: center; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .45); animation: sc-pop .25s ease; }
@keyframes sc-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.sc-exit__close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--sc-soft, #F4F6FA); color: var(--sc-navy, #0B1F3A); font-size: 22px; line-height: 1; cursor: pointer; }
.sc-exit__eyebrow { margin: 0 0 8px !important; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sc-orange-ink, #C2410C); }
.sc-exit__title { margin: 0 0 10px !important; font-family: var(--sc-display, inherit); font-weight: 800; font-size: 1.6rem; line-height: 1.2; color: var(--sc-navy, #0B1F3A); }
.sc-exit__box > p { color: var(--sc-text, #3A4555); }
.sc-exit__cta { display: flex; align-items: center; justify-content: center; min-height: 56px; margin-top: 18px; border-radius: 999px; background: var(--sc-orange, #FF6A2B); color: var(--sc-navy, #0B1F3A) !important; font-family: var(--sc-display, inherit); font-weight: 800; text-decoration: none; }
.sc-exit__no { margin-top: 12px; background: none; border: 0; color: var(--sc-muted, #667185); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }
