/* wp-content/plugins/ceca-widgets/widgets/contact-page/contact-page.css */
/* Contact Page (Figma 225:1643). Measured from the frame: heading 50/60 Bold,
   intro 25/35 (max 746), section title 40/50 Bold, three 416px cards under
   2px #F0B43C rules (24px gap), accordion rows 35/45 with 30px padding on
   2px #E6E6E6 dividers, 33px plus/minus at the right edge. The second block
   styles Elementor's Form widget to the same design — opt in by adding the
   CSS class `ceca-contact-form` to that widget. */

.ceca-contact {
	--ceca-c-rule: #f0b43c;
	--ceca-c-rule-w: 2px;
	--ceca-c-divider: #e6e6e6;
	--ceca-c-divider-w: 2px;
	--ceca-c-row: #1a1a1a;
	--ceca-c-row-hover: #411024;
	--ceca-c-row-pad: 30px;
	--ceca-c-icon: #1a1a1a;
	--ceca-c-icon-size: 33px;
	--ceca-c-card-title: #1a1a1a;
}

/* Header → heading gap comes from the theme's page rhythm (50/30px). */
.ceca-contact .ceca-contact__heading {
	margin: 0;
	font-size: 50px;
	line-height: 60px;
	font-weight: 700;
	color: #1a1a1a;
}

.ceca-contact .ceca-contact__intro {
	margin: 10px 0 0;
	max-width: 746px;
	font-size: 25px;
	line-height: 35px;
	color: #1a1a1a;
}

.ceca-contact .ceca-contact__section-title {
	margin: 80px 0 0;
	font-size: 40px;
	line-height: 50px;
	font-weight: 700;
	color: #1a1a1a;
}

/* --- General Enquiries cards --------------------------------------------- */

.ceca-contact__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 33px;
}

.ceca-contact__card {
	border-top: var(--ceca-c-rule-w) solid var(--ceca-c-rule);
	padding-top: 30px;
}

/* Double specificity so Elementor kit link colours cannot repaint these. */
.ceca-contact a.ceca-contact__card-title,
.ceca-contact .ceca-contact__card-title {
	display: block;
	font-size: 35px;
	line-height: 30px;
	font-weight: 700;
	color: var(--ceca-c-card-title);
	text-decoration: underline;
	text-underline-position: from-font;
}

.ceca-contact a.ceca-contact__card-title:hover,
.ceca-contact a.ceca-contact__card-title:focus {
	color: var(--ceca-c-row-hover);
}

.ceca-contact .ceca-contact__card-text {
	margin: 20px 0 0;
	font-size: 20px;
	line-height: 30px;
	color: #1a1a1a;
}

/* --- Region accordion ----------------------------------------------------- */

.ceca-contact__accordion {
	margin-top: 80px;
	border-bottom: var(--ceca-c-divider-w) solid var(--ceca-c-divider);
}

.ceca-contact__row {
	border-top: var(--ceca-c-divider-w) solid var(--ceca-c-divider);
}

/* High specificity + explicit states: Elementor kit `button` rules would
   otherwise repaint the toggle on hover. */
.ceca-contact .ceca-contact__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: var(--ceca-c-row-pad) 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	text-align: left;
	cursor: pointer;
	color: var(--ceca-c-row);
	transition: color 0.2s ease;
}

.ceca-contact .ceca-contact__toggle:hover,
.ceca-contact .ceca-contact__toggle:focus {
	background: transparent;
	color: var(--ceca-c-row-hover);
}

.ceca-contact__row-title {
	font-size: 35px;
	line-height: 45px;
	font-weight: 400;
	color: inherit;
}

.ceca-contact__icon {
	flex: none;
	width: var(--ceca-c-icon-size);
	height: var(--ceca-c-icon-size);
	color: var(--ceca-c-icon);
}

