/* Insurance Site Builder — Layout Styles */
/* Modern, clean design system - Hero section only + inner pages */

:root {
	--isb-primary: #2563eb;
	--isb-primary-dark: #1d4ed8;
	--isb-primary-light: #60a5fa;
	--isb-accent: #3b82f6;
	--isb-accent-hover: #2563eb;
	--isb-success: #059669;
	--isb-bg: #f3f6fb;
	--isb-card-bg: #ffffff;
	--isb-border: #d7e0ec;
	--isb-text: #14243a;
	--isb-text-secondary: #64748b;
	--isb-text-muted: #94a3b8;
	--isb-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
	--isb-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
	--isb-shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12);
	--isb-radius: 12px;
	--isb-radius-sm: 8px;
	--isb-transition: all 0.2s ease;
}

/* ============================================================
   GLOBAL SHELL
   ============================================================ */
#masthead,
.site-footer {
	display: none;
}

.isb-shell {
	width: min(1240px, calc(100% - 48px));
	margin: auto;
}

/* ============================================================
   HERO SECTION (Homepage)
   ============================================================ */
.isb-hero {
	position: relative;
	padding: 96px 0 108px;
	background: #050b16;
	overflow: hidden;
}

.isb-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
	z-index: 2;
}

/* Video background */
.isb-hero-video {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.isb-hero-video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.isb-hero-video-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, rgba(5, 11, 22, 0.97) 0%, rgba(8, 25, 53, 0.91) 48%, rgba(11, 57, 105, 0.76) 100%);
}

@media (max-width: 640px) {
	.isb-hero-video video {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.isb-hero-video video {
		display: none;
	}
}

.isb-hero-grid {
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 48px;
	align-items: start;
}

.isb-hero-content {
	padding-top: 8px;
}

.isb-hero .isb-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #7db5ff;
	margin-bottom: 16px;
}

.isb-hero h1 {
	margin: 0 0 20px;
	font-size: clamp(36px, 5vw, 52px);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #ffffff;
}

.isb-hero-desc {
	margin: 0 0 28px;
	font-size: clamp(17px, 2.5vw, 20px);
	line-height: 1.65;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.78);
	max-width: 520px;
}

.isb-trust-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	margin-top: 8px;
}

.isb-trust-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
	white-space: nowrap;
	transition: var(--isb-transition);
}

.isb-trust-item svg {
	flex-shrink: 0;
	color: #60a5fa;
	transition: var(--isb-transition);
}

.isb-trust-item:hover {
	color: #ffffff;
}

.isb-trust-item:hover svg {
	color: #93c5fd;
	transform: scale(1.1);
}

/* Hero Form Wrapper */
.isb-hero-form {
	position: relative;
}

.isb-quote.isb-hero-quote {
	background: #f8fbff;
	border: 1px solid var(--isb-border);
	border-radius: var(--isb-radius);
	padding: 28px;
	box-shadow: var(--isb-shadow-lg);
	position: sticky;
	top: 24px;
}

/* Navy and ink theme refinements */
.isb-home,
.isb-inner-page {
	background: var(--isb-bg);
}

.isb-section {
	background: var(--isb-bg);
}

.isb-section-heading h2,
.isb-page-hero h1 {
	color: #0b1f3a;
}

.isb-steps article,
.isb-post,
.isb-resource-grid a {
	background: #ffffff;
	border-color: #d7e0ec;
	box-shadow: 0 10px 28px rgba(8, 25, 53, 0.06);
}

.isb-steps article:hover,
.isb-post:hover,
.isb-resource-grid a:hover {
	border-color: #7da9df;
	box-shadow: 0 16px 34px rgba(8, 25, 53, 0.11);
}

.isb-steps b {
	background: #e5efff;
	color: #1d4ed8;
}

.isb-band {
	background: #e8f0fb;
}

.isb-final {
	background: #050b16;
}

.isb-hero-grid > * {
	position: relative;
	z-index: 1;
}

/* ============================================================
   PAGE HERO (Inner Pages - FAQs, Resources, About)
   ============================================================ */
