/*
Theme Name: AwareWash Product
Theme URI: https://awarewash.si/
Author: AwareWash
Description: One-page WordPress theme for AwareWash dishwasher tablets.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: awarewash-product
*/

:root {
	--ink: #15211f;
	--muted: #5f6a66;
	--green: #2f705f;
	--green-deep: #173f34;
	--leaf: #dbe9de;
	--cream: #fbf7ed;
	--warm: #ede1cf;
	--blue: #dcebf0;
	--white: #ffffff;
	--line: #d8ddd4;
	--shadow: 0 26px 70px rgba(21, 33, 31, 0.16);
	--header-bg: rgba(251, 247, 237, 0.78);
	--header-border: rgba(255, 255, 255, 0.34);
	--button-secondary-bg: rgba(255, 255, 255, 0.72);
	--hero-overlay-left: rgba(251, 247, 237, 0.96);
	--hero-overlay-mid: rgba(251, 247, 237, 0.83);
	--hero-overlay-right: rgba(21, 33, 31, 0.12);
	--hero-overlay-bottom: rgba(21, 33, 31, 0.34);
	--section-overlay: rgba(255, 255, 255, 0.78);
	--step-bg: rgba(255, 255, 255, 0.62);
	--statement-start: rgba(21, 33, 31, 0.74);
	--statement-end: rgba(21, 33, 31, 0.26);
	--statement-copy: rgba(255, 255, 255, 0.82);
	--font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-family: var(--font-sans);
	color: var(--ink);
	background: var(--cream);
	font-synthesis: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: dark) {
	:root {
		--ink: #edf6f1;
		--muted: #b7c6bf;
		--green: #93d5ba;
		--green-deep: #0a1713;
		--leaf: #203d32;
		--cream: #101814;
		--warm: #2a352f;
		--blue: #17333c;
		--white: #15211f;
		--line: rgba(255, 255, 255, 0.16);
		--header-bg: rgba(16, 24, 20, 0.86);
		--header-border: rgba(255, 255, 255, 0.12);
		--button-secondary-bg: rgba(255, 255, 255, 0.82);
		--hero-overlay-left: rgba(16, 24, 20, 0.94);
		--hero-overlay-mid: rgba(16, 24, 20, 0.78);
		--hero-overlay-right: rgba(16, 24, 20, 0.16);
		--hero-overlay-bottom: rgba(0, 0, 0, 0.42);
		--section-overlay: rgba(16, 24, 20, 0.68);
		--step-bg: rgba(255, 255, 255, 0.08);
		--statement-start: rgba(0, 0, 0, 0.78);
		--statement-end: rgba(0, 0, 0, 0.34);
		--statement-copy: rgba(255, 255, 255, 0.84);
	}
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-width: 320px;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-sans);
}

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

a {
	color: inherit;
}

img {
	display: block;
	max-width: 100%;
}

:focus-visible {
	outline: 3px solid var(--green);
	outline-offset: 3px;
}

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

.screen-reader-text:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 10000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--cream);
	color: var(--ink);
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px clamp(18px, 4vw, 54px);
	background: var(--header-bg);
	border-bottom: 1px solid var(--header-border);
	backdrop-filter: blur(18px);
}

.brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.brand__logo,
.custom-logo {
	display: block;
	width: min(192px, 48vw);
	height: auto;
}

.nav-links__list {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 0;
	margin: 0;
	color: rgba(21, 33, 31, 0.74);
	font-size: 14px;
	font-weight: 800;
	list-style: none;
}

.nav-links a {
	text-decoration: none;
}

.nav-links a:hover {
	color: var(--green);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 11px 17px;
	border: 1px solid var(--green);
	border-radius: 8px;
	background: var(--green);
	color: #ffffff;
	font-weight: 900;
	text-decoration: none;
	transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
	background: var(--green-deep);
	border-color: var(--green-deep);
}

.button:active {
	transform: scale(0.96);
}

.button.secondary {
	border-color: var(--button-secondary-bg);
	background: var(--button-secondary-bg);
	color: var(--green-deep);
}

.hero {
	position: relative;
	display: grid;
	min-height: 88svh;
	align-items: end;
	overflow: hidden;
	padding: 128px clamp(18px, 5vw, 72px) clamp(42px, 7vw, 84px);
	background:
		linear-gradient(90deg, var(--hero-overlay-left) 0%, var(--hero-overlay-mid) 38%, var(--hero-overlay-right) 100%),
		linear-gradient(180deg, transparent 40%, var(--hero-overlay-bottom) 100%),
		url("assets/images/washaware.jpg") center / cover no-repeat;
}

.hero-content {
	position: relative;
	z-index: 2;
	width: min(790px, 100%);
}

.eyebrow {
	margin: 0 0 18px;
	color: var(--green);
	font-size: 13px;
	font-weight: 950;
	letter-spacing: 0;
	text-transform: uppercase;
}

