/**
 * EC Quote Landing — page-scoped styles for the legacy lead-page rebuild.
 * Root: .ec-quote-landing (component-root prefix so OneUp selectors lose).
 * Tokens (--ec-*) are inlined by quote-styles.php via design-tokens.php.
 * Heading sizes carry !important: OneUp zeroes/forces h1-h3 inside .vc_row
 * at tablet widths (the 768-1024 kill rules) and wins otherwise.
 */

.ec-quote-landing {
	font-family: var(--ec-font-body);
	color: var(--ec-navy);
	background: var(--ec-warm-white);
}
.ec-quote-landing .ec-ql-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}
.ec-quote-landing section { padding: 64px 0; }

/* ---- headings ---------------------------------------------------------- */
.ec-quote-landing .ec-ql-h1 {
	font-size: clamp(30px, 4.4vw, 48px) !important;
	line-height: 1.12 !important;
	color: var(--ec-white) !important;
	margin: 0 0 18px;
	font-weight: 800;
}
.ec-quote-landing .ec-ql-h2 {
	font-size: clamp(26px, 3.2vw, 36px) !important;
	line-height: 1.15 !important;
	color: var(--ec-navy) !important;
	margin: 0 0 10px;
	font-weight: 800;
}
.ec-quote-landing .ec-ql-h3 {
	font-size: 20px !important;
	line-height: 1.3 !important;
	color: var(--ec-navy) !important;
	margin: 16px 0 8px;
	font-weight: 700;
}
.ec-quote-landing .ec-ql-section-sub {
	color: var(--ec-text-dim);
	margin: 0 0 32px;
	font-size: 17px;
}

/* ---- 1. hero + form ---------------------------------------------------- */
.ec-quote-landing .ec-ql-hero {
	position: relative;
	background: var(--ec-navy-dark);
	background-size: cover;
	background-position: center;
	padding: 72px 0;
}
.ec-quote-landing .ec-ql-hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(7, 22, 33, 0.92) 20%, rgba(7, 22, 33, 0.62));
	z-index: 0;
}
.ec-quote-landing .ec-ql-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}
.ec-quote-landing .ec-ql-hero-sub {
	color: rgba(255, 255, 255, 0.88);
	font-size: 18px;
	line-height: 1.6;
	margin: 0 0 22px;
	max-width: 46ch;
}
.ec-quote-landing .ec-ql-bullets {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
}
.ec-quote-landing .ec-ql-bullets li {
	color: var(--ec-white);
	font-weight: 600;
	font-size: 15px;
	padding-left: 26px;
	position: relative;
}
.ec-quote-landing .ec-ql-bullets li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #39dbb0; /* legacy teal accent */
	font-weight: 800;
}
/* legacy teal on the H1's closing phrase + band headings */
.ec-quote-landing .ec-ql-accent { color: #39dbb0; }
.ec-quote-landing .ec-ql-trust-line {
	color: var(--ec-white);
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	margin: 14px 0 0;
}

/* ---- the form card — legacy GOLD card with a black submit ---------------- */
.ec-quote-landing .ec-ql-form-card {
	background: var(--ec-gold);
	border-radius: 14px;
	box-shadow: 0 18px 48px rgba(4, 23, 26, 0.35);
	padding: 30px 28px 26px;
	scroll-margin-top: 96px;
}
.ec-quote-landing .ec-ql-form-title {
	font-size: 22px !important;
	line-height: 1.2 !important;
	/* navy on the gold card — gold-ink is 3.11:1 on #F9BE17 (AA fail) */
	color: var(--ec-navy) !important;
	margin: 0 0 4px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	text-align: center;
}
.ec-quote-landing .ec-ql-form-sub {
	color: var(--ec-navy);
	font-size: 14px;
	margin: 0 0 18px;
	text-align: center;
}
.ec-quote-landing .ec-ql-field { margin: 0 0 14px; }
.ec-quote-landing .ec-ql-field label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--ec-navy);
	margin-bottom: 5px;
}
.ec-quote-landing .ec-ql-field input,
.ec-quote-landing .ec-ql-field textarea {
	width: 100%;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	padding: 11px 12px;
	font-family: var(--ec-font-body);
	font-size: 15px;
	color: var(--ec-navy);
	background: var(--ec-white);
	box-sizing: border-box;
}
.ec-quote-landing .ec-ql-field input:focus,
.ec-quote-landing .ec-ql-field textarea:focus {
	outline: 2px solid var(--ec-navy);
	outline-offset: 1px;
	border-color: var(--ec-navy);
}
/* honeypot — off-canvas, never display:none (bots check computed display) */
.ec-quote-landing .ec-ql-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
/* OneUp zeroes font-size on content-area anchors/buttons — pin it.
   Legacy submit = BLACK button on the gold card. */
.ec-quote-landing .ec-ql-submit {
	display: block;
	width: 100%;
	background: #101418;
	color: var(--ec-white);
	border: 0;
	border-radius: 8px;
	padding: 14px 18px;
	font-family: var(--ec-font-body);
	font-size: 16px !important;
	font-weight: 800;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease;
}
.ec-quote-landing .ec-ql-submit:hover { background: var(--ec-navy-dark); }
.ec-quote-landing .ec-ql-form-note {
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--ec-navy);
	text-align: center;
}
.ec-quote-landing .ec-ql-form-note a { color: var(--ec-navy); font-weight: 800; }

.ec-quote-landing .ec-form-success,
.ec-quote-landing .ec-form-error {
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 14px;
	margin: 0 0 16px;
}
.ec-quote-landing .ec-form-success {
	background: var(--ec-green-tint);
	color: var(--ec-green-ink);
	border: 1px solid var(--ec-green);
}
.ec-quote-landing .ec-form-error {
	background: #fdecea;
	color: #7a1f14;
	border: 1px solid #e0604f;
}