.isb-page-hero {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 48px;
	padding: 24px 0 8px;
}

.isb-page-hero .isb-eyebrow {
	margin-bottom: 10px;
}

.isb-page-hero h1 {
	margin: 0 0 14px;
	font-size: clamp(32px, 5vw, 44px);
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--isb-text);
}

.isb-page-hero .isb-intro {
	margin: 0;
	font-size: 18px;
	line-height: 1.65;
	color: var(--isb-text-secondary);
}

.isb-page-hero--image {
	position: relative;
	max-width: none;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 58px 32px;
	margin-bottom: 48px;
	background: linear-gradient(90deg, rgba(7, 28, 45, .88), rgba(7, 28, 45, .58)), var(--isb-page-image) center / cover;
	color: #fff;
	overflow: hidden;
}

.isb-page-hero--image h1,
.isb-page-hero--image .isb-intro,
.isb-page-hero--image .isb-eyebrow {
	position: relative;
	z-index: 1;
	color: #fff;
}

.isb-story-hero {
	min-height: 330px;
	display: flex;
	align-items: center;
	background: linear-gradient(90deg, rgba(7, 28, 45, .9), rgba(7, 28, 45, .48)), var(--isb-story-image) center / cover;
	color: #fff;
}

.isb-story-hero h1 {
	max-width: 820px;
	margin: 10px 0 14px;
	font-size: clamp(38px, 6vw, 68px);
	line-height: 1.04;
	letter-spacing: -0.03em;
	color: #fff;
}

.isb-story-hero p {
	max-width: 560px;
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .84);
}

/* ============================================================
   QUOTE FORM INTEGRATION
   ============================================================ */
.isb-quote {
	width: 100%;
}

/* Make the insurance-quotes widget fit nicely in hero */
.isb-quote .iq-widget--form-only {
	border: none;
	box-shadow: none;
	padding: 0;
	background: transparent;
}

.isb-quote .iq-form {
	max-width: 100%;
}

.isb-quote .iq-input-wrapper {
	gap: 10px;
}

.isb-quote .iq-zip-input {
	height: 56px;
	padding-left: 52px;
	font-size: 16px;
}

.isb-quote .iq-submit-btn {
	height: 56px;
	min-width: 180px;
	padding: 0 24px;
	font-size: 15px;
}

.isb-quote .iq-form-help {
	font-size: 13px;
}

.isb-quote .iq-trust-badges {
	margin-top: 20px;
	padding-top: 20px;
}

/* ============================================================
   HOMEPAGE CONTENT SECTIONS
   ============================================================ */
.isb-home-section {
	padding: 92px 0;
}

.isb-home-section--light {
	background: #f6f1e9;
}

.isb-section-heading {
	max-width: 680px;
	margin-bottom: 48px;
}

.isb-section-heading h2,
.isb-signal-grid h2,
.isb-insights-heading h2 {
	margin: 0 0 16px;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: #102a43;
}

.isb-section-heading p {
	max-width: 580px;
	margin: 0;
	font-size: 17px;
	line-height: 1.7;
	color: #52606d;
}

.isb-how-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid #c9bda9;
}

.isb-how-item {
	padding: 28px 28px 8px 0;
	border-right: 1px solid #c9bda9;
}

.isb-how-item:not(:first-child) {
	padding-left: 28px;
}

.isb-how-item:last-child {
	border-right: 0;
}

.isb-how-number {
	display: block;
	margin-bottom: 34px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: #d36b36;
}

.isb-how-item h3 {
	margin: 0 0 10px;
	font-size: 21px;
	color: #102a43;
}

.isb-how-item p {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: #52606d;
}

.isb-home-section--ink {
	background: #102a43;
	color: #fff;
}

.isb-signal-grid {
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
	gap: 80px;
	align-items: center;
}

.isb-signal-grid h2 {
	max-width: 500px;
	color: #fff;
}

.isb-signal-grid .isb-eyebrow,
.isb-home-section--ink .isb-eyebrow {
	color: #93c5fd;
}

