/* Start custom CSS *//* ============================================================
   CONTACT FORM 7 — Lux design system
   Selectors are scoped under .lux-form-card and carry the
   .wpcf7 ancestor so they out-specify Astra's own CF7 rules.
   ============================================================ */

/* CF7 wraps every field in <p> and sprinkles <br> between label and
   control. Strip both and drive spacing from one flex column. */
.lux-form-card .wpcf7-form p { margin: 0; }
.lux-form-card .wpcf7-form br { display: none; }
.lux-form-card .wpcf7-form .hidden-fields-container { display: none; }
.lux-form-card .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* ---- labels ---- */
.lux-form-card .lux-f {
	display: flex;
	flex-direction: column;
}
.lux-form-card .lux-f-label {
	font-family: var(--lux-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lux-navy);
	margin-bottom: 8px;
}
.lux-form-card .lux-f-label abbr {
	color: var(--lux-gold);
	text-decoration: none;
	border: 0;
	margin-left: 2px;
}
.lux-form-card .lux-f-opt {
	color: var(--lux-muted);
	font-weight: 600;
}

/* ---- fields ----
   Astra pins form controls to height:40px. With 13px of padding top and
   bottom plus a 22.5px line box that leaves ~12px of content height, which
   clipped the select's text. height:auto lets padding define the box. */
.lux-form-card .wpcf7-form-control-wrap { display: block; }

.lux-form-card .wpcf7 input.wpcf7-form-control:not([type=submit]),
.lux-form-card .wpcf7 select.wpcf7-form-control,
.lux-form-card .wpcf7 textarea.wpcf7-form-control {
	width: 100%;
	height: auto;
	font-family: var(--lux-sans);
	font-size: 15px;
	line-height: 1.5;
	color: var(--lux-navy);
	background-color: var(--lux-white);
	border: 1px solid rgba(14,21,28,0.14);
	border-radius: 12px;
	padding: 13px 16px;
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.lux-form-card .wpcf7 input.wpcf7-form-control::placeholder,
.lux-form-card .wpcf7 textarea.wpcf7-form-control::placeholder {
	color: rgba(85,97,109,0.6);
}

/* Astra forces a blue focus ring — replace it with the gold one. */
.lux-form-card .wpcf7 input.wpcf7-form-control:not([type=submit]):focus,
.lux-form-card .wpcf7 select.wpcf7-form-control:focus,
.lux-form-card .wpcf7 textarea.wpcf7-form-control:focus {
	border-style: solid;
	border-width: 1px;
	border-color: var(--lux-gold);
	box-shadow: 0 0 0 3px rgba(197,155,39,0.16);
	outline: none;
	color: var(--lux-navy);
}

/* ---- select: hide the native arrow, draw our own ---- */
.lux-form-card .wpcf7 select.wpcf7-form-control {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 44px;
	cursor: pointer;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="9" viewBox="0 0 14 9"><path d="M1 1l6 6 6-6" fill="none" stroke="%23C59B27" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 13px 8px;
}
.lux-form-card .wpcf7 select.wpcf7-form-control:invalid,
.lux-form-card .wpcf7 select.wpcf7-form-control option[value=""] {
	color: rgba(85,97,109,0.7);
}

/* ---- textarea ---- */
.lux-form-card .wpcf7 textarea.wpcf7-form-control {
	min-height: 132px;
	resize: vertical;
}

/* ---- submit ---- */
.lux-form-card .wpcf7 input[type=submit].wpcf7-form-control,
.lux-form-card .wpcf7 input.lux-f-submit {
	width: 100%;
	height: auto;
	font-family: var(--lux-sans);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lux-navy);
	background-color: var(--lux-gold);
	border: 0;
	border-radius: 12px;
	padding: 17px 28px;
	margin-top: 6px;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .2s ease, transform .15s ease;
}
.lux-form-card .wpcf7 input[type=submit].wpcf7-form-control:hover,
.lux-form-card .wpcf7 input.lux-f-submit:hover {
	background-color: #b58d20;
	transform: translateY(-1px);
}
.lux-form-card .wpcf7 input[type=submit].wpcf7-form-control:active {
	transform: translateY(0);
}
.lux-form-card .wpcf7 input[type=submit]:disabled {
	opacity: .6;
	cursor: not-allowed;
	transform: none;
}

