/* =========================================================
   AC Installation Naperville — scoped landing page styles
   Brand: American Mechanical Systems (navy + flame accent)
   Powered by GND
   ========================================================= */

.acin-page {
	/* American flag palette: Old Glory Blue + Old Glory Red + White */
	--acin-navy: #0a2351;
	--acin-navy-deep: #06183a;
	--acin-blue: #1b4a9c;
	--acin-red: #b22234;
	--acin-red-bright: #d92835;
	--acin-orange: #d92835; /* legacy accent name, now bright flag red */
	--acin-gold: #e8b923;
	--acin-ink: #1c2733;
	--acin-muted: #566372;
	--acin-line: #e4e9ef;
	--acin-bg-soft: #f3f6fc;
	--acin-white: #ffffff;
	--acin-radius: 14px;
	--acin-shadow: 0 10px 30px rgba(10, 35, 81, 0.1);

	color: var(--acin-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

.acin-page *,
.acin-page *::before,
.acin-page *::after {
	box-sizing: border-box;
}

/* Full-bleed: break out of the theme's boxed content wrapper to span the
   full viewport width (no transform, so it won't create a stacking context) */
.acin-page {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	overflow-x: clip;
}

/* Remove theme default list bullets/numbers — all lists use custom markers */
.acin-page ul,
.acin-page ol {
	list-style: none !important;
	padding-left: 0;
	margin-left: 0;
}

.acin-page ul li::marker,
.acin-page ol li::marker {
	content: "";
}

.acin-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.acin-page p {
	margin: 0 0 1.05em;
	color: var(--acin-ink);
}

.acin-page u {
	text-decoration-color: var(--acin-blue);
	text-underline-offset: 2px;
}

/* Inline internal links within body copy */
.acin-page .acin-link {
	color: var(--acin-blue);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(26, 95, 180, 0.4);
	text-underline-offset: 2px;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.acin-page .acin-link:hover {
	color: var(--acin-red);
	text-decoration-color: var(--acin-red);
}

/* Light link variant for use on the dark CTA panel */
.acin-page .acin-cta .acin-link--light {
	color: #ffd9a0;
	text-decoration-color: rgba(255, 217, 160, 0.6);
}

.acin-page .acin-cta .acin-link--light:hover {
	color: #fff;
	text-decoration-color: #fff;
}

/* ---------------- Hero ---------------- */
.acin-hero {
	/* position: static (default) on purpose so theme header menu dropdowns
	   paint above the hero instead of behind it */
	background-color: var(--acin-navy-deep);
	background-image:
		radial-gradient(1100px 480px at 88% -10%, rgba(217, 40, 53, 0.28), transparent 60%),
		radial-gradient(900px 480px at 5% 110%, rgba(27, 74, 156, 0.35), transparent 60%),
		linear-gradient(135deg, var(--acin-navy-deep) 0%, var(--acin-navy) 55%, #123a68 100%);
	background-size: cover;
	background-position: center;
	color: #fff;
	overflow: hidden;
}

/* Red/white/blue accent strip along the bottom of the hero (real element,
   not ::after, so the hero stays non-positioned) */
.acin-hero__strip {
	height: 5px;
	width: 100%;
	background: linear-gradient(90deg, var(--acin-red) 0%, var(--acin-red) 33%, #ffffff 33%, #ffffff 66%, var(--acin-blue) 66%, var(--acin-blue) 100%);
}

.acin-hero__inner {
	padding-top: 74px;
	padding-bottom: 74px;
}

.acin-hero__content {
	max-width: 760px;
}

/* Force light text inside the dark hero regardless of theme styles */
.acin-page .acin-hero,
.acin-page .acin-hero h1,
.acin-page .acin-hero p,
.acin-page .acin-hero li,
.acin-page .acin-hero a {
	color: #fff;
}

.acin-page .acin-hero .acin-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--acin-orange);
	margin: 0 0 14px;
}

.acin-hero__title {
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	line-height: 1.08;
	font-weight: 800;
	margin: 0 0 20px;
	color: #fff;
	letter-spacing: -0.01em;
}

.acin-hero__lede {
	font-size: 1.12rem;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 28px;
}

.acin-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 26px;
}

.acin-hero__badges {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
}

.acin-hero__badges li {
	position: relative;
	padding-left: 24px;
	font-size: 0.92rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.95);
}

.acin-hero__badges li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: -1px;
	color: var(--acin-orange);
	font-weight: 800;
}

