/*
Theme Name: Aemco Building Contracting
Theme URI: https://aemcobuildingcontracting.com/
Author: Aemco Building Contracting L.L.C.
Author URI: https://aemcobuildingcontracting.com/
Description: A purpose-built WordPress theme for Aemco Building Contracting L.L.C. — a UAE building contracting company. Ships with an Elementor Pro friendly header and footer, Theme Builder location support, company-detail shortcodes, a built-in quote request form and a one-click page setup for Home, About, Services, four service pages and Contact.
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aemco
Tags: business, construction, contracting, elementor, one-column, two-columns, custom-logo, custom-menu, featured-images, translation-ready
*/

/* =============================================================
   1. Design tokens
   ============================================================= */
:root {
	--aemco-ink: #131c1b;
	--aemco-ink-soft: #26322f;
	--aemco-steel: #5d6b67;
	--aemco-slab: #eae7e1;
	--aemco-slab-deep: #ded9d1;
	--aemco-sand: #d9cfbe;
	--aemco-line: #cfc9bf;
	--aemco-paper: #ffffff;
	--aemco-brass: #b08328;
	--aemco-brass-deep: #8e6718;
	--aemco-brass-tint: rgba(176, 131, 40, 0.12);

	--aemco-font-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--aemco-font-body: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--aemco-wrap: 1200px;
	--aemco-wrap-narrow: 800px;
	--aemco-gutter: 24px;
	--aemco-radius: 3px;
	--aemco-section-y: clamp(56px, 7vw, 104px);
	--aemco-shadow: 0 18px 40px -28px rgba(19, 28, 27, 0.55);
	--aemco-transition: 180ms ease;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

body {
	margin: 0;
	background: var(--aemco-slab);
	color: var(--aemco-ink-soft);
	font-family: var(--aemco-font-body);
	font-size: 1.0625rem;
	line-height: 1.72;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}

img,
picture,
video,
iframe,
svg {
	max-width: 100%;
	height: auto;
	display: block;
}

figure {
	margin: 0 0 1.5rem;
}

a {
	color: var(--aemco-brass-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--aemco-transition);
}

a:hover,
a:focus {
	color: var(--aemco-ink);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--aemco-brass);
	outline-offset: 3px;
	border-radius: 2px;
}

hr {
	border: 0;
	border-top: 1px solid var(--aemco-line);
	margin: 2.5rem 0;
}

::selection {
	background: var(--aemco-ink);
	color: var(--aemco-slab);
}

/* =============================================================
   3. Typography
   ============================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--aemco-font-display);
	color: var(--aemco-ink);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.018em;
	margin: 0 0 0.6em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.25rem, 1.55rem + 2.7vw, 3.8rem);
	font-weight: 700;
}

h2 {
	font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.65rem);
}

h3 {
	font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
}

h4 {
	font-size: 1.18rem;
}

h5 {
	font-size: 1.05rem;
}

h6 {
	font-size: 0.95rem;
}

p {
	margin: 0 0 1.35rem;
	max-width: 74ch;
}

ul,
ol {
	margin: 0 0 1.35rem;
	padding-left: 1.25rem;
}

li {
	margin-bottom: 0.5rem;
}

blockquote {
	margin: 2rem 0;
	padding: 0.25rem 0 0.25rem 1.6rem;
	border-left: 3px solid var(--aemco-brass);
	font-size: 1.15rem;
	color: var(--aemco-ink);
}

blockquote cite {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.9rem;
	font-style: normal;
	color: var(--aemco-steel);
}

code,
kbd,
pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.92em;
}

pre {
	background: var(--aemco-ink);
	color: var(--aemco-slab);
	padding: 1.25rem;
	overflow-x: auto;
	border-radius: var(--aemco-radius);
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.75rem;
	font-size: 0.97rem;
}

th,
td {
	border-bottom: 1px solid var(--aemco-line);
	padding: 0.7rem 0.8rem;
	text-align: left;
}

th {
	font-family: var(--aemco-font-display);
	color: var(--aemco-ink);
	font-weight: 600;
}

/* =============================================================
   4. Layout primitives
   ============================================================= */
.aemco-wrap {
	width: 100%;
	max-width: var(--aemco-wrap);
	margin-inline: auto;
	padding-inline: var(--aemco-gutter);
}

.aemco-wrap--narrow {
	max-width: var(--aemco-wrap-narrow);
}

.aemco-section {
	padding-block: var(--aemco-section-y);
}

.aemco-section--tight {
	padding-block: clamp(40px, 5vw, 72px);
}

.aemco-section--paper {
	background: var(--aemco-paper);
}

.aemco-section--slab {
	background: var(--aemco-slab);
}

.aemco-section--ink {
	background: var(--aemco-ink);
	color: rgba(234, 231, 225, 0.82);
}

.aemco-section--ink h1,
.aemco-section--ink h2,
.aemco-section--ink h3,
.aemco-section--ink h4 {
	color: #fff;
}

.aemco-section--ink a {
	color: var(--aemco-sand);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--aemco-ink);
	color: #fff;
	padding: 0.85rem 1.4rem;
	font-family: var(--aemco-font-display);
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
	color: #fff;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

/* =============================================================
   5. Buttons
   ============================================================= */
.aemco-btn,
.wp-block-button__link,
button,
input[type="submit"],
input[type="button"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	font-family: var(--aemco-font-display);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	padding: 0.95rem 1.6rem;
	border: 1px solid var(--aemco-ink);
	border-radius: var(--aemco-radius);
	background: var(--aemco-ink);
	color: #fff;
	cursor: pointer;
	text-decoration: none;
	transition: background var(--aemco-transition), color var(--aemco-transition), border-color var(--aemco-transition), transform var(--aemco-transition);
}

.aemco-btn:hover,
.aemco-btn:focus,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
	background: var(--aemco-brass-deep);
	border-color: var(--aemco-brass-deep);
	color: #fff;
}

