/* ============================================================
   TRELO Landing blocks — shared styles
   Uses theme CSS variables: --primary, --secondary
   ============================================================ */

.trelo-landing { overflow-x: hidden; }
.trelo-landing > * { margin: 0; }

/* ===== Minimal landing header (logo + CTA only) ===== */
.tl-header {
	background: var(--primary);
	position: sticky;
	top: 0;
	z-index: 50;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.tl-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 5.6rem;
	padding-top: .6rem;
	padding-bottom: .6rem;
}
.tl-header__logo img { display: block; max-height: 3rem; width: auto; }
.tl-header__cta .btn { padding: .9rem 1.8rem; font-size: 1.2rem; }
@media (max-width: 600px) {
	.tl-header__inner { min-height: 4.8rem; padding-top: .5rem; padding-bottom: .5rem; }
	.tl-header__logo img { max-height: 2.4rem; }
	.tl-header__cta .btn { padding: .7rem 1.3rem; font-size: 1.1rem; letter-spacing: .02em; }
}

/* Shared helpers */
.tl-section-title {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	color: var(--primary);
	text-align: center;
	margin: 0 0 3.6rem;
	font-size: clamp(2.6rem, 3.5vw, 3.4rem);
	line-height: 1.2;
}

.tl-buttons { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }

/* Outline button on dark backgrounds (extends theme .btn) */
a.btn.tl-btn-outline-white {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, .7);
}
a.btn.tl-btn-outline-white:hover {
	background: #fff;
	color: var(--primary);
	border-color: #fff;
}

