/*
 * GOSTExpert Premium 9.0.0 — final certification layer.
 * Loaded last to isolate the new shell from the legacy FactoryPress skin.
 */

:root {
	--ge-deep: #032945;
	--ge-deep-2: #062f4e;
	--ge-blue: #0b4d78;
	--ge-yellow: #ffc400;
	--ge-yellow-2: #ffda45;
	--ge-red: #ef3340;
	--ge-text: #172b3d;
	--ge-muted: #637789;
	--ge-line: #dfe8ef;
	--ge-surface: #f5f8fb;
	--ge-white: #fff;
	--ge-shadow: 0 18px 44px rgba(3, 41, 69, .13);
}

html { overflow-x: hidden; }
body {
	min-width: 320px;
	overflow-x: hidden;
	color: var(--ge-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.ge-modal-open,
body.ge-mobile-menu-open { overflow: hidden; }

.main-wrapper,
.boxed_wrapper { max-width: 100%; overflow: clip; }

.ge-topbar {
	background: linear-gradient(105deg, #032945 0%, #063b61 54%, #032945 100%) !important;
	border: 0 !important;
}

.ge-topbar__inner {
	display: grid !important;
	grid-template-columns: minmax(280px, 1.15fr) auto minmax(230px, .8fr);
	align-items: center;
	gap: 28px;
	min-height: 72px;
}

.ge-topbar__statement,
.ge-topbar__contacts,
.ge-topbar__proofs { display: flex; align-items: center; }
.ge-topbar__statement { gap: 13px; color: #fff; }
.ge-topbar__statement strong { display: block; color: #fff; font-size: 14px; line-height: 1.25; letter-spacing: .02em; }
.ge-topbar__statement small { display: block; margin-top: 3px; color: #bcd0df; font-size: 12px; line-height: 1.3; }
.ge-status-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	flex: 0 0 10px;
	border-radius: 50%;
	background: #16c879;
	box-shadow: 0 0 0 6px rgba(22, 200, 121, .13), 0 0 16px rgba(22, 200, 121, .55);
}

.ge-topbar__proofs { justify-content: center; gap: 22px; }
.ge-topbar__proofs span { display: inline-flex; align-items: center; gap: 7px; color: #eaf4fa; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ge-topbar__proofs i { color: var(--ge-yellow); }
.ge-topbar__contacts { justify-content: flex-end; gap: 14px; }
.ge-topbar__contacts > a { color: #eef7fc !important; font-size: 13px; font-weight: 600; }
.ge-topbar__contacts > a:hover { color: var(--ge-yellow) !important; }

.ge-header { background: #fff !important; border: 0 !important; box-shadow: 0 7px 28px rgba(3, 41, 69, .07); }
.ge-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 118px; }
.ge-brand { flex: 0 1 330px; }
.ge-brand img { display: block; width: auto; max-width: 320px; max-height: 86px; object-fit: contain; }
.ge-header__contacts { display: flex; align-items: center; justify-content: flex-end; gap: 25px; }
.ge-header-contact { display: flex; align-items: center; gap: 11px; color: var(--ge-text) !important; }
.ge-header-contact:hover strong { color: var(--ge-blue); }
.ge-header-contact__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	border: 1px solid #dae5ec;
	border-radius: 14px;
	background: #f7fafc;
	color: var(--ge-red);
	font-size: 23px;
}
.ge-header-contact__copy strong,
.ge-header-contact__copy small { display: block; }
.ge-header-contact__copy strong { color: var(--ge-text); font-size: 15px; line-height: 1.3; }
.ge-header-contact__copy small { margin-top: 4px; color: var(--ge-muted); font-size: 13px; line-height: 1.3; }
.ge-header__actions { display: flex; align-items: center; gap: 12px; }
.ge-icon-action {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border: 1px solid #ffd2d5;
	border-radius: 14px;
	background: #fff6f6;
	color: var(--ge-red) !important;
	font-size: 25px;
}
.ge-request-button,
.ge-footer__request {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 25px !important;
	border: 0 !important;
	border-radius: 13px !important;
	background: linear-gradient(135deg, var(--ge-yellow-2), var(--ge-yellow)) !important;
	box-shadow: 0 12px 25px rgba(255, 196, 0, .25);
	color: #062d4d !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.ge-request-button:hover,
.ge-footer__request:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(255, 196, 0, .34); }

.ge-navigation { z-index: 990; background: var(--ge-deep) !important; border: 0 !important; box-shadow: 0 8px 24px rgba(3, 41, 69, .17); }
.ge-navigation__inner { display: flex; align-items: stretch; justify-content: space-between; min-height: 66px; }
.ge-navigation .mainmenu-holder { flex: 1 1 auto; min-width: 0; }
.ge-navigation .navigation { display: flex; align-items: stretch; justify-content: center; margin: 0; }
.ge-navigation .navigation > li { position: relative; float: none !important; }
.ge-navigation .navigation > li > a {
	display: flex !important;
	align-items: center;
	min-height: 66px;
	padding: 0 28px !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: .015em;
	text-transform: uppercase;
}
.ge-navigation .navigation > li > a::after {
	content: '';
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 0;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--ge-yellow);
	transform: scaleX(0);
	transition: transform .22s ease;
}
.ge-navigation .navigation > li:hover > a,
.ge-navigation .navigation > li.current-menu-item > a,
.ge-navigation .navigation > li.current_page_item > a { color: var(--ge-yellow) !important; background: rgba(255,255,255,.035) !important; }
.ge-navigation .navigation > li:hover > a::after,
.ge-navigation .navigation > li.current-menu-item > a::after,
.ge-navigation .navigation > li.current_page_item > a::after { transform: scaleX(1); }
.ge-navigation .navigation > li > ul {
	padding: 10px !important;
	border: 1px solid rgba(255,255,255,.1) !important;
	border-radius: 0 0 14px 14px !important;
	background: #062d4d !important;
	box-shadow: 0 20px 38px rgba(0,0,0,.22) !important;
}
.ge-navigation .navigation > li > ul > li > a { padding: 10px 14px !important; border-radius: 7px; color: #e9f2f7 !important; font-size: 14px !important; }
.ge-navigation .navigation > li > ul > li > a:hover { background: rgba(255,196,0,.12) !important; color: var(--ge-yellow) !important; }
.ge-search-toggle {
	display: grid;
	place-items: center;
	width: 58px;
	min-width: 58px;
	margin: 8px 0;
	border: 0;
	border-radius: 12px;
	background: var(--ge-yellow);
	color: var(--ge-deep);
	font-size: 20px;
}
.ge-search-toggle:hover { background: #ffda45; transform: translateY(-1px); }

.ge-search-panel {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: start center;
	padding: min(18vh, 150px) 20px 30px;
	background: rgba(2, 22, 38, .72);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity .18s ease;
}
.ge-search-panel.is-open { opacity: 1; }
.ge-search-panel__card { position: relative; width: min(680px, 100%); padding: 28px; border-radius: 20px; background: #fff; box-shadow: 0 25px 70px rgba(0,0,0,.3); }
.ge-search-panel__card strong { display: block; margin-bottom: 13px; color: var(--ge-deep); font-size: 22px; }
.ge-search-panel__card form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.ge-search-panel__card input { min-width: 0; height: 52px; padding: 0 16px; border: 1px solid #d4e0e8; border-radius: 10px; font-size: 16px; }
.ge-search-panel__card form button { min-width: 110px; border: 0; border-radius: 10px; background: var(--ge-yellow); color: var(--ge-deep); font-weight: 800; }
.ge-search-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #eef3f6; color: var(--ge-deep); font-size: 26px; line-height: 1; }

/* Certification content polish */
.site-content img,
.entry-content img,
.wpb_wrapper img { height: auto; }
.ge-certification-card,
.single-service-item,
.single-our-feature,
.service-style-two .single-service-item {
	border-radius: 16px;
	box-shadow: 0 12px 34px rgba(3, 41, 69, .09);
}
.single-service-item,
.single-our-feature { transition: transform .22s ease, box-shadow .22s ease; }
.single-service-item:hover,
.single-our-feature:hover { transform: translateY(-4px); box-shadow: var(--ge-shadow); }
.entry-content table,
.wpb_text_column table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--ge-line); border-radius: 12px; }
.entry-content th,
.wpb_text_column th { background: var(--ge-deep); color: #fff; }
.entry-content th,
.entry-content td,
.wpb_text_column th,
.wpb_text_column td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--ge-line); }
.entry-content tr:last-child td,
.wpb_text_column tr:last-child td { border-bottom: 0; }

/* Native footer: predictable even when old widget styles remain in the database. */
.ge-footer--native {
	position: relative;
	padding: 70px 0 58px !important;
	background: linear-gradient(rgba(3, 35, 59, .95), rgba(2, 28, 47, .98)), url('../img/resources/footer-bg.webp') center/cover no-repeat !important;
	color: #d7e3eb;
}
.ge-footer--native::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,196,0,.72), transparent); }
.ge-footer__grid { position: relative; display: grid !important; grid-template-columns: 1.25fr 1fr .9fr 1.3fr; gap: 46px; }
.ge-footer__brand { display: inline-block; margin-bottom: 20px; padding: 10px 14px; border-radius: 13px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.ge-footer__brand img { display: block; width: auto; max-width: 250px; max-height: 66px; object-fit: contain; }
.ge-footer__brand-column p { max-width: 360px; margin: 0 0 22px; color: #c0d0da; font-size: 15px; line-height: 1.75; }
.ge-footer__column h2 { position: relative; margin: 4px 0 22px; padding-bottom: 13px; color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.ge-footer__column h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 45px; height: 3px; border-radius: 3px; background: var(--ge-yellow); }
.ge-footer__column ul { margin: 0; padding: 0; list-style: none; }
.ge-footer__column li + li { margin-top: 11px; }
.ge-footer__column li a { color: #c7d6df !important; font-size: 14px; line-height: 1.45; }
.ge-footer__column li a:hover { padding-left: 5px; color: var(--ge-yellow) !important; }
.ge-footer__contacts > a,
.ge-footer__address { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; color: #d8e5ed !important; }
.ge-footer__contacts > a > i,
.ge-footer__address > i { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid rgba(255,196,0,.32); border-radius: 10px; color: var(--ge-yellow); }
.ge-footer__contacts strong,
.ge-footer__contacts small { display: block; }
.ge-footer__contacts strong { color: #fff; font-size: 14px; line-height: 1.35; }
.ge-footer__contacts small { margin-top: 3px; color: #9fb3c0; font-size: 12px; line-height: 1.35; }
.ge-footer__address span { padding-top: 7px; color: #d8e5ed; font-size: 13px; line-height: 1.45; }
.ge-footer-socials { display: flex; gap: 8px; margin-top: 20px !important; }
.ge-footer-socials li { margin: 0 !important; }
.ge-footer-socials a { display: grid; place-items: center; width: 38px; height: 38px; padding: 0 !important; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.ge-footer-bottom { padding: 0 !important; border: 0 !important; background: #011f35 !important; color: #aebfca; }
.ge-footer-bottom__inner { display: grid !important; grid-template-columns: 1fr auto; align-items: center; gap: 30px; min-height: 86px; }
.ge-footer-bottom p { margin: 0 0 4px; color: #b9c9d2; font-size: 13px; }
.ge-footer-bottom a { color: var(--ge-yellow) !important; font-size: 12px; }
.ge-footer-bottom__mark { display: inline-flex; align-items: center; gap: 10px; color: #dbe7ed; font-size: 13px; font-weight: 600; }

.scroll-to-top {
	position: fixed !important;
	right: 24px !important;
	bottom: 24px !important;
	z-index: 9980 !important;
	display: grid !important;
	place-items: center;
	width: 50px !important;
	height: 50px !important;
	border: 2px solid var(--ge-yellow) !important;
	border-radius: 50% !important;
	background: var(--ge-deep) !important;
	color: #fff !important;
	box-shadow: 0 12px 26px rgba(3,41,69,.28) !important;
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.scroll-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-to-top:hover { background: var(--ge-yellow) !important; color: var(--ge-deep) !important; }

:focus-visible { outline: 3px solid rgba(255,196,0,.72) !important; outline-offset: 3px; }

@media (min-width: 1200px) and (max-width: 1399px) {
	.ge-navigation .navigation > li > a { padding-right: 20px !important; padding-left: 20px !important; }
	.ge-navigation .navigation > li > a::after { right: 20px; left: 20px; }
	.ge-header__contacts { gap: 16px; }
	.ge-header-contact__icon { width: 42px; height: 42px; flex-basis: 42px; }
}
