/**
 * Shared marketing sections (services, steps, pricing, FAQ, bands)
 * Used by home + dedicated marketing page templates.
 */

.olc-section {
	padding: clamp(56px, 9vw, 96px) 0;
}

.olc-section--tint {
	background: var(--olc-paper);
}

.olc-section__head {
	max-width: 640px;
	margin: 0 0 36px;
}

.olc-section__head h2 {
	margin: 0 0 12px;
	font-family: var(--olc-display);
	font-size: clamp(2rem, 4.5vw, 2.85rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0.01em;
	color: var(--olc-navy);
}

.olc-section__head p {
	margin: 0;
	color: var(--olc-muted);
	font-size: 1.05rem;
	line-height: 1.55;
}

.olc-section__head a {
	color: var(--olc-navy-mid);
	font-weight: 700;
}

.olc-mkt-hero {
	padding: 48px 0 40px;
	background: var(--olc-navy-deep);
	color: #fff;
	margin: calc(-1 * var(--olc-header-h)) 0 0;
	padding-top: calc(var(--olc-header-h) + 48px);
}

.olc-mkt-hero h1 {
	margin: 0 0 12px;
	font-family: var(--olc-display);
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	font-weight: 800;
	line-height: 1.05;
}

.olc-mkt-hero__lead {
	margin: 0 0 28px;
	max-width: 38rem;
	color: rgba(255, 255, 255, 0.84);
	font-size: 1.1rem;
	line-height: 1.5;
}

.olc-mkt-hero .olc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.olc-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	border-top: 1px solid var(--olc-line);
	padding-top: 28px;
}

.olc-step h3 {
	margin: 0 0 8px;
	font-family: var(--olc-display);
	font-size: 1.45rem;
	font-weight: 700;
	color: var(--olc-navy);
}

.olc-step p {
	margin: 0;
	color: var(--olc-muted);
	line-height: 1.5;
}

.olc-step__num {
	display: block;
	margin-bottom: 10px;
	font-family: var(--olc-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--olc-gold-deep);
}

.olc-services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.olc-svc {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	background: var(--olc-paper);
	border: 1px solid var(--olc-line);
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s var(--olc-ease), border-color 0.3s ease;
}

.olc-svc:hover {
	transform: translateY(-3px);
	border-color: rgba(27, 42, 94, 0.28);
}

.olc-svc__media {
	height: 160px;
	position: relative;
	overflow: hidden;
	background-color: #d5dbe6;
}

.olc-svc__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.45s var(--olc-ease);
}

.olc-svc:hover .olc-svc__img {
	transform: scale(1.04);
}

.olc-svc__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 51, 0.35) 100%);
	pointer-events: none;
}

.olc-svc__media--photo {
	background-image: none !important;
}

