/* Sapon Insurance Brokers: styles Elementor's free widgets can't set on their own. */
:root {
	--sp-navy: #00277f;
	--sp-navy-dark: #001a57;
	--sp-orange: #ea9a26;
	--sp-orange-dark: #c9801a;
	--sp-tint: #f2f5fb;
	--sp-line: #e2e7f1;
	--sp-text: #55607a;
	--sp-radius: 24px;
	--sp-font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body { font-family: var(--sp-font); -webkit-font-smoothing: antialiased; }
.elementor a { transition: color .2s, background-color .2s; }

/* Headings: light words with bold emphasis */
.sp-h .elementor-heading-title strong { font-weight: 800; }
.sp-dark .sp-h .elementor-heading-title strong { color: var(--sp-orange); }

/* Section label with a dot */
.sp-label .elementor-heading-title { display: inline-flex; align-items: center; gap: 10px; }
.sp-label .elementor-heading-title::before {
	content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none;
}

/* Cards */
.sp-card { transition: transform .3s ease, box-shadow .3s ease; }
.sp-card:hover { transform: translateY(-6px); }
.sp-link .elementor-button { padding: 0 !important; background: transparent !important; }
.sp-link .elementor-button-icon svg { transform: rotate(-45deg); transition: transform .2s; }
.sp-link .elementor-button:hover .elementor-button-icon svg { transform: rotate(0); }

/* Stat card */
.sp-stat-card .elementor-widget-divider { margin: 10px 0; }
.sp-stat .elementor-widget-text-editor p { opacity: .85; }
.sp-stat:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, .14); }

/* How-it-works steps */
.sp-step { position: relative; padding-top: 54px !important; }
.sp-step .sp-step-num {
	position: absolute; top: -22px; left: 36px; width: auto !important;
}
.sp-step-num .elementor-heading-title {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	background: var(--sp-orange); color: var(--sp-navy) !important; box-shadow: 0 0 0 6px #fff;
}
@media (min-width: 1025px) {
	.sp-step-low { margin-top: 70px; }
	.sp-step:not(:last-child)::after {
		content: ""; position: absolute; right: -26px; top: 50%; width: 28px; height: 2px;
		border-top: 2px dashed var(--sp-orange); z-index: 2;
	}
}