.ceca-contact__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.ceca-contact__icon line {
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

/* Plus → minus without swapping markup. */
.ceca-contact__icon-v {
	transform-origin: center;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.ceca-contact__row.is-open .ceca-contact__icon-v {
	opacity: 0;
	transform: rotate(90deg);
}

.ceca-contact .ceca-contact__panel {
	padding: 0 110px 30px 0;
	font-size: 20px;
	line-height: 30px;
	color: #1a1a1a;
}

/* The panel is display:block by default, which outranks the UA [hidden]
   rule — restate it so closed rows really collapse. */
.ceca-contact__panel[hidden] {
	display: none;
}

.ceca-contact__panel > *:first-child {
	margin-top: 0;
}

.ceca-contact__panel > *:last-child {
	margin-bottom: 0;
}

.ceca-contact__panel a {
	color: inherit;
	text-decoration: underline;
	text-underline-position: from-font;
}

.ceca-contact__panel .ceca-contact__enquire-wrap {
	margin: 24px 0 0;
}

/* Same black pill as the form's Send message button, at the inline size. */
.ceca-contact .ceca-contact__enquire {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 10px 30px;
	border: 0;
	border-radius: 100px;
	background: #000000;
	color: #ffffff;
	font: inherit;
	font-size: 18px;
	line-height: 30px;
	font-weight: 400;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ceca-contact .ceca-contact__enquire:hover,
.ceca-contact .ceca-contact__enquire:focus {
	background: #411024;
	color: #ffffff;
}

.ceca-contact .ceca-contact__enquire:focus-visible {
	outline: 2px solid #411024;
	outline-offset: 3px;
}

@media (max-width: 1024px) {
	.ceca-contact__heading {
		font-size: 40px;
		line-height: 48px;
	}

	.ceca-contact__intro {
		font-size: 20px;
		line-height: 30px;
	}

	.ceca-contact__section-title {
		margin-top: 56px;
		font-size: 32px;
		line-height: 40px;
	}

	.ceca-contact__accordion {
		margin-top: 56px;
	}

	.ceca-contact__row-title {
		font-size: 26px;
		line-height: 34px;
	}

	.ceca-contact .ceca-contact__card-title {
		font-size: 28px;
		line-height: 32px;
	}

	.ceca-contact__panel {
		padding-right: 60px;
	}
}

@media (max-width: 767px) {
	.ceca-contact__heading {
		font-size: 32px;
		line-height: 40px;
	}

	.ceca-contact__row-title {
		font-size: 22px;
		line-height: 30px;
	}

	.ceca-contact {
		--ceca-c-row-pad: 20px;
		--ceca-c-icon-size: 26px;
	}

	.ceca-contact__panel {
		padding-right: 0;
	}
}

/* --- Elementor Form, styled to the design -------------------------------- */
/* Opt in per form: Advanced → CSS Classes → `ceca-contact-form`. Elementor's
   own style controls still win where the editor sets them. */

.ceca-contact-form.elementor-widget-form .elementor-form .elementor-field-group {
	margin-bottom: 20px;
}

.ceca-contact-form.elementor-widget-form .elementor-form .ceca-form-subhead {
	margin: 30px 0 0;
	font-size: 35px;
	line-height: 45px;
	font-weight: 700;
	color: #1a1a1a;
}

/* No gap under labels (user, 2026-11-18): the field sits straight under its
   label. Elementor's Label Spacing control on the form is set to 0 to match. */
.ceca-contact-form.elementor-widget-form .elementor-form .elementor-field-group > label.elementor-field-label {
	margin-bottom: 0;
	font-size: 18px;
	line-height: 30px;
	font-weight: 400;
	color: #1a1a1a;
}

.ceca-contact-form.elementor-widget-form .elementor-form .elementor-field-textual {
	height: 60px;
	padding: 0 20px;
	background: #dedede;
	border: 0;
	border-radius: 0;
	font-size: 18px;
	line-height: 30px;
	color: #1a1a1a;
	box-shadow: none;
}

.ceca-contact-form.elementor-widget-form .elementor-form textarea.elementor-field-textual {
	height: 150px;
	padding: 16px 20px;
	resize: vertical;
}

.ceca-contact-form.elementor-widget-form .elementor-form .elementor-field-textual:focus {
	outline: 2px solid #411024;
	outline-offset: -2px;
}

/* Elementor draws its own solid caret SVG inside the select wrapper; the
   design uses a thin chevron, so hide theirs rather than stack two arrows. */
.ceca-contact-form.elementor-widget-form .elementor-form .select-caret-down-wrapper {
	display: none;
}

.ceca-contact-form.elementor-widget-form .elementor-form select.elementor-field-textual {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M0.5 0.5L8 7L15.5 0.5' stroke='%231A1A1A' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 20px center;
	background-size: 16px 8px;
	padding-right: 52px;
}

.ceca-contact-form.elementor-widget-form .elementor-form .elementor-field-type-acceptance .elementor-field-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.ceca-contact-form.elementor-widget-form .elementor-form input[type="checkbox"] {
	flex: none;
	width: 30px;
	height: 30px;
	margin: 0;
	background: #dedede;
	border: 0;
	border-radius: 0;
	appearance: none;
	cursor: pointer;
}

.ceca-contact-form.elementor-widget-form .elementor-form input[type="checkbox"]:checked {
	background: #411024;
}

.ceca-contact-form.elementor-widget-form .elementor-form .elementor-field-type-acceptance label {
	font-size: 14px;
	line-height: 20px;
	color: #1a1a1a;
}

.ceca-contact-form.elementor-widget-form .elementor-form .elementor-button {
	justify-content: center;
	width: 100%;
	min-height: 60px;
	background: #000000;
	border: 0;
	border-radius: 100px;
	font-size: 18px;
	line-height: 30px;
	font-weight: 400;
	color: #ffffff;
	transition: background-color 0.2s ease;
}

.ceca-contact-form.elementor-widget-form .elementor-form .elementor-button:hover,
.ceca-contact-form.elementor-widget-form .elementor-form .elementor-button:focus {
	background: #411024;
	color: #ffffff;
}
