/* ==========================================================================
   myecho.ca — Echo Software Systems Inc.
   Modern UI: navy/blue brand, flexbox/grid, fully responsive.
   ========================================================================== */

:root {
	--navy: #10253F;
	--navy-dark: #0A1A2E;
	--navy-light: #254061;
	--blue: #7B9ECC;
	--blue-soft: #DCE6F2;
	--blue-pale: #EEF4FB;
	--accent: #3A6EA5;
	--ink: #1F2937;
	--muted: #5B6B7F;
	--line: #D6E0EC;
	--white: #FFFFFF;
	--shadow-sm: 0 1px 3px rgba(16, 37, 63, 0.12);
	--shadow-md: 0 6px 20px rgba(16, 37, 63, 0.14);
	--radius: 10px;
	--radius-sm: 6px;
	--font: "Trebuchet MS", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--maxw: 1140px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font);
	color: var(--ink);
	background: #E9EFF7;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.container {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 20px;
}

a {
	color: var(--accent);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--navy);
	color: #fff;
	padding: 8px 14px;
	z-index: 1000;
}

.skip-link:focus {
	left: 0;
}

/* ---- Header / Nav -------------------------------------------------------- */

.site-header {
	background: var(--navy);
	box-shadow: var(--shadow-md);
	position: sticky;
	top: 0;
	z-index: 900;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
	gap: 16px;
}

.brand {
	color: #fff;
	font-size: 24px;
	font-weight: bold;
	letter-spacing: 0.5px;
	text-decoration: none;
}

.brand:hover {
	text-decoration: none;
}

.brand-mark sup {
	font-size: 11px;
	vertical-align: super;
	color: var(--blue-soft);
	margin-left: 1px;
}

.accent {
	color: var(--blue);
}

.accent-light {
	color: var(--blue-soft);
}

.logo {
	font-weight: bold;
	color: var(--navy);
	white-space: nowrap;
}

.logo .logo-accent {
	color: var(--accent);
}

.logo sup {
	font-size: 9px;
	vertical-align: super;
	color: var(--muted);
	margin-left: 1px;
}

.why-panel .logo {
	color: #fff;
}

.why-panel .logo .logo-accent {
	color: var(--blue);
}

.why-panel .logo sup {
	color: var(--blue-soft);
}

.nav-list {
	display: flex;
	list-style: none;
	gap: 4px;
}

.nav-list a {
	display: block;
	padding: 8px 16px;
	border-radius: var(--radius-sm);
	color: var(--blue-soft);
	font-size: 17px;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}

.nav-list a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	text-decoration: none;
}

.nav-list a.active {
	color: #fff;
	background: var(--blue);
	font-weight: bold;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	border-radius: var(--radius-sm);
}

.nav-toggle:hover {
	background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-bar {
	display: block;
	width: 24px;
	height: 3px;
	border-radius: 2px;
	background: var(--blue-soft);
	transition: transform 0.2s, opacity 0.2s;
}

/* ---- Hero ---------------------------------------------------------------- */

.hero {
	position: relative;
	background: var(--navy-dark) url('/images/warehouse.jpg') center / cover no-repeat;
	min-height: 340px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 26, 46, 0.72) 0%, rgba(10, 26, 46, 0.55) 100%);
}

.hero-content {
	position: relative;
	color: #fff;
	padding: 48px 20px;
}

.hero-title {
	font-size: 64px;
	font-weight: bold;
	line-height: 1;
	letter-spacing: 1px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-title sup {
	font-size: 26px;
	vertical-align: super;
	color: var(--blue-soft);
	margin-left: 2px;
}

.hero-tagline {
	margin-top: 14px;
	font-size: 22px;
	font-style: italic;
	opacity: 0.95;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* ---- Page content -------------------------------------------------------- */

.page-content {
	padding: 32px 20px 48px;
}

.page-content h2 {
	color: var(--navy);
	font-size: 28px;
	margin-bottom: 8px;
}

.page-content h3 {
	color: var(--navy-light);
	font-size: 20px;
	margin: 20px 0 8px;
}

.page-content p {
	margin-bottom: 12px;
}

.page-content > p:first-child {
	margin-top: 0;
}

.page-intro {
	font-size: 18px;
	color: var(--muted);
	margin-bottom: 20px;
}

.card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 24px;
}

/* Two-column page layout (left why-panel + right content) */
.page-grid {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 24px;
	align-items: start;
}

/* ---- Left "Why myWiN?" panel -------------------------------------------- */

.why-panel {
	background: var(--navy);
	color: var(--blue-soft);
	border-radius: var(--radius);
	padding: 20px;
	box-shadow: var(--shadow-md);
}

.why-panel h2 {
	color: #fff;
	font-size: 18px;
	margin-bottom: 12px;
	font-weight: bold;
}

.why-panel ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.why-panel li {
	position: relative;
	padding: 8px 0 8px 26px;
	border-bottom: 1px solid rgba(123, 158, 204, 0.25);
	font-size: 15px;
}

.why-panel li:last-child {
	border-bottom: none;
}

.why-panel li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 8px;
	color: var(--blue);
	font-weight: bold;
}

.why-panel .take-look {
	display: block;
	margin-top: 14px;
	padding: 10px 14px;
	text-align: center;
	background: var(--blue);
	color: var(--navy-dark);
	border-radius: var(--radius-sm);
	font-weight: bold;
	text-decoration: none;
	transition: background 0.15s, transform 0.15s;
}

.why-panel .take-look:hover {
	background: var(--blue-soft);
	text-decoration: none;
	transform: translateY(-1px);
}