/* ---------------- Buttons ---------------- */
.acin-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none !important;
	line-height: 1;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	border: 2px solid transparent;
	cursor: pointer;
}

.acin-btn--sm {
	padding: 11px 20px;
	font-size: 0.92rem;
}

.acin-btn--primary {
	background: linear-gradient(135deg, var(--acin-red), var(--acin-blue));
	color: #fff;
	box-shadow: 0 8px 20px rgba(200, 32, 47, 0.3);
}

.acin-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(200, 32, 47, 0.38);
	color: #fff;
}

.acin-btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
}

.acin-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.acin-btn--light {
	background: #fff;
	color: var(--acin-navy);
}

.acin-btn--light:hover {
	transform: translateY(-2px);
	color: var(--acin-navy);
}

/* On light backgrounds the ghost button needs dark text */
.acin-review figcaption .acin-btn--ghost {
	color: var(--acin-navy);
	border-color: var(--acin-line);
}
.acin-review figcaption .acin-btn--ghost:hover {
	background: var(--acin-bg-soft);
	color: var(--acin-navy);
}

/* ---------------- Body / sections ---------------- */
.acin-body {
	padding-top: 20px;
	padding-bottom: 40px;
}

.acin-section {
	padding: 34px 0;
	border-bottom: 1px solid var(--acin-line);
}

.acin-section:last-child {
	border-bottom: none;
}

.acin-h2 {
	font-size: clamp(1.5rem, 3vw, 2.05rem);
	line-height: 1.2;
	font-weight: 800;
	color: var(--acin-navy);
	margin: 0 0 18px;
	letter-spacing: -0.01em;
	position: relative;
	padding-bottom: 12px;
}

.acin-h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 4px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--acin-red), var(--acin-blue));
}

.acin-h3 {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--acin-navy);
	margin: 0 0 8px;
}

.acin-lead {
	font-size: 1.14rem;
	color: var(--acin-ink);
}

/* ---------------- Reasons list ---------------- */
.acin-reasons {
	list-style: none;
	margin: 20px 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 10px 18px;
}

.acin-reasons li {
	position: relative;
	padding: 12px 14px 12px 40px;
	background: var(--acin-bg-soft);
	border: 1px solid var(--acin-line);
	border-radius: 10px;
	font-weight: 600;
	color: var(--acin-navy);
}

.acin-reasons li::before {
	content: "\26A0";
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--acin-orange);
}

/* ---------------- Review ---------------- */
.acin-review {
	margin: 0;
	background: var(--acin-white);
	border: 1px solid var(--acin-line);
	border-left: 5px solid var(--acin-orange);
	border-radius: var(--acin-radius);
	padding: 28px 30px;
	box-shadow: var(--acin-shadow);
}

.acin-review__stars {
	color: var(--acin-gold);
	font-size: 1.4rem;
	letter-spacing: 3px;
	margin-bottom: 12px;
}

.acin-review blockquote {
	margin: 0;
	font-size: 1.04rem;
	color: var(--acin-ink);
}

.acin-review blockquote p:last-child {
	margin-bottom: 0;
}

.acin-review figcaption {
	margin-top: 18px;
}

.acin-review__author {
	font-weight: 700;
	color: var(--acin-navy);
	margin: 0 0 10px;
}