.aemco-btn--brass {
	background: var(--aemco-brass);
	border-color: var(--aemco-brass);
	color: var(--aemco-ink);
}

.aemco-btn--brass:hover,
.aemco-btn--brass:focus {
	background: var(--aemco-ink);
	border-color: var(--aemco-ink);
	color: #fff;
}

.aemco-btn--ghost {
	background: transparent;
	color: var(--aemco-ink);
	border-color: var(--aemco-line);
}

.aemco-btn--ghost:hover,
.aemco-btn--ghost:focus {
	background: var(--aemco-ink);
	border-color: var(--aemco-ink);
	color: #fff;
}

.aemco-section--ink .aemco-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}

.aemco-section--ink .aemco-btn--ghost:hover {
	background: #fff;
	color: var(--aemco-ink);
	border-color: #fff;
}

.aemco-btn--sm {
	padding: 0.7rem 1.1rem;
	font-size: 0.88rem;
}

/* =============================================================
   6. Forms
   ============================================================= */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="date"],
select,
textarea {
	width: 100%;
	font-family: inherit;
	font-size: 1rem;
	color: var(--aemco-ink);
	background: var(--aemco-paper);
	border: 1px solid var(--aemco-line);
	border-radius: var(--aemco-radius);
	padding: 0.85rem 1rem;
	transition: border-color var(--aemco-transition), box-shadow var(--aemco-transition);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--aemco-brass);
	box-shadow: 0 0 0 3px var(--aemco-brass-tint);
	outline: none;
}

textarea {
	min-height: 150px;
	resize: vertical;
}

label {
	display: block;
	font-family: var(--aemco-font-display);
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--aemco-ink);
	margin-bottom: 0.4rem;
}

/* =============================================================
   7. Site header
   ============================================================= */
.aemco-topbar {
	background: var(--aemco-ink);
	color: rgba(234, 231, 225, 0.78);
	font-size: 0.85rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.aemco-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.75rem;
	min-height: 46px;
	padding-block: 0.4rem;
}

.aemco-topbar__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aemco-topbar__list li {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.aemco-topbar a {
	color: inherit;
	text-decoration: none;
}

.aemco-topbar a:hover {
	color: var(--aemco-sand);
}

.aemco-topbar svg {
	width: 15px;
	height: 15px;
	flex: none;
	color: var(--aemco-brass);
}

.aemco-header {
	position: sticky;
	top: 0;
	z-index: 120;
	background: var(--aemco-paper);
	border-bottom: 1px solid var(--aemco-line);
}

body.admin-bar .aemco-header {
	top: 32px;
}

.aemco-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 84px;
	transition: min-height var(--aemco-transition);
}

.aemco-header.is-stuck .aemco-header__inner {
	min-height: 68px;
}

.aemco-brand {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	text-decoration: none;
	color: var(--aemco-ink);
	flex: none;
}

.aemco-brand img {
	max-height: 56px;
	width: auto;
}

.aemco-brand__mark {
	width: 42px;
	height: 42px;
	flex: none;
}

.aemco-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.aemco-brand__name {
	font-family: var(--aemco-font-display);
	font-weight: 700;
	font-size: 1.24rem;
	letter-spacing: -0.02em;
	color: var(--aemco-ink);
}

.aemco-brand__tag {
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--aemco-steel);
}

.aemco-header__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

/* Primary navigation */
.aemco-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aemco-nav > ul {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.aemco-nav li {
	position: relative;
	margin: 0;
}

.aemco-nav a {
	display: block;
	font-family: var(--aemco-font-display);
	font-size: 0.97rem;
	font-weight: 500;
	color: var(--aemco-ink);
	text-decoration: none;
	padding: 0.6rem 0.85rem;
	border-radius: var(--aemco-radius);
}

.aemco-nav a:hover,
.aemco-nav a:focus {
	color: var(--aemco-brass-deep);
	background: var(--aemco-brass-tint);
}

.aemco-nav .current-menu-item > a,
.aemco-nav .current-menu-ancestor > a,
.aemco-nav .current_page_item > a,
.aemco-nav .current_page_parent > a {
	color: var(--aemco-brass-deep);
	box-shadow: inset 0 -2px 0 var(--aemco-brass);
}

.aemco-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 0.5rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.aemco-nav .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 260px;
	background: var(--aemco-paper);
	border: 1px solid var(--aemco-line);
	border-top: 2px solid var(--aemco-brass);
	box-shadow: var(--aemco-shadow);
	padding: 0.4rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--aemco-transition), transform var(--aemco-transition), visibility var(--aemco-transition);
}

.aemco-nav li:hover > .sub-menu,
.aemco-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.aemco-nav .sub-menu a {
	padding: 0.65rem 0.8rem;
	font-weight: 400;
	font-size: 0.94rem;
	border-bottom: 1px solid rgba(207, 201, 191, 0.5);
}

.aemco-nav .sub-menu li:last-child > a {
	border-bottom: 0;
}

.aemco-nav .sub-menu .sub-menu {
	top: -0.4rem;
	left: 100%;
}

/* Mobile toggle */
.aemco-burger {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--aemco-line);
	color: var(--aemco-ink);
	align-items: center;
	justify-content: center;
}

.aemco-burger:hover {
	background: var(--aemco-ink);
	color: #fff;
}

.aemco-burger span {
	position: relative;
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
}

.aemco-burger span::before,
.aemco-burger span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 20px;
	height: 2px;
	background: currentColor;
	transition: transform var(--aemco-transition), top var(--aemco-transition);
}

.aemco-burger span::before {
	top: -6px;
}

.aemco-burger span::after {
	top: 6px;
}

.aemco-burger[aria-expanded="true"] span {
	background: transparent;
}

.aemco-burger[aria-expanded="true"] span::before {
	top: 0;
	transform: rotate(45deg);
}

.aemco-burger[aria-expanded="true"] span::after {
	top: 0;
	transform: rotate(-45deg);
}

