/* ============================================================
   L&M Travel To Me — Public front-end
   Dark luxury branding (L&M Microblading). Theme-isolated under
   .lmt. Accent (--lmt-accent) injected from the brand_color setting.
   ============================================================ */

.lmt {
	--lmt-accent: #C8A64B;
	--g: var(--lmt-accent);
	--g-bright: #D4AF37;
	--g-muted: rgba(200,166,75,0.12);
	--g-glow: rgba(200,166,75,0.22);
	--deep: #050505;
	--surface: #0c0c0c;
	--card: #141414;
	--card-hover: #1a1a1a;
	--line: rgba(255,255,255,0.08);
	--white: #ffffff;
	--white-soft: rgba(255,255,255,0.74);
	--white-faint: rgba(255,255,255,0.40);
	--cream: #F7F2E8;
	--muted: #B8B2A7;
	--radius: 14px;
	--radius-sm: 9px;

	box-sizing: border-box;
	color: var(--white-soft);
	font-family: 'Outfit', system-ui, -apple-system, sans-serif;
	font-weight: 300;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.lmt *,
.lmt *::before,
.lmt *::after { box-sizing: border-box; }
.lmt h2, .lmt h3 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 500;
	color: var(--white);
	margin: 0;
	line-height: 1.15;
}

/* ── Eyebrow / headings ─────────────────────────────────── */
.lmt-eyebrow {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--g);
	margin: 0 0 18px;
}
.lmt .lmt-subhead {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 500;
	color: var(--white);
	margin: 0 0 34px;
}
.lmt-subhead::after {
	content: "";
	display: block;
	width: 46px;
	height: 2px;
	margin-top: 14px;
	background: var(--g);
	border-radius: 2px;
}

/* ── Section ────────────────────────────────────────────── */
.lmt-section {
	background: radial-gradient(120% 80% at 50% -10%, #161009 0%, var(--deep) 60%);
	padding: clamp(40px, 6vw, 76px) clamp(18px, 5vw, 56px);
	border-radius: clamp(14px, 2vw, 22px);
}
.lmt-section__intro { max-width: 640px; margin: 0 auto clamp(38px, 5vw, 56px); text-align: center; }
.lmt-section__title { font-size: clamp(30px, 5vw, 52px); margin-bottom: 20px; }
.lmt-section__lede { font-size: clamp(15px, 1.8vw, 18px); color: var(--muted); margin: 0 0 26px; }
.lmt-note {
	display: inline-block;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--cream);
	background: var(--g-muted);
	border: 1px solid rgba(200,166,75,0.22);
	border-radius: var(--radius-sm);
	padding: 14px 20px;
	margin: 0;
	max-width: 560px;
}
.lmt-section__locations { max-width: 980px; margin: 0 auto clamp(44px, 6vw, 64px); }
.lmt-section__form { max-width: 720px; margin: 0 auto; }

/* ── Boxed panel (locations) ────────────────────────────── */
.lmt-panel {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(18px, 3vw, 28px);
	max-width: 980px;
	margin: 0 auto;
}

/* ── Location grid + cards ──────────────────────────────── */
.lmt-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.lmt-loc {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 24px 24px;
	display: flex;
	flex-direction: column;
	transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.lmt-loc:hover {
	border-color: rgba(200,166,75,0.4);
	transform: translateY(-3px);
	box-shadow: 0 18px 50px rgba(0,0,0,0.5);
}
.lmt-loc.is-reached { border-color: rgba(200,166,75,0.5); }
.lmt-loc__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.lmt-loc__status {
	font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
	color: var(--white-faint); margin: 0;
}
.lmt-loc__badge {
	font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: #2a2207; background: var(--g); padding: 4px 10px; border-radius: 99px; white-space: nowrap;
}
.lmt-loc__badge--full { background: var(--g-bright); }
.lmt-loc__name { font-size: clamp(21px, 2.4vw, 26px); margin: 0 0 10px; }
.lmt-loc__desc { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; line-height: 1.55; }
.lmt-loc__meter { margin-top: auto; }
.lmt-loc__count { font-size: 13.5px; color: var(--muted); margin: 0 0 9px; }
.lmt-loc__count strong { color: var(--white); font-weight: 500; font-size: 16px; }

/* ── Progress bar ───────────────────────────────────────── */
.lmt-bar {
	height: 7px; border-radius: 99px; background: rgba(255,255,255,0.08);
	overflow: hidden; margin-bottom: 18px;
}
.lmt-bar__fill {
	display: block; height: 100%; border-radius: 99px;
	background: linear-gradient(90deg, var(--g), var(--g-bright));
	box-shadow: 0 0 16px var(--g-glow);
	transition: width .6s cubic-bezier(.4,0,.2,1);
}

/* ── Buttons ────────────────────────────────────────────── */
.lmt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	font-family: 'Outfit', sans-serif;
	font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
	padding: 14px 26px; border-radius: var(--radius-sm);
	border: 1px solid transparent; cursor: pointer; text-decoration: none;
	transition: background .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
}
.lmt-btn--join {
	width: 100%;
	background: transparent; color: var(--g);
	border-color: rgba(200,166,75,0.4);
}
.lmt-btn--join:hover { background: var(--g-muted); border-color: var(--g); }
.lmt-btn--primary {
	background: var(--g); color: #2a2207; border-color: var(--g);
	min-width: 220px;
}
.lmt-btn--primary:hover { background: var(--g-bright); }
.lmt-btn--primary:active { transform: translateY(1px); }
.lmt-btn:focus-visible { outline: 2px solid var(--g-bright); outline-offset: 3px; }
.lmt-btn[disabled] { opacity: .65; cursor: default; }
.lmt-btn__spin {
	width: 15px; height: 15px; border-radius: 50%; display: none;
	border: 2px solid rgba(42,34,7,0.35); border-top-color: #2a2207;
	animation: lmt-spin .7s linear infinite;
}
.lmt-btn.is-loading .lmt-btn__spin { display: inline-block; }
.lmt-btn.is-loading .lmt-btn__label { opacity: .8; }
@keyframes lmt-spin { to { transform: rotate(360deg); } }

