/* ==========================================================================
   Premium Construction Footer: all selectors are scoped to .ce-footer
   (alignment helper classes live on the Elementor widget wrapper and are
   prefixed ce-footer-*).
   Palette: Charcoal #202B2B · Sage #52796F · Gold #D4B483 · Off-white #FAF9F6
   Breakpoints match Elementor defaults: tablet ≤1024px, mobile ≤767px.
   ========================================================================== */

/* ---------- Tokens (Elementor controls override these variables) ---------- */
.ce-footer {
	--ce-f-bg: #202B2B;
	--ce-f-bottom-bg: #182121;
	--ce-f-surface: rgba(82, 121, 111, 0.16);
	--ce-f-text: rgba(250, 249, 246, 0.74);
	--ce-f-heading: #FAF9F6;
	--ce-f-accent: #D4B483;
	--ce-f-line: rgba(212, 180, 131, 0.22);
	--ce-f-link: var(--ce-f-text);
	--ce-f-link-hover: #D4B483;
	--ce-f-focus: #D4B483;

	--ce-f-brand: #FAF9F6;
	--ce-f-mark-bg: #D4B483;
	--ce-f-mark-color: #202B2B;
	--ce-f-icon: #D4B483;

	--ce-f-social: #FAF9F6;
	--ce-f-social-line: rgba(212, 180, 131, 0.4);
	--ce-f-social-bg-hover: #52796F;
	--ce-f-social-line-hover: #D4B483;
	--ce-f-social-size: 16px;

	--ce-f-cta-bg: var(--ce-f-surface);
	--ce-f-cta-title: #FAF9F6;
	--ce-f-cta-text: var(--ce-f-text);
	--ce-f-btn-bg: #D4B483;
	--ce-f-btn-color: #202B2B;
	--ce-f-btn-bg-hover: #FAF9F6;
	--ce-f-btn-color-hover: #202B2B;

	--ce-f-bottom-text: rgba(250, 249, 246, 0.64);
	--ce-f-bottom-link: rgba(250, 249, 246, 0.78);
	--ce-f-bottom-link-hover: #D4B483;

	--ce-f-logo-w: 180px;
	--ce-f-max-w: 1280px;
	--ce-f-col-gap: 56px;
	--ce-f-row-gap: 44px;
	--ce-f-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	/* Alignment helpers (set by the alignment classes below) */
	--ce-f-ta: left;
	--ce-f-jc: flex-start;
	--ce-f-ml: 0;
	--ce-f-mr: auto;

	position: relative;
	width: 100%;
	background: var(--ce-f-bg);
	color: var(--ce-f-text);
	font-family: inherit;
	font-size: 0.9375rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.ce-footer *,
.ce-footer *::before,
.ce-footer *::after {
	box-sizing: border-box;
}

/* Restrained gold hairline across the top */
.ce-footer--accent::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--ce-f-accent);
	pointer-events: none;
}

.ce-footer ul,
.ce-footer li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ce-footer p {
	margin: 0;
}

.ce-footer__container {
	width: 100%;
	max-width: var(--ce-f-max-w);
	margin-inline: auto;
}

.ce-footer__main {
	padding: 72px 32px 56px;
}

/* Visually hidden text */
.ce-footer__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Focus ---------- */
.ce-footer a:focus-visible {
	outline: 2px solid var(--ce-f-focus);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ---------- CTA panel ---------- */
.ce-footer__cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	margin-bottom: 64px;
	padding: 36px 40px;
	overflow: hidden;
	background: var(--ce-f-cta-bg);
	border: 1px solid var(--ce-f-line);
	border-radius: 4px;
}

.ce-footer__cta::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 3px;
	background: var(--ce-f-accent);
}

.ce-footer__cta-body {
	min-width: 0;
	max-width: 640px;
	text-align: var(--ce-f-ta);
}

.ce-footer .ce-footer__cta-title {
	margin: 0;
	color: var(--ce-f-cta-title);
	font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.005em;
}

.ce-footer .ce-footer__cta-desc {
	margin-top: 10px;
	color: var(--ce-f-cta-text);
	font-size: 1rem;
	line-height: 1.6;
}

.ce-footer__cta-action {
	flex: 0 0 auto;
}

.ce-footer a.ce-footer__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 28px;
	background: var(--ce-f-btn-bg);
	border: 1px solid transparent;
	border-radius: 3px;
	color: var(--ce-f-btn-color);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ce-f-ease), box-shadow 0.25s ease;
}

.ce-footer a.ce-footer__cta-btn:hover,
.ce-footer a.ce-footer__cta-btn:focus-visible {
	background: var(--ce-f-btn-bg-hover);
	color: var(--ce-f-btn-color-hover);
	text-decoration: none;
	transform: translateY(-1px);
}

.ce-footer a.ce-footer__cta-btn:focus-visible {
	outline-offset: 4px;
}

.ce-footer__cta-arrow {
	display: inline-flex;
	transition: transform 0.25s var(--ce-f-ease);
}