.aemco-mobile-nav {
	display: none;
	background: var(--aemco-paper);
	border-top: 1px solid var(--aemco-line);
	padding: 1rem var(--aemco-gutter) 1.75rem;
}

.aemco-mobile-nav.is-open {
	display: block;
}

.aemco-mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aemco-mobile-nav li {
	margin: 0;
	border-bottom: 1px solid var(--aemco-line);
}

.aemco-mobile-nav a {
	display: block;
	padding: 0.95rem 0;
	font-family: var(--aemco-font-display);
	font-weight: 500;
	color: var(--aemco-ink);
	text-decoration: none;
}

.aemco-mobile-nav .sub-menu {
	padding-left: 1rem;
	border-top: 1px solid var(--aemco-line);
}

.aemco-mobile-nav .sub-menu a {
	font-weight: 400;
	font-size: 0.95rem;
	color: var(--aemco-steel);
}

.aemco-mobile-nav__cta {
	margin-top: 1.4rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

@media (max-width: 1024px) {
	.aemco-nav,
	.aemco-header__actions .aemco-btn {
		display: none;
	}

	.aemco-burger {
		display: inline-flex;
	}
}

/* =============================================================
   8. Page header / hero
   ============================================================= */
.aemco-pagehead {
	background: var(--aemco-ink);
	color: rgba(234, 231, 225, 0.8);
	padding-block: clamp(52px, 6vw, 84px);
	position: relative;
	overflow: hidden;
}

.aemco-pagehead::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(135deg, rgba(176, 131, 40, 0.14) 0 1px, transparent 1px 22px);
	pointer-events: none;
}

.aemco-pagehead__inner {
	position: relative;
	z-index: 1;
	max-width: 780px;
}

.aemco-pagehead h1 {
	color: #fff;
	margin-bottom: 0.5rem;
}

.aemco-pagehead p {
	margin-bottom: 0;
	font-size: 1.08rem;
}

.aemco-breadcrumb {
	font-size: 0.85rem;
	color: rgba(234, 231, 225, 0.6);
	margin-bottom: 1.1rem;
}

.aemco-breadcrumb a {
	color: var(--aemco-sand);
	text-decoration: none;
}

.aemco-breadcrumb a:hover {
	text-decoration: underline;
}

.aemco-breadcrumb span + span::before {
	content: "/";
	margin: 0 0.55rem;
	color: rgba(234, 231, 225, 0.35);
}

/* Home hero */
.aemco-hero {
	background: var(--aemco-ink);
	color: rgba(234, 231, 225, 0.84);
	position: relative;
	overflow: hidden;
	padding-block: clamp(60px, 7vw, 112px);
}

.aemco-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.aemco-hero h1 {
	color: #fff;
	margin-bottom: 1rem;
}

.aemco-hero__lead {
	font-size: 1.12rem;
	max-width: 56ch;
	margin-bottom: 2rem;
}

.aemco-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-bottom: 2.5rem;
}

.aemco-hero__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.aemco-hero__fact {
	background: var(--aemco-ink);
	padding: 1.1rem 1.2rem;
}

.aemco-hero__fact strong {
	display: block;
	font-family: var(--aemco-font-display);
	font-size: 1.5rem;
	color: #fff;
	line-height: 1.1;
}

.aemco-hero__fact span {
	font-size: 0.85rem;
	color: rgba(234, 231, 225, 0.62);
}

.aemco-hero__panel {
	background: var(--aemco-paper);
	color: var(--aemco-ink-soft);
	border-top: 4px solid var(--aemco-brass);
	padding: clamp(24px, 3vw, 36px);
	box-shadow: var(--aemco-shadow);
}

.aemco-hero__panel h2 {
	font-size: 1.35rem;
	margin-bottom: 0.4rem;
}

.aemco-hero__panel p {
	font-size: 0.95rem;
	color: var(--aemco-steel);
}

@media (max-width: 860px) {
	.aemco-hero__grid {
		grid-template-columns: 1fr;
	}
}

/* =============================================================
   9. Content components (usable inside Elementor as CSS classes)
   ============================================================= */
.aemco-lede {
	font-size: 1.18rem;
	line-height: 1.65;
	color: var(--aemco-ink);
	max-width: 68ch;
}

.aemco-rule {
	width: 56px;
	height: 3px;
	background: var(--aemco-brass);
	margin-bottom: 1.4rem;
}

.aemco-grid {
	display: grid;
	gap: clamp(18px, 2.4vw, 30px);
}

.aemco-grid--2 {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.aemco-grid--3 {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.aemco-grid--4 {
	grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}

.aemco-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
}

@media (max-width: 860px) {
	.aemco-split {
		grid-template-columns: 1fr;
	}
}

.aemco-card {
	background: var(--aemco-paper);
	border: 1px solid var(--aemco-line);
	padding: clamp(22px, 2.6vw, 32px);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.aemco-card h3 {
	margin-bottom: 0.6rem;
}

.aemco-card p {
	color: var(--aemco-steel);
	font-size: 0.98rem;
	margin-bottom: 1.1rem;
}

.aemco-card__link {
	margin-top: auto;
	font-family: var(--aemco-font-display);
	font-weight: 600;
	font-size: 0.93rem;
	text-decoration: none;
	color: var(--aemco-ink);
	border-bottom: 2px solid var(--aemco-brass);
	align-self: flex-start;
	padding-bottom: 2px;
}

.aemco-card__link:hover {
	color: var(--aemco-brass-deep);
}

.aemco-card__icon {
	width: 40px;
	height: 40px;
	color: var(--aemco-brass-deep);
	margin-bottom: 1.1rem;
}

.aemco-service-card {
	border-top: 3px solid var(--aemco-ink);
}

.aemco-service-card:nth-child(2n) {
	border-top-color: var(--aemco-brass);
}

/* Numbered process — a genuine sequence */
.aemco-steps {
	counter-reset: aemco-step;
	display: grid;
	gap: 0;
	border-top: 1px solid var(--aemco-line);
}

.aemco-step {
	counter-increment: aemco-step;
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr);
	gap: clamp(16px, 3vw, 40px);
	padding-block: clamp(22px, 2.6vw, 32px);
	border-bottom: 1px solid var(--aemco-line);
	align-items: baseline;
}

.aemco-step::before {
	content: counter(aemco-step, decimal-leading-zero);
	font-family: var(--aemco-font-display);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--aemco-brass);
	line-height: 1;
}

