/**
 * IONYX Home fallback styles.
 *
 * Designed for Divi 5 Code Modules. Content stays as real HTML.
 */

:root {
	--ionyx-home-ink: #122120;
	--ionyx-home-ink-soft: #42504d;
	--ionyx-home-deep: #001605;
	--ionyx-home-teal: #3a6351;
	--ionyx-home-olive: #6f7e55;
	--ionyx-home-amber: #c99736;
	--ionyx-home-cream: #f2f0eb;
	--ionyx-home-steel: #d8e1df;
	--ionyx-home-white: #ffffff;
}

body.ionyx-home-standalone-template {
	background: var(--ionyx-home-white);
	color: var(--ionyx-home-ink);
	margin: 0;
}

body.ionyx-home-standalone-template #page-container {
	padding-top: 0 !important;
}

.ionyx-site-header {
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--ionyx-home-steel);
	position: sticky;
	top: 0;
	z-index: 1000;
}

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

.ionyx-site-header__inner {
	align-items: center;
	display: flex;
	gap: 22px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1200px;
	min-height: 78px;
	padding: 14px 24px;
	width: 100%;
}

.ionyx-site-header__brand,
.ionyx-site-header__nav,
.ionyx-site-header__cta {
	text-decoration: none;
}

.ionyx-site-header__brand {
	color: var(--ionyx-home-ink);
	display: inline-flex;
	flex-direction: column;
	line-height: 1.1;
	min-width: 190px;
}

.ionyx-site-header__name {
	font-size: 19px;
	font-weight: 900;
	letter-spacing: 0;
}

.ionyx-site-header__tagline {
	color: var(--ionyx-home-ink-soft);
	font-size: 12px;
	font-weight: 700;
	margin-top: 4px;
}

.ionyx-site-header__nav {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	justify-content: center;
}

.ionyx-site-header__nav a {
	color: var(--ionyx-home-ink-soft);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.ionyx-site-header__nav a:hover,
.ionyx-site-header__nav a:focus {
	color: var(--ionyx-home-teal);
}

.ionyx-site-header__cta {
	background: var(--ionyx-home-teal);
	border-radius: 4px;
	color: var(--ionyx-home-white);
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
	padding: 13px 16px;
	text-transform: uppercase;
}

.ionyx-home {
	background: var(--ionyx-home-white);
	color: var(--ionyx-home-ink);
	font-size: 16px;
	line-height: 1.65;
	overflow-x: hidden;
}

.ionyx-home *,
.ionyx-home *::before,
.ionyx-home *::after {
	box-sizing: border-box;
}

.ionyx-home a {
	color: inherit;
}

.ionyx-home-shell {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 24px;
	width: 100%;
}

.ionyx-home-hero {
	background: var(--ionyx-home-deep);
	color: var(--ionyx-home-white);
	min-height: 760px;
	position: relative;
}

.ionyx-home-hero__media {
	background-image: linear-gradient(90deg, rgba(0, 22, 5, 0.9), rgba(0, 22, 5, 0.7), rgba(0, 22, 5, 0.28)), url("/wp-content/uploads/2025/04/energy-09.jpg");
	background-position: center;
	background-size: cover;
	inset: 0;
	position: absolute;
}

.ionyx-home-hero__overlay {
	align-items: center;
	display: flex;
	min-height: 760px;
	position: relative;
	z-index: 1;
}

.ionyx-home-hero__content {
	padding-bottom: 72px;
	padding-top: 96px;
}

.ionyx-home-eyebrow {
	color: var(--ionyx-home-amber);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.ionyx-home h1,
.ionyx-home h2,
.ionyx-home h3 {
	letter-spacing: 0;
	line-height: 1.12;
	margin: 0 0 18px;
}

.ionyx-home h1 {
	font-size: 52px;
	max-width: 980px;
}

.ionyx-home-hero h1 {
	color: var(--ionyx-home-white) !important;
	text-shadow: 0 2px 22px rgba(0, 0, 0, 0.42);
}

.ionyx-home-hero h2,
.ionyx-home-hero h3 {
	color: var(--ionyx-home-white);
}

.ionyx-home h2 {
	font-size: 34px;
}

.ionyx-home h3 {
	font-size: 21px;
}

.ionyx-home p {
	margin: 0 0 16px;
}

.ionyx-home-lead {
	color: #e7efec;
	font-size: 18px;
	max-width: 860px;
}

.ionyx-home-intro {
	color: var(--ionyx-home-ink-soft);
	font-size: 18px;
	max-width: 900px;
}

.ionyx-home-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.ionyx-home-button,
.ionyx-home-link {
	align-items: center;
	border-radius: 4px;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 46px;
	padding: 13px 18px;
	text-decoration: none;
	text-transform: uppercase;
}

.ionyx-home-button {
	background: var(--ionyx-home-amber);
	color: var(--ionyx-home-deep);
}

.ionyx-home-button--light {
	background: var(--ionyx-home-white);
	color: var(--ionyx-home-deep);
}

.ionyx-home-button--outline {
	background: transparent;
	border: 1px solid var(--ionyx-home-teal);
	color: var(--ionyx-home-teal);
}

.ionyx-home-button--outline-light {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.72);
	color: var(--ionyx-home-white);
}

.ionyx-home-link {
	background: var(--ionyx-home-teal);
	color: var(--ionyx-home-white);
	margin-top: 18px;
}

.ionyx-home-link--light {
	background: var(--ionyx-home-white);
	color: var(--ionyx-home-deep);
}

.ionyx-home-brand-strip {
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	margin-top: 44px;
	max-width: 900px;
	padding-top: 24px;
}

.ionyx-home-brand-strip h2 {
	color: var(--ionyx-home-white);
	font-size: 16px;
	margin-bottom: 12px;
}

.ionyx-home-brand-strip ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}