.isb-signal-list {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.isb-signal-list div {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.isb-signal-list strong {
	font-size: 18px;
	color: #fff;
}

.isb-signal-list span {
	font-size: 14px;
	color: #b8c7d5;
	text-align: right;
}

.isb-home-insights {
	background: #fff;
}

.isb-insights-heading {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 24px;
	margin-bottom: 40px;
}

.isb-insights-heading h2 {
	margin-bottom: 0;
}

.isb-text-link,
.isb-editorial-read {
	font-weight: 700;
	color: #2563eb;
	text-decoration: none;
	white-space: nowrap;
}

.isb-text-link span,
.isb-editorial-read span {
	display: inline-block;
	margin-left: 5px;
	transition: transform 0.2s ease;
}

.isb-text-link:hover span,
.isb-editorial-read:hover span {
	transform: translateX(4px);
}

.isb-insights-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid #d9e2ec;
}

.isb-insights-list article {
	padding: 24px 28px 8px 0;
	border-right: 1px solid #d9e2ec;
}

.isb-insights-list article:not(:first-child) {
	padding-left: 28px;
}

.isb-insights-list article:last-child {
	border-right: 0;
}

.isb-insights-list time {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7b8794;
}

.isb-insights-list h3 {
	min-height: 58px;
	margin: 14px 0 24px;
	font-size: 20px;
	line-height: 1.3;
}

.isb-insights-list h3 a {
	color: #102a43;
	text-decoration: none;
}

/* ============================================================
   EDITORIAL BLOG ARCHIVE
   ============================================================ */
.isb-editorial-blog .site-content {
	background: #f6f1e9;
}

.isb-editorial-blog #primary {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	padding: 70px 24px 100px;
}

.isb-editorial-blog .ast-archive-description,
.isb-editorial-blog .page-header {
	max-width: 760px;
	margin: 0 0 42px;
	padding: 0;
	border: 0;
}

.isb-editorial-blog .ast-archive-title,
.isb-editorial-blog .page-title {
	margin: 0 0 12px;
	font-size: clamp(38px, 6vw, 68px);
	line-height: 1;
	letter-spacing: -0.04em;
	color: #102a43;
}

.isb-editorial-blog .ast-archive-description p {
	max-width: 580px;
	font-size: 18px;
	line-height: 1.6;
	color: #52606d;
}

.isb-editorial-blog .ast-row {
	display: block;
}

.isb-editorial-blog .ast-article-post {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
}

.isb-editorial-row {
	display: grid;
	grid-template-columns: 42px 230px minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	padding: 30px 0;
	border-top: 1px solid #c9bda9;
}

.isb-editorial-index {
	align-self: start;
	padding-top: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #2563eb;
}

.isb-editorial-thumb {
	display: block;
	height: 150px;
	overflow: hidden;
	background: #dbe7ee;
}

.isb-editorial-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.isb-editorial-thumb:hover img {
	transform: scale(1.04);
}

.isb-editorial-thumb--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #102a43;
	color: #f4a261;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.isb-editorial-copy {
	min-width: 0;
}

.isb-editorial-meta {
	display: flex;
	gap: 14px;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2563eb;
}

.isb-editorial-meta time {
	color: #7b8794;
}

.isb-editorial-copy h2 {
	margin: 0 0 8px;
	font-size: clamp(21px, 3vw, 29px);
	line-height: 1.2;
}

.isb-editorial-copy h2 a {
	color: #102a43;
	text-decoration: none;
}

.isb-editorial-copy h2 a:hover {
	color: #1d4ed8;
}

.isb-editorial-copy p {
	max-width: 620px;
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.6;
	color: #52606d;
}

.isb-editorial-blog .nav-links {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 46px;
	padding-top: 28px;
	border-top: 1px solid #c9bda9;
}

.isb-editorial-blog .nav-links a,
.isb-editorial-blog .nav-links span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #c9bda9;
	background: transparent;
	color: #102a43;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.isb-editorial-blog .nav-links .current,