h1 {
	max-width: 800px;
	margin: 0;
	font-size: 104px;
	line-height: 0.93;
	letter-spacing: 0;
}

.hero-copy {
	max-width: 650px;
	margin: 28px 0 0;
	color: #394540;
	font-size: 22px;
	line-height: 1.5;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.product-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.strip-item {
	display: grid;
	min-height: 136px;
	align-content: center;
	gap: 8px;
	padding: 26px clamp(18px, 4vw, 46px);
	background: var(--white);
}

.strip-item strong {
	font-size: 18px;
}

.strip-item span {
	color: var(--muted);
	line-height: 1.5;
}

section {
	padding: 84px clamp(18px, 5vw, 72px);
	scroll-margin-top: 96px;
}

.section-inner {
	width: min(1160px, 100%);
	margin: 0 auto;
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: clamp(30px, 5vw, 76px);
	align-items: start;
}

h2 {
	max-width: 620px;
	margin: 0;
	font-size: 62px;
	line-height: 1;
	letter-spacing: 0;
}

.lead {
	color: var(--muted);
	font-size: 18px;
	line-height: 1.62;
}

.formula {
	background: var(--cream);
}

.formula-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.formula-item {
	display: grid;
	grid-template-columns: 32px 1fr;
	min-height: 86px;
	align-items: center;
	gap: 14px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.72);
	font-weight: 900;
}

.formula-item::before {
	content: "";
	width: 24px;
	height: 24px;
	border: 1px solid rgba(47, 112, 95, 0.2);
	border-radius: 7px;
	background:
		linear-gradient(135deg, transparent 45%, var(--green) 46% 58%, transparent 59%),
		linear-gradient(45deg, transparent 42%, var(--green) 43% 56%, transparent 57%),
		var(--leaf);
}

.why {
	background:
		linear-gradient(180deg, var(--section-overlay), transparent),
		var(--blue);
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 34px;
}

.step {
	padding: 22px;
	border: 1px solid rgba(21, 33, 31, 0.12);
	border-radius: 8px;
	background: var(--step-bg);
}

.step span {
	display: inline-grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 999px;
	background: var(--green-deep);
	color: #ffffff;
	font-weight: 950;
}

.step h3 {
	margin: 18px 0 8px;
	font-size: 22px;
}

.step p {
	margin: 0;
	color: var(--muted);
	line-height: 1.55;
}

.everyday {
	background: var(--white);
}

.feature-list {
	display: grid;
	gap: 16px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.feature-list li {
	padding: 20px 0 4px;
	border-top: 1px solid var(--line);
}

.feature-list strong {
	display: block;
	margin-bottom: 5px;
	font-size: 18px;
}

.feature-list span {
	color: var(--muted);
	line-height: 1.56;
}

.statement {
	background:
		linear-gradient(90deg, var(--statement-start), var(--statement-end)),
		url("assets/images/washaware.jpg") center 66% / cover no-repeat;
	color: #ffffff;
}

.statement blockquote {
	max-width: 910px;
	margin: 0;
	font-size: 86px;
	line-height: 0.98;
	font-weight: 950;
}

.statement p {
	max-width: 640px;
	margin: 24px 0 0;
	color: var(--statement-copy);
	font-size: 18px;
	line-height: 1.58;
}

.site-footer {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 28px clamp(18px, 5vw, 72px);
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 14px;
}

@media (prefers-color-scheme: dark) {
	.nav-links__list {
		color: rgba(237, 246, 241, 0.74);
	}

	.hero-copy {
		color: rgba(237, 246, 241, 0.78);
	}

	.formula-item {
		background: rgba(255, 255, 255, 0.08);
	}
}

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

	.site-header {
		position: static;
		background: var(--cream);
	}

	.nav-links {
		display: none;
	}

	.hero {
		min-height: 82svh;
		align-items: end;
		padding-top: 70px;
	}

	h1 {
		font-size: 72px;
	}

	h2 {
		font-size: 48px;
	}

	.statement blockquote {
		font-size: 64px;
	}

	.product-strip,
	.steps {
		grid-template-columns: 1fr;
	}

	.split {
		grid-template-columns: 1fr;
	}

	.formula-grid {
		grid-template-columns: 1fr;
	}

	section {
		padding-block: 60px;
	}

	.site-footer {
		flex-direction: column;
	}
}

@media (max-width: 560px) {
	.hero {
		min-height: 760px;
		background:
			linear-gradient(180deg, var(--hero-overlay-left) 0%, var(--hero-overlay-mid) 48%, var(--hero-overlay-right) 100%),
			url("assets/images/washaware.jpg") 58% center / cover no-repeat;
	}

	h1 {
		font-size: 48px;
	}

	h2 {
		font-size: 34px;
	}

	.statement blockquote {
		font-size: 42px;
	}

	.hero-copy {
		font-size: 18px;
	}

	.hero-actions {
		display: grid;
	}

	.button {
		width: 100%;
	}
}