.ionyx-home-brand-strip li {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	color: var(--ionyx-home-white);
	font-weight: 800;
	padding: 8px 13px;
}

.ionyx-home-section {
	padding: 88px 0;
}

.ionyx-home-section--warm {
	background: var(--ionyx-home-cream);
}

.ionyx-home-section--deep {
	background: #102323;
	color: var(--ionyx-home-white);
}

.ionyx-home-section--deep .ionyx-home-intro,
.ionyx-home-section--deep p {
	color: #d6e0dd;
}

.ionyx-home-split,
.ionyx-home-feature {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 34px;
}

.ionyx-home-split--balanced {
	align-items: stretch;
}

.ionyx-home-grid {
	display: grid;
	gap: 18px;
	margin-top: 34px;
}

.ionyx-home-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ionyx-home-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ionyx-home-grid--5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ionyx-home-card,
.ionyx-home-brand-card,
.ionyx-home-spec-panel {
	background: var(--ionyx-home-white);
	border: 1px solid var(--ionyx-home-steel);
	border-radius: 6px;
	color: var(--ionyx-home-ink);
	min-width: 0;
	padding: 26px;
}

.ionyx-home-card--accent {
	border-top: 5px solid var(--ionyx-home-amber);
}

.ionyx-home-card--dark {
	background: var(--ionyx-home-deep);
	border-color: var(--ionyx-home-deep);
	color: var(--ionyx-home-white);
}

.ionyx-home-card--dark li,
.ionyx-home-card--dark p {
	color: #d6e0dd;
}

.ionyx-home-card--compact {
	padding: 22px;
}

.ionyx-home-card--compact h3 {
	font-size: 19px;
}

.ionyx-home-card ul,
.ionyx-home-brand-card ul,
.ionyx-home-spec-panel ul,
.ionyx-home-footer ul {
	margin: 0;
	padding-left: 20px;
}

.ionyx-home-card li,
.ionyx-home-brand-card li,
.ionyx-home-spec-panel li,
.ionyx-home-footer li {
	margin-bottom: 8px;
}

.ionyx-home-card p,
.ionyx-home-brand-card p {
	color: var(--ionyx-home-ink-soft);
}

.ionyx-home-brand-grid {
	color: var(--ionyx-home-ink);
}

.ionyx-home-brand-card {
	border-top: 4px solid var(--ionyx-home-amber);
	padding: 22px;
}

.ionyx-home-brand-card h3 {
	font-size: 18px;
}

.ionyx-home-brand-card a {
	color: var(--ionyx-home-teal);
	font-weight: 800;
}

.ionyx-home-project {
	background: #f7faf9;
}

.ionyx-home-feature {
	align-items: center;
}

.ionyx-home-spec-panel {
	border-left: 5px solid var(--ionyx-home-teal);
}

.ionyx-home-equipment-grid .ionyx-home-card {
	border-top: 4px solid var(--ionyx-home-olive);
}

.ionyx-home-faq {
	display: grid;
	gap: 12px;
	margin-top: 34px;
}

.ionyx-home-faq details {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 6px;
	padding: 18px 20px;
}