/* Floating badges on photos */
.sp-badge .elementor-heading-title {
	display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--sp-navy);
	padding: 14px 20px; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 39, 127, .14);
}
.sp-badge .elementor-heading-title::before {
	content: "\2713"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
	background: var(--sp-orange); color: var(--sp-navy); font-size: 14px; font-weight: 800;
}
.sp-badge-alt .elementor-heading-title { background: var(--sp-navy); color: #fff; }

/* Photo with a navy block behind it */
.sp-frame-wrap { position: relative; }
.sp-frame-wrap::before {
	content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 55%;
	background: var(--sp-navy); border-radius: var(--sp-radius); z-index: 0;
}
.sp-frame-left::before { right: auto; left: 0; background: var(--sp-orange); }
.sp-frame-wrap > .elementor-widget { position: relative; z-index: 1; }
.sp-framed img { border: 6px solid #fff; box-shadow: 0 20px 50px rgba(0, 26, 87, .18); }

/* Name pills (insurers, clients) */
.e-con.sp-pills > .elementor-widget { width: auto; flex: none; }
.sp-pill .elementor-heading-title {
	padding: 12px 20px; border: 1px solid var(--sp-line); border-radius: 999px; background: #fff;
	transition: border-color .2s, background .2s;
}
.sp-pill .elementor-heading-title:hover { border-color: var(--sp-orange); background: #fff8ee; }

/* Team initials */
.e-con > .sp-avatar { width: auto; }
.sp-avatar .elementor-heading-title {
	display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
	background: #fdf1df; letter-spacing: 1px;
}
.sp-role .elementor-heading-title { letter-spacing: .3px; }

/* Hero */
.sp-hero .sp-mini .elementor-icon-box-description { opacity: .85; }
.sp-hero .elementor-icon { box-shadow: 0 0 0 6px rgba(234, 154, 38, .2); }
.sp-banner .sp-crumb a { color: var(--sp-orange); }
.sp-banner .sp-crumb a:hover { color: #fff; }
.sp-banner .sp-crumb .sp-sep { margin: 0 8px; opacity: .6; }

/* ---------------------------------------------------------------- Header */
.sp-site-header { position: relative; z-index: 50; }
.sp-topbar .elementor-widget a { color: #fff; }
.sp-topbar .elementor-widget a:hover { color: var(--sp-orange); }
.sp-topbar-text p { margin: 0; opacity: .85; }
.sp-mainbar { position: sticky; top: 0; }
.sp-nav-wrap { display: flex; justify-content: flex-end; }

.sp-nav { font-family: var(--sp-font); }
.sp-nav .sp-menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.sp-nav .sp-menu a {
	display: block; padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--sp-navy); white-space: nowrap;
	text-decoration: none; border-radius: 8px; position: relative;
}
.sp-nav .sp-menu a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
	background: var(--sp-orange); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.sp-nav .sp-menu a:hover::after,
.sp-nav .sp-menu .current-menu-item > a::after { transform: scaleX(1); }
.sp-nav .sp-menu .sub-menu { display: none; }
.sp-nav-toggle, .sp-burger, .sp-nav-cta { display: none; }

@media (max-width: 1024px) {
	.sp-burger {
		display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px;
		padding: 0 11px; border-radius: 10px; background: var(--sp-navy); cursor: pointer;
	}
	.sp-burger span:not(.screen-reader-text) { height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
	.sp-nav-toggle { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; }
	.sp-nav-toggle:focus-visible + .sp-burger { outline: 3px solid var(--sp-orange); outline-offset: 2px; }
	.sp-nav-panel {
		position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 12px 20px 22px;
		box-shadow: 0 20px 40px rgba(0, 26, 87, .15); display: none;
	}
	.sp-nav-toggle:checked ~ .sp-nav-panel { display: block; }
	.sp-nav-toggle:checked + .sp-burger span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
	.sp-nav-toggle:checked + .sp-burger span:nth-of-type(3) { opacity: 0; }
	.sp-nav-toggle:checked + .sp-burger span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
	.sp-nav .sp-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.sp-nav .sp-menu a { padding: 14px 4px; border-bottom: 1px solid var(--sp-line); border-radius: 0; }
	.sp-nav .sp-menu a::after { display: none; }
	.sp-nav-cta {
		display: block; margin-top: 16px; text-align: center; padding: 14px; border-radius: 10px;
		background: var(--sp-orange); color: var(--sp-navy); font-weight: 700; text-decoration: none;
	}
	.sp-mainbar .elementor-widget-button { display: none; }
}

/* ---------------------------------------------------------------- FAQ */
.sp-faq .e-n-accordion-item {
	background: #fff; border-radius: 14px; margin-bottom: 14px; border: 1px solid var(--sp-line); overflow: hidden;
}
.sp-faq .e-n-accordion-item-title {
	display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 24px;
	cursor: pointer; list-style: none; border: 0 !important; background: transparent !important;
}
.sp-faq .e-n-accordion-item-title::-webkit-details-marker { display: none; }
.sp-faq .e-n-accordion-item-title-text { color: var(--sp-navy); margin: 0; }
.sp-faq .e-n-accordion-item-title-icon {
	display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px;
	background: var(--sp-navy); color: #fff;
}
.sp-faq .e-n-accordion-item-title-icon svg { fill: #fff; width: 12px; height: 12px; }
.sp-faq .e-n-accordion-item[open] { border-color: var(--sp-orange); box-shadow: 0 16px 40px rgba(0, 39, 127, .08); }
.sp-faq .e-n-accordion-item[open] .e-n-accordion-item-title-icon { background: var(--sp-orange); }
.sp-faq .e-n-accordion-item-title-icon .e-closed { display: grid; }
.sp-faq .e-n-accordion-item-title-icon .e-opened { display: none; }
.sp-faq .e-n-accordion-item[open] .e-n-accordion-item-title-icon .e-closed { display: none; }
.sp-faq .e-n-accordion-item[open] .e-n-accordion-item-title-icon .e-opened { display: grid; }

/* ---------------------------------------------------------------- Form */
.sp-form .sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.sp-form .sp-full { grid-column: 1 / -1; }
.sp-form p { margin: 0 0 18px; }
.sp-form label { display: block; font-size: 14px; font-weight: 700; color: var(--sp-navy); margin-bottom: 8px; }
.sp-form input, .sp-form select, .sp-form textarea {
	width: 100%; padding: 14px 16px; border: 1px solid var(--sp-line); border-radius: 10px; background: var(--sp-tint);
	font: inherit; font-size: 15px; color: var(--sp-navy);
}
.sp-form input:focus, .sp-form select:focus, .sp-form textarea:focus {
	outline: none; border-color: var(--sp-orange); box-shadow: 0 0 0 3px rgba(234, 154, 38, .25); background: #fff;
}
.sp-form .sp-form-hint { font-size: 13px; color: var(--sp-text); }
.sp-form .sp-submit {
	padding: 17px 34px; border: 0; border-radius: 10px; background: var(--sp-orange); color: var(--sp-navy);
	font: 700 15px var(--sp-font); cursor: pointer; transition: background .2s, color .2s;
}
.sp-form .sp-submit:hover, .sp-form .sp-submit:focus-visible { background: var(--sp-navy); color: #fff; }
.sp-hp { position: absolute !important; left: -9999px; }
.sp-form-note { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.sp-ok { background: #e8f6ee; color: #11643a; }
.sp-err { background: #fdecec; color: #9b1c1c; }
@media (max-width: 767px) { .sp-form .sp-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Footer */
.sp-footer .elementor-widget a { color: #fff; }
.sp-footer .elementor-widget a:hover { color: var(--sp-orange); }
.sp-foot-cta { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.sp-foot-bottom { border-top: 1px solid rgba(255, 255, 255, .14); }
.sp-foot-bottom p { margin: 0; opacity: .8; }
.sp-foot-links .elementor-icon-list-text { opacity: .9; }
.sp-foot-title .elementor-heading-title { position: relative; padding-bottom: 12px; }
.sp-foot-title .elementor-heading-title::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 2px; background: var(--sp-orange);
}

.sp-map iframe { display: block; filter: saturate(.8); }

@media (max-width: 767px) {
	.sp-stat:not(:last-child) { border-right: 0; }
	.sp-frame-wrap::before { width: 70%; }
}
@media (prefers-reduced-motion: reduce) {
	.sp-card, .sp-card:hover { transition: none; transform: none; }
}

/* ---------------------------------------------------------------- Team cards */
.sp-team { text-align: center; }
.sp-team-photo img {
	width: 180px; height: 180px; object-fit: cover; object-position: top center;
	border: 6px solid #fdf1df; box-shadow: 0 0 0 2px var(--sp-orange);
}
.e-con > .sp-avatar-lg { width: 100%; }
.sp-avatar-lg .elementor-heading-title {
	width: 180px; height: 180px; margin: 0 auto; border: 6px solid #fff; box-shadow: 0 0 0 2px var(--sp-orange);
}
/* Same height for the qualifications line, so every "Read more" sits at the same level. */
.sp-team .sp-quals { min-height: 4.8em; }
.sp-team .sp-quals p { margin: 0; }

.sp-readmore .e-n-accordion-item { border: 0; background: none; }
.sp-readmore .e-n-accordion-item-title {
	display: flex; justify-content: center; align-items: center; gap: 8px; list-style: none; cursor: pointer;
	padding: 10px 18px; margin: 0 auto; width: max-content; border-radius: 999px;
	border: 1px solid var(--sp-line) !important; background: #fff !important; transition: border-color .2s, background .2s;
}
.sp-readmore .e-n-accordion-item-title::-webkit-details-marker { display: none; }
.sp-readmore .e-n-accordion-item-title:hover,
.sp-readmore .e-n-accordion-item-title:focus-visible { border-color: var(--sp-orange) !important; background: #fff8ee !important; }
.sp-readmore .e-n-accordion-item-title-text { color: var(--sp-navy); margin: 0; }
.sp-readmore .e-n-accordion-item-title-icon svg { width: 12px; height: 12px; fill: var(--sp-orange); }
.sp-readmore .e-n-accordion-item-title-icon .e-opened { display: none; }
.sp-readmore .e-n-accordion-item[open] .e-n-accordion-item-title-icon .e-opened { display: grid; }
.sp-readmore .e-n-accordion-item[open] .e-n-accordion-item-title-icon .e-closed { display: none; }
/* The label switches to "Read less" when open. */
.sp-readmore .e-n-accordion-item[open] .e-n-accordion-item-title-text { font-size: 0; }
.sp-readmore .e-n-accordion-item[open] .e-n-accordion-item-title-text::after { content: "Read less"; font-size: 15px; }