.aemco-step h3 {
	margin-bottom: 0.35rem;
	font-size: 1.24rem;
}

.aemco-step p {
	margin-bottom: 0;
	color: var(--aemco-steel);
}

@media (max-width: 600px) {
	.aemco-step {
		grid-template-columns: 54px minmax(0, 1fr);
	}
}

/* Checklist */
.aemco-check {
	list-style: none;
	padding: 0;
	margin: 0 0 1.6rem;
	display: grid;
	gap: 0.7rem;
}

.aemco-check li {
	position: relative;
	padding-left: 1.9rem;
	margin: 0;
}

.aemco-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 11px;
	height: 6px;
	border-left: 2px solid var(--aemco-brass);
	border-bottom: 2px solid var(--aemco-brass);
	transform: rotate(-45deg);
}

/* Fact strip */
.aemco-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1px;
	background: var(--aemco-line);
	border: 1px solid var(--aemco-line);
}

.aemco-facts > div {
	background: var(--aemco-paper);
	padding: 1.6rem 1.4rem;
}

.aemco-facts strong {
	display: block;
	font-family: var(--aemco-font-display);
	font-size: 1.8rem;
	color: var(--aemco-ink);
	line-height: 1.1;
	margin-bottom: 0.25rem;
}

.aemco-facts span {
	font-size: 0.9rem;
	color: var(--aemco-steel);
}

/* CTA band */
.aemco-cta {
	background: var(--aemco-ink);
	color: rgba(234, 231, 225, 0.82);
	padding-block: clamp(44px, 5vw, 72px);
}

.aemco-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.75rem;
}

.aemco-cta h2 {
	color: #fff;
	margin-bottom: 0.4rem;
}

.aemco-cta p {
	margin-bottom: 0;
	max-width: 60ch;
}

.aemco-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
}

/* Contact blocks */
.aemco-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.4rem;
}

.aemco-contact-list li {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 1rem;
	margin: 0;
	align-items: start;
}

.aemco-contact-list svg {
	width: 22px;
	height: 22px;
	color: var(--aemco-brass-deep);
	margin-top: 4px;
}

.aemco-contact-list strong {
	display: block;
	font-family: var(--aemco-font-display);
	color: var(--aemco-ink);
	font-size: 0.95rem;
	margin-bottom: 0.15rem;
}

.aemco-contact-list a {
	color: var(--aemco-ink-soft);
	text-decoration: none;
}

.aemco-contact-list a:hover {
	color: var(--aemco-brass-deep);
	text-decoration: underline;
}

/* Quote form */
.aemco-form {
	background: var(--aemco-paper);
	border: 1px solid var(--aemco-line);
	border-top: 4px solid var(--aemco-brass);
	padding: clamp(24px, 3vw, 38px);
}

.aemco-form__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1.1rem;
	margin-bottom: 1.1rem;
}

.aemco-form__field--full {
	grid-column: 1 / -1;
}

.aemco-form__hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
}

.aemco-form__note {
	font-size: 0.85rem;
	color: var(--aemco-steel);
	margin: 1rem 0 0;
}

.aemco-notice {
	padding: 1rem 1.2rem;
	border-left: 3px solid var(--aemco-brass);
	background: var(--aemco-brass-tint);
	margin-bottom: 1.5rem;
	font-size: 0.97rem;
}

.aemco-notice--error {
	border-left-color: #a8341f;
	background: rgba(168, 52, 31, 0.08);
}

.aemco-notice p:last-child {
	margin-bottom: 0;
}

/* =============================================================
   10. Blog, archives, comments
   ============================================================= */
.aemco-main {
	background: var(--aemco-slab);
}

.aemco-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(32px, 4vw, 56px);
	align-items: start;
}