.ionyx-home-faq summary {
	color: var(--ionyx-home-white);
	cursor: pointer;
	font-size: 18px;
	font-weight: 800;
}

.ionyx-home-faq p {
	margin-top: 12px;
}

.ionyx-home-cta {
	background: var(--ionyx-home-teal);
	color: var(--ionyx-home-white);
	padding: 72px 0;
}

.ionyx-home-cta p {
	color: #edf4f1;
	font-size: 18px;
	max-width: 760px;
}

.ionyx-home-footer {
	background: var(--ionyx-home-deep);
	color: var(--ionyx-home-white);
	padding: 64px 0 32px;
}

.ionyx-home-footer h2 {
	font-size: 28px;
}

.ionyx-home-footer h3 {
	font-size: 16px;
}

.ionyx-home-footer a {
	color: var(--ionyx-home-white);
}

.ionyx-home-footer p,
.ionyx-home-footer li {
	color: #d6e0dd;
}

.ionyx-home-footer__grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1.1fr 0.8fr 1fr 1.25fr 0.8fr;
	margin-top: 24px;
}

.ionyx-home-footer__legal {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	margin-top: 34px;
	padding-top: 20px;
}

@media (max-width: 1120px) {
	.ionyx-home-grid--5 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ionyx-home-grid--4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	body.admin-bar .ionyx-site-header {
		top: 46px;
	}

	.ionyx-site-header__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.ionyx-site-header__nav {
		justify-content: flex-start;
	}

	.ionyx-home h1 {
		font-size: 40px;
	}

	.ionyx-home h2 {
		font-size: 29px;
	}

	.ionyx-home-hero,
	.ionyx-home-hero__overlay {
		min-height: 680px;
	}

	.ionyx-home-split,
	.ionyx-home-feature,
	.ionyx-home-grid--3,
	.ionyx-home-grid--4,
	.ionyx-home-grid--5,
	.ionyx-home-footer__grid {
		grid-template-columns: 1fr;
	}

	.ionyx-home-section {
		padding: 64px 0;
	}
}

@media (max-width: 620px) {
	.ionyx-site-header {
		position: relative;
	}

	body.admin-bar .ionyx-site-header {
		top: 0;
	}

	.ionyx-site-header__inner {
		padding: 14px 18px;
	}

	.ionyx-site-header__nav {
		align-items: stretch;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.ionyx-site-header__nav a,
	.ionyx-site-header__cta {
		border: 1px solid var(--ionyx-home-steel);
		border-radius: 4px;
		display: block;
		padding: 10px;
		text-align: center;
	}

	.ionyx-site-header__cta {
		width: 100%;
	}

	.ionyx-home-shell {
		padding: 0 18px;
	}

	.ionyx-home h1 {
		font-size: 31px;
	}

	.ionyx-home h2 {
		font-size: 25px;
	}

	.ionyx-home-lead,
	.ionyx-home-intro {
		font-size: 16px;
	}

	.ionyx-home-hero,
	.ionyx-home-hero__overlay {
		min-height: 760px;
	}

	.ionyx-home-hero__content {
		padding-bottom: 54px;
		padding-top: 68px;
	}

	.ionyx-home-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ionyx-home-button,
	.ionyx-home-link {
		width: 100%;
	}
}

.ionyx-mega-fallback {
	background: var(--ionyx-home-white);
	border: 1px solid var(--ionyx-home-steel);
	border-radius: 6px;
	box-shadow: 0 22px 60px rgba(18, 33, 32, 0.14);
	color: var(--ionyx-home-ink);
	padding: 24px;
}

.ionyx-mega-fallback__grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ionyx-mega-fallback h3 {
	font-size: 16px;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 12px;
}

.ionyx-mega-fallback ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ionyx-mega-fallback li {
	margin-bottom: 8px;
}

.ionyx-mega-fallback a {
	color: var(--ionyx-home-ink-soft);
	font-weight: 700;
	text-decoration: none;
}

.ionyx-mega-fallback a:hover {
	color: var(--ionyx-home-teal);
}

.ionyx-mega-fallback__search {
	background: var(--ionyx-home-cream);
	border-radius: 6px;
	padding: 16px;
}

.ionyx-mega-fallback__search p {
	color: var(--ionyx-home-ink-soft);
	margin: 0;
}

@media (max-width: 980px) {
	.ionyx-mega-fallback__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.ionyx-mega-fallback__grid {
		grid-template-columns: 1fr;
	}
}
