/**
 * SJ Morse — Request a Quote + Contact (same layout; Figma 105:23)
 *
 * Transparent header overlays the hero image (no 364px grey block). Form section below.
 * Scoped with .sj-morse-quote and .sj-morse-contact.
 */

body.sj-morse-quote,
body.sj-morse-contact {
	background-color: #0c0c0c;
	position: relative;
}

body.sj-morse-quote #content.site-main,
body.sj-morse-contact #content.site-main,
body.sj-morse-quote main.site-main,
body.sj-morse-contact main.site-main {
	background-color: #0c0c0c;
	position: relative;
	z-index: 1;
}

/* Header overlays hero — same pattern as Home / About / Projects / Quote */
body.sj-morse-quote .elementor-location-header,
body.sj-morse-contact .elementor-location-header {
	position: absolute !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 100;
	background: transparent !important;
	background-color: transparent !important;
}

body.sj-morse-quote .elementor-location-header .elementor-section,
body.sj-morse-contact .elementor-location-header .elementor-section,
body.sj-morse-quote .sj-el-header.elementor-section,
body.sj-morse-contact .sj-el-header.elementor-section {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	min-height: 0 !important;
	max-height: none !important;
	height: auto !important;
	box-sizing: border-box;
}

body.sj-morse-quote .sj-el-header.elementor-section > .elementor-container,
body.sj-morse-contact .sj-el-header.elementor-section > .elementor-container {
	min-height: 0 !important;
	max-height: none !important;
	height: auto !important;
	display: flex !important;
	align-items: flex-start !important;
	justify-content: center !important;
}

body.sj-morse-quote .sj-el-header .elementor-column > .elementor-widget-wrap,
body.sj-morse-contact .sj-el-header .elementor-column > .elementor-widget-wrap,
body.sj-morse-quote .sj-el-header .elementor-column > .elementor-element-populated,
body.sj-morse-contact .sj-el-header .elementor-column > .elementor-element-populated {
	display: block !important;
	justify-content: flex-start !important;
	align-items: center !important;
	background: transparent !important;
}

body.sj-morse-quote .sj-el-header .elementor-nav-menu .elementor-item,
body.sj-morse-contact .sj-el-header .elementor-nav-menu .elementor-item,
body.sj-morse-quote .sj-el-header .elementor-nav-menu a.elementor-item,
body.sj-morse-contact .sj-el-header .elementor-nav-menu a.elementor-item {
	color: #ffffff !important;
}

body.sj-morse-quote .sj-el-header .elementor-nav-menu--main .elementor-item.elementor-item-active,
body.sj-morse-contact .sj-el-header .elementor-nav-menu--main .elementor-item.elementor-item-active,
body.sj-morse-quote .sj-el-header .elementor-nav-menu--main .current-menu-item > .elementor-item,
body.sj-morse-contact .sj-el-header .elementor-nav-menu--main .current-menu-item > .elementor-item {
	color: #bec852 !important;
}

body.sj-morse-quote .sj-header-tagline,
body.sj-morse-contact .sj-header-tagline {
	color: #ffffff;
}

/* Logo + nav: same sizing as Home/About/Services/Projects (figma-32-3.css).
   Only the hero band below is shorter (223px); do not shrink header chrome here. */

/* =========================================================================
   Main — panel aligned to top (not vertically centred in the section)
   ========================================================================= */
.sj-morse-quote .sj-rq-main.elementor-section, .sj-morse-contact .sj-rq-main.elementor-section{
	background-color: #0c0c0c !important;
	min-height: 0 !important;
	height: auto !important;
	box-sizing: border-box;
	padding-top: 38px !important;
	padding-bottom: 100px !important;
	border-top: 2px solid #ffffff !important;
	border-bottom: 2px solid #ffffff !important;
}