.aemco-layout--full {
	grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 960px) {
	.aemco-layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

.aemco-entry {
	background: var(--aemco-paper);
	border: 1px solid var(--aemco-line);
	padding: clamp(24px, 3.4vw, 52px);
}

.aemco-entry__meta {
	font-size: 0.88rem;
	color: var(--aemco-steel);
	margin-bottom: 1.1rem;
}

.aemco-entry__thumb {
	margin-bottom: 1.6rem;
}

.aemco-entry__title {
	margin-bottom: 0.5rem;
}

.aemco-entry__title a {
	color: var(--aemco-ink);
	text-decoration: none;
}

.aemco-entry__title a:hover {
	color: var(--aemco-brass-deep);
}

.aemco-entry + .aemco-entry {
	margin-top: clamp(20px, 2.5vw, 32px);
}

.aemco-entry-content > *:last-child {
	margin-bottom: 0;
}

.aemco-entry-content img {
	height: auto;
}

.aemco-entry-content .alignleft {
	float: left;
	margin: 0 1.6rem 1.2rem 0;
}

.aemco-entry-content .alignright {
	float: right;
	margin: 0 0 1.2rem 1.6rem;
}

.aemco-entry-content .aligncenter {
	margin-inline: auto;
}

.aemco-pagination {
	margin-top: 2.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.aemco-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.75rem;
	border: 1px solid var(--aemco-line);
	background: var(--aemco-paper);
	color: var(--aemco-ink);
	font-family: var(--aemco-font-display);
	font-weight: 500;
	text-decoration: none;
}

.aemco-pagination .page-numbers.current,
.aemco-pagination .page-numbers:hover {
	background: var(--aemco-ink);
	border-color: var(--aemco-ink);
	color: #fff;
}

.aemco-sidebar .widget {
	background: var(--aemco-paper);
	border: 1px solid var(--aemco-line);
	padding: 1.6rem;
	margin-bottom: 1.5rem;
}

.aemco-sidebar .widget-title {
	font-size: 1.05rem;
	margin-bottom: 1rem;
	padding-bottom: 0.7rem;
	border-bottom: 1px solid var(--aemco-line);
}

.aemco-sidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.aemco-sidebar li {
	padding: 0.45rem 0;
	border-bottom: 1px solid rgba(207, 201, 191, 0.55);
}

.aemco-sidebar li:last-child {
	border-bottom: 0;
}

.aemco-sidebar a {
	color: var(--aemco-ink-soft);
	text-decoration: none;
}

.aemco-sidebar a:hover {
	color: var(--aemco-brass-deep);
}

.aemco-search-form {
	display: flex;
	gap: 0.5rem;
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
}

.comment-list .children {
	list-style: none;
	padding-left: clamp(16px, 3vw, 40px);
}

.comment-body {
	background: var(--aemco-paper);
	border: 1px solid var(--aemco-line);
	padding: 1.4rem;
	margin-bottom: 1.2rem;
}

.comment-meta {
	font-size: 0.85rem;
	color: var(--aemco-steel);
	margin-bottom: 0.6rem;
}

/* 404 */
.aemco-404 {
	text-align: center;
	padding-block: clamp(60px, 8vw, 120px);
}

.aemco-404 .aemco-search-form {
	max-width: 420px;
	margin: 2rem auto 0;
}

/* =============================================================
   11. Footer
   ============================================================= */
.aemco-footer {
	background: var(--aemco-ink);
	color: rgba(234, 231, 225, 0.7);
	font-size: 0.96rem;
}

.aemco-footer a {
	color: rgba(234, 231, 225, 0.7);
	text-decoration: none;
}

.aemco-footer a:hover {
	color: #fff;
}

.aemco-footer__top {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: clamp(28px, 3.5vw, 56px);
	padding-block: clamp(48px, 6vw, 78px);
}

@media (max-width: 900px) {
	.aemco-footer__top {
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	}
}

.aemco-footer h2,
.aemco-footer h3,
.aemco-footer .widget-title {
	color: #fff;
	font-size: 1rem;
	letter-spacing: 0.02em;
	margin-bottom: 1.1rem;
	padding-bottom: 0.7rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.aemco-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aemco-footer li {
	margin-bottom: 0.6rem;
}

.aemco-footer__about p {
	max-width: 42ch;
}

.aemco-footer__brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.2rem;
}

.aemco-footer__brand .aemco-brand__name {
	color: #fff;
	font-size: 1.12rem;
}

.aemco-footer__brand .aemco-brand__tag {
	color: rgba(234, 231, 225, 0.55);
}

.aemco-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-block: 1.4rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	align-items: center;
	justify-content: space-between;
	font-size: 0.87rem;
	color: rgba(234, 231, 225, 0.55);
}

.aemco-footer__bottom ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem;
}

.aemco-footer__bottom li {
	margin: 0;
}

.aemco-social {
	display: flex;
	gap: 0.6rem;
	margin-top: 1.2rem;
}

.aemco-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(234, 231, 225, 0.8);
}

.aemco-social a:hover {
	background: var(--aemco-brass);
	border-color: var(--aemco-brass);
	color: var(--aemco-ink);
}

.aemco-social svg {
	width: 17px;
	height: 17px;
}

/* Floating actions */
.aemco-totop {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--aemco-ink);
	background: var(--aemco-ink);
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity var(--aemco-transition), transform var(--aemco-transition), visibility var(--aemco-transition);
}

.aemco-totop.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.aemco-totop svg {
	width: 18px;
	height: 18px;
}

/* =============================================================
   12. WordPress core classes
   ============================================================= */
.alignwide {
	max-width: 1100px;
	margin-inline: auto;
}

.alignfull {
	width: 100%;
}

.wp-caption-text,
.wp-element-caption {
	font-size: 0.86rem;
	color: var(--aemco-steel);
	padding-top: 0.5rem;
}

.sticky .aemco-entry__title::after {
	content: "Featured";
	display: inline-block;
	margin-left: 0.75rem;
	font-family: var(--aemco-font-body);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	background: var(--aemco-brass-tint);
	color: var(--aemco-brass-deep);
	padding: 0.2rem 0.5rem;
	vertical-align: middle;
}

/* Elementor harmony */
.elementor-widget-text-editor p:last-of-type {
	margin-bottom: 0;
}

.elementor-page .aemco-entry {
	background: transparent;
	border: 0;
	padding: 0;
}

@media print {
	.aemco-topbar,
	.aemco-header,
	.aemco-footer,
	.aemco-totop,
	.aemco-cta {
		display: none !important;
	}

	body {
		background: #fff;
	}
}

/* Small-screen refinements */
@media (max-width: 680px) {
	.aemco-topbar__list:first-child {
		display: none;
	}

	.aemco-topbar__inner {
		justify-content: center;
	}
}

.aemco-mobile-nav li {
	position: relative;
}

.aemco-mobile-nav .menu-item-has-children > a {
	padding-right: 3.5rem;
}

.aemco-map iframe {
	width: 100%;
	min-height: 380px;
	border: 1px solid var(--aemco-line);
	display: block;
}

.aemco-map {
	margin-top: clamp(28px, 4vw, 48px);
}

/* =============================================================
   13. Photography
   ============================================================= */
.aemco-figure {
	margin: 0;
	overflow: hidden;
	background: var(--aemco-slab-deep);
	position: relative;
}

.aemco-figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.aemco-figure--4-3 {
	aspect-ratio: 4 / 3;
}

.aemco-figure--16-9 {
	aspect-ratio: 16 / 9;
}

.aemco-figure--1-1 {
	aspect-ratio: 1 / 1;
}

