/* ==========================================================================
   Pricing & FAQs — "What goes into your quote." (The Open Estimate)
   A typeset estimate document: heading, introduction, three line items on
   fine rules joined by one blue → coral spine, then the CTA.
   ========================================================================== */

.el-pe {
	padding: clamp(8rem, 16vh, 10rem) var(--el-gutter, 1.25rem) clamp(4rem, 8vw, 6rem);
	color: var(--el-ink, #070816);
}

.el-pe p,
.el-pe h1,
.el-pe ol {
	margin: 0;
}

.el-pe__doc {
	max-width: var(--el-wide, 1240px);
	margin: 0 auto;
}

.el-pe__head {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	column-gap: clamp(2rem, 5vw, 5rem);
	align-items: end;
}

.el-pe__eyebrow {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin-bottom: 1.25rem !important;
	color: var(--el-muted, #555a6b);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.el-pe__eyebrow span {
	width: 28px;
	height: 2px;
	background-color: var(--el-ink, #070816);
}

.el-pe__title {
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.el-pe__title .el-grad {
	white-space: nowrap;
}

.el-pe__intro {
	max-width: 26rem;
	padding-bottom: 0.375rem;
	font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
	font-weight: 500;
	line-height: 1.5;
}

/* ---------- The estimate sheet ---------- */

.el-pe__sheet {
	position: relative;
	margin-top: clamp(2.75rem, 5vw, 4rem);
	padding-left: clamp(1.5rem, 3vw, 2.5rem);
}

/* One blue → coral rule joins the document from the first line to the CTA */
.el-pe__spine {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 1.6rem;
	width: 2px;
	background: linear-gradient(180deg, #003dfa 0%, #fb484c 100%);
}

.el-pe__lines {
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--el-ink, #070816);
}

.el-pe__line {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 20rem) minmax(0, 1fr);
	column-gap: clamp(1.5rem, 3vw, 3rem);
	align-items: baseline;
	padding: clamp(1.75rem, 3vw, 2.5rem) 0;
	border-bottom: 1px solid var(--el-line, #e6e8ed);
}

.el-pe__num {
	color: #6b7080;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	font-variant-numeric: tabular-nums;
}

.el-pe__label {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.el-pe__desc {
	max-width: 32rem;
	color: #3d4150;
	font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
	line-height: 1.55;
}

.el-pe__actions {
	margin-top: 2rem;
}

/* Ink CTA; magnetic movement comes from the site-wide script */
.el-pe__actions .wp-block-button__link,
.el-pe__actions .wp-block-button__link:hover {
	background-color: var(--el-ink, #070816);
	color: #fff;
}

.el-pe__actions .wp-block-button__link:focus-visible {
	outline: 2px solid var(--el-blue, #003dfa);
	outline-offset: 3px;
}

@media (max-width: 900px) {
	.el-pe__head {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 1.25rem;
	}

	.el-pe__line {
		grid-template-columns: 2.75rem minmax(0, 1fr);
		row-gap: 0.625rem;
	}

	.el-pe__desc {
		grid-column: 2;
	}
}

@media (max-width: 600px) {
	.el-pe__actions .wp-block-button,
	.el-pe__actions .wp-block-button__link {
		width: 100%;
		box-sizing: border-box;
		text-align: center;
	}
}