/* Highlighted stat / callout paragraph */
.acin-callout {
	background: var(--acin-bg-soft);
	border-left: 4px solid var(--acin-blue);
	border-radius: 0 10px 10px 0;
	padding: 16px 20px;
	font-size: 1.02rem;
	color: var(--acin-ink);
}

/* ---------------- ACCA section ---------------- */
.acin-acca {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 26px;
	align-items: start;
}

.acin-acca__text p {
	margin-bottom: 0;
}

.acin-acca__figure {
	margin: 0;
	text-align: center;
}

.acin-acca__caption {
	margin-top: 10px;
	font-size: 0.86rem;
	color: var(--acin-muted);
	font-style: italic;
}

.acin-acca .acin-cert-img,
.acin-acca .acin-cert-placeholder {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 720px) {
	.acin-acca {
		grid-template-columns: 1fr;
	}
}

/* ---------------- Quality grid ---------------- */
.acin-quality-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
	margin-top: 8px;
}

.acin-quality-card {
	background: var(--acin-white);
	border: 1px solid var(--acin-line);
	border-radius: var(--acin-radius);
	padding: 22px 22px 24px;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.acin-quality-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--acin-shadow);
}

.acin-quality-card__title {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 1.12rem;
	font-weight: 700;
	color: var(--acin-navy);
	margin: 0 0 10px;
}

.acin-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--acin-red), var(--acin-blue));
	color: #fff;
	font-size: 0.8rem;
	font-weight: 800;
	margin-top: 2px;
}

.acin-quality-card p {
	color: var(--acin-muted);
	margin-bottom: 0;
	font-size: 0.98rem;
}

/* Certificate */
.acin-cert-link {
	display: inline-block;
	margin-top: 14px;
	text-decoration: none;
}

.acin-cert-img {
	max-width: 200px;
	height: auto;
	border: 1px solid var(--acin-line);
	border-radius: 8px;
	display: block;
}

.acin-cert-caption {
	display: block;
	margin-top: 6px;
	font-size: 0.82rem;
	color: var(--acin-blue);
	font-weight: 600;
}

.acin-cert-placeholder {
	margin-top: 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: 150px;
	border: 2px dashed var(--acin-line);
	border-radius: 10px;
	background: var(--acin-bg-soft);
	color: var(--acin-navy);
	font-weight: 700;
	text-align: center;
}

.acin-cert-placeholder small {
	font-weight: 500;
	color: var(--acin-muted);
}

/* ---------------- Systems ---------------- */
.acin-systems {
	display: grid;
	gap: 16px;
	margin-top: 8px;
}

.acin-system {
	background: var(--acin-white);
	border: 1px solid var(--acin-line);
	border-radius: var(--acin-radius);
	padding: 22px 24px;
	position: relative;
	overflow: hidden;
}

.acin-system::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 4px;
	background: linear-gradient(180deg, var(--acin-blue), var(--acin-navy));
}

.acin-system p {
	margin-bottom: 0;
	color: var(--acin-muted);
}

/* ---------------- Brands ---------------- */
.acin-brands {
	list-style: none;
	margin: 18px 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.acin-brands li {
	padding: 9px 16px;
	background: var(--acin-navy);
	color: #fff;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
}

.acin-brands li:first-child {
	background: linear-gradient(135deg, var(--acin-red), var(--acin-blue));
}

/* ---------------- Steps ---------------- */
.acin-steps {
	list-style: none;
	counter-reset: none;
	margin: 8px 0 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.acin-step {
	display: flex;
	gap: 18px;
	background: var(--acin-white);
	border: 1px solid var(--acin-line);
	border-radius: var(--acin-radius);
	padding: 20px 22px;
}

.acin-step__num {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--acin-navy), var(--acin-blue));
	color: #fff;
	font-size: 1.25rem;
	font-weight: 800;
}

.acin-step__body p:last-child {
	margin-bottom: 0;
}