.aemco-figure--3-4 {
	aspect-ratio: 3 / 4;
}

.aemco-figure--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--aemco-ink);
	background-image: repeating-linear-gradient(135deg, rgba(176, 131, 40, 0.22) 0 2px, transparent 2px 16px);
}

.aemco-figure--empty span {
	font-family: var(--aemco-font-display);
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(234, 231, 225, 0.55);
	border: 1px solid rgba(234, 231, 225, 0.28);
	padding: 0.35rem 0.8rem;
}

/* Framed image, used beside text blocks */
.aemco-figure--framed {
	border-bottom: 4px solid var(--aemco-brass);
}

/* Media block: image next to a column of text */
.aemco-media {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: center;
}

.aemco-media--reverse .aemco-media__text {
	order: 2;
}

.aemco-media__text > *:last-child {
	margin-bottom: 0;
}

@media (max-width: 860px) {
	.aemco-media {
		grid-template-columns: 1fr;
	}

	.aemco-media--reverse .aemco-media__text {
		order: 0;
	}
}

/* Recent work gallery */
.aemco-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: clamp(12px, 1.6vw, 20px);
}

.aemco-gallery__item {
	position: relative;
	overflow: hidden;
}

.aemco-gallery__label {
	position: absolute;
	left: 0;
	bottom: 0;
	background: var(--aemco-ink);
	color: #fff;
	font-family: var(--aemco-font-display);
	font-size: 0.82rem;
	font-weight: 500;
	padding: 0.5rem 0.9rem;
}

.aemco-card__media {
	margin: calc(-1 * clamp(22px, 2.6vw, 32px)) calc(-1 * clamp(22px, 2.6vw, 32px)) 1.4rem;
}

.aemco-service-card .aemco-card__icon {
	width: 34px;
	height: 34px;
	margin-bottom: 0.8rem;
}

/* =============================================================
   14. Sections added for the services and sub-service pages
   ============================================================= */

/* Contact strip under the hero */
.aemco-strip {
	background: var(--aemco-paper);
	border-bottom: 1px solid var(--aemco-line);
}

.aemco-strip__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1px;
	background: var(--aemco-line);
	border-inline: 1px solid var(--aemco-line);
}

.aemco-strip__item {
	background: var(--aemco-paper);
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 0.9rem;
	align-items: center;
	padding: 1.5rem 1.6rem;
}

.aemco-strip__item svg {
	width: 24px;
	height: 24px;
	color: var(--aemco-brass-deep);
}

.aemco-strip__item strong {
	display: block;
	font-family: var(--aemco-font-display);
	font-size: 1.02rem;
	color: var(--aemco-ink);
	line-height: 1.3;
}

.aemco-strip__item span {
	font-size: 0.84rem;
	color: var(--aemco-steel);
}

.aemco-strip__item a {
	color: inherit;
	text-decoration: none;
}

.aemco-strip__item a:hover {
	color: var(--aemco-brass-deep);
}

/* Why-choose-us tiles */
.aemco-reasons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1px;
	background: var(--aemco-line);
	border: 1px solid var(--aemco-line);
}

.aemco-reason {
	background: var(--aemco-paper);
	padding: clamp(22px, 2.6vw, 34px);
}

.aemco-reason h3 {
	font-size: 1.12rem;
	margin-bottom: 0.5rem;
}

.aemco-reason p {
	margin-bottom: 0;
	font-size: 0.96rem;
	color: var(--aemco-steel);
}

.aemco-reason__icon {
	color: var(--aemco-brass-deep);
	margin-bottom: 1rem;
	display: block;
}

.aemco-section--ink .aemco-reasons {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.12);
}

.aemco-section--ink .aemco-reason {
	background: var(--aemco-ink);
}

.aemco-section--ink .aemco-reason p {
	color: rgba(234, 231, 225, 0.72);
}

/* Coverage areas */
.aemco-areas {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: clamp(10px, 1.4vw, 16px);
}

.aemco-area {
	border: 1px solid var(--aemco-line);
	background: var(--aemco-paper);
	padding: 1.1rem 1.2rem;
	font-family: var(--aemco-font-display);
	font-weight: 600;
	color: var(--aemco-ink);
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.aemco-area::before {
	content: "";
	width: 8px;
	height: 8px;
	background: var(--aemco-brass);
	flex: none;
}

/* FAQ */
.aemco-faq {
	border-top: 1px solid var(--aemco-line);
	max-width: 860px;
}

.aemco-faq details {
	border-bottom: 1px solid var(--aemco-line);
	padding: 0.35rem 0;
}

.aemco-faq summary {
	cursor: pointer;
	list-style: none;
	font-family: var(--aemco-font-display);
	font-size: 1.06rem;
	font-weight: 600;
	color: var(--aemco-ink);
	padding: 1.05rem 2.5rem 1.05rem 0;
	position: relative;
}

.aemco-faq summary::-webkit-details-marker {
	display: none;
}

.aemco-faq summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 1.45rem;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--aemco-brass);
	border-bottom: 2px solid var(--aemco-brass);
	transform: rotate(45deg);
	transition: transform var(--aemco-transition);
}

.aemco-faq details[open] summary::after {
	transform: rotate(-135deg);
	top: 1.7rem;
}

.aemco-faq details p {
	margin: 0 0 1.1rem;
	color: var(--aemco-steel);
	max-width: 70ch;
}

/* Related services */
.aemco-related {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: clamp(12px, 1.6vw, 18px);
}

.aemco-related a {
	display: block;
	border: 1px solid var(--aemco-line);
	background: var(--aemco-paper);
	padding: 1.2rem 1.3rem;
	text-decoration: none;
	font-family: var(--aemco-font-display);
	font-weight: 600;
	color: var(--aemco-ink);
	border-left: 3px solid var(--aemco-brass);
}

.aemco-related a:hover {
	background: var(--aemco-ink);
	color: #fff;
}