/* ---- validation ---- */
.lux-form-card .wpcf7 .wpcf7-not-valid { border-color: #DC2626; }
.lux-form-card .wpcf7 .wpcf7-not-valid-tip {
	font-family: var(--lux-sans);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.4;
	color: #DC2626;
	margin-top: 7px;
}

.lux-form-card .wpcf7 .wpcf7-response-output {
	font-family: var(--lux-sans);
	font-size: 14px;
	line-height: 1.6;
	margin: 4px 0 0 0;
	padding: 16px 18px;
	border-width: 1px;
	border-style: solid;
	border-radius: 12px;
}
.lux-form-card .wpcf7 form.sent .wpcf7-response-output {
	color: #15803d;
	border-color: rgba(21,128,61,0.35);
	background-color: rgba(21,128,61,0.07);
}
.lux-form-card .wpcf7 form.invalid .wpcf7-response-output,
.lux-form-card .wpcf7 form.unaccepted .wpcf7-response-output,
.lux-form-card .wpcf7 form.failed .wpcf7-response-output,
.lux-form-card .wpcf7 form.aborted .wpcf7-response-output {
	color: #b91c1c;
	border-color: rgba(185,28,28,0.3);
	background-color: rgba(185,28,28,0.06);
}

.lux-form-card .wpcf7 .wpcf7-spinner {
	margin: 0 0 0 12px;
	background-color: rgba(12,26,48,0.25);
}

/* ---- mobile ---- */
@media (max-width: 767px) {
	.lux-form-card .wpcf7-form { gap: 15px; }
	/* 16px keeps iOS from zooming the viewport on focus */
	.lux-form-card .wpcf7 input.wpcf7-form-control:not([type=submit]),
	.lux-form-card .wpcf7 select.wpcf7-form-control,
	.lux-form-card .wpcf7 textarea.wpcf7-form-control {
		font-size: 16px;
		padding: 12px 15px;
	}
	.lux-form-card .wpcf7 input[type=submit].wpcf7-form-control { padding: 16px 22px; }
}

/* ============================================================
   CONTACT DETAIL CARDS — icons
   The icon is a ::before pseudo-element so no markup changes are
   needed; each card picks its glyph by position in the list.
   ============================================================ */
.lux-cx-item {
	display: grid;
	grid-template-columns: 46px 1fr;
	column-gap: 16px;
	align-items: start;
}
.lux-cx-item > * { grid-column: 2; }
.lux-cx-item::before {
	content: "";
	grid-column: 1;
	grid-row: 1 / 4;
	align-self: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background-color: rgba(197,155,39,0.10);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 21px 21px;
}

/* 1 — phone */
.lux-cx-list > *:nth-child(1)::before {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23C59B27" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.35 1.9.66 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.31 1.85.53 2.81.66A2 2 0 0 1 22 16.92z"/></svg>');
}
/* 2 — envelope */
.lux-cx-list > *:nth-child(2)::before {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23C59B27" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="M22 7l-10 6L2 7"/></svg>');
}
/* 3 — location pin */
.lux-cx-list > *:nth-child(3)::before {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23C59B27" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>');
}
/* 4 — clock */
.lux-cx-list > *:nth-child(4)::before {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23C59B27" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9.5"/><path d="M12 6.5V12l3.8 2.2"/></svg>');
}

@media (max-width: 480px) {
	.lux-cx-item { grid-template-columns: 40px 1fr; column-gap: 13px; }
	.lux-cx-item::before { width: 40px; height: 40px; border-radius: 11px; background-size: 19px 19px; }
}/* End custom CSS */