/* ==========================================================================
   Arock — Contact page (page-id-998)
   --------------------------------------------------------------------------
   Bespoke layer for the Contact page. Linked LAST in <head> so it wins on
   cascade order without editing the shared Elementor stylesheets
   (assets/css/post-998f333.css is still doing the heavy lifting for the
   section spacing, the animated "Let's Talk" title and the form field
   borders — everything here is a targeted override or new furniture).

   Everything bespoke is namespaced .arock-ct-.
   ========================================================================== */

:root {
	/* Amber sampled from the Arock logo. Also defined in
	   arock-enhancements.css, which is only linked on the homepage, so it is
	   restated here rather than assumed. */
	--arock-accent: #FFB214;
	--arock-ink: #0a0a0a;
	--arock-rule: rgba(2, 1, 1, 0.10);
}

/* --------------------------------------------------------------------------
   1. Hero band
   The theme demo shipped a stock Unsplash shot here. Swap it for Arock's own
   exterior photography, matching what the other rebranded pages do.

   Positioning: same fix as about.html — the spacer's margin-top:-226px collapses
   with the JS-driven wrapper margin and breaks the transparent-header overlap.
   Zeroing the spacer and the hero margin-top lets the JS value take over, giving
   top:-1 at every viewport width (identical to the services hero approach).
   Height: matches the services slider's 16:5 ratio with a 480px floor.
   -------------------------------------------------------------------------- */

.elementor-998 .elementor-element-72261876 {
	margin-top: 0 !important;
	display: none !important;
}

.elementor-998 .elementor-element.elementor-element-7d515519 {
	margin-top: 0 !important;
}

.elementor-998 .elementor-element.elementor-element-7d515519 > .elementor-container {
	min-height: max(480px, 31.25vw) !important;
}

/* Hero background handled by arock-site.css Ken Burns effect */

/* --------------------------------------------------------------------------
   2. Intro copy
   Standardized luxury architectural typography scale.
   -------------------------------------------------------------------------- */

.elementor-998 .elementor-element.elementor-element-6995513 .qodef-qi-animated-text .qodef-m-title {
	font-size: clamp(40px, 4.2vw, 52px);
}

@media screen and (max-width: 991px) {
	.elementor-998 .elementor-element.elementor-element-6995513 .qodef-qi-animated-text .qodef-m-title {
		font-size: 36px;
	}
}

@media screen and (max-width: 600px) {
	.elementor-998 .elementor-element.elementor-element-6995513 .qodef-qi-animated-text .qodef-m-title {
		font-size: 28px;
	}
}

.elementor-998 .elementor-element.elementor-element-72c6bbe1 .elementor-heading-title {
	font-size: 18px;
	line-height: 1.6em;
	max-width: 28em;
}

/* The demo column reserves 14% of right-hand padding; on narrow viewports that
   squeezes the address onto too many lines. */
@media screen and (max-width: 1024px) {
	.elementor-998 .elementor-element.elementor-element-5c8d3a3a > .elementor-element-populated {
		padding-right: 0;
	}
}

/* --------------------------------------------------------------------------
   3. Contact information block
   Label / value rows. Deliberately not a <dl> — the theme puts ~28px of
   padding-bottom on dd, which has to be fought every time it is used.
   -------------------------------------------------------------------------- */

.arock-ct-info {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--arock-rule);
}

/* The content area gives li a bullet; this block supplies its own structure. */
.arock-ct-info > li {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--arock-rule);
}

.arock-ct-info > li:before {
	content: none;
}

.arock-ct-info__label {
	flex: 0 0 108px;
	margin: 0;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 2.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #73645A;
}

.arock-ct-info__value {
	flex: 1 1 240px;
	margin: 0;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--arock-ink);
}

.arock-ct-info__value--lead {
	font-size: 17.5px;
	font-weight: 600;
}

.arock-ct-info__value a {
	color: var(--arock-ink);
	text-decoration: none;
	border-bottom: 1px solid rgba(10, 10, 10, 0.22);
	transition: color 0.2s ease, border-color 0.2s ease;
}

.arock-ct-info__value a:hover,
.arock-ct-info__value a:focus {
	color: #8A6A00;
	border-bottom-color: var(--arock-accent);
}

.arock-ct-info__note {
	display: block;
	margin-top: 4px;
	font-size: 14.5px;
	line-height: 1.5;
	color: #73645A;
}

/* --------------------------------------------------------------------------
   4. Social icons
   -------------------------------------------------------------------------- */

