/*
Theme Name: Safe Cuisine Crio Child
Theme URI: https://safecuisinesolutions.com/
Description: Child theme for Safe Cuisine Solutions on top of Crio.
Author: Codex
Template: crio
Version: 0.1.0
Text Domain: safe-cuisine-crio-child
*/

.scs-shell-header {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1140px;
	position: relative;
	padding: 1rem 1.25rem 1.2rem;
	width: 100%;
	z-index: 2;
}

.scs-site-header {
	border-bottom: 1px solid rgba(25, 118, 223, 0.18);
	display: block;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.scs-site-header .custom-header-media {
	inset: 0;
	position: absolute;
	z-index: 0;
}

.scs-site-header .custom-header-media img {
	display: block;
	height: 100%;
	min-height: 190px;
	object-fit: cover;
	width: 100%;
}

.scs-site-header .custom-header-media::after {
	background:
		linear-gradient(180deg, rgba(243, 248, 255, 0.76), rgba(250, 252, 255, 0.97)),
		radial-gradient(circle at 14% 18%, rgba(25, 118, 223, 0.1), transparent 18%),
		radial-gradient(circle at 84% 16%, rgba(112, 173, 241, 0.14), transparent 18%);
	content: "";
	inset: 0;
	position: absolute;
}

.scs-header-inner {
	align-items: center;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(16px);
	border: 1px solid rgba(25, 118, 223, 0.12);
	border-radius: 30px;
	box-shadow: 0 22px 52px rgba(20, 54, 99, 0.1);
	display: grid;
	gap: 1rem;
	grid-template-columns: auto minmax(0, 1fr) auto;
	margin: 0 auto;
	max-width: 100%;
	padding: 1rem 1.25rem;
	width: 100%;
}

.scs-header-brand-row {
	display: flex;
	justify-content: flex-start;
	min-width: 0;
	padding-bottom: 0;
}

.scs-brand-link {
	align-items: center;
	color: #1976df;
	display: inline-flex;
	gap: 0;
	max-width: 100%;
	padding: 0;
	text-decoration: none;
}

.scs-brand-link:hover,
.scs-brand-link:focus {
	color: #0f5fbb;
	text-decoration: none;
}

.scs-brand-logo {
	display: inline-flex;
	flex: 0 0 auto;
}

.scs-logo-image {
	display: block;
	height: auto;
	max-height: 70px;
	width: auto;
}

.scs-header-nav-row {
	display: flex;
	justify-content: center;
	min-width: 0;
	position: relative;
}

.scs-nav-toggle {
	display: none;
}

.scs-primary-nav {
	display: block;
	min-width: 0;
	width: 100%;
}

.scs-primary-menu {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.4rem;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}

.scs-primary-menu li {
	margin: 0;
}

.scs-primary-menu a {
	color: #1f2f44;
	display: inline-block;
	font-family: Roboto, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	padding: 0.85rem 0.42rem;
	position: relative;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
	white-space: nowrap;
}

.scs-primary-menu a::after {
	background: linear-gradient(90deg, #1976df, #5aa1ef);
	border-radius: 999px;
	content: "";
	height: 2px;
	left: 0.5rem;
	opacity: 0;
	position: absolute;
	right: 0.5rem;
	top: calc(100% - 0.12rem);
	transform: translateY(0.2rem);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.scs-primary-menu a:hover,
.scs-primary-menu a:focus,
.scs-primary-menu .current-menu-item > a,
.scs-primary-menu .current_page_item > a,
.scs-primary-menu .current-menu-ancestor > a {
	color: #1976df;
	text-decoration: none;
	transform: translateY(-1px);
}

.scs-primary-menu a:hover::after,
.scs-primary-menu a:focus::after,
.scs-primary-menu .current-menu-item > a::after,
.scs-primary-menu .current_page_item > a::after,
.scs-primary-menu .current-menu-ancestor > a::after {
	opacity: 1;
	transform: translateY(0);
}

.scs-header-action-row {
	display: flex;
	justify-content: flex-end;
}

.scs-header-cta {
	align-items: center;
	background: linear-gradient(135deg, #1667d9, #0f56bb);
	border-radius: 16px;
	box-shadow: 0 14px 32px rgba(22, 103, 217, 0.2);
	color: #fff;
	display: inline-flex;
	font-family: Roboto, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	min-height: 50px;
	padding: 0.9rem 1.2rem;
	text-decoration: none;
	white-space: nowrap;
}

.scs-header-cta:hover,
.scs-header-cta:focus {
	color: #fff;
	filter: brightness(1.03);
	text-decoration: none;
}

.scs-site-footer {
	background:
		radial-gradient(circle at top right, rgba(121, 182, 248, 0.14), transparent 22%),
		linear-gradient(180deg, #0d3567 0%, #104a8d 58%, #123f77 100%);
	color: rgba(255, 255, 255, 0.92);
	margin-top: 4rem;
}

.scs-site-footer .scs-footer-shell {
	margin: 0 auto;
	max-width: 1100px;
	padding: 3.6rem 1.5rem 1.5rem;
}

.scs-site-footer .scs-footer-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(260px, 0.9fr);
}

.scs-site-footer .scs-footer-brand h2,
.scs-site-footer .scs-footer-links h3,
.scs-site-footer .scs-footer-cta h3 {
	color: #fff;
	font-family: "Source Sans Pro", sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.1;
	margin: 0 0 0.85rem;
}

.scs-site-footer .scs-footer-kicker {
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0 0 0.85rem;
	text-transform: uppercase;
}

.scs-site-footer p,
.scs-site-footer li {
	color: rgba(255, 255, 255, 0.82);
	font-size: 1rem;
	line-height: 1.75;
}

.scs-site-footer a,
.scs-site-footer a:visited {
	color: #fff;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.scs-site-footer a:hover,
.scs-site-footer a:focus,
.scs-site-footer a:visited:hover,
.scs-site-footer a:visited:focus {
	color: #d9e8fb;
}

.scs-footer-links ul,
.scs-footer-mini-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.scs-footer-links li,
.scs-footer-mini-links li {
	margin: 0 0 0.55rem;
}

.scs-footer-links .menu,
.scs-footer-menu {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scs-footer-cta {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 20px;
	padding: 1.25rem;
}

.scs-footer-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 1rem;
}

.scs-footer-button {
	background: #fff;
	border: 1px solid transparent;
	border-radius: 999px;
	color: #0f4f97 !important;
	display: inline-flex;
	font-weight: 700;
	line-height: 1.2;
	padding: 0.85rem 1.2rem;
	text-decoration: none !important;
}

.scs-footer-button:hover,
.scs-footer-button:focus {
	color: #0c427e !important;
	filter: brightness(0.98);
}

.scs-footer-button-secondary {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.28);
	color: #fff !important;
}

.scs-footer-button-secondary:hover,
.scs-footer-button-secondary:focus {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.08);
}

.scs-footer-meta {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	margin-top: 2rem;
	padding-top: 1rem;
}

.scs-footer-meta p {
	font-size: 0.9rem;
	margin: 0;
}

@media (max-width: 960px) {
	.scs-shell-header,
	.scs-site-footer .scs-footer-shell {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.scs-header-inner {
		grid-template-columns: 1fr;
		justify-items: center;
		padding-bottom: 1.1rem;
	}

	.scs-header-brand-row,
	.scs-header-nav-row,
	.scs-header-action-row {
		justify-content: center;
		width: 100%;
	}

	.scs-primary-nav,
	.scs-header-action-row {
		width: 100%;
	}

	.scs-primary-menu {
		justify-content: center;
	}

	.scs-header-cta {
		width: 100%;
	}

	.scs-site-footer .scs-footer-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.scs-shell-header {
		padding: 0.9rem 0.85rem 1rem;
	}

	.scs-header-inner {
		border-radius: 24px;
		gap: 0.8rem;
		padding: 0.9rem 0.85rem;
	}

	.scs-header-brand-row {
		justify-content: flex-start;
	}

	.scs-brand-link {
		max-width: calc(100% - 4.5rem);
	}

	.scs-logo-image {
		max-height: 62px;
	}

	.scs-header-nav-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.scs-nav-toggle {
		appearance: none;
		background: #1667d9;
		border: 0;
		border-radius: 999px;
		color: #fff;
		cursor: pointer;
		display: inline-flex;
		font-size: 0.95rem;
		font-weight: 700;
		line-height: 1;
		padding: 0.8rem 1rem;
	}

	.scs-primary-nav {
		display: none;
		margin-top: 0.6rem;
		width: 100%;
	}

	.scs-primary-nav.is-open {
		display: block;
	}

	.scs-primary-menu {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.15rem;
		justify-content: flex-start;
	}

	.scs-primary-menu a {
		padding: 0.55rem 0.1rem;
		width: 100%;
	}

	.scs-footer-actions,
	.scs-footer-meta {
		flex-direction: column;
	}

	.scs-site-footer .scs-footer-shell {
		padding-left: 0.85rem;
		padding-right: 0.85rem;
	}

	.scs-header-action-row {
		justify-content: stretch;
	}

	.scs-footer-button {
		justify-content: center;
		width: 100%;
	}
}
