/* MST Odoo Enquiry — Elementor form styling (scoped to .mst-odoo-enquiry). */
.mst-oe-page, .mst-odoo-enquiry, .mst-oe-intro {
	--mst-navy: #001246; --mst-ink: #172441; --mst-muted: #5e6c83; --mst-line: #dce3ee;
	--mst-teal: #087c80; --mst-pale: #edf7f7; --mst-red: #b3261e;
	--mst-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
.mst-oe-page { background: #f4f6fb; }

/* Intro */
.mst-oe-intro, .mst-oe-intro .elementor-widget-container { font-family: var(--mst-font); color: var(--mst-ink); }
.mst-oe-intro .mst-oe-eyebrow { text-transform: uppercase; letter-spacing: 1.6px; color: var(--mst-teal); font-size: 11px; font-weight: 800; margin: 0 0 12px; }
.mst-oe-intro .mst-oe-title { font-family: var(--mst-font); font-size: clamp(29px, 4vw, 42px); line-height: 1.16; letter-spacing: -1.3px; color: var(--mst-navy); margin: 0; max-width: 750px; font-weight: 700; }
.mst-oe-intro .mst-oe-lede { color: var(--mst-muted); max-width: 670px; margin: 14px 0 20px; font-size: 15px; line-height: 1.5; }
.mst-oe-intro .mst-oe-badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 26px; }
.mst-oe-intro .mst-oe-badge { border: 1px solid #d9e8e9; background: var(--mst-pale); border-radius: 99px; padding: 5px 12px; color: #126b70; font-size: 12px; font-weight: 600; }
.mst-oe-intro .mst-oe-badge.is-neutral { background: #fff; border-color: var(--mst-line); color: var(--mst-muted); }

/* Card */
.mst-odoo-enquiry { font-family: var(--mst-font); color: var(--mst-ink); font-size: 15px; line-height: 1.5; }
.mst-odoo-enquiry form.elementor-form { background: #fff; border: 1px solid var(--mst-line); border-radius: 18px; box-shadow: 0 14px 46px rgba(0, 18, 70, .025); padding: 26px 32px; overflow: hidden; }
.mst-odoo-enquiry form.elementor-form[hidden], .mst-oe-success[hidden], .mst-oe-ref[hidden] { display: none !important; }

/* Section headers (HTML fields) */
.mst-odoo-enquiry .elementor-field-group-head_enquiry,
.mst-odoo-enquiry .elementor-field-group-head_more { margin-top: 10px; padding-top: 26px !important; border-top: 1px solid var(--mst-line); }
.mst-odoo-enquiry .elementor-field-group-head_contact { margin-top: 0; padding-top: 0 !important; border-top: 0; }
.mst-odoo-enquiry .mst-oe-section-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 2px; }
.mst-odoo-enquiry .mst-oe-step { width: 31px; height: 31px; flex-shrink: 0; display: grid; place-items: center; border-radius: 9px; background: #edf0f8; color: var(--mst-navy); font-size: 12px; font-weight: 800; }
.mst-odoo-enquiry .mst-oe-section-head h2 { font-family: var(--mst-font); font-size: 18px; line-height: 1.3; color: var(--mst-navy); margin: 0; letter-spacing: -.3px; font-weight: 700; }
.mst-odoo-enquiry .mst-oe-section-head p { font-size: 13px; color: var(--mst-muted); margin: 3px 0 0; }
.mst-odoo-enquiry .mst-oe-req { color: var(--mst-red); }

/* Labels */
.mst-odoo-enquiry .elementor-field-group .elementor-field-label { display: block; font-size: 13px !important; font-weight: 600 !important; color: var(--mst-ink) !important; font-family: var(--mst-font) !important; margin: 0 0 7px; padding: 0; }
.mst-odoo-enquiry .elementor-mark-required .elementor-field-label:after { color: var(--mst-red); content: "*"; margin-left: 3px; }
.mst-odoo-enquiry .mst-oe-opt { color: var(--mst-muted); font-weight: 400; font-size: 11px; margin-left: 6px; }

/* Controls */
.mst-odoo-enquiry .elementor-field-group { align-items: flex-start; align-content: flex-start; }
.mst-odoo-enquiry .elementor-field-group:not(.elementor-field-type-upload):not(.elementor-field-type-acceptance) .elementor-field:not(.elementor-select-wrapper),
.mst-odoo-enquiry .elementor-field-group .elementor-select-wrapper select {
	box-sizing: border-box; width: 100%; min-height: 46px; border: 1px solid #cfd8e5; border-radius: 8px; background: #fff; padding: 10px 12px;
	font-family: var(--mst-font); font-size: 14px; color: var(--mst-ink); box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.mst-odoo-enquiry .elementor-field-group input.elementor-field-textual,
.mst-odoo-enquiry .elementor-field-group .elementor-select-wrapper select { height: 46px; line-height: 1.4; }
.mst-odoo-enquiry .elementor-field-group .elementor-select-wrapper select { padding-right: 34px; }
.mst-odoo-enquiry .elementor-field-group textarea.elementor-field { min-height: 104px; resize: vertical; line-height: 1.6; }
.mst-odoo-enquiry .elementor-field-group .elementor-field:hover,
.mst-odoo-enquiry .elementor-field-group .elementor-select-wrapper select:hover { border-color: #94a5bb; }
.mst-odoo-enquiry .elementor-field-group .elementor-field:focus,
.mst-odoo-enquiry .elementor-field-group .elementor-select-wrapper select:focus { outline: 0; border-color: var(--mst-teal); box-shadow: 0 0 0 3px rgba(8, 124, 128, .1); }
.mst-odoo-enquiry .elementor-field::placeholder { color: #8290a4; opacity: 1; }
.mst-odoo-enquiry .elementor-select-wrapper .select-caret-down-wrapper { right: 12px; color: var(--mst-muted); }

/* Hints and errors */
.mst-odoo-enquiry .mst-oe-hint { font-size: 11.5px; line-height: 1.45; color: var(--mst-muted); margin: 6px 0 0; width: 100%; }
.mst-odoo-enquiry .elementor-message.elementor-message-danger,
.mst-odoo-enquiry .elementor-form-help-inline { color: var(--mst-red); font-size: 12px; margin: 5px 0 0; width: 100%; }
.mst-odoo-enquiry .elementor-error .elementor-field,
.mst-odoo-enquiry .elementor-error select { border-color: var(--mst-red) !important; background: #fffafa !important; }

/* Checkboxes */
.mst-odoo-enquiry .elementor-field-group-consent > .elementor-field-label,
.mst-odoo-enquiry .elementor-field-group-newsletter > .elementor-field-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mst-odoo-enquiry .elementor-field-group-newsletter { margin-top: -6px; }
.mst-odoo-enquiry .elementor-field-group-consent { margin-top: 10px; padding-top: 24px !important; border-top: 1px solid var(--mst-line); }
.mst-odoo-enquiry .elementor-field-group-consent .elementor-field-option,
.mst-odoo-enquiry .elementor-field-group-newsletter .elementor-field-option { display: flex; align-items: flex-start; gap: 10px; }
.mst-odoo-enquiry .elementor-field-group-consent .elementor-field-subgroup,
.mst-odoo-enquiry .elementor-field-group-newsletter .elementor-field-subgroup { width: 100%; }
.mst-odoo-enquiry .elementor-field-group-consent input[type="checkbox"],
.mst-odoo-enquiry .elementor-field-group-newsletter input[type="checkbox"] { width: 18px !important; height: 18px; min-height: 0; padding: 0; flex: 0 0 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--mst-teal); }
.mst-odoo-enquiry .elementor-field-group-consent .elementor-field-option label,
.mst-odoo-enquiry .elementor-field-group-newsletter .elementor-field-option label { flex: 1 1 auto; font-size: 13px; font-weight: 400; color: var(--mst-ink); line-height: 1.5; cursor: pointer; }
.mst-odoo-enquiry .elementor-field-group-consent .elementor-field-option label:after { content: "*"; color: var(--mst-red); margin-left: 3px; }

/* Submit row */
.mst-odoo-enquiry .e-form__buttons, .mst-odoo-enquiry .elementor-field-type-submit {
	display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: nowrap;
	margin-top: 4px; padding-top: 22px !important; border-top: 1px solid var(--mst-line);
}
.mst-odoo-enquiry .mst-oe-submit-info { margin: 0; color: var(--mst-muted); font-size: 12px; max-width: 440px; }
.mst-odoo-enquiry .elementor-field-group .elementor-button[type="submit"] {
	width: auto !important; flex: 0 0 auto; background: var(--mst-navy) !important; color: #fff !important; border: 1px solid var(--mst-navy); border-radius: 9px;
	padding: 12px 20px; font-family: var(--mst-font); font-size: 14px; font-weight: 650; line-height: 1.2; transition: background .15s;
}
.mst-odoo-enquiry .elementor-field-group .elementor-button[type="submit"]:hover, .mst-odoo-enquiry .elementor-field-group .elementor-button[type="submit"]:focus-visible { background: #132f69 !important; }
.mst-odoo-enquiry :focus-visible { outline: 3px solid #24b6bc; outline-offset: 3px; }

/* Messages from Elementor */
.mst-odoo-enquiry .elementor-message-success { display: none; }
.mst-odoo-enquiry form > .elementor-message-danger { margin-top: 16px; padding: 12px 15px; border: 1px solid #f0c9c6; background: #fff4f3; border-radius: 9px; color: #8a2520; font-size: 13px; }
.mst-odoo-enquiry form > .elementor-message-danger:before { display: none; }

/* Success card */
.mst-oe-success { background: #fff; border: 1px solid var(--mst-line); border-radius: 18px; box-shadow: 0 14px 46px rgba(0, 18, 70, .025); padding: 40px 36px; font-family: var(--mst-font); }
.mst-oe-success .mst-oe-success-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mst-pale); color: var(--mst-teal); font-size: 25px; }
.mst-oe-success h2 { font-family: var(--mst-font); color: var(--mst-navy); font-size: 27px; line-height: 1.25; margin: 20px 0 8px; font-weight: 700; }
.mst-oe-success h2:focus { outline: none; }
.mst-oe-success p { color: var(--mst-muted); margin: 0 0 10px; }
.mst-oe-ref { background: #f2f5fb; border: 1px dashed #c6d1e6; border-radius: 10px; padding: 16px; margin: 22px 0; font-weight: 700; color: var(--mst-navy); overflow-wrap: anywhere; font-size: 17px; letter-spacing: .3px; }
.mst-oe-ref small { display: block; color: var(--mst-muted); font-weight: 400; font-size: 11px; margin-bottom: 5px; letter-spacing: 0; }
.mst-oe-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.mst-oe-btn { border: 1px solid var(--mst-navy); background: var(--mst-navy); color: #fff; padding: 11px 17px; border-radius: 9px; font: 650 13px/1.2 var(--mst-font); cursor: pointer; }
.mst-oe-btn:hover { background: #132f69; }

@media (max-width: 600px) {
	.mst-odoo-enquiry form.elementor-form { padding: 23px 19px; }
	.mst-odoo-enquiry .elementor-field-group .elementor-field, .mst-odoo-enquiry .elementor-select-wrapper select { font-size: 16px !important; }
	.mst-odoo-enquiry .e-form__buttons, .mst-odoo-enquiry .elementor-field-type-submit { flex-direction: column; align-items: stretch; }
	.mst-odoo-enquiry .elementor-button[type="submit"] { width: 100% !important; justify-content: center; }
	.mst-oe-success { padding: 27px 22px; }
	.mst-oe-intro .mst-oe-title { letter-spacing: -.8px; }
}
@media (prefers-reduced-motion: reduce) { .mst-odoo-enquiry *, .mst-oe-success * { transition: none !important; } }