/* Side panel used on sub-service pages */
.aemco-aside {
	display: grid;
	gap: clamp(18px, 2.2vw, 26px);
	align-content: start;
}

.aemco-panel {
	background: var(--aemco-paper);
	border: 1px solid var(--aemco-line);
	border-top: 4px solid var(--aemco-brass);
	padding: clamp(22px, 2.6vw, 32px);
}

.aemco-panel h3 {
	font-size: 1.18rem;
	margin-bottom: 0.6rem;
}

.aemco-panel p {
	font-size: 0.96rem;
	color: var(--aemco-steel);
}

.aemco-panel--ink {
	background: var(--aemco-ink);
	border-color: var(--aemco-ink);
	color: rgba(234, 231, 225, 0.78);
}

.aemco-panel--ink h3 {
	color: #fff;
}

.aemco-panel--ink p {
	color: rgba(234, 231, 225, 0.72);
}

.aemco-sticky {
	position: sticky;
	top: 120px;
}

@media (max-width: 960px) {
	.aemco-sticky {
		position: static;
	}
}

/* Two-column layout for sub-service pages */
.aemco-with-aside {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(28px, 3.5vw, 56px);
	align-items: start;
}

@media (max-width: 960px) {
	.aemco-with-aside {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Eyebrow label above a heading, used sparingly */
.aemco-eyebrow {
	display: block;
	font-family: var(--aemco-font-display);
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--aemco-brass-deep);
	margin-bottom: 0.5rem;
}

.aemco-section--ink .aemco-eyebrow {
	color: var(--aemco-sand);
}

/* =============================================================
   15. Elementor helper classes
   Applied through a widget's Advanced → CSS Classes field, so
   Elementor widgets pick up the theme's buttons and image crops.
   ============================================================= */
.aemco-elbtn .elementor-button {
	font-family: var(--aemco-font-display);
	font-size: 0.98rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	padding: 0.95rem 1.6rem;
	border: 1px solid var(--aemco-ink);
	border-radius: var(--aemco-radius);
	background-color: var(--aemco-ink);
	color: #fff;
	transition: background-color var(--aemco-transition), border-color var(--aemco-transition), color var(--aemco-transition);
}

.aemco-elbtn .elementor-button:hover,
.aemco-elbtn .elementor-button:focus {
	background-color: var(--aemco-brass-deep);
	border-color: var(--aemco-brass-deep);
	color: #fff;
}

.aemco-elbtn--brass .elementor-button {
	background-color: var(--aemco-brass);
	border-color: var(--aemco-brass);
	color: var(--aemco-ink);
}

.aemco-elbtn--brass .elementor-button:hover,
.aemco-elbtn--brass .elementor-button:focus {
	background-color: #fff;
	border-color: #fff;
	color: var(--aemco-ink);
}

.aemco-elbtn--ghost .elementor-button {
	background-color: transparent;
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}

.aemco-elbtn--ghost .elementor-button:hover,
.aemco-elbtn--ghost .elementor-button:focus {
	background-color: #fff;
	border-color: #fff;
	color: var(--aemco-ink);
}

/* Cropped images for the Elementor Image widget */
.aemco-crop .elementor-widget-container {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--aemco-slab-deep);
}

.aemco-crop--16-9 .elementor-widget-container {
	aspect-ratio: 16 / 9;
}

.aemco-crop--1-1 .elementor-widget-container {
	aspect-ratio: 1 / 1;
}

.aemco-crop img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.aemco-crop--framed .elementor-widget-container {
	border-bottom: 4px solid var(--aemco-brass);
}

/* Columns used as cards or reason tiles keep their own padding */
.elementor-column.aemco-card,
.elementor-column.aemco-reason {
	display: block;
}

.elementor-column.aemco-card > .elementor-widget-wrap,
.elementor-column.aemco-reason > .elementor-widget-wrap {
	height: 100%;
	align-content: start;
}

/* =============================================================
   16. Dark-background headings
   Elementor's Theme Style writes a colour onto every h1–h6, and its
   stylesheet loads after this one, so a plain `.aemco-pagehead h1`
   would lose the tie and headings on dark bands would turn ink.
   These selectors carry one extra class so they win outright.
   ============================================================= */
.aemco-site .aemco-pagehead h1,
.aemco-site .aemco-pagehead h2,
.aemco-site .aemco-hero h1,
.aemco-site .aemco-hero__fact strong,
.aemco-site .aemco-cta h2,
.aemco-site .aemco-cta h3,
.aemco-site .aemco-footer h2,
.aemco-site .aemco-footer h3,
.aemco-site .aemco-footer .widget-title,
.aemco-site .aemco-footer .aemco-brand__name,
.aemco-site .aemco-panel--ink h3,
.aemco-site .aemco-section--ink > .aemco-wrap > h1,
.aemco-site .aemco-section--ink > .aemco-wrap > h2,
.aemco-site .aemco-section--ink > .aemco-wrap > h3,
.aemco-site .aemco-section--ink > .aemco-wrap > h4,
.aemco-site .aemco-section--ink > .aemco-wrap > .aemco-split h2,
.aemco-site .aemco-section--ink > .aemco-wrap > .aemco-media h2 {
	color: #fff;
}

/* Light tiles that sit inside a dark band keep ink headings. */
.aemco-site .aemco-section--ink .aemco-reason h3,
.aemco-site .aemco-section--ink .aemco-card h3,
.aemco-site .aemco-section--ink .aemco-panel:not(.aemco-panel--ink) h3,
.aemco-site .aemco-hero__panel h2,
.aemco-site .aemco-hero__panel h3 {
	color: var(--aemco-ink);
}

/* Body copy on dark bands, for the same reason. */
.aemco-site .aemco-pagehead p,
.aemco-site .aemco-hero__lead,
.aemco-site .aemco-cta p {
	color: rgba(234, 231, 225, 0.82);
}

.aemco-site .aemco-hero__panel p,
.aemco-site .aemco-hero__panel li {
	color: var(--aemco-steel);
}