.isb-editorial-blog .nav-links a:hover {
	border-color: #102a43;
	background: #102a43;
	color: #fff;
}

/* ============================================================
   INNER PAGES CONTENT (FAQs, Resources, About)
   ============================================================ */
.isb-inner-page {
	padding: 60px 0 80px;
}

.isb-prose {
	max-width: 880px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.8;
	color: var(--isb-text-secondary);
}

.isb-prose h2 {
	margin: 40px 0 16px;
	font-size: 22px;
	font-weight: 700;
	color: var(--isb-text);
}

.isb-prose p {
	margin: 0 0 16px;
}

.isb-resource-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.isb-resource-grid a {
	display: block;
	padding: 28px;
	background: var(--isb-card-bg);
	border: 1px solid var(--isb-border);
	border-radius: var(--isb-radius);
	text-decoration: none;
	transition: var(--isb-transition);
}

.isb-resource-grid a:hover {
	transform: translateY(-4px);
	box-shadow: var(--isb-shadow-lg);
	border-color: var(--isb-primary-light);
	color: inherit;
}

.isb-resource-grid h3 {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 700;
	color: var(--isb-text);
}

.isb-resource-grid p {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--isb-text-secondary);
}

.isb-resource-grid span {
	font-size: 14px;
	font-weight: 600;
	color: var(--isb-primary);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: var(--isb-transition);
}

.isb-resource-grid a:hover span {
	gap: 10px;
}

/* FAQ List */
.isb-faq-list {
	max-width: 880px;
	margin: 0 auto;
}

.isb-faq-list details {
	background: var(--isb-card-bg);
	border: 1px solid var(--isb-border);
	border-radius: var(--isb-radius);
	margin-bottom: 12px;
	overflow: hidden;
	transition: var(--isb-transition);
}

.isb-faq-list details:hover {
	border-color: #cbd5e1;
}

.isb-faq-list details[open] {
	border-color: var(--isb-primary-light);
	box-shadow: var(--isb-shadow);
}

.isb-faq-list summary {
	padding: 20px 24px;
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 16px;
	font-weight: 600;
	color: var(--isb-text);
	transition: var(--isb-transition);
}

.isb-faq-list summary::-webkit-details-marker {
	display: none;
}

.isb-faq-list summary svg,
.isb-faq-list summary span {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--isb-text-muted);
	transition: var(--isb-transition);
}

.isb-faq-list details[open] summary svg,
.isb-faq-list details[open] summary span {
	transform: rotate(45deg);
	color: var(--isb-primary);
}

.isb-faq-answer {
	padding: 0 24px 24px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--isb-text-secondary);
	border-top: 1px solid var(--isb-border);
	margin-top: -1px;
}

.isb-center {
	text-align: center;
}

.isb-outline-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	font-size: 15px;
	font-weight: 600;
	color: var(--isb-primary);
	background: transparent;
	border: 2px solid var(--isb-primary);
	border-radius: var(--isb-radius);
	text-decoration: none;
	transition: var(--isb-transition);
}

.isb-outline-button:hover {
	background: var(--isb-primary);
	color: #ffffff;
	border-color: var(--isb-primary);
}

/* ============================================================
   FOOTER — Premium Professional Design
   ============================================================ */
.isb-footer {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #071a30 0%, #051220 100%);
	color: #c9d8e2;
	padding: 72px 0 0;
	font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.isb-footer::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg, #14a0c6 0%, #0d5f92 35%, #f77f1d 100%);
	opacity: 0.9;
}

.isb-footer::after {
	content: "";
	position: absolute;
	width: 600px;
	height: 600px;
	right: -280px;
	bottom: -420px;
	border: 1px solid rgba(94, 205, 243, 0.12);
	border-radius: 50%;
	box-shadow: 0 0 0 60px rgba(94, 205, 243, 0.03), 0 0 0 120px rgba(94, 205, 243, 0.02);
}

/* Footer Main Layout */
.isb-footer-main {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(280px, 1.2fr) minmax(320px, 1.8fr);
	gap: 60px;
	padding-bottom: 48px;
}