/* ---- Feature lists ------------------------------------------------------- */

.feature-list {
	list-style: none;
	margin: 12px 0 16px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 10px;
}

.feature-list li {
	position: relative;
	padding: 10px 12px 10px 32px;
	background: var(--blue-pale);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-size: 15px;
}

.feature-list li::before {
	content: "✔";
	position: absolute;
	left: 10px;
	top: 10px;
	color: var(--accent);
	font-weight: bold;
}

.plain-list {
	list-style: disc;
	margin: 10px 0 16px 22px;
	padding: 0;
}

.plain-list li {
	margin-bottom: 4px;
}

.cta {
	display: inline-block;
	margin-top: 8px;
	padding: 11px 22px;
	background: var(--navy);
	color: #fff;
	border-radius: var(--radius-sm);
	font-weight: bold;
	text-decoration: none;
	transition: background 0.15s, transform 0.15s;
}

.cta:hover {
	background: var(--accent);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.cta-row {
	text-align: right;
	margin-top: 16px;
}

/* ---- Partner cards ------------------------------------------------------- */

.partner-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
	margin-top: 16px;
}

.partner-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 20px;
	text-align: center;
	transition: box-shadow 0.15s, transform 0.15s;
}

.partner-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.partner-card a {
	color: var(--navy);
	font-weight: bold;
	font-size: 17px;
	text-decoration: none;
}

.partner-card a:hover {
	color: var(--accent);
	text-decoration: underline;
}

/* ---- Contact form -------------------------------------------------------- */

.contact-form {
	max-width: 640px;
}

.form-group {
	margin-bottom: 16px;
}

.form-group label {
	display: block;
	font-weight: bold;
	color: var(--navy);
	margin-bottom: 6px;
}

.form-group .req {
	color: #C0392B;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
	width: 100%;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 16px;
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(123, 158, 204, 0.25);
}

.form-group textarea {
	resize: vertical;
	min-height: 130px;
}

.form-actions {
	display: flex;
	justify-content: flex-end;
}

.form-actions .btn-submit {
	padding: 12px 28px;
	font-family: inherit;
	font-size: 17px;
	font-weight: bold;
	color: #fff;
	background: var(--navy);
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background 0.15s, transform 0.15s;
}

.form-actions .btn-submit:hover {
	background: var(--accent);
	transform: translateY(-1px);
}

.form-error {
	background: #FDF0F0;
	color: #C0392B;
	border: 1px solid #F5C6C6;
	border-radius: var(--radius-sm);
	padding: 12px 14px;
	margin-bottom: 16px;
	font-size: 15px;
}

.form-error hr {
	border: none;
	border-top: 1px solid #F5C6C6;
	margin: 8px 0;
}

.form-ok {
	background: #EEF7EE;
	color: #1E7B34;
	border: 1px solid #BFE5C4;
	border-radius: var(--radius-sm);
	padding: 16px;
	margin-bottom: 16px;
}

/* ---- Screenshots grid ---------------------------------------------------- */

.shots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
	margin-top: 16px;
}

.shots-grid a {
	display: block;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.15s, transform 0.15s;
}

.shots-grid a:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.shots-grid img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---- Lightbox ------------------------------------------------------------ */

.lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: rgba(10, 26, 46, 0.92);
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.lightbox.open {
	display: flex;
}

.lightbox img {
	max-width: 100%;
	max-height: 86vh;
	border-radius: var(--radius-sm);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 22px;
	cursor: pointer;
	transition: background 0.15s;
}

.lightbox-btn:hover {
	background: var(--blue);
}

.lightbox-prev {
	left: 18px;
}

.lightbox-next {
	right: 18px;
}

.lightbox-close {
	position: absolute;
	top: 16px;
	right: 20px;
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	transition: background 0.15s;
}

.lightbox-close:hover {
	background: #C0392B;
}

.lightbox-counter {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--blue-soft);
	font-size: 15px;
}

/* ---- Footer -------------------------------------------------------------- */

.site-footer {
	background: var(--navy-dark);
	color: var(--blue-soft);
	margin-top: 16px;
}

.footer-inner {
	padding: 28px 20px;
	text-align: center;
}

.footer-brand {
	font-size: 17px;
	font-weight: bold;
	color: #fff;
	margin-bottom: 4px;
}

.footer-brand sup {
	font-size: 9px;
	vertical-align: super;
	color: var(--blue-soft);
}

.footer-copy {
	font-size: 13px;
	opacity: 0.8;
}

body.loading {
	cursor: progress;
}

body.loading #page {
	opacity: 0.6;
	transition: opacity 0.15s;
}

/* ---- Responsive ---------------------------------------------------------- */

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

	.hero {
		min-height: 280px;
	}

	.hero-title {
		font-size: 46px;
	}

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

@media (max-width: 640px) {
	.nav-toggle {
		display: flex;
	}

	.site-nav {
		display: none;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: var(--navy);
		box-shadow: var(--shadow-md);
	}

	.site-nav.open {
		display: block;
	}

	.nav-list {
		flex-direction: column;
		gap: 0;
		padding: 8px 12px;
	}

	.nav-list a {
		padding: 12px 14px;
		font-size: 18px;
		border-bottom: 1px solid rgba(123, 158, 204, 0.2);
	}

	.hero-title {
		font-size: 38px;
	}

	.hero {
		min-height: 240px;
	}

	.page-content {
		padding: 24px 16px 40px;
	}

	.feature-list {
		grid-template-columns: 1fr;
	}
}
