/* LuxMed Contact Form + Map Widget v1.0 */

.lcf-section {
	--lcf-primary: #1a3e8f;
	--lcf-accent: #2eaa4a;
	--lcf-text: #5a6a7e;
	padding: 40px 20px 56px;
}

.lcf-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 36px;
	align-items: stretch;
	max-width: 1280px;
	margin: 0 auto;
}

/* ---------- Form ---------- */

.lcf-form-col {
	background: #f7fafd;
	border-radius: 14px;
	padding: 34px 30px;
}

.lcf-title {
	margin: 0 0 8px;
	color: var(--lcf-primary);
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	font-weight: 800;
	line-height: 1.2;
	text-align: left;
}

.lcf-subtitle {
	margin: 0 0 22px;
	color: var(--lcf-text);
	font-size: 0.92rem;
	line-height: 1.5;
	text-align: left;
}

.lcf-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* Honeypot: visually hidden */
.lcf-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.lcf-form .lcf-field {
	width: 100% !important;
	padding: 13px 16px !important;
	border: 1px solid rgba(26, 62, 143, 0.18) !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: #24303f !important;
	font-size: 0.95rem !important;
	font-family: inherit !important;
	line-height: 1.4 !important;
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lcf-field::placeholder { color: #93a1b3; }

.lcf-form .lcf-field:focus {
	outline: none;
	border-color: var(--lcf-primary) !important;
	box-shadow: 0 0 0 3px rgba(26, 62, 143, 0.12);
}

.lcf-field--area { resize: vertical; min-height: 130px; }

.lcf-privacy {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--lcf-text);
	font-size: 0.9rem;
	cursor: pointer;
}

.lcf-privacy input {
	width: 17px;
	height: 17px;
	accent-color: var(--lcf-primary);
	cursor: pointer;
}

.lcf-privacy a {
	color: var(--lcf-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lcf-form .lcf-btn,
.lcf-form button.lcf-btn[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	align-self: flex-start;
	width: auto;
	padding: 15px 42px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--lcf-accent) !important;
	background-image: none !important;
	color: #fff !important;
	font-size: 0.88rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.05em !important;
	text-transform: uppercase !important;
	font-family: inherit !important;
	text-shadow: none !important;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(46, 170, 74, 0.3) !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.lcf-form .lcf-btn:hover,
.lcf-form button.lcf-btn[type="submit"]:hover {
	background: var(--lcf-accent) !important;
	color: #fff !important;
	transform: translateY(-1px);
	filter: brightness(1.05);
	box-shadow: 0 8px 20px rgba(46, 170, 74, 0.38) !important;
}

.lcf-btn:disabled {
	opacity: 0.6;
	cursor: default;
	transform: none;
}

.lcf-btn:focus-visible {
	outline: 3px solid var(--lcf-primary);
	outline-offset: 2px;
}

.lcf-msg {
	margin: 0;
	min-height: 1.2em;
	font-size: 0.92rem;
	font-weight: 600;
}

.lcf-msg--ok  { color: var(--lcf-accent); }
.lcf-msg--err { color: #d5453c; }

/* ---------- Map ---------- */

.lcf-map-col { display: flex; }

.lcf-map {
	position: relative;
	width: 100%;
	min-height: 420px;
	border-radius: 14px;
	overflow: hidden;
	background: #e9f0fb;
}

.lcf-map iframe {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
	display: block;
}

/* ---------- Map overlays: info card + branded pin ---------- */

.lcf-map__card {
	position: absolute;
	top: 26px;
	right: 26px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	max-width: 280px;
	background: #fff;
	border-radius: 14px;
	padding: 20px 22px;
	box-shadow: 0 12px 32px rgba(20, 40, 80, 0.18);
}

.lcf-map__card-title {
	color: var(--lcf-primary);
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.25;
}

.lcf-map__card-address {
	color: var(--lcf-text);
	font-size: 0.88rem;
	line-height: 1.4;
	margin-bottom: 10px;
}

.lcf-map__card-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--lcf-primary);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(26, 62, 143, 0.28);
	transition: transform 0.15s ease, filter 0.15s ease;
}

.lcf-map__card-btn:hover {
	color: #fff;
	transform: translateY(-1px);
	filter: brightness(1.08);
}

.lcf-map__card-btn:focus-visible {
	outline: 3px solid var(--lcf-primary);
	outline-offset: 2px;
}

.lcf-map__pin {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	transform: translate(-50%, -100%);
	pointer-events: none;
	filter: drop-shadow(0 6px 10px rgba(20, 40, 80, 0.3));
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
	.lcf-inner { grid-template-columns: 1fr; }

	.lcf-map { min-height: 340px; }
}

@media (max-width: 560px) {
	.lcf-section { padding: 32px 18px 44px; }

	.lcf-form-col { padding: 26px 20px; }

	.lcf-btn { width: 100%; }

	.lcf-map__card {
		top: 14px;
		right: 14px;
		left: 14px;
		max-width: none;
		padding: 16px 18px;
	}

	.lcf-map__pin svg { width: 42px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
	.lcf-btn { transition: none; }
	.lcf-btn:hover { transform: none; }
}