/* ===== HERO ===== */
.tl-hero {
	position: relative;
	background-image: var(--tl-hero-bg);
	background-size: cover;
	background-position: center;
	color: #fff;
	padding: 10rem 2rem 11rem;
	display: flex;
	justify-content: center;
}
.tl-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--tl-hero-overlay, linear-gradient(100deg, rgba(21,39,79,.96) 0%, rgba(21,39,79,.85) 100%));
}
.tl-hero__inner { position: relative; z-index: 1; max-width: 100rem; text-align: center; }
.tl-hero__title {
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(3.2rem, 5vw, 5.2rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 2rem;
}
.tl-hero__sub {
	font-size: clamp(1.7rem, 2vw, 2rem);
	font-weight: 300;
	color: rgba(255, 255, 255, .88);
	max-width: 72rem;
	margin: 0 auto 4rem;
}
.tl-hero__usps {
	margin-top: 5.4rem;
	display: flex;
	justify-content: center;
	gap: 3.6rem;
	flex-wrap: wrap;
	font-size: 1.4rem;
	color: rgba(255, 255, 255, .82);
}
.tl-hero__usps > div { display: flex; align-items: center; gap: .9rem; }
.tl-hero__usps svg { flex: none; }

/* ===== QUOTE FORM (value points left, form right) ===== */
.tl-quote { background: #F5F7FB; padding: 8rem 2rem; }
.tl-quote__grid {
	max-width: 116rem;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 6rem;
	align-items: start;
}
.tl-quote__grid--single {
	grid-template-columns: 1fr;
	max-width: 72rem;
}
.tl-quote__value-title {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	color: var(--primary);
	font-size: clamp(2.2rem, 3vw, 2.8rem);
	line-height: 1.25;
	margin: 0 0 2.4rem;
}
.tl-quote__value-cards {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}
.tl-quote__heading {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	color: var(--primary);
	font-size: clamp(2.8rem, 4vw, 4rem);
	margin: 0 0 1.5rem;
}
.tl-quote__intro { font-size: 1.7rem; color: #6B7280; max-width: 48rem; margin-bottom: 2.4rem; }
.tl-quote__card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(21, 39, 79, .10);
	padding: 4rem;
}

/* WPForms restyle inside the card */
.tl-quote__card .wpforms-container { margin: 0; }
.tl-quote__card .wpforms-field-label {
	font-family: 'Montserrat', sans-serif !important;
	font-weight: 600 !important;
	font-size: 1.35rem !important;
	color: var(--primary) !important;
}
.tl-quote__card .wpforms-form input[type=text],
.tl-quote__card .wpforms-form input[type=tel],
.tl-quote__card .wpforms-form input[type=email],
.tl-quote__card .wpforms-form textarea {
	border: 1px solid #D8DEE9 !important;
	border-radius: 8px !important;
	background: #FBFCFE !important;
	padding: 1.2rem 1.5rem !important;
	font-size: 1.5rem !important;
}
.tl-quote__card .wpforms-form input:focus,
.tl-quote__card .wpforms-form textarea:focus {
	border-color: var(--primary) !important;
	box-shadow: 0 0 0 3px rgba(21, 39, 79, .12) !important;
}
.tl-quote__card .wpforms-form button[type=submit] {
	width: 100% !important;
	background: var(--secondary) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 4px !important;
	padding: 1.4rem 2.8rem !important;
	font-family: 'Montserrat', sans-serif !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	font-size: 1.5rem !important;
	transition: .4s all ease-in-out !important;
	cursor: pointer;
}
.tl-quote__card .wpforms-form button[type=submit]:hover { border-radius: 30px !important; }

/* ===== SERVICES (short plain list, no links) ===== */
.tl-services { padding: 6rem 2rem; }
.tl-services__list {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 86rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 4rem;
}
.tl-services__list li {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	font-size: 1.65rem;
	font-weight: 400;
	color: var(--primary);
	padding: .9rem 0;
	border-bottom: 1px solid #EDF0F6;
}
.tl-services__list svg { flex: none; }

/* ===== LOCATION & HOURS ===== */
.tl-location { background: var(--primary); color: #fff; padding: 9rem 2rem; }
.tl-location__grid {
	max-width: 116rem;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6rem;
	align-items: center;
}
.tl-location__title {
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: clamp(2.8rem, 4vw, 4rem);
	margin: 0 0 1.5rem;
}
.tl-location__address {
	display: flex;
	gap: 1.4rem;
	align-items: flex-start;
	font-size: 1.7rem;
	margin: 2.4rem 0 3.6rem;
	color: rgba(255, 255, 255, .9);
}
.tl-location__address svg { flex: none; margin-top: .2rem; }
.tl-hours {
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 12px;
	padding: 2.6rem 3rem;
	max-width: 42rem;
	margin-bottom: 3.6rem;
}
.tl-hours__title {
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	margin: 0 0 1.6rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}
.tl-hours table { width: 100%; border-collapse: collapse; font-size: 1.55rem; }
.tl-hours td { padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tl-hours tr:last-child td { border-bottom: none; }
.tl-hours td:last-child { text-align: right; font-weight: 400; }
.tl-hours .tl-closed { color: var(--secondary); font-weight: 500; }
.tl-location__map {
	border-radius: 12px;
	overflow: hidden;
	min-height: 40rem;
	background: rgba(255, 255, 255, .08);
}
.tl-location__map iframe { width: 100%; height: 100%; min-height: 40rem; border: 0; display: block; }

/* ===== VALUE (compact) ===== */
.tl-value { padding: 6rem 2rem; background: #F5F7FB; }
.tl-value__inner { max-width: 96rem; margin: 0 auto; }
.tl-value .tl-section-title { font-size: clamp(2.4rem, 3vw, 3rem); margin-bottom: 3rem; }
.tl-value__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.tl-value__card {
	background: #fff;
	border-radius: 8px;
	padding: 1.8rem 2.2rem;
	border-left: 3px solid var(--secondary);
	box-shadow: 0 3px 14px rgba(21, 39, 79, .05);
}
.tl-value__card h4 {
	font-family: 'Montserrat', sans-serif;
	color: var(--primary);
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0 0 .5rem;
}
.tl-value__card p { margin: 0; color: #6B7280; font-size: 1.4rem; line-height: 1.45; }

/* ===== CLOSING CTA ===== */
.tl-cta {
	background: linear-gradient(120deg, var(--primary) 0%, #21396B 60%, #402A55 130%);
	color: #fff;
	text-align: center;
	padding: 8rem 2rem;
}
.tl-cta__title {
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: clamp(2.6rem, 4vw, 3.8rem);
	margin: 0 0 3.2rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
	.tl-quote__grid, .tl-location__grid { grid-template-columns: 1fr; gap: 4rem; }
	.tl-quote__form { order: -1; } /* form first on mobile, value points below */
	.tl-hero { padding: 7rem 2rem 8rem; }
}
@media (max-width: 900px) and (min-width: 601px) {
	.tl-services__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.tl-services__grid { grid-template-columns: 1fr; }
	.tl-quote__card { padding: 2.6rem 2rem; }
	.tl-hero__usps { flex-direction: column; align-items: center; gap: 1.4rem; }
	.tl-buttons .btn { width: 100%; }
	.tl-value__grid { grid-template-columns: 1fr; }
}
