/*
 * Gerizim Site Kit
 * Front end styles. Everything is namespaced with .gsk- so no theme,
 * WooCommerce template or floating chat button is affected.
 */

/* ---------- shared tokens ---------- */
.gsk-footer,
.gsk-map-wrap,
.gsk-contact-list,
.gsk-el-card,
.gsk-btn {
	--gsk-ink: #0B1120;
	--gsk-accent: #1D4ED8;
	--gsk-accent-dark: #163CAD;
	--gsk-surface: #F6F8FB;
	--gsk-muted: #4A5568;
	--gsk-line: rgba(11, 17, 32, .09);
	--gsk-radius: 16px;
	box-sizing: border-box;
}

/* ---------- buttons ---------- */
.gsk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 30px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--gsk-font, inherit);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: transform .18s ease, background .18s ease, color .18s ease;
}

.gsk-btn--sm { padding: 12px 24px; font-size: 14.5px; }
.gsk-btn--primary { background: #1D4ED8; color: #fff; }
.gsk-btn--primary:hover,
.gsk-btn--primary:focus { background: #163CAD; color: #fff; transform: translateY(-2px); }
.gsk-btn--ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.gsk-btn--ghost-light:hover,
.gsk-btn--ghost-light:focus { background: #fff; color: #0B1120; }

/* ---------- Elementor card columns ---------- */
.gsk-col-card { transition: transform .2s ease, box-shadow .2s ease; }
.gsk-col-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11, 17, 32, .1); }

.gsk-el-card .gsk-card-title,
.gsk-card-title {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: #0B1120;
	letter-spacing: -.01em;
}

.gsk-el-card p { margin: 0 0 12px; }
.gsk-el-card p:last-child { margin-bottom: 0; }

.gsk-inline-link { font-weight: 600; color: #1D4ED8; text-decoration: none; }
.gsk-inline-link:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.gsk-hero { position: relative; overflow: hidden; }
.gsk-hero .elementor-heading-title { text-wrap: balance; }
.gsk-hero-inner > .elementor-widget-wrap { max-width: 760px; }
.gsk-hero-buttons .elementor-column { width: auto !important; flex: 0 0 auto; }
.gsk-hero-buttons .elementor-widget-wrap { padding: 0 12px 0 0 !important; }

/* ---------- full width map ---------- */
.gsk-map-wrap {
	position: relative;
	width: 100%;
	line-height: 0;
	background: #E9EEF6;
}

.gsk-map {
	display: block;
	width: 100%;
	height: 460px;
	border: 0;
	filter: saturate(1.05) contrast(1.02);
}

.gsk-map-card {
	position: absolute;
	top: 50%;
	left: max(24px, calc(50% - 560px));
	transform: translateY(-50%);
	width: min(360px, calc(100% - 48px));
	padding: 30px 30px 26px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 20px 50px rgba(11, 17, 32, .2);
	line-height: 1.6;
}

.gsk-map-card__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #1D4ED8;
}

.gsk-map-card__title { margin: 0 0 12px; font-size: 22px; font-weight: 700; color: #0B1120; }
.gsk-map-card__line { margin: 0 0 8px; font-size: 15.5px; color: #4A5568; }
.gsk-map-card__line a { color: #0B1120; text-decoration: none; font-weight: 500; }
.gsk-map-card__line a:hover { color: #1D4ED8; }
.gsk-map-card .gsk-btn { margin-top: 14px; }

/* ---------- contact list shortcode ---------- */
.gsk-contact-list { margin: 26px 0 0; padding: 0; list-style: none; }

.gsk-contact-list li {
	padding: 16px 0;
	border-bottom: 1px solid var(--gsk-line);
	font-size: 16.5px;
	line-height: 1.6;
	color: #0B1120;
}

.gsk-contact-list li:last-child { border-bottom: 0; }

.gsk-contact-list__label {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #1D4ED8;
}

.gsk-contact-list a { color: #0B1120; text-decoration: none; font-weight: 500; }
.gsk-contact-list a:hover { color: #1D4ED8; }

/* ---------- footer ---------- */
.gsk-footer {
	position: relative;
	z-index: 1;
	background: #0B1120;
	color: rgba(255, 255, 255, .74);
	font-size: 15.5px;
	line-height: 1.7;
}

.gsk-footer__inner {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 48px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 78px 24px 56px;
}

.gsk-footer__brand {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -.02em;
}

.gsk-footer__text { margin: 0 0 24px; }

.gsk-footer__title {
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: #fff;
}

.gsk-footer__links,
.gsk-footer__contact { margin: 0; padding: 0; list-style: none; }
.gsk-footer__links li { margin-bottom: 11px; }
.gsk-footer__contact li { margin-bottom: 18px; }

.gsk-footer__label {
	display: block;
	margin-bottom: 3px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .48);
}

.gsk-footer a { color: #fff; text-decoration: none; }
.gsk-footer a:hover { color: #9FBEFF; text-decoration: underline; }
.gsk-footer__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.gsk-footer__bar { border-top: 1px solid rgba(255, 255, 255, .13); }

.gsk-footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	max-width: 1180px;
	margin: 0 auto;
	padding: 24px;
	font-size: 14px;
}

.gsk-footer__copy,
.gsk-footer__meta { margin: 0; }
.gsk-footer__meta { color: rgba(255, 255, 255, .5); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
	.gsk-footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; padding: 64px 24px 44px; }
	.gsk-map { height: 420px; }
	.gsk-map-card { left: 24px; }
}

@media (max-width: 767px) {
	.gsk-footer__inner { grid-template-columns: 1fr; gap: 34px; padding: 52px 20px 36px; }
	.gsk-footer__bar-inner { flex-direction: column; align-items: flex-start; padding: 20px; }

	/* Map card sits below the map on phones so nothing is obscured. */
	.gsk-map-wrap { background: #0B1120; }
	.gsk-map { height: 320px; }

	.gsk-map-card {
		position: static;
		transform: none;
		width: 100%;
		border-radius: 0;
		padding: 28px 20px 30px;
		box-shadow: none;
		background: #fff;
	}

	.gsk-hero-buttons .elementor-column { width: 100% !important; }
	.gsk-hero-buttons .elementor-widget-wrap { padding: 0 !important; }
	.gsk-hero-buttons .elementor-button { width: 100%; }
	.gsk-btn { width: 100%; }
	.gsk-footer__actions .gsk-btn { width: auto; }
}

/* Keep a floating chat button clear of footer content on small screens. */
@media (max-width: 767px) {
	.gsk-footer__bar-inner { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
	.gsk-btn,
	.gsk-col-card { transition: none; }
}