.ce-footer a.ce-footer__cta-btn:hover .ce-footer__cta-arrow,
.ce-footer a.ce-footer__cta-btn:focus-visible .ce-footer__cta-arrow {
	transform: translateX(3px);
}

/* ---------- Column grid (desktop = flex, weighted columns) ---------- */
.ce-footer__grid {
	display: flex;
	align-items: flex-start;
	gap: var(--ce-f-row-gap) var(--ce-f-col-gap);
	text-align: var(--ce-f-ta);
}

.ce-footer__col {
	flex: 1 1 0%;
	min-width: 0;
}

.ce-footer__col--brand    { flex: 1.5 1 0%; }
.ce-footer__col--services { flex: 1.15 1 0%; }
.ce-footer__col--links    { flex: 0.8 1 0%; }
.ce-footer__col--contact  { flex: 1.3 1 0%; }

/* ---------- Headings ---------- */
.ce-footer .ce-footer__heading {
	margin: 0 0 22px;
	padding: 0;
	color: var(--ce-f-heading);
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.ce-footer .ce-footer__heading::after {
	content: "";
	display: block;
	width: 28px;
	height: 2px;
	margin: 14px var(--ce-f-mr) 0 var(--ce-f-ml);
	background: var(--ce-f-accent);
}

/* ---------- Brand ---------- */
.ce-footer a.ce-footer__brand-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	max-width: 100%;
	color: var(--ce-f-brand);
	text-decoration: none;
}

.ce-footer a.ce-footer__brand-link:hover,
.ce-footer a.ce-footer__brand-link:focus {
	color: var(--ce-f-brand);
	text-decoration: none;
}

.ce-footer__logo {
	display: block;
	width: var(--ce-f-logo-w);
	max-width: 100%;
	height: auto;
}

.ce-footer--logo-white .ce-footer__logo {
	filter: brightness(0) invert(1);
}

.ce-footer__mark {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	background: var(--ce-f-mark-bg);
	color: var(--ce-f-mark-color);
	border-radius: 2px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
}

.ce-footer__brand-name {
	color: var(--ce-f-brand);
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

.ce-footer .ce-footer__desc {
	max-width: 38ch;
	margin: 20px var(--ce-f-mr) 0 var(--ce-f-ml);
	color: var(--ce-f-text);
	font-size: 0.9375rem;
	line-height: 1.7;
}

/* ---------- Social ---------- */
.ce-footer__social-nav {
	margin-top: 26px;
}

.ce-footer .ce-footer__social {
	display: flex;
	flex-wrap: wrap;
	justify-content: var(--ce-f-jc);
	gap: 10px;
}

.ce-footer a.ce-footer__social-link {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 1px solid var(--ce-f-social-line);
	border-radius: 50%;
	color: var(--ce-f-social);
	text-decoration: none;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ce-f-ease);
}

.ce-footer a.ce-footer__social-link:hover,
.ce-footer a.ce-footer__social-link:focus-visible {
	background: var(--ce-f-social-bg-hover);
	border-color: var(--ce-f-social-line-hover);
	color: var(--ce-f-social);
	text-decoration: none;
	transform: translateY(-2px);
}

.ce-footer__social-link i,
.ce-footer__social-link svg {
	display: block;
	width: 1em;
	height: 1em;
	font-size: var(--ce-f-social-size);
	line-height: 1;
}

.ce-footer__social-link svg {
	fill: currentColor;
}

/* ---------- Link lists ---------- */
.ce-footer .ce-footer__list {
	display: grid;
	gap: 8px;
}

.ce-footer .ce-footer__link {
	display: inline-block;
	padding: 2px 0;
	color: var(--ce-f-link);
	font-size: 0.9375rem;
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.25s var(--ce-f-ease);
}

.ce-footer a.ce-footer__link:hover,
.ce-footer a.ce-footer__link:focus-visible {
	color: var(--ce-f-link-hover);
	text-decoration: none;
	transform: translateX(3px);
}

/* Plain-text (no URL) items stay quiet */
.ce-footer span.ce-footer__link {
	cursor: default;
}

/* ---------- Contact ---------- */
.ce-footer address.ce-footer__address {
	margin: 0;
	font-style: normal;
}

.ce-footer .ce-footer__contact-list {
	display: grid;
	gap: 18px;
}

.ce-footer__contact-item {
	display: flex;
	align-items: flex-start;
	justify-content: var(--ce-f-jc);
	gap: 14px;
	text-align: var(--ce-f-ta);
}

.ce-footer__contact-icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	background: var(--ce-f-surface);
	border: 1px solid var(--ce-f-line);
	border-radius: 50%;
	color: var(--ce-f-icon);
}

.ce-footer__contact-text {
	min-width: 0;
	padding-top: 6px;
	color: var(--ce-f-text);
	font-size: 0.9375rem;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.ce-footer__notice {
	display: inline-block;
	padding: 8px 12px;
	border: 1px dashed var(--ce-f-line);
	color: var(--ce-f-text);
	font-size: 0.8125rem;
}

/* ---------- Bottom bar ---------- */
.ce-footer__bottom {
	padding: 22px 32px;
	background: var(--ce-f-bottom-bg);
	border-top: 1px solid var(--ce-f-line);
	color: var(--ce-f-bottom-text);
	font-size: 0.8125rem;
	line-height: 1.5;
}

.ce-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 32px;
}