/* ── Form ───────────────────────────────────────────────── */
.lmt-formwrap {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(26px, 4vw, 40px);
	max-width: 720px;
	margin: 0 auto;
}
.lmt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; margin-bottom: 18px; }
.lmt-form__row--3 { grid-template-columns: 1.4fr .8fr .8fr; }
.lmt-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin-bottom: 18px; }
.lmt-form__row .lmt-field { margin-bottom: 0; }
.lmt-field label {
	font-family: 'Outfit', sans-serif;
	font-size: 12.5px; font-weight: 400; letter-spacing: .03em;
	color: var(--muted); text-transform: none;
}
.lmt-req { color: var(--g); }
.lmt-field input,
.lmt-field select,
.lmt-field textarea {
	width: 100%;
	background: #0d0d0d;
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: var(--radius-sm);
	color: var(--white);
	font-family: 'Outfit', sans-serif;
	font-size: 14.5px; font-weight: 300;
	padding: 13px 15px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.lmt-field textarea { resize: vertical; }
.lmt-field select { appearance: none; -webkit-appearance: none; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23B8B2A7' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.lmt-field input::placeholder,
.lmt-field textarea::placeholder { color: var(--white-faint); }
.lmt-field input:focus,
.lmt-field select:focus,
.lmt-field textarea:focus {
	outline: none; border-color: var(--g);
	box-shadow: 0 0 0 3px var(--g-muted);
}
.lmt-field.has-error input,
.lmt-field.has-error select,
.lmt-field.has-error textarea { border-color: #c0556b; }

.lmt-error { font-size: 12px; color: #d77b8c; min-height: 0; }
.lmt-error--block { display: block; margin-top: -4px; }

/* honeypot */
.lmt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* consents */
.lmt-consents { margin: 22px 0 24px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.lmt-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.lmt-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--g); flex-shrink: 0; }
.lmt-check span { font-size: 13.5px; line-height: 1.5; color: var(--white-soft); font-weight: 300; }
.lmt-check a { color: var(--g); text-decoration: underline; }
.lmt-consent-note { font-size: 12.5px; line-height: 1.5; color: var(--white-faint); margin: 2px 0 0; }

.lmt-form__submit { text-align: center; margin-top: 6px; }

/* result message */
.lmt-form__result { margin-top: 18px; }
.lmt-form__result.is-ok,
.lmt-form__result.is-error {
	padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px;
}
.lmt-form__result.is-ok {
	color: var(--cream); background: var(--g-muted); border: 1px solid rgba(200,166,75,0.3);
}
.lmt-form__result.is-error {
	color: #e3a6b1; background: rgba(192,85,107,0.10); border: 1px solid rgba(192,85,107,0.3);
}
.lmt-form.is-done .lmt-form__fields { display: none; }

/* ── Single status ──────────────────────────────────────── */
.lmt-status {
	background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 22px 24px; max-width: 460px;
}
.lmt-status__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.lmt-status__name { font-size: 22px; }
.lmt-status__label { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--g); }
.lmt-status__count { font-size: 13.5px; color: var(--muted); margin: 0 0 9px; }
.lmt-status__count strong { color: var(--white); font-weight: 500; }
.lmt-status--missing { color: var(--white-faint); }

/* ── Empty ──────────────────────────────────────────────── */
.lmt-empty {
	text-align: center; padding: 40px 20px; color: var(--muted);
	background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius);
}
.lmt-empty p { margin: 0; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 680px) {
	.lmt-form__row,
	.lmt-form__row--3 { grid-template-columns: 1fr; gap: 18px; }
	.lmt-grid { grid-template-columns: 1fr; }
	.lmt-status__head { flex-direction: column; gap: 4px; }
	.lmt-panel { padding: 16px; }
	.lmt .lmt-subhead { margin-bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
	.lmt *, .lmt *::before, .lmt *::after { transition: none !important; animation: none !important; }
}

/* CAPTCHA widget */
.lmt-form__captcha { margin: 4px 0 8px; }