/* Brand Column */
.isb-footer-brand-col {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.isb-footer-logo {
	display: inline-block;
	background: #fff;
	border-radius: 10px;
	padding: 10px 14px;
	line-height: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	width: fit-content;
}

.isb-footer-logo .custom-logo {
	max-height: 38px;
	width: auto;
	display: block;
}

.isb-footer-logo-text {
	color: #fff;
	font-size: 24px;
	font-weight: 800;
	text-decoration: none;
	letter-spacing: -0.5px;
	display: block;
}

.isb-footer-desc {
	max-width: 360px;
	margin: 0;
	font-size: 15px;
	line-height: 1.75;
	color: #8faabf;
}

/* Social Links */
.isb-footer-social {
	display: flex;
	gap: 10px;
	margin-top: 4px;
}

.isb-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #8faabf;
	text-decoration: none;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.isb-social-link:hover {
	background: #f77f1d;
	border-color: #f77f1d;
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(247, 127, 29, 0.35);
}

.isb-social-link svg {
	width: 18px;
	height: 18px;
}

/* Links Column */
.isb-footer-links-col {
	display: grid;
	grid-template-columns: repeat(3, minmax(140px, 1fr));
	gap: 32px;
}

.isb-footer-col {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.isb-footer-heading {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	margin: 0;
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(247, 127, 29, 0.4);
	display: inline-block;
}

.isb-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.isb-footer-menu-2 li {
	list-style: none;
}

.isb-footer-menu a,
.isb-footer-contact a,
.isb-footer-contact span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #aac4d2;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s ease;
	position: relative;
	padding-left: 0;
}

.isb-footer-menu a::before {
	content: "";
	width: 0;
	height: 0;
	border-left: 5px solid #f77f1d;
	border-top: 3px solid transparent;
	border-bottom: 3px solid transparent;
	margin-right: 0;
	transition: all 0.2s ease;
	opacity: 0;
}

.isb-footer-menu a:hover {
	color: #fff;
	padding-left: 8px;
}

.isb-footer-menu a:hover::before {
	opacity: 1;
	margin-right: 8px;
}

.isb-footer-contact a:hover {
	color: #f77f1d;
}

/* Bottom Bar */
.isb-footer-bottom {
	position: relative;
	z-index: 1;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 22px 0;
	margin-top: 48px;
}

.isb-footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.isb-footer-copyright {
	margin: 0;
	font-size: 13px;
	color: #7a95a8;
	font-weight: 500;
}

.isb-footer-credit {
	margin: 0;
	font-size: 13px;
	color: #7a95a8;
}

.isb-footer-credit a {
	color: #aac4d2;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s ease;
}

.isb-footer-credit a:hover {
	color: #f77f1d;
}

/* Back to Top */
.isb-back-to-top {
	position: fixed;
	bottom: 28px;
	right: 28px;
	z-index: 999998;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: #f77f1d;
	color: #fff;
	border: none;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(247, 127, 29, 0.4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.isb-back-to-top.isb-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.isb-back-to-top:hover {
	background: #e06a0f;
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(247, 127, 29, 0.5);
}

.isb-back-to-top svg {
	width: 20px;
	height: 20px;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet - 1024px and below */
@media (max-width: 1024px) {
	.isb-hero-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.isb-hero-form {
		max-width: 480px;
		margin: 0 auto;
	}
}

/* Tablet - 768px and below */
@media (max-width: 768px) {
	.isb-shell {
		width: min(100% - 36px, 1240px);
	}

	.isb-home-section {
		padding: 64px 0;
	}

	.isb-how-grid,
	.isb-insights-list {
		grid-template-columns: 1fr;
	}

	.isb-how-item,
	.isb-how-item:not(:first-child),
	.isb-insights-list article,
	.isb-insights-list article:not(:first-child) {
		padding: 24px 0;
		border-right: 0;
		border-bottom: 1px solid #c9bda9;
	}

	.isb-how-item:last-child,
	.isb-insights-list article:last-child {
		border-bottom: 0;
	}

	.isb-how-number {
		margin-bottom: 16px;
	}

	.isb-signal-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.isb-insights-heading {
		align-items: start;
		flex-direction: column;
	}

	.isb-insights-list h3 {
		min-height: 0;
	}

	.isb-editorial-blog #primary {
		padding-top: 48px;
		padding-bottom: 70px;
	}

	.isb-editorial-row {
		grid-template-columns: 28px 1fr;
		gap: 14px;
	}

	.isb-editorial-thumb {
		grid-column: 2;
		grid-row: 1;
		height: 190px;
	}

	.isb-editorial-copy {
		grid-column: 2;
		grid-row: 2;
	}

	.isb-editorial-index {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	.isb-hero {
		padding: 56px 0 72px;
	}

	.isb-inner-page {
		padding: 48px 0 60px;
	}

	.isb-trust-badges {
		gap: 12px 16px;
	}

	.isb-quote.isb-hero-quote {
		padding: 24px 20px;
	}

	.isb-quote .iq-input-wrapper {
		flex-direction: column;
		gap: 12px;
	}

	.isb-quote .iq-zip-input {
		width: 100%;
		padding-left: 52px;
	}

	.isb-quote .iq-submit-btn {
		width: 100%;
		min-width: auto;
		height: 52px;
	}
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
	.isb-hero {
		padding: 48px 0 60px;
	}

	.isb-hero h1 {
		font-size: 30px;
	}

	.isb-hero-desc {
		font-size: 16px;
	}

	.isb-trust-badges {
		gap: 10px 12px;
	}

	.isb-trust-item {
		font-size: 13px;
	}

	.isb-trust-item svg {
		width: 16px;
		height: 16px;
	}

	.isb-page-hero h1 {
		font-size: 28px;
	}

	.isb-page-hero .isb-intro {
		font-size: 16px;
	}

	.isb-resource-grid {
		grid-template-columns: 1fr;
	}

	.isb-quote .iq-zip-input {
		height: 52px;
		font-size: 16px;
		padding-left: 48px;
		background-size: 18px 18px;
		background-position: 14px center;
	}

	.isb-quote .iq-submit-btn {
		height: 52px;
		font-size: 14.5px;
		padding: 0 20px;
	}
}

/* Large Desktop - 1400px and above */
@media (min-width: 1400px) {
	.isb-shell {
		width: min(1320px, calc(100% - 64px));
	}
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	.isb-home *,
	.isb-home *::before,
	.isb-home *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* High contrast mode */
@media (prefers-contrast: high) {
	:root {
		--isb-border: #000;
		--isb-text-secondary: #333;
	}

	.isb-hero {
		background: #fff;
	}
}

/* ============================================================
   RTL SUPPORT
   ============================================================ */
[dir="rtl"] .isb-hero-grid {
	direction: rtl;
}

[dir="rtl"] .isb-hero-content {
	padding-right: 0;
}

[dir="rtl"] .isb-trust-badges {
	direction: rtl;
}

[dir="rtl"] .isb-trust-item {
	flex-direction: row-reverse;
}

[dir="rtl"] .isb-footer-menu a::before {
	margin-right: 0;
	margin-left: 8px;
}

[dir="rtl"] .isb-footer-menu a:hover {
	transform: translateX(-3px);
}

[dir="rtl"] .isb-text-link:hover {
	flex-direction: row-reverse;
}

/* ============================================================
   BLOG & STANDARD PAGE POLISH
   ============================================================ */
body.blog, body.archive, body.single-post { background: #f7f9fc; }
body.blog .site-content > .ast-container,
body.archive .site-content > .ast-container,
body.single-post .site-content > .ast-container { max-width: 1180px; padding-top: 64px; padding-bottom: 72px; }
body.blog .ast-article-post,
body.archive .ast-article-post { background: #fff; border: 1px solid var(--isb-border); border-radius: 0; box-shadow: 0 12px 30px rgba(15,23,42,.05); overflow: hidden; }
body.blog .ast-blog-featured-section,
body.archive .ast-blog-featured-section { margin: 0; }
body.blog .ast-blog-featured-section img,
body.archive .ast-blog-featured-section img { display: block; height: 230px; object-fit: cover; width: 100%; }
body.blog .entry-content,
body.blog .entry-header,
body.archive .entry-content,
body.archive .entry-header { padding-left: 28px; padding-right: 28px; }
body.blog .entry-header,
body.archive .entry-header { padding-top: 28px; }
body.blog .entry-content,
body.archive .entry-content { padding-bottom: 28px; }
body.blog .entry-title a,
body.archive .entry-title a,
body.single-post .entry-title { color: var(--isb-text); font-weight: 800; letter-spacing: -.025em; text-decoration: none; }
body.blog .entry-title a:hover, body.archive .entry-title a:hover { color: var(--isb-primary); }
body.blog .entry-meta, body.archive .entry-meta { color: var(--isb-text-muted); font-size: 13px; }
body.blog .read-more a, body.archive .read-more a { border-bottom: 2px solid var(--isb-accent); color: var(--isb-primary); font-weight: 700; padding-bottom: 3px; text-decoration: none; }
.single-post .entry-content .isb-article{max-width:790px;margin:0 auto;padding-bottom:28px}.isb-article-lead{color:#38576e;font-size:20px;line-height:1.65;margin-bottom:32px}.isb-article h2{color:var(--isb-navy);font-size:28px;line-height:1.25;margin:38px 0 13px}.isb-article p,.isb-article li{color:#526d80;line-height:1.72}.isb-article ul{margin:18px 0 28px;padding-left:22px}.isb-article-quote{background:linear-gradient(135deg,#eef8fc,#f8fbfd);border:1px solid #cfe5ef;border-radius:12px;margin:38px 0;padding:30px}.isb-article-quote h2{font-size:25px;margin:6px 0 8px}.isb-article-quote .iq-form{background:#fff;border-radius:8px;box-shadow:0 10px 24px rgba(8,45,74,.10);margin-top:21px;padding:20px}.isb-faq-entry p{margin:0}.isb-faq-quote{margin-top:18px}.isb-faq-quote .iq-form{background:#f3f9fc;border-radius:8px;padding:18px}.isb-faq-quote .iq-form h2,.isb-faq-quote .iq-form h3{font-size:18px}@media(max-width:768px){.isb-article-lead{font-size:18px}.isb-article h2{font-size:24px}.isb-article-quote{margin:30px 0;padding:22px}.isb-faq-quote .iq-form{padding:14px}}
body.single-post .ast-single-post .entry-header,
body.single-post .ast-single-post .entry-content { background: #fff; margin: 0 auto; max-width: 840px; padding-left: 46px; padding-right: 46px; }
body.single-post .ast-single-post .entry-header { padding-top: 52px; }
body.single-post .ast-single-post .entry-content { color: var(--isb-text-secondary); font-size: 17px; line-height: 1.85; padding-bottom: 52px; }
body.single-post .post-thumb img { display: block; max-height: 480px; object-fit: cover; width: 100%; }
@media (max-width: 768px) { body.blog .site-content > .ast-container, body.archive .site-content > .ast-container, body.single-post .site-content > .ast-container { padding-top: 36px; padding-bottom: 42px; } body.blog .entry-content, body.blog .entry-header, body.archive .entry-content, body.archive .entry-header { padding-left: 20px; padding-right: 20px; } body.blog .ast-blog-featured-section img, body.archive .ast-blog-featured-section img { height: 200px; } body.single-post .ast-single-post .entry-header, body.single-post .ast-single-post .entry-content { padding-left: 22px; padding-right: 22px; } }

/* ============================================================
   NEW HOMEPAGE SECTIONS — RESPONSIVE DESIGN SYSTEM
   ============================================================ */

/* Common Section Container */
.cw-section {
	padding: 76px 0;
	background: #ffffff;
}

/* 1. Coverage Types Grid */
.cw-coverage-section {
	background: #ffffff;
}

.cw-coverage-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 42px;
}

.cw-coverage-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 28px 24px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cw-coverage-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
	border-color: #93c5fd;
}

.cw-coverage-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.cw-coverage-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #eff6ff;
	color: #2563eb;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cw-coverage-icon svg {
	width: 22px;
	height: 22px;
	stroke: #2563eb;
}

.cw-coverage-badge {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 5px 11px;
	border-radius: 999px;
	background: #e0f2fe;
	color: #0284c7;
}

.cw-coverage-card h3 {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 10px;
	line-height: 1.3;
}

.cw-coverage-card p {
	font-size: 14px;
	line-height: 1.6;
	color: #475569;
	margin: 0 0 18px;
	flex: 1;
}

.cw-coverage-list {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid #f1f5f9;
	padding-top: 14px;
}

.cw-coverage-list li {
	font-size: 13px;
	color: #334155;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 7px;
	font-weight: 500;
}

.cw-coverage-list li span {
	color: #2563eb;
	font-weight: 800;
	font-size: 14px;
}

/* 2. Stats & Trust Section */
.cw-stats-section {
	background: linear-gradient(135deg, #07152b 0%, #0a2540 50%, #0f3460 100%);
	color: #ffffff;
	padding: 68px 0;
	position: relative;
	overflow: hidden;
}

.cw-stats-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.15), transparent 60%);
	pointer-events: none;
}

.cw-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	position: relative;
	z-index: 1;
}

.cw-stat-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	padding: 26px 22px;
	text-align: center;
	backdrop-filter: blur(8px);
	transition: transform 0.25s ease, background 0.25s ease;
}

.cw-stat-card:hover {
	transform: translateY(-4px);
	background: rgba(255, 255, 255, 0.09);
	border-color: rgba(96, 165, 250, 0.35);
}

.cw-stat-number {
	display: block;
	font-size: clamp(34px, 3.8vw, 44px);
	font-weight: 800;
	color: #60a5fa;
	line-height: 1.1;
	margin-bottom: 8px;
	letter-spacing: -0.5px;
}

.cw-stat-title {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 8px;
}

.cw-stat-card p {
	font-size: 13px;
	line-height: 1.55;
	color: #cbd5e1;
	margin: 0;
}

/* 3. Driver Reviews Section */
.cw-reviews-section {
	background: #f8fafc;
	padding: 76px 0;
}

.cw-reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 42px;
}

.cw-review-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 30px 26px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cw-review-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.cw-review-stars {
	color: #f59e0b;
	font-size: 18px;
	letter-spacing: 2px;
	margin-bottom: 16px;
}

.cw-review-quote {
	font-size: 15px;
	line-height: 1.65;
	color: #334155;
	font-style: italic;
	margin: 0 0 22px;
	flex: 1;
}

.cw-review-author {
	display: flex;
	align-items: center;
	gap: 12px;
	border-top: 1px solid #f1f5f9;
	padding-top: 16px;
}

.cw-author-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	color: #ffffff;
	font-weight: 700;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.cw-author-info strong {
	display: block;
	font-size: 15px;
	color: #0f172a;
	font-weight: 700;
}

.cw-author-info span {
	display: block;
	font-size: 13px;
	color: #64748b;
}

.cw-author-badge {
	color: #059669;
	font-style: normal;
	font-weight: 600;
}

/* ============================================================
   RESPONSIVE QUERIES
   ============================================================ */
@media (max-width: 980px) {
	.cw-coverage-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	.cw-stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
	.cw-reviews-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media (max-width: 640px) {
	.cw-section {
		padding: 52px 0;
	}
	.cw-coverage-grid {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-top: 28px;
	}
	.cw-coverage-card {
		padding: 22px 18px;
	}
	.cw-stats-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.cw-stat-card {
		padding: 22px 18px;
	}
	.cw-reviews-section {
		padding: 52px 0;
	}
	.cw-reviews-grid {
		margin-top: 28px;
	}
	.cw-review-card {
		padding: 22px 18px;
	}
}