/* =============================================================
   17. Link and button colours
   Elementor's Theme Style colours links with a selector that carries
   an element name (`.elementor-kit-N a`), which outranks a plain
   `.aemco-btn` class and loads later. Qualifying with `a.` and the
   site wrapper puts the theme back in charge.
   ============================================================= */
.aemco-site a.aemco-btn {
	color: #fff;
}

.aemco-site a.aemco-btn:hover,
.aemco-site a.aemco-btn:focus {
	background: var(--aemco-brass-deep);
	border-color: var(--aemco-brass-deep);
	color: #fff;
}

.aemco-site a.aemco-btn--brass {
	background: var(--aemco-brass);
	border-color: var(--aemco-brass);
	color: var(--aemco-ink);
}

.aemco-site a.aemco-btn--brass:hover,
.aemco-site a.aemco-btn--brass:focus {
	background: var(--aemco-ink);
	border-color: var(--aemco-ink);
	color: #fff;
}

.aemco-site a.aemco-btn--ghost {
	background: transparent;
	color: var(--aemco-ink);
	border-color: var(--aemco-line);
}

.aemco-site a.aemco-btn--ghost:hover,
.aemco-site a.aemco-btn--ghost:focus {
	background: var(--aemco-ink);
	border-color: var(--aemco-ink);
	color: #fff;
}

/* On dark bands a dark hover state disappears, so invert to paper. */
.aemco-site .aemco-cta a.aemco-btn--brass:hover,
.aemco-site .aemco-cta a.aemco-btn--brass:focus,
.aemco-site .aemco-hero a.aemco-btn--brass:hover,
.aemco-site .aemco-hero a.aemco-btn--brass:focus,
.aemco-site .aemco-section--ink a.aemco-btn--brass:hover,
.aemco-site .aemco-section--ink a.aemco-btn--brass:focus,
.aemco-site .aemco-panel--ink a.aemco-btn--brass:hover,
.aemco-site .aemco-panel--ink a.aemco-btn--brass:focus {
	background: #fff;
	border-color: #fff;
	color: var(--aemco-ink);
}

.aemco-site .aemco-cta a.aemco-btn--ghost,
.aemco-site .aemco-hero .aemco-hero__cta a.aemco-btn--ghost,
.aemco-site .aemco-section--ink a.aemco-btn--ghost,
.aemco-site .aemco-panel--ink a.aemco-btn--ghost,
.aemco-site .aemco-mobile-nav a.aemco-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}

.aemco-site .aemco-cta a.aemco-btn--ghost:hover,
.aemco-site .aemco-cta a.aemco-btn--ghost:focus,
.aemco-site .aemco-hero .aemco-hero__cta a.aemco-btn--ghost:hover,
.aemco-site .aemco-hero .aemco-hero__cta a.aemco-btn--ghost:focus,
.aemco-site .aemco-section--ink a.aemco-btn--ghost:hover,
.aemco-site .aemco-section--ink a.aemco-btn--ghost:focus,
.aemco-site .aemco-panel--ink a.aemco-btn--ghost:hover,
.aemco-site .aemco-panel--ink a.aemco-btn--ghost:focus {
	background: #fff;
	border-color: #fff;
	color: var(--aemco-ink);
}

/* Navigation, footer and other theme links, for the same reason. */
.aemco-site .aemco-nav a {
	color: var(--aemco-ink);
}

.aemco-site .aemco-nav a:hover,
.aemco-site .aemco-nav a:focus,
.aemco-site .aemco-nav .current-menu-item > a,
.aemco-site .aemco-nav .current-menu-ancestor > a,
.aemco-site .aemco-nav .current_page_item > a {
	color: var(--aemco-brass-deep);
}

.aemco-site .aemco-mobile-nav a {
	color: var(--aemco-ink);
}

.aemco-site .aemco-mobile-nav .sub-menu a {
	color: var(--aemco-steel);
}

.aemco-site .aemco-topbar a {
	color: rgba(234, 231, 225, 0.78);
}

.aemco-site .aemco-topbar a:hover {
	color: var(--aemco-sand);
}

.aemco-site .aemco-footer a {
	color: rgba(234, 231, 225, 0.7);
}

.aemco-site .aemco-footer a:hover,
.aemco-site .aemco-footer a:focus {
	color: #fff;
}

.aemco-site .aemco-breadcrumb a {
	color: var(--aemco-sand);
}

.aemco-site .aemco-contact-list a {
	color: var(--aemco-ink-soft);
}

.aemco-site .aemco-contact-list a:hover {
	color: var(--aemco-brass-deep);
}

.aemco-site .aemco-strip__item a {
	color: var(--aemco-ink);
}

.aemco-site .aemco-strip__item a:hover {
	color: var(--aemco-brass-deep);
}

.aemco-site .aemco-related a {
	color: var(--aemco-ink);
}

.aemco-site .aemco-related a:hover {
	color: #fff;
}

.aemco-site .aemco-card__link {
	color: var(--aemco-ink);
}

.aemco-site .aemco-card__link:hover {
	color: var(--aemco-brass-deep);
}

.aemco-site .aemco-entry__title a {
	color: var(--aemco-ink);
}

.aemco-site .aemco-entry__title a:hover {
	color: var(--aemco-brass-deep);
}

/* Social icons sit on a brass fill when hovered, so they keep ink — the
   blanket white footer-link hover above would wash them out. */
.aemco-site .aemco-footer .aemco-social a:hover,
.aemco-site .aemco-footer .aemco-social a:focus {
	background: var(--aemco-brass);
	border-color: var(--aemco-brass);
	color: var(--aemco-ink);
}

/* Footer headings and the bottom bar keep their own colours on hover. */
.aemco-site .aemco-footer__bottom a:hover,
.aemco-site .aemco-footer__bottom a:focus {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.aemco-site .aemco-footer .aemco-brand__name {
	color: #fff;
}