/* Hero band — Figma 223px; header overlays this (not a tall 480px strip) */
.sj-morse-quote .sj-rq-hero.elementor-section,
.sj-morse-contact .sj-rq-hero.elementor-section,
.sj-morse-contact .sj-contact-hero.elementor-section {
	position: relative;
	overflow: hidden;
	min-height: 223px !important;
	height: 223px !important;
	max-height: 223px;
	box-sizing: border-box;
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.sj-morse-quote .sj-rq-hero,
.sj-morse-contact .sj-rq-hero,
.sj-morse-contact .sj-contact-hero,
.sj-morse-quote .sj-rq-hero > .elementor-background-holder,
.sj-morse-contact .sj-rq-hero > .elementor-background-holder,
.sj-morse-contact .sj-contact-hero > .elementor-background-holder,
.sj-morse-quote .sj-rq-hero > .elementor-element-populated > .elementor-background-holder,
.sj-morse-contact .sj-rq-hero > .elementor-element-populated > .elementor-background-holder,
.sj-morse-contact .sj-contact-hero > .elementor-element-populated > .elementor-background-holder {
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}

/* Quote/Contact — lighter brand tint only (not the home Figma #3C3C3C scrim). */
.sj-morse-quote .sj-rq-hero .elementor-background-overlay,
.sj-morse-contact .sj-rq-hero .elementor-background-overlay,
.sj-morse-contact .sj-contact-hero .elementor-background-overlay {
	background-color: rgba(51, 54, 56, 0.45) !important;
}

/* Beat Elementor saved min-height (often 480px until rewire) */
.sj-morse-quote .sj-rq-hero.elementor-section.elementor-section-height-min-height,
.sj-morse-contact .sj-rq-hero.elementor-section.elementor-section-height-min-height,
.sj-morse-contact .sj-contact-hero.elementor-section.elementor-section-height-min-height {
	min-height: 223px !important;
	height: 223px !important;
}

/* Contact: ensure main form block never shows a hero image behind the panel */
.sj-morse-contact .sj-rq-main.elementor-section {
	background-image: none !important;
}

.sj-morse-quote .sj-rq-hero-col > .elementor-widget-wrap,
.sj-morse-contact .sj-rq-hero-col > .elementor-widget-wrap,
.sj-morse-quote .sj-rq-hero-col.elementor-column > .elementor-element-populated,
.sj-morse-contact .sj-rq-hero-col.elementor-column > .elementor-element-populated {
	background-color: transparent !important;
}

.sj-morse-quote .sj-rq-main > .elementor-container, .sj-morse-contact .sj-rq-main > .elementor-container{
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
	align-items: flex-start !important;
}

.sj-morse-quote .sj-rq-main > .elementor-container > .elementor-row, .sj-morse-contact .sj-rq-main > .elementor-container > .elementor-row{
	align-items: flex-start !important;
}

.sj-morse-quote .sj-rq-main-col > .elementor-widget-wrap, .sj-morse-contact .sj-rq-main-col > .elementor-widget-wrap,
.sj-morse-quote .sj-rq-main-col.elementor-column > .elementor-element-populated, .sj-morse-contact .sj-rq-main-col.elementor-column > .elementor-element-populated{
	background-color: transparent !important;
	align-items: center !important;
	justify-content: flex-start !important;
	align-content: flex-start !important;
}

.sj-morse-quote .sj-rq-main-col.elementor-column, .sj-morse-contact .sj-rq-main-col.elementor-column{
	align-self: flex-start !important;
	vertical-align: top !important;
}

/* White form card — wider panel for long labels + CF7 fields */
.sj-morse-quote .sj-rq-panel.elementor-section, .sj-morse-contact .sj-rq-panel.elementor-section{
	width: 100%;
	max-width: 1000px;
	margin-top: 0 !important;
	margin-left: auto !important;
	margin-right: auto !important;
	background-color: #ffffff !important;
	box-sizing: border-box;
	border-radius: 0;
	align-self: flex-start !important;
}

.sj-morse-quote .sj-rq-panel > .elementor-container, .sj-morse-contact .sj-rq-panel > .elementor-container{
	max-width: none;
	width: 100%;
}

.sj-morse-quote .sj-rq-panel .elementor-column > .elementor-widget-wrap, .sj-morse-contact .sj-rq-panel .elementor-column > .elementor-widget-wrap,
.sj-morse-quote .sj-rq-panel .elementor-column > .elementor-element-populated, .sj-morse-contact .sj-rq-panel .elementor-column > .elementor-element-populated{
	background-color: transparent !important;
	justify-content: flex-start !important;
}

.sj-morse-quote .sj-rq-title .elementor-heading-title, .sj-morse-contact .sj-rq-title .elementor-heading-title{
	font-family: "Barlow Condensed", sans-serif !important;
	font-weight: 700;
	font-size: 52px;
	line-height: normal;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #bec852 !important;
	text-align: center;
	margin: 0;
}

.sj-morse-quote .sj-rq-intro, .sj-morse-contact .sj-rq-intro,
.sj-morse-quote .sj-rq-intro p, .sj-morse-contact .sj-rq-intro p{
	font-family: "Source Sans Pro", "Source Sans 3", sans-serif !important;
	font-weight: 400;
	font-size: 25px;
	line-height: 35px;
	letter-spacing: 0;
	color: #000000 !important;
	text-align: left;
	margin: 0;
}

.sj-morse-quote .sj-rq-form, .sj-morse-contact .sj-rq-form{
	width: 100%;
	max-width: 100%;
}

.sj-morse-quote .sj-rq-form .elementor-widget-container, .sj-morse-contact .sj-rq-form .elementor-widget-container{
	width: 100%;
	max-width: 100%;
}

.sj-morse-quote .sj-rq-form .wpcf7, .sj-morse-contact .sj-rq-form .wpcf7,
.sj-morse-quote .sj-rq-form form, .sj-morse-contact .sj-rq-form form,
.sj-morse-quote .sj-rq-form .gform_wrapper, .sj-morse-contact .sj-rq-form .gform_wrapper,
.sj-morse-quote .sj-rq-form .wpforms-container, .sj-morse-contact .sj-rq-form .wpforms-container{
	width: 100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* =========================================================================
   Contact Form 7 — match Figma form frame (fields only; page layout unchanged).
   Markup: sjmorse-quote-cf7.txt
   ========================================================================= */
.sj-morse-quote .sj-rq-panel .wpcf7, .sj-morse-contact .sj-rq-panel .wpcf7,
.sj-morse-quote .sj-rq-form .wpcf7, .sj-morse-contact .sj-rq-form .wpcf7{
	width: 100%;
	max-width: 100%;
}

.sj-morse-quote .sj-rq-panel .wpcf7-form, .sj-morse-contact .sj-rq-panel .wpcf7-form,
.sj-morse-quote .sj-rq-form .wpcf7-form, .sj-morse-contact .sj-rq-form .wpcf7-form{
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	column-gap: 20px !important;
	row-gap: 22px !important;
	width: 100%;
	margin: 0;
	align-items: start;
}

/* Full-width rows (Figma) */
.sj-morse-quote .wpcf7-form > label.rq-cf7-span-full, .sj-morse-contact .wpcf7-form > label.rq-cf7-span-full,
.sj-morse-quote .wpcf7-form > p.rq-cf7-span-full, .sj-morse-contact .wpcf7-form > p.rq-cf7-span-full,
.sj-morse-quote .wpcf7-form > p:has(label.rq-cf7-span-full), .sj-morse-contact .wpcf7-form > p:has(label.rq-cf7-span-full),
.sj-morse-quote .wpcf7-form > .rq-cf7-row--2, .sj-morse-contact .wpcf7-form > .rq-cf7-row--2{
	grid-column: 1 / -1;
}

/* Half-width fields — two per row (auto-placed in 2-col grid) */
.sj-morse-quote .wpcf7-form > label.rq-cf7-span-half, .sj-morse-contact .wpcf7-form > label.rq-cf7-span-half,
.sj-morse-quote .wpcf7-form > p:has(label.rq-cf7-span-half), .sj-morse-contact .wpcf7-form > p:has(label.rq-cf7-span-half){
	grid-column: auto;
	min-width: 0;
}

.sj-morse-quote .wpcf7-form > p, .sj-morse-contact .wpcf7-form > p,
.sj-morse-quote .wpcf7-form > label, .sj-morse-contact .wpcf7-form > label,
.sj-morse-quote .wpcf7-form > div, .sj-morse-contact .wpcf7-form > div{
	margin: 0 !important;
	min-width: 0;
}

/* Label above control — Figma: semi-bold, dark grey */
.sj-morse-quote .wpcf7-form .rq-cf7-field, .sj-morse-contact .wpcf7-form .rq-cf7-field,
.sj-morse-quote .wpcf7-form label:not(.rq-cf7-field), .sj-morse-contact .wpcf7-form label:not(.rq-cf7-field){
	display: block;
	width: 100%;
	margin: 0;
	font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.4;
	color: #374151;
}

.sj-morse-quote .wpcf7-form .rq-cf7-field .wpcf7-form-control-wrap, .sj-morse-contact .wpcf7-form .rq-cf7-field .wpcf7-form-control-wrap,
.sj-morse-quote .wpcf7-form label:not(.rq-cf7-field) .wpcf7-form-control-wrap, .sj-morse-contact .wpcf7-form label:not(.rq-cf7-field) .wpcf7-form-control-wrap{
	display: block;
	width: 100%;
	margin-top: 8px;
}

/* Text, email, tel, select, textarea — Figma fill + border */
.sj-morse-quote .wpcf7-form input[type="text"], .sj-morse-contact .wpcf7-form input[type="text"],
.sj-morse-quote .wpcf7-form input[type="email"], .sj-morse-contact .wpcf7-form input[type="email"],
.sj-morse-quote .wpcf7-form input[type="tel"], .sj-morse-contact .wpcf7-form input[type="tel"],
.sj-morse-quote .wpcf7-form input[type="url"], .sj-morse-contact .wpcf7-form input[type="url"],
.sj-morse-quote .wpcf7-form input[type="number"], .sj-morse-contact .wpcf7-form input[type="number"],
.sj-morse-quote .wpcf7-form select.wpcf7-select, .sj-morse-contact .wpcf7-form select.wpcf7-select,
.sj-morse-quote .wpcf7-form select.wpcf7-form-control, .sj-morse-contact .wpcf7-form select.wpcf7-form-control,
.sj-morse-quote .wpcf7-form textarea.wpcf7-textarea, .sj-morse-contact .wpcf7-form textarea.wpcf7-textarea{
	display: block;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	background-color: #f4f7f9 !important;
	border: 1px solid #d1d5db !important;
	border-radius: 5px !important;
	padding: 11px 14px !important;
	min-height: 46px;
	font-family: "Source Sans Pro", "Source Sans 3", sans-serif !important;
	font-weight: 400 !important;
	font-size: 16px !important;
	line-height: 1.4 !important;
	color: #111827 !important;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
}

.sj-morse-quote .wpcf7-form input::placeholder, .sj-morse-contact .wpcf7-form input::placeholder,
.sj-morse-quote .wpcf7-form textarea::placeholder, .sj-morse-contact .wpcf7-form textarea::placeholder{
	color: #6b7280;
	opacity: 1;
}

.sj-morse-quote .wpcf7-form select.wpcf7-select, .sj-morse-contact .wpcf7-form select.wpcf7-select,
.sj-morse-quote .wpcf7-form select.wpcf7-form-control, .sj-morse-contact .wpcf7-form select.wpcf7-form-control{
	height: 46px;
	padding-right: 38px !important;
	cursor: pointer;
	background-color: #f4f7f9 !important;
	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='%23374151' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
}

.sj-morse-quote .wpcf7-form select.wpcf7-select option[value=""], .sj-morse-contact .wpcf7-form select.wpcf7-select option[value=""],
.sj-morse-quote .wpcf7-form select.wpcf7-form-control option[value=""], .sj-morse-contact .wpcf7-form select.wpcf7-form-control option[value=""]{
	color: #6b7280;
}

.sj-morse-quote .wpcf7-form textarea.wpcf7-textarea, .sj-morse-contact .wpcf7-form textarea.wpcf7-textarea{
	min-height: 46px;
	height: 46px;
	resize: vertical;
}

/* Full-width checkbox — “Do you have drawings…” */
.sj-morse-quote .wpcf7-form .rq-cf7-field--check, .sj-morse-contact .wpcf7-form .rq-cf7-field--check{
	font-weight: 600;
	color: #374151;
}

.sj-morse-quote .wpcf7-form .rq-cf7-field--check .wpcf7-form-control-wrap, .sj-morse-contact .wpcf7-form .rq-cf7-field--check .wpcf7-form-control-wrap{
	margin-top: 10px;
}

.sj-morse-quote .wpcf7-form .wpcf7-checkbox, .sj-morse-contact .wpcf7-form .wpcf7-checkbox{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px;
	margin: 0;
}

.sj-morse-quote .wpcf7-form .wpcf7-list-item, .sj-morse-contact .wpcf7-form .wpcf7-list-item{
	display: inline-flex;
	align-items: center;
	margin: 0;
}

.sj-morse-quote .wpcf7-form .wpcf7-list-item-label, .sj-morse-contact .wpcf7-form .wpcf7-list-item-label{
	font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #374151;
	margin-left: 8px;
}

.sj-morse-quote .wpcf7-form input[type="checkbox"], .sj-morse-contact .wpcf7-form input[type="checkbox"]{
	width: 18px;
	height: 18px;
	margin: 0;
	flex-shrink: 0;
	accent-color: #374151;
	cursor: pointer;
}

/* Legacy row divs (if still in saved CF7 markup) */
.sj-morse-quote .wpcf7-form .rq-cf7-row--2, .sj-morse-contact .wpcf7-form .rq-cf7-row--2{
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	column-gap: 20px !important;
	row-gap: 22px !important;
	width: 100% !important;
	margin: 0 !important;
}

.sj-morse-quote .wpcf7-form .rq-cf7-row--2 > label, .sj-morse-contact .wpcf7-form .rq-cf7-row--2 > label,
.sj-morse-quote .wpcf7-form .rq-cf7-row--2 > p, .sj-morse-contact .wpcf7-form .rq-cf7-row--2 > p{
	margin: 0 !important;
	min-width: 0;
}

/* Submit — Figma: coral, white text, left-aligned */
.sj-morse-quote .wpcf7-form .rq-cf7-submit, .sj-morse-contact .wpcf7-form .rq-cf7-submit,
.sj-morse-quote .wpcf7-form > p.rq-cf7-submit, .sj-morse-contact .wpcf7-form > p.rq-cf7-submit{
	margin: 0;
	text-align: left;
	grid-column: 1 / -1;
}

.sj-morse-quote .wpcf7-form label .wpcf7-required, .sj-morse-contact .wpcf7-form label .wpcf7-required,
.sj-morse-quote .wpcf7-form abbr[title="required"], .sj-morse-contact .wpcf7-form abbr[title="required"]{
	color: #dc2626;
	text-decoration: none;
	border: 0;
	font-weight: 700;
}

.sj-morse-quote .wpcf7-form input[type="submit"], .sj-morse-contact .wpcf7-form input[type="submit"],
.sj-morse-quote .wpcf7-form button[type="submit"], .sj-morse-contact .wpcf7-form button[type="submit"]{
	display: inline-block;
	margin: 0;
	padding: 12px 36px !important;
	font-family: "Source Sans Pro", "Source Sans 3", sans-serif !important;
	font-weight: 700 !important;
	font-size: 17px !important;
	line-height: 1.2 !important;
	text-transform: none;
	letter-spacing: 0;
	color: #ffffff !important;
	background-color: #ff7f50 !important;
	border: 0 !important;
	border-radius: 5px !important;
	cursor: pointer;
	width: auto !important;
	min-height: 0 !important;
	box-shadow: none !important;
}

.sj-morse-quote .wpcf7-form input[type="submit"]:hover, .sj-morse-contact .wpcf7-form input[type="submit"]:hover,
.sj-morse-quote .wpcf7-form button[type="submit"]:hover, .sj-morse-contact .wpcf7-form button[type="submit"]:hover{
	background-color: #f06a3a !important;
}

.sj-morse-quote .wpcf7-response-output, .sj-morse-contact .wpcf7-response-output{
	margin: 20px 0 0;
	padding: 12px 16px;
	font-size: 16px;
	border-radius: 0;
}

.sj-morse-quote .wpcf7-not-valid-tip, .sj-morse-contact .wpcf7-not-valid-tip{
	font-size: 14px;
	color: #c0392b;
	margin-top: 6px;
}

.sj-morse-quote .wpcf7-spinner, .sj-morse-contact .wpcf7-spinner{
	margin-left: 12px;
}

@media (max-width: 767px) {
	body.sj-morse-quote .elementor-location-header .elementor-section,
	body.sj-morse-contact .elementor-location-header .elementor-section,
	body.sj-morse-quote .sj-el-header.elementor-section,
	body.sj-morse-contact .sj-el-header.elementor-section {
		min-height: 0 !important;
	}
	.sj-morse-quote .sj-rq-hero.elementor-section,
	.sj-morse-contact .sj-rq-hero.elementor-section,
	.sj-morse-contact .sj-contact-hero.elementor-section {
		min-height: 200px !important;
		height: auto !important;
		max-height: none;
	}

	body.sj-morse-contact .elementor-location-header,
	body.sj-morse-quote .elementor-location-header {
		position: absolute !important;
		background: transparent !important;
	}

	.sj-morse-quote .sj-rq-main.elementor-section, .sj-morse-contact .sj-rq-main.elementor-section{
		padding-top: 24px !important;
		padding-bottom: 48px !important;
	}
	.sj-morse-quote .sj-rq-panel.elementor-section, .sj-morse-contact .sj-rq-panel.elementor-section{
		max-width: 100%;
	}
	.sj-morse-quote .sj-rq-panel.elementor-section > .elementor-container, .sj-morse-contact .sj-rq-panel.elementor-section > .elementor-container{
		padding-left: 24px !important;
		padding-right: 24px !important;
	}
	.sj-morse-quote .sj-rq-title .elementor-heading-title, .sj-morse-contact .sj-rq-title .elementor-heading-title{
		font-size: 36px;
		line-height: 1.1;
	}
	.sj-morse-quote .sj-rq-intro, .sj-morse-contact .sj-rq-intro,
	.sj-morse-quote .sj-rq-intro p, .sj-morse-contact .sj-rq-intro p{
		font-size: 18px;
		line-height: 28px;
	}
	.sj-morse-quote .wpcf7-form, .sj-morse-contact .wpcf7-form,
	.sj-morse-quote .sj-rq-form .wpcf7-form, .sj-morse-contact .sj-rq-form .wpcf7-form{
		grid-template-columns: 1fr !important;
	}
	.sj-morse-quote .wpcf7-form > label.rq-cf7-span-half, .sj-morse-contact .wpcf7-form > label.rq-cf7-span-half,
	.sj-morse-quote .wpcf7-form > p:has(label.rq-cf7-span-half), .sj-morse-contact .wpcf7-form > p:has(label.rq-cf7-span-half){
		grid-column: 1 / -1;
	}
	.sj-morse-quote .wpcf7-form .rq-cf7-row--2, .sj-morse-contact .wpcf7-form .rq-cf7-row--2{
		grid-template-columns: 1fr !important;
	}
	.sj-morse-quote .wpcf7-form label, .sj-morse-contact .wpcf7-form label{
		font-size: 16px;
	}
}