.olc-svc__media--paint {
	background:
		radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.35), transparent 40%),
		linear-gradient(135deg, #c5d2ea 0%, #1b2a5e 100%);
}
.olc-svc__media--flooring {
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 12px, transparent 12px 24px),
		linear-gradient(135deg, #e8d5b5 0%, #8a6236 100%);
}
.olc-svc__media--bath {
	background:
		radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.35), transparent 35%),
		linear-gradient(135deg, #d5ece8 0%, #2f6f6a 100%);
}
.olc-svc__media--kitchen {
	background:
		radial-gradient(circle at 30% 70%, rgba(201, 162, 39, 0.35), transparent 40%),
		linear-gradient(135deg, #f2e6d2 0%, #1b2a5e 100%);
}
.olc-svc__media--cabinet {
	background: linear-gradient(135deg, #eadfce 0%, #6e5338 100%);
}
.olc-svc__media--concrete {
	background:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 8px, transparent 8px 16px),
		linear-gradient(135deg, #d9dee6 0%, #5a6578 100%);
}
.olc-svc__media--interior {
	background: linear-gradient(135deg, #e8ecf6 0%, #243b7a 100%);
}
.olc-svc__media--pool {
	background: linear-gradient(135deg, #cfeaf4 0%, #2f6f8a 100%);
}
.olc-svc__media--carpentry {
	background: linear-gradient(135deg, #f0e4d4 0%, #8a6236 100%);
}
.olc-svc__media--drywall {
	background: linear-gradient(135deg, #eef1f5 0%, #7a8498 100%);
}
.olc-svc__media--default {
	background: linear-gradient(135deg, #e2e7f2 0%, #1b2a5e 100%);
}

.olc-svc__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 18px 20px;
	flex: 1;
}

.olc-svc__kicker {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--olc-muted);
}

.olc-svc__body h3 {
	margin: 0;
	font-family: var(--olc-display);
	font-size: 1.45rem;
	font-weight: 700;
	color: var(--olc-navy);
}

.olc-svc__body p {
	margin: 0;
	color: var(--olc-muted);
	font-size: 0.95rem;
	line-height: 1.45;
	flex: 1;
}

.olc-svc__cta {
	margin-top: 12px;
	font-family: var(--olc-display);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--olc-navy-mid);
}

.olc-empty {
	margin: 0;
	padding: 24px;
	background: var(--olc-paper);
	border: 1px solid var(--olc-line);
	border-radius: 6px;
	color: var(--olc-muted);
}

.olc-empty a {
	color: var(--olc-navy);
	font-weight: 700;
}

.olc-trust__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.olc-trust__item {
	padding-top: 16px;
	border-top: 2px solid var(--olc-gold);
}

.olc-trust__item h3 {
	margin: 0 0 8px;
	font-family: var(--olc-display);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--olc-navy);
}

.olc-trust__item p {
	margin: 0;
	color: var(--olc-muted);
	line-height: 1.5;
}

.olc-band {
	display: grid;
	grid-template-columns: 1.4fr auto;
	gap: 32px;
	align-items: end;
}

.olc-band--panel {
	padding: 36px 32px;
	border-radius: 6px;
	background: var(--olc-navy-deep);
	color: #fff;
}

.olc-band__copy h2 {
	margin: 0 0 12px;
	font-family: var(--olc-display);
	font-size: clamp(2rem, 4.5vw, 2.9rem);
	font-weight: 800;
	line-height: 1.05;
	color: #fff;
}

.olc-band__copy p:last-child {
	margin: 0;
	max-width: 36rem;
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.05rem;
	line-height: 1.55;
}

.olc-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.olc-faq {
	display: grid;
	gap: 10px;
	max-width: 760px;
}

.olc-faq__item {
	border: 1px solid var(--olc-line);
	border-radius: 6px;
	background: var(--olc-paper);
	padding: 0 18px;
}

.olc-faq__item summary {
	cursor: pointer;
	list-style: none;
	padding: 16px 0;
	font-family: var(--olc-display);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--olc-navy);
}

.olc-faq__item summary::-webkit-details-marker {
	display: none;
}

.olc-faq__item p {
	margin: 0 0 16px;
	color: var(--olc-muted);
	line-height: 1.55;
}

.olc-feature-list {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 720px;
}

.olc-feature-list li {
	padding: 18px 20px;
	border-left: 3px solid var(--olc-gold);
	background: var(--olc-paper);
	border-radius: 0 6px 6px 0;
}

.olc-feature-list strong {
	display: block;
	margin-bottom: 4px;
	font-family: var(--olc-display);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--olc-navy);
}

.olc-feature-list span {
	color: var(--olc-muted);
	line-height: 1.5;
}

.olc-price-table {
	width: 100%;
	max-width: 720px;
	border-collapse: collapse;
	background: var(--olc-paper);
	border: 1px solid var(--olc-line);
	border-radius: 6px;
	overflow: hidden;
}

.olc-price-table th,
.olc-price-table td {
	padding: 14px 16px;
	text-align: left;
	border-bottom: 1px solid var(--olc-line);
	vertical-align: top;
}

.olc-price-table th {
	font-family: var(--olc-display);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--olc-navy);
	background: #eef1f7;
}

.olc-price-table tr:last-child td {
	border-bottom: 0;
}

.olc-price-table td:last-child {
	font-weight: 700;
	color: var(--olc-navy);
	white-space: nowrap;
}

.olc-price-note {
	margin: 16px 0 0;
	max-width: 40rem;
	color: var(--olc-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.olc-city-list a {
	display: inline-block;
	padding: 8px 12px;
	border: 1px solid var(--olc-line);
	border-radius: 999px;
	background: var(--olc-paper);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--olc-navy);
	text-decoration: none;
}

.olc-city-list a:hover {
	border-color: rgba(27, 42, 94, 0.35);
	background: #fff;
}

.olc-city-list li {
	padding: 0;
	border: 0;
	background: transparent;
}

.olc-link-row {
	margin-top: 20px;
	font-weight: 700;
}

.olc-link-row a {
	color: var(--olc-navy-mid);
}

.site-main:has(.olc-mkt-hero),
.site-main:has(.olc-trade-hero),
.site-main:has(.olc-home) {
	padding: 0;
}

.olc-home {
	color: var(--olc-ink);
	font-family: var(--olc-body);
	background: var(--olc-soft);
	-webkit-font-smoothing: antialiased;
}

.olc-hero {
	position: relative;
	min-height: calc(100svh - var(--olc-header-h));
	display: grid;
	align-items: end;
	overflow: hidden;
	color: #fff;
}

body.home .olc-hero,
body.front-page .olc-hero {
	min-height: 100vh;
}

.olc-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.olc-hero__media picture,
.olc-hero__img {
	width: 100%;
	height: 100%;
	display: block;
}

.olc-hero__img {
	object-fit: cover;
	object-position: center 40%;
	transform: scale(1.06);
	animation: olc-hero-pan 18s var(--olc-ease) both;
}

.olc-hero__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(15, 23, 51, 0.62) 0%, rgba(15, 23, 51, 0.28) 42%, rgba(15, 23, 51, 0.82) 100%),
		linear-gradient(90deg, rgba(15, 23, 51, 0.35) 0%, transparent 55%);
}