.ce-footer .ce-footer__copy {
	color: var(--ce-f-bottom-text);
	font-size: 0.8125rem;
}

.ce-footer .ce-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
}

.ce-footer .ce-footer__legal-link {
	display: inline-block;
	padding: 4px 0;
	color: var(--ce-f-bottom-link);
	font-size: 0.8125rem;
	text-decoration: none;
	transition: color 0.2s ease;
}

.ce-footer a.ce-footer__legal-link:hover,
.ce-footer a.ce-footer__legal-link:focus-visible {
	color: var(--ce-f-bottom-link-hover);
	text-decoration: none;
}

/* ==========================================================================
   Alignment (Elementor "Column Content Alignment" control → wrapper classes)
   Desktop value applies everywhere unless tablet/mobile override it.
   ========================================================================== */
.ce-footer-align-left   .ce-footer { --ce-f-ta: left;   --ce-f-jc: flex-start; --ce-f-ml: 0;    --ce-f-mr: auto; }
.ce-footer-align-center .ce-footer { --ce-f-ta: center; --ce-f-jc: center;     --ce-f-ml: auto; --ce-f-mr: auto; }
.ce-footer-align-right  .ce-footer { --ce-f-ta: right;  --ce-f-jc: flex-end;   --ce-f-ml: auto; --ce-f-mr: 0; }

/* ==========================================================================
   Compact desktop (1025–1199px)
   ========================================================================== */
@media (min-width: 1025px) and (max-width: 1199px) {
	.ce-footer { --ce-f-col-gap: 40px; }
	.ce-footer__cta { padding: 32px 32px; }
}

/* ==========================================================================
   Tablet (≤1024px): brand spans the row, other columns in two columns
   ========================================================================== */
@media (max-width: 1024px) {
	.ce-footer-tablet-align-left   .ce-footer { --ce-f-ta: left;   --ce-f-jc: flex-start; --ce-f-ml: 0;    --ce-f-mr: auto; }
	.ce-footer-tablet-align-center .ce-footer { --ce-f-ta: center; --ce-f-jc: center;     --ce-f-ml: auto; --ce-f-mr: auto; }
	.ce-footer-tablet-align-right  .ce-footer { --ce-f-ta: right;  --ce-f-jc: flex-end;   --ce-f-ml: auto; --ce-f-mr: 0; }

	.ce-footer__main {
		padding: 56px 24px 44px;
	}

	.ce-footer__cta {
		margin-bottom: 48px;
		padding: 30px 28px;
	}

	.ce-footer__grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.ce-footer__col,
	.ce-footer__col--brand,
	.ce-footer__col--services,
	.ce-footer__col--links,
	.ce-footer__col--contact {
		flex: none;
	}

	.ce-footer__col--brand,
	.ce-footer__col--wide-tablet {
		grid-column: 1 / -1;
	}

	.ce-footer .ce-footer__desc {
		max-width: 56ch;
	}

	.ce-footer__bottom {
		padding: 20px 24px;
	}
}

/* ==========================================================================
   Mobile (≤767px): single column
   ========================================================================== */
@media (max-width: 767px) {
	.ce-footer-mobile-align-left   .ce-footer { --ce-f-ta: left;   --ce-f-jc: flex-start; --ce-f-ml: 0;    --ce-f-mr: auto; }
	.ce-footer-mobile-align-center .ce-footer { --ce-f-ta: center; --ce-f-jc: center;     --ce-f-ml: auto; --ce-f-mr: auto; }
	.ce-footer-mobile-align-right  .ce-footer { --ce-f-ta: right;  --ce-f-jc: flex-end;   --ce-f-ml: auto; --ce-f-mr: 0; }

	.ce-footer__main {
		padding: 48px 20px 36px;
	}

	.ce-footer__cta {
		flex-direction: column;
		align-items: stretch;
		gap: 22px;
		margin-bottom: 40px;
		padding: 28px 22px 26px 24px;
	}

	.ce-footer__cta-action {
		display: flex;
		justify-content: var(--ce-f-jc);
	}

	.ce-footer a.ce-footer__cta-btn {
		width: 100%;
		padding: 17px 22px;
	}

	.ce-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ce-footer__col--brand,
	.ce-footer__col--wide-tablet {
		grid-column: auto;
	}

	/* Comfortable touch targets */
	.ce-footer .ce-footer__link {
		padding: 5px 0;
	}

	.ce-footer a.ce-footer__social-link {
		width: 44px;
		height: 44px;
	}

	.ce-footer__bottom {
		padding: 20px 20px;
	}

	.ce-footer__bottom-inner {
		flex-direction: column;
		align-items: center;
		gap: 8px;
		text-align: center;
	}

	.ce-footer .ce-footer__legal-list {
		justify-content: center;
		gap: 2px 20px;
	}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.ce-footer *,
	.ce-footer *::before,
	.ce-footer *::after {
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}
}