.elementor-998 .elementor-element.elementor-element-5ec1d81 {
	--grid-column-gap: 12px;
	margin-top: 28px !important;
}

.elementor-998 .elementor-element.elementor-element-5ec1d81 > .elementor-widget-container {
	margin-top: 0 !important;
}

.arock-ct-social-label {
	margin: 0 0 12px 0 !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	letter-spacing: 0.16em !important;
	text-transform: none !important;
	line-height: 1.5 !important;
	color: #73645A !important;
}

.elementor-998 .elementor-element.elementor-element-5ec1d81 .elementor-social-icons-wrapper {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 12px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.elementor-998 .elementor-element.elementor-element-5ec1d81 .elementor-grid-item {
	display: inline-flex !important;
	margin: 0 !important;
	padding: 0 !important;
}

.elementor-998 .elementor-element.elementor-element-5ec1d81 .elementor-social-icon,
.elementor-998 .elementor-element.elementor-element-5ec1d81 a.elementor-icon.elementor-social-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	min-height: 44px !important;
	max-width: 44px !important;
	max-height: 44px !important;
	border-radius: 50% !important;
	background-color: #ffffff !important;
	border: 1px solid rgba(10, 10, 10, 0.14) !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
	box-sizing: border-box !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
	text-decoration: none !important;
	cursor: pointer !important;
	transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.elementor-998 .elementor-element.elementor-element-5ec1d81 .elementor-social-icon i,
.elementor-998 .elementor-element.elementor-element-5ec1d81 a.elementor-icon.elementor-social-icon i {
	font-size: 16px !important;
	line-height: 1 !important;
	width: 16px !important;
	height: 16px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	color: #111111 !important;
	margin: 0 !important;
	padding: 0 !important;
	transition: color 0.2s ease, transform 0.2s ease !important;
}

.elementor-998 .elementor-element.elementor-element-5ec1d81 .elementor-social-icon svg,
.elementor-998 .elementor-element.elementor-element-5ec1d81 a.elementor-icon.elementor-social-icon svg {
	width: 16px !important;
	height: 16px !important;
	fill: #111111 !important;
	display: block !important;
	margin: 0 auto !important;
	transition: fill 0.2s ease, transform 0.2s ease !important;
}

.elementor-998 .elementor-element.elementor-element-5ec1d81 .elementor-social-icon:hover,
.elementor-998 .elementor-element.elementor-element-5ec1d81 .elementor-social-icon:focus {
	background-color: var(--arock-accent, #FFB214) !important;
	border-color: var(--arock-accent, #FFB214) !important;
	box-shadow: 0 6px 18px rgba(255, 178, 20, 0.35) !important;
	transform: translateY(-2px) !important;
}

.elementor-998 .elementor-element.elementor-element-5ec1d81 .elementor-social-icon:hover i,
.elementor-998 .elementor-element.elementor-element-5ec1d81 .elementor-social-icon:focus i {
	color: #0a0a0a !important;
	transform: scale(1.08) !important;
}

.elementor-998 .elementor-element.elementor-element-5ec1d81 .elementor-social-icon:hover svg,
.elementor-998 .elementor-element.elementor-element-5ec1d81 .elementor-social-icon:focus svg {
	fill: #0a0a0a !important;
	transform: scale(1.08) !important;
}

/* --------------------------------------------------------------------------
   5. Enquiry form
   Keeps the WPForms markup so the post-998 field styling (underline borders,
   focus radius) still applies; these rules only handle the bits the demo form
   did not need — the intro, the two-up rows and the submit button.
   -------------------------------------------------------------------------- */

.elementor-998 .elementor-element.elementor-element-567ec735 > .elementor-element-populated {
	background-color: #faf8f5;
	border-radius: 17px;
}

/* post-998 zeroes this column's padding below 1024px — harmless when the demo
   form sat on the page background, but the panel now needs its inset back. */
@media screen and (max-width: 1024px) {
	.elementor-998 .elementor-element.elementor-element-567ec735 > .elementor-element-populated {
		padding: 28px 24px;
	}
}

.arock-ct-form-intro {
	margin: 0 0 8px;
}

.arock-ct-form-intro h3 {
	margin: 0 0 6px;
	font-size: clamp(20px, 2.2vw, 24px);
	line-height: 1.25;
	color: var(--arock-ink);
}

.arock-ct-form-intro p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: #756b66;
}

/* Full Name + Phone share a row on wider viewports. */
.arock-ct-form .wpforms-field-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
}

.arock-ct-form .wpforms-field {
	flex: 1 1 100%;
	min-width: 0;
}

@media screen and (min-width: 768px) {
	.arock-ct-form .arock-ct-field--half {
		flex: 1 1 calc(50% - 12px);
	}
}

.arock-ct-form .wpforms-field-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #73645A;
}

/* WPForms caps .wpforms-field-medium at 60% via
   `div.wpforms-container .wpforms-form .wpforms-field input.wpforms-field-medium`,
   so the override has to match that specificity. The flex row above already
   does the sizing — every control fills its own cell. */
div.wpforms-container.arock-ct-form .wpforms-form .wpforms-field input,
div.wpforms-container.arock-ct-form .wpforms-form .wpforms-field textarea,
div.wpforms-container.arock-ct-form .wpforms-form .wpforms-field select {
	width: 100%;
	max-width: 100%;
}

/* --------------------------------------------------------------------------
   Storey / Project Type Dropdown Selector
   -------------------------------------------------------------------------- */
div.wpforms-container.arock-ct-form .wpforms-form .wpforms-field select,
div.wpforms-container-full select,
select.arock-ct-select {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 60px !important;
	margin: 0 !important;
	padding: 14px 42px 14px 16px !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	color: #3A3630 !important;
	background-color: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: 4px !important;
	outline: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !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='none' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 18px center !important;
	background-size: 12px 8px !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

div.wpforms-container.arock-ct-form .wpforms-form .wpforms-field select:focus,
div.wpforms-container-full select:focus,
select.arock-ct-select:focus {
	border-color: var(--arock-accent, #FFB214) !important;
	box-shadow: 0 0 0 1px var(--arock-accent, #FFB214) !important;
	outline: none !important;
}

div.wpforms-container.arock-ct-form .wpforms-form .wpforms-field select option {
	padding: 10px 14px;
	font-size: 15px;
	color: #333333;
	background: #ffffff;
}

.arock-ct-form textarea {
	min-height: 120px;
	resize: vertical;
}

.arock-ct-form .wpforms-submit-container {
	flex: 1 1 100%;
	overflow: hidden;
}

/* Shown by arock-contact-form.js when POST /api/schedule-enquiry fails. */
.arock-ct-form-error {
	flex: 1 1 100%;
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 4px;
	background: rgba(214, 54, 55, 0.08);
	color: #d63637;
	font-size: 0.9rem;
}

.arock-ct-form .arock-ct-submit {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: 8px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	background-color: var(--arock-accent) !important;
	color: var(--arock-ink) !important;
	border: none !important;
	border-radius: 4px !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	line-height: 1 !important;
	padding: 14px 30px !important;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

.arock-ct-form .arock-ct-submit:hover,
.arock-ct-form .arock-ct-submit:focus {
	background-color: #e8a010 !important;
	color: var(--arock-ink) !important;
	box-shadow: 0 6px 20px rgba(255, 178, 20, 0.35) !important;
	transform: translateY(-1px) !important;
	outline: none !important;
}

/* Confirmation shown by the inline handler on contact.html. Static export —
   there is no backend to post to, so the form acknowledges and resets. */
.arock-ct-form-confirmation {
	display: none;
	margin-top: 20px;
	padding: 16px 20px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--arock-ink);
	background-color: #ffffff;
	border-left: 3px solid var(--arock-accent);
	border-radius: 4px;
}

.arock-ct-form-confirmation.is-visible {
	display: block;
}

/* --------------------------------------------------------------------------
   6. Map band
   Replaces the demo's three placeholder office cards. Sits inside the dark
   stretched section, so the heading has to invert.
   -------------------------------------------------------------------------- */

/* post-998 sizes column 3427c8bb as one of three office cards: 10% padding on
   every side plus a 12px gutter. Now that it is the only column in the row,
   that padding is 118px of dead space either side of the map. */
.elementor-998 .elementor-element.elementor-element-3427c8bb > .elementor-element-populated {
	margin: 0;
	padding: 0;
	--e-column-margin-right: 0px;
	--e-column-margin-left: 0px;
	border-radius: 0;
}

.arock-ct-map-head {
	margin: 0 0 28px;
	text-align: center;
}

.arock-ct-map-head h2 {
	margin: 0 0 8px;
	font-size: clamp(24px, 2.8vw, 30px);
	line-height: 1.25;
	color: #ffffff;
}

.arock-ct-map-head p {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.66);
}

.arock-ct-map {
	position: relative;
	overflow: hidden;
	border-radius: 17px;
	line-height: 0;
	background-color: #0d2129;
}

.arock-ct-map iframe {
	display: block;
	width: 100%;
	height: 440px;
	border: 0;
}

.arock-ct-map-actions {
	margin: 22px 0 0;
	text-align: center;
}

.arock-ct-map-actions a {
	display: inline-block !important;
	height: 42px !important;
	padding: 0 30px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 40px !important;
	color: #ffffff !important;
	text-decoration: none !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	border-radius: 999px !important;
	background-color: rgba(255, 255, 255, 0.05) !important;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

.arock-ct-map-actions a:hover,
.arock-ct-map-actions a:focus {
	color: var(--arock-ink, #0a0a0a) !important;
	background-color: var(--arock-accent, #FFB214) !important;
	border-color: var(--arock-accent, #FFB214) !important;
}

/* --------------------------------------------------------------------------
   7. Mobile Responsive Styles (< 768px)
   -------------------------------------------------------------------------- */

@media screen and (max-width: 767px) {
	/* ── Top Hero Banner ─────────────────────────────────── */
	.elementor-998 .elementor-element.elementor-element-7d515519 > .elementor-container {
		min-height: 280px !important;
	}

	.elementor-998 .elementor-element-2df623e0 {
		padding-top: 32px !important;
		padding-bottom: 24px !important;
	}

	.elementor-998 .elementor-element.elementor-element-6995513 .qodef-qi-animated-text .qodef-m-title {
		font-size: clamp(28px, 8vw, 36px) !important;
		line-height: 1.25 !important;
		margin-bottom: 12px !important;
	}

	.elementor-998 .elementor-element.elementor-element-72c6bbe1 .elementor-heading-title {
		font-size: 15.5px !important;
		line-height: 1.55 !important;
		color: #555555 !important;
		margin-bottom: 18px !important;
	}

	/* ── Contact Info Block ───────────────────────────────── */
	.arock-ct-info > li {
		padding: 12px 0 !important;
		gap: 2px 14px !important;
	}

	.arock-ct-info__label {
		flex: 0 0 88px !important;
		font-size: 10.5px !important;
		line-height: 1.8 !important;
	}

	.arock-ct-info__value {
		font-size: 14.5px !important;
		line-height: 1.5 !important;
	}

	.arock-ct-info__value--lead {
		font-size: 16px !important;
	}

	.arock-ct-info__note {
		font-size: 13px !important;
		margin-top: 2px !important;
	}

	/* ── Social Icons ─────────────────────────────────────── */
	.elementor-998 .elementor-element.elementor-element-5ec1d81 {
		margin-top: 20px !important;
		margin-bottom: 28px !important;
	}

	.arock-ct-social-label {
		font-size: 11px !important;
		margin-bottom: 10px !important;
	}

	/* ── Enquiry Form Card ────────────────────────────────── */
	.elementor-998 .elementor-element.elementor-element-567ec735 > .elementor-element-populated {
		padding: 24px 18px !important;
		border-radius: 14px !important;
		border: 1px solid rgba(12, 12, 12, 0.07) !important;
		box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
	}

	.arock-ct-form-intro h3 {
		font-size: 22px !important;
		font-weight: 700 !important;
		margin-bottom: 4px !important;
	}

	.arock-ct-form-intro p {
		font-size: 13.5px !important;
		line-height: 1.5 !important;
		color: #666666 !important;
		margin-bottom: 14px !important;
	}

	.arock-ct-form .wpforms-field {
		margin-bottom: 14px !important;
	}

	.arock-ct-form .wpforms-field-label {
		font-size: 11px !important;
		margin-bottom: 5px !important;
	}

	div.wpforms-container.arock-ct-form .wpforms-form .wpforms-field input,
	div.wpforms-container.arock-ct-form .wpforms-form .wpforms-field textarea,
	div.wpforms-container.arock-ct-form .wpforms-form .wpforms-field select {
		font-size: 14px !important;
		border-radius: 6px !important;
	}

	.arock-ct-form .arock-ct-submit {
		padding: 13px 24px !important;
		font-size: 12.5px !important;
		font-weight: 700 !important;
		border-radius: 999px !important;
	}

	/* ── Map Band ─────────────────────────────────────────── */
	.elementor-998 .elementor-element.elementor-element-5ace67df {
		padding: 44px 18px 48px !important;
	}

	.arock-ct-map-head h2 {
		font-size: 24px !important;
	}

	.arock-ct-map-head p {
		font-size: 14px !important;
	}

	.arock-ct-map {
		border-radius: 12px !important;
	}

	.arock-ct-map iframe {
		height: 280px !important;
	}

	.arock-ct-map-actions a {
		padding: 0 24px !important;
		font-size: 13px !important;
	}
}
