/* "Let the visitor choose" setting of the Enquiry form block (layout_blocks/enquiry_form_block.php).
   Theme look: ABC Favorit, blue #3D5B9E, orange #F47B20, square corners, hard shadow. */

.enq-chooser { color: #3D5B9E; }
.enq-chooser__title {
	color: #3D5B9E;
	font-weight: 800;
	font-size: clamp(28px, 18px + 2vw, 44px);
	line-height: 1.05;
	margin: 0 0 20px;
}

.enq-chooser__options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	max-width: 760px;
}

.enq-chooser__option {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	background: #fff;
	border: 2px solid #3D5B9E;
	color: #3D5B9E;
	text-decoration: none;
	box-shadow: 4px 4px 0 -1px var(--theme-dark);
	cursor: pointer;
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.enq-chooser__icon { flex: 0 0 auto; width: 30px; height: 30px; }
.enq-chooser__words { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.enq-chooser__label { font-weight: 800; font-size: 20px; line-height: 1.15; }
.enq-chooser__hint { font-size: 14px; line-height: 1.3; opacity: 0.75; }

/* The theme's "+" (same icon as .orange-button); turns into "×" on the open option. */
.enq-chooser__plus {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	background: url('../dev/img/plus-blue.svg') center / contain no-repeat;
	transition: transform 0.4s;
}
.enq-chooser__option:hover .enq-chooser__plus { transform: rotate(90deg); }

.enq-chooser__option:hover,
.enq-chooser__option:focus-visible { color: #3D5B9E; border-color: #F47B20; }
.enq-chooser__option:focus-visible { outline: 3px solid #F47B20; outline-offset: 2px; }

.enq-chooser__option.is-current,
.enq-chooser__option.is-current:hover {
	background: #3D5B9E;
	border-color: #3D5B9E;
	color: #fff;
}
.enq-chooser__option.is-current .enq-chooser__plus {
	transform: rotate(45deg);
	filter: brightness(0) invert(1); /* white version of the blue icon */
}

.enq-chooser__form > [data-enq-pane] { margin-top: 40px; animation: enq-chooser-in 0.35s ease-out; }
@keyframes enq-chooser-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .enq-chooser__form > [data-enq-pane] { animation: none; } }

@media (max-width: 575px) {
	.enq-chooser__options { grid-template-columns: 1fr; gap: 12px; }
	.enq-chooser__option { padding: 14px 16px; }
	.enq-chooser__label { font-size: 18px; }
}

/* Three services (Contact, Get a quote): Stretch+Tents, Stretch+Build, Stretch+Care */
.enq-chooser--3 .enq-chooser__options { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; }
@media (max-width: 860px) { .enq-chooser--3 .enq-chooser__options { grid-template-columns: 1fr; gap: 12px; } }
.enq-chooser__anchor { display: block; position: relative; top: -110px; height: 0; }
