/* =============================================================
   Zotech Theme — Additional Styles
   Brand (Stitch palette): Navy #152b46 | Blue #2b5a91 | Green #4caf50
   ============================================================= */

/* =============================================================
   STITCH DESIGN — Header + Hero
   ============================================================= */

/* ---- Site-wide checkered backdrop ---- */
body {
	background: radial-gradient(circle at center, #2b5a91 0%, #152b46 100%) fixed !important;
}
body::before {
	content: "";
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 50px 50px;
	pointer-events: none;
	z-index: 0;
}
.wp-site-blocks { position: relative; z-index: 1; }

/* ---- Eyebrow titles: bigger + bolder ---- */
.zotech-eyebrow,
.wp-site-blocks p[style*="text-transform:uppercase"][style*="letter-spacing:0.15em"],
.wp-site-blocks p[style*="text-transform:uppercase"][style*="letter-spacing:0.2em"] {
	font-size: 1.5rem !important;
	font-weight: 800 !important;
}

/* ---- Stitch Header (replaces previous WP site-logo + nav) ---- */
.zotech-stitch-header {
	background: #152b46;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.zotech-header-inner {
	max-width: 80rem;          /* max-w-7xl */
	margin: 0 auto;
	padding: 1rem 1rem;        /* py-4 px-4 */
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
}
@media (min-width: 640px) {
	.zotech-header-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
	.zotech-header-inner { padding-left: 2rem; padding-right: 2rem; }
}
.zotech-logo-link {
	display: flex;
	align-items: center;
	gap: 1rem;
	text-decoration: none;
	color: #fff;
	flex-shrink: 0;
}
.zotech-logo-img {
	height: 5rem;              /* h-20 */
	width: auto;
	object-fit: contain;
	background: #152b46;
	border-radius: 9999px;
}
.zotech-wordmark { display: flex; flex-direction: column; line-height: 1; }
.zotech-wordmark-name {
	color: #fff;
	font-weight: 900;
	letter-spacing: -0.05em;   /* tracking-tighter */
	font-size: 1.875rem;       /* text-3xl */
}
.zotech-wordmark-tag {
	color: #fff;
	font-weight: 500;
	letter-spacing: 0.15em;
	white-space: nowrap;
	opacity: 0.9;
	text-transform: uppercase;
	margin-top: 0.25rem;
	font-size: 11px;
}
.zotech-nav {
	display: none;
	gap: 2rem;
	align-items: center;
}
@media (min-width: 768px) { .zotech-nav { display: flex; } }
.zotech-nav a {
	color: #fff;
	text-decoration: none;
	font-size: 0.75rem;        /* text-xs */
	font-weight: 700;
	letter-spacing: 0.1em;     /* tracking-widest */
	transition: color 0.2s ease;
}
.zotech-nav a:hover { color: #4caf50; }
.zotech-mobile-toggle {
	display: flex;
	align-items: center;
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 0.25rem;
}
@media (min-width: 768px) { .zotech-mobile-toggle { display: none; } }
.zotech-green-bar {
	height: 4px;
	background-color: #4caf50;
	width: 100%;
}

/* ---- Stitch Hero ---- */
.zotech-hero {
	background: radial-gradient(circle at center, #2b5a91 0%, #152b46 100%);
	position: relative;
	overflow: hidden;
	min-height: calc(100vh - 140px);
	display: flex;
	align-items: center;
}
.zotech-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 50px 50px;
	pointer-events: none;
}
.zotech-hero-inner {
	max-width: 64rem;          /* max-w-5xl */
	margin: 0 auto;
	padding: 5rem 1rem;        /* py-20 px-4 */
	width: 100%;
	position: relative;
	z-index: 1;
	text-align: center;
}
@media (min-width: 640px) { .zotech-hero-inner { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 768px) { .zotech-hero-inner { text-align: left; padding-left: 2rem; padding-right: 2rem; } }
.zotech-hero-eyebrow {
	color: #d1d5db;             /* text-gray-300 */
	font-size: 0.875rem;        /* text-sm */
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .zotech-hero-eyebrow { font-size: 1rem; } }
.zotech-hero-title {
	color: #fff;
	font-weight: 800;            /* font-extrabold */
	font-size: 2.25rem;          /* text-4xl */
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 2rem;
}
@media (min-width: 768px) { .zotech-hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .zotech-hero-title { font-size: 4.5rem; } }
.zotech-hero-accent { color: #4caf50; }
.zotech-hero-title .br-md { display: none; }
@media (min-width: 768px) { .zotech-hero-title .br-md { display: inline; } }
.zotech-hero-desc {
	color: #d1d5db;
	font-size: 1.125rem;         /* text-lg */
	max-width: 42rem;            /* max-w-2xl */
	margin-bottom: 3rem;
	line-height: 1.625;
}
@media (min-width: 768px) {
	.zotech-hero-desc { font-size: 1.25rem; }
}
.zotech-hero-cta {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: center;
}
@media (min-width: 640px) { .zotech-hero-cta { flex-direction: row; } }
@media (min-width: 768px) { .zotech-hero-cta { justify-content: flex-start; } }
.zotech-btn-primary,
.zotech-btn-outline {
	font-weight: 700;
	padding: 1rem 2rem;
	border-radius: 4px;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease, transform 0.15s ease;
}
.zotech-btn-primary {
	background: #4caf50;
	color: #fff;
	box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}
.zotech-btn-primary:hover {
	background: #16a34a;
	transform: scale(1.05);
}
.zotech-btn-outline {
	border: 2px solid #fff;
	color: #fff;
	background: transparent;
}
.zotech-btn-outline:hover {
	background: #fff;
	color: #152b46;
	transform: scale(1.05);
}

/* ---- Sticky header ---- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

/* ---- Green accent bar at base of header ---- */
.header-accent-bar {
	height: 3px !important;
	min-height: 3px !important;
	background: linear-gradient(90deg, #4db848, #1e90d4, #4db848) !important;
	line-height: 0;
	font-size: 0;
}

/* ---- Site logo: round logo gets a subtle ring in the header ---- */
.site-header .site-logo img,
.site-header .wp-block-site-logo img {
	/* Pop the round logo off the dark bg with a soft glow */
	filter: drop-shadow(0 0 6px rgba(77, 184, 72, 0.35))
	        drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
	transition: filter 0.3s ease, transform 0.3s ease;
	display: block;
}

.site-header .site-logo img:hover,
.site-header .wp-block-site-logo img:hover {
	filter: drop-shadow(0 0 10px rgba(77, 184, 72, 0.55))
	        drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
	transform: scale(1.04);
}

/* ---- Navigation links ---- */
.site-header .wp-block-navigation a {
	color: #ffffff !important;
	text-decoration: none;
	transition: color 0.2s ease;
	position: relative;
}

/* Underline hover effect on nav links */
.site-header .wp-block-navigation a::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	right: 0;
	height: 2px;
	background: #4db848;
	transform: scaleX(0);
	transition: transform 0.2s ease;
	border-radius: 1px;
}
.site-header .wp-block-navigation a:hover { color: #4db848 !important; }
.site-header .wp-block-navigation a:hover::after { transform: scaleX(1); }

/* ---- Mobile nav hamburger ---- */
.site-header .wp-block-navigation__responsive-container-open,
.site-header .wp-block-navigation__responsive-container-close {
	color: #ffffff;
}

/* Mobile nav overlay matches brand */
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: #0d3d6b !important;
	border-top: 3px solid #4db848;
}

/* ---- Hero smooth scroll ---- */
html { scroll-behavior: smooth; }

/* ---- Service cards: lift on hover ---- */
.wp-block-column[style*="border:1px solid #dae8fa"],
.wp-block-column[style*="border-radius:8px"] {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wp-block-column[style*="border:1px solid #dae8fa"]:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(26, 95, 168, 0.15);
}

/* ---- Benefit items ---- */
.benefit-item { transition: background-color 0.2s ease; }
.benefit-item:hover { background-color: rgba(255, 255, 255, 0.18) !important; }

/* ---- GoToAssist support form ---- */
.zotech-support-form { display:flex; flex-direction:column; gap:1rem; }
.zotech-support-field { display:flex; flex-direction:column; gap:.4rem; }
.zotech-support-field label { font-size:.85rem; font-weight:600; color:#152b46; }
.zotech-support-field input {
	padding:.75rem .9rem;
	border:1px solid #dae8fa;
	border-radius:6px;
	font-size:1rem;
	background:#fff;
	font-family:inherit;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.zotech-support-field input:focus {
	outline:none;
	border-color:#2b5a91;
	box-shadow: 0 0 0 3px rgba(43, 90, 145, 0.15);
}
.zotech-support-submit {
	background:#4caf50;
	color:#fff;
	font-weight:700;
	font-size:1rem;
	padding:1rem 2rem;
	border:none;
	border-radius:4px;
	cursor:pointer;
	transition: background .15s ease, transform .15s ease;
	box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.zotech-support-submit:hover { background:#16a34a; transform:translateY(-1px); }
.zotech-support-fineprint { font-size:.8rem; color:#6b7280; line-height:1.6; margin-top:.5rem; }

/* ---- Product grid: equal-height cards with bottom-aligned CTAs ---- */
.zotech-product-grid .wp-block-column {
	display: flex !important;
	flex-direction: column;
}
.zotech-product-grid .wp-block-column .wp-block-buttons {
	margin-top: auto;
}

/* ---- Buttons ---- */
.wp-block-button__link {
	transition: filter 0.2s ease, transform 0.15s ease;
	letter-spacing: 0.02em;
}
.wp-block-button__link:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

/* ---- Footer logo ---- */
.footer-logo img {
	/* Keep round logo visible — just lighten it slightly instead of full invert */
	filter: brightness(1.15) drop-shadow(0 0 4px rgba(77, 184, 72, 0.25));
	opacity: 0.9;
}

/* ---- Responsive ---- */
@media (max-width: 599px) {
	.wp-block-cover__inner-container .wp-block-group {
		padding-top: 5rem !important;
		padding-bottom: 5rem !important;
	}
	.wp-block-columns.alignwide { flex-direction: column; }
	.wp-block-column[style*="border-right"] {
		border-right: none !important;
		border-bottom: 1px solid #e5e7eb;
	}
}

/* ---- Customer names grid (compact tiles for large client lists) ---- */
.customer-names-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}
.customer-names-grid p {
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 1.25rem 1rem !important;
	margin: 0 !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	background: #fff;
}
.customer-names-grid p:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(26, 95, 168, 0.14);
}
.customer-names-grid p a {
	color: #1a5fa8;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}
.customer-names-grid p a:hover {
	color: #0d3d6b;
}
.customer-names-grid p img {
	height: 36px;
	max-width: 110px;
	object-fit: contain;
}
@media (max-width: 900px) {
	.customer-names-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
	.customer-names-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- WP editor helpers ---- */
.alignfull { max-width: 100% !important; }

/* ---- Skip link ---- */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
	left: 1rem; top: 1rem; z-index: 9999;
	background: #4db848; color: #fff;
	padding: 0.5rem 1rem; border-radius: 4px;
}