.acin-step__body p {
	color: var(--acin-muted);
}

/* ---------------- FAQ ---------------- */
.acin-faq {
	display: grid;
	gap: 12px;
	margin-top: 8px;
}

.acin-faq__item {
	border: 1px solid var(--acin-line);
	border-radius: 12px;
	background: var(--acin-white);
	overflow: hidden;
}

.acin-faq__item[open] {
	border-color: var(--acin-blue);
	box-shadow: var(--acin-shadow);
}

.acin-faq__q {
	list-style: none;
	cursor: pointer;
	padding: 18px 52px 18px 20px;
	font-weight: 700;
	color: var(--acin-navy);
	position: relative;
	font-size: 1.04rem;
}

.acin-faq__q::-webkit-details-marker {
	display: none;
}

.acin-faq__q::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--acin-orange);
	transition: transform 0.2s ease;
	line-height: 1;
}

.acin-faq__item[open] .acin-faq__q::after {
	content: "\2212";
}

.acin-faq__a {
	padding: 0 20px 20px;
}

.acin-faq__a p {
	margin: 0;
	color: var(--acin-muted);
}

/* ---------------- Related services ---------------- */
.acin-related {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 12px;
}

.acin-related li {
	position: relative;
	padding: 14px 16px 14px 40px;
	background: var(--acin-bg-soft);
	border: 1px solid var(--acin-line);
	border-radius: 10px;
	color: var(--acin-ink);
}

.acin-related li::before {
	content: "\2192";
	position: absolute;
	left: 16px;
	top: 14px;
	color: var(--acin-red);
	font-weight: 800;
}

/* ---------------- CTA ---------------- */
.acin-cta {
	background:
		radial-gradient(800px 300px at 90% 0%, rgba(217, 40, 53, 0.28), transparent 60%),
		linear-gradient(135deg, var(--acin-navy-deep), var(--acin-navy));
	color: #fff;
	border-radius: 18px;
	padding: 40px 34px;
	border-bottom: none;
	margin-top: 10px;
}

.acin-cta .acin-h2 {
	color: #fff;
}

.acin-cta p {
	color: rgba(255, 255, 255, 0.92);
	max-width: 780px;
}

.acin-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 8px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 640px) {
	.acin-page {
		font-size: 16px;
	}
	.acin-hero__inner {
		padding-top: 52px;
		padding-bottom: 52px;
	}
	.acin-step {
		flex-direction: column;
		gap: 12px;
	}
	.acin-cta {
		padding: 30px 22px;
	}
}

/* =========================================================
   Keep the theme header + menu dropdowns above the full-bleed hero.
   The hero is intentionally non-positioned; the sticky header
   (ElementsKit / Phlox) just needs a higher stacking level.
   ========================================================= */
.ekit-template-content-header,
.ekit-template-content-markup.ekit-template-content-header,
.elementor-location-header,
header.elementor-location-header,
[data-elementor-type="header"],
.aux-header-sticky,
.aux-fixed-enable,
.aux-top-sticky #wrapper > header,
.aux-top-sticky .aux-header-wrapper {
	position: relative;
	z-index: 99999 !important;
}

/* ElementsKit mega/dropdown submenus above everything on the page */
.elementskit-navbar-nav .sub-menu,
.elementskit-navbar-nav .elementskit-dropdown,
.elementskit-menu-container .sub-menu,
.ekit-wid-con .elementskit-submenu-panel,
.elementskit-megamenu-wrapper {
	z-index: 100000 !important;
}

/* =========================================================
   Close the white gap above the hero. The Phlox theme adds
   padding-top:70px on the content column (.aux-primary); remove it
   on the two full-bleed landing pages so the hero sits flush under
   the header. Scoped by page id so other pages are untouched.
   ========================================================= */
body.page-id-2588 .aux-primary,
body.page-id-5373 .aux-primary {
	padding-top: 0 !important;
}