/* ---- 3/6. card grids ---------------------------------------------------- */
.ec-quote-landing .ec-ql-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.ec-quote-landing .ec-ql-card {
	background: var(--ec-white);
	border: 1px solid var(--ec-rule-dim);
	border-radius: 12px;
	padding: 18px;
	display: flex;
	flex-direction: column;
}
.ec-quote-landing .ec-ql-card p {
	color: var(--ec-text-dim);
	font-size: 15px;
	line-height: 1.55;
	margin: 0 0 14px;
}
.ec-quote-landing .ec-ql-card-media {
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, var(--ec-navy) 0%, var(--ec-navy-dark) 100%);
}
.ec-quote-landing .ec-ql-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ec-quote-landing .ec-ql-card-link {
	margin-top: auto;
	align-self: flex-start;
	color: var(--ec-gold-text);
	font-weight: 800;
	font-size: 15px !important;
	text-decoration: none;
	border-bottom: 2px solid var(--ec-gold);
	padding-bottom: 2px;
}
.ec-quote-landing .ec-ql-card-link:hover { color: var(--ec-gold-dark); }
.ec-quote-landing .ec-ql-project-meta {
	color: var(--ec-text-dim);
	font-size: 14px;
	margin: 0;
}

/* ---- 4. CTA band — solid black split layout, teal heading (legacy) ------- */
.ec-quote-landing .ec-ql-cta {
	background: #101216;
	padding: 44px 0;
}
.ec-quote-landing .ec-ql-cta-split {
	display: flex;
	gap: 32px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}
.ec-quote-landing .ec-ql-cta-title {
	color: #39dbb0 !important;
	font-size: clamp(22px, 2.6vw, 30px) !important;
	margin-bottom: 8px;
}
.ec-quote-landing .ec-ql-cta-sub {
	color: rgba(255, 255, 255, 0.85);
	max-width: 62ch;
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
}
.ec-quote-landing .ec-ql-cta-actions {
	display: flex;
	gap: 22px;
	align-items: center;
	flex-wrap: wrap;
	margin: 0;
}
.ec-quote-landing .ec-ql-cta-mail {
	color: var(--ec-white);
	font-weight: 700;
	font-size: 16px !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* gold pill button (shared by CTA + why) — anchor needs !important font
   (OneUp anchor font-zero rule) */
.ec-quote-landing .ec-ql-btn {
	display: inline-block;
	background: var(--ec-gold);
	/* navy on gold — gold-ink on its own gold is 3.11:1 (AA fail) */
	color: var(--ec-navy) !important;
	font-size: 16px !important;
	font-weight: 800;
	border-radius: 999px;
	padding: 13px 30px;
	text-decoration: none;
	transition: background 0.15s ease;
}
.ec-quote-landing .ec-ql-btn:hover { background: var(--ec-gold-dark); }

/* ---- 5. why band — copy left, team photo right (legacy) ------------------- */
.ec-quote-landing .ec-ql-why { background: var(--ec-white); }
.ec-quote-landing .ec-ql-why-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 44px;
	align-items: center;
}
.ec-quote-landing .ec-ql-why-media img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	display: block;
}
.ec-quote-landing .ec-ql-why-lede {
	font-size: 19px;
	line-height: 1.5;
	max-width: 72ch;
	margin: 0 0 14px;
}
.ec-quote-landing .ec-ql-why-body {
	color: var(--ec-text-dim);
	max-width: 78ch;
	line-height: 1.65;
	margin: 0 0 18px;
}
.ec-quote-landing .ec-ql-why-list {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
}
.ec-quote-landing .ec-ql-why-list li {
	padding: 6px 0 6px 28px;
	position: relative;
	line-height: 1.55;
}
.ec-quote-landing .ec-ql-why-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 6px;
	color: var(--ec-gold);
	font-weight: 800;
}

/* ---- 7. bottom CTA band over the booth-floor photo (legacy) --------------- */
.ec-quote-landing .ec-ql-bottom {
	position: relative;
	background: var(--ec-navy-dark);
	background-size: cover;
	background-position: center;
	text-align: center;
}
.ec-quote-landing .ec-ql-bottom-scrim {
	position: absolute;
	inset: 0;
	background: rgba(7, 12, 16, 0.78);
}
.ec-quote-landing .ec-ql-bottom .ec-ql-inner { position: relative; }
.ec-quote-landing .ec-ql-bottom-title { color: #39dbb0 !important; }
.ec-quote-landing .ec-ql-bottom-sub {
	color: rgba(255, 255, 255, 0.88);
	max-width: 60ch;
	margin: 0 auto 24px;
	font-size: 16px;
	line-height: 1.6;
}
.ec-quote-landing .ec-ql-bottom-actions {
	display: flex;
	gap: 22px;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin: 0;
}

/* ---- responsive ----------------------------------------------------------- */
@media (max-width: 980px) {
	.ec-quote-landing .ec-ql-hero-grid { grid-template-columns: 1fr; gap: 34px; }
	.ec-quote-landing .ec-ql-card-grid { grid-template-columns: repeat(2, 1fr); }
	.ec-quote-landing .ec-ql-why-grid { grid-template-columns: 1fr; gap: 28px; }
	.ec-quote-landing .ec-ql-cta-split { justify-content: center; text-align: center; }
}
@media (max-width: 640px) {
	.ec-quote-landing section { padding: 44px 0; }
	.ec-quote-landing .ec-ql-hero { padding: 52px 0; }
	.ec-quote-landing .ec-ql-card-grid { grid-template-columns: 1fr; }
	.ec-quote-landing .ec-ql-form-card { padding: 24px 18px 20px; }
}