.olc-hero__content {
	position: relative;
	z-index: 1;
	width: min(calc(100% - 40px), var(--olc-shell));
	margin: 0 auto;
	padding: calc(var(--olc-header-h) + 24px) 0 clamp(48px, 10vh, 96px);
	max-width: 720px;
}

.olc-brand-kicker {
	margin: 0 0 10px;
	font-family: var(--olc-display);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--olc-gold);
	opacity: 0;
	transform: translateY(18px);
	animation: olc-rise 0.9s var(--olc-ease) 0.05s forwards;
}

.olc-brand {
	margin: 0 0 12px;
	font-family: var(--olc-display);
	font-size: clamp(2.6rem, 8vw, 4.4rem);
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 0.95;
	color: #fff;
	opacity: 0;
	transform: translateY(18px);
	animation: olc-rise 0.9s var(--olc-ease) 0.15s forwards;
}

.olc-hero__headline {
	margin: 0 0 14px;
	font-family: var(--olc-display);
	font-size: clamp(1.5rem, 3.8vw, 2.2rem);
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.15;
	color: rgba(255, 255, 255, 0.94);
	opacity: 0;
	transform: translateY(18px);
	animation: olc-rise 0.9s var(--olc-ease) 0.3s forwards;
}

.olc-hero__lead {
	margin: 0 0 28px;
	max-width: 34rem;
	font-size: clamp(1.02rem, 2.2vw, 1.18rem);
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.86);
	opacity: 0;
	transform: translateY(18px);
	animation: olc-rise 0.9s var(--olc-ease) 0.42s forwards;
}

.olc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	opacity: 0;
	transform: translateY(18px);
	animation: olc-rise 0.9s var(--olc-ease) 0.55s forwards;
}

.olc-mkt-hero .olc-hero__actions {
	opacity: 1;
	transform: none;
	animation: none;
}

@keyframes olc-hero-pan {
	0% { transform: scale(1.08) translate3d(0, 1.5%, 0); }
	100% { transform: scale(1.02) translate3d(0, 0, 0); }
}

@keyframes olc-rise {
	100% { opacity: 1; transform: translateY(0); }
}

.olc-contractors {
	background: var(--olc-navy-deep);
	color: #fff;
}

.olc-landing-grid {
	display: grid;
	gap: 16px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	max-width: 720px;
}

.olc-landing-grid li {
	padding: 16px 18px;
	border-left: 3px solid var(--olc-gold);
	background: var(--olc-paper);
}

.olc-landing-grid strong {
	display: block;
	margin-bottom: 4px;
	font-family: var(--olc-display);
	font-size: 1.15rem;
	color: var(--olc-navy);
}

.olc-landing-photo {
	margin: 0 0 28px;
	border-radius: 8px;
	overflow: hidden;
	max-height: 280px;
}

.olc-landing-photo img {
	display: block;
	width: 100%;
	height: 280px;
	object-fit: cover;
}

.olc-about-collective {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--olc-line);
}

.olc-about-collective h2 {
	margin: 0 0 12px;
	font-family: var(--olc-display);
	font-size: 1.6rem;
	color: var(--olc-navy);
}

.olc-about-collective p {
	margin: 0 0 12px;
	max-width: 42rem;
	color: var(--olc-muted);
	line-height: 1.6;
}

.olc-estimate {
	max-width: 720px;
	background: var(--olc-paper);
	border: 1px solid var(--olc-line);
	border-radius: 6px;
	overflow: hidden;
}

.olc-estimate__row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 16px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--olc-line);
}

.olc-estimate__row:last-child {
	border-bottom: 0;
}

.olc-estimate__total {
	background: var(--olc-navy-deep);
	color: #fff;
}

.olc-estimate__total strong {
	font-family: var(--olc-display);
	font-size: 1.35rem;
}

.olc-404 {
	padding: 64px 0 80px;
	text-align: left;
}

.olc-404 h1 {
	margin: 0 0 12px;
	font-family: var(--olc-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 800;
	color: var(--olc-navy);
}

.olc-404 p {
	margin: 0 0 24px;
	max-width: 36rem;
	color: var(--olc-muted);
	line-height: 1.55;
}

.olc-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (max-width: 900px) {
	.olc-steps,
	.olc-services,
	.olc-trust__grid {
		grid-template-columns: 1fr;
	}

	.olc-band {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.olc-hero {
		align-items: center;
	}
}

@media (max-width: 600px) {
	.olc-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.olc-hero__actions .olc-btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.olc-hero__img,
	.olc-brand-kicker,
	.olc-brand,
	.olc-hero__headline,
	.olc-hero__lead,
	.olc-hero__actions {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}
