/* Geo-Consultants Group — theme styles (LTR + RTL via logical properties). */

:root {
	--gcg-navy: #0B2545;
	--gcg-blue: #0071B3;
	--gcg-yellow: #FED406;
	--gcg-red: #E31B23;
	--gcg-slate: #3A4F66;
	--gcg-mist: #F3F7FB;
	--gcg-line: #E3E8EE;
	--gcg-line-2: #C9D4E0;
	--gcg-navy-2: #24426A;
	--gcg-muted-dark: #B9C8D9;
	--gcg-wa: #25D366;
	--gcg-radius: 10px;
	--gcg-mono: var(--wp--preset--font-family--plex-mono, ui-monospace, monospace);
}

html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-family: var(--wp--preset--font-family--plex-arabic); line-height: 1.85; }
html[lang="ar"] :is(h1, h2, h3, h4) { line-height: 1.45; }
input, select, textarea, button { font: inherit; }
img { max-width: 100%; height: auto; }

/* Remove default gaps between header / main / footer and between sections. */
.wp-site-blocks > * { margin-block: 0; }
.gcg-content > * { margin-block: 0 !important; }
.gcg-main { margin: 0; }

/* ---------------- Layout primitives ---------------- */
.gcg-sec { padding: clamp(56px, 8vw, 96px) 24px; margin: 0; }
.gcg-sec--mist { background: var(--gcg-mist); }
.gcg-sec--navy { background: var(--gcg-navy); color: #fff; }
.gcg-sec--navy :is(h2, h3) { color: #fff; }
.gcg-sec--navy .gcg-eyebrow { color: var(--gcg-yellow); }
.gcg-sec--yellow { background: var(--gcg-yellow); padding-block: clamp(48px, 6vw, 64px); }
.gcg-sec--facts { padding-block: 36px; border-bottom: 1px solid var(--gcg-line); }
.gcg-sec--pagehero { background: var(--gcg-mist); padding-block: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--gcg-line); }
.gcg-sec--chips { padding-block: 22px; border-bottom: 1px solid var(--gcg-line); background: #fff; }
.gcg-wrap { max-width: 1200px; margin-inline: auto; }
.gcg-wrap > * { margin-block: 0; }
.gcg-wrap > * + * { margin-block-start: 1.25rem; }

.gcg-split { gap: 32px 56px; align-items: flex-start; }
.gcg-split > .gcg-col { margin: 0; min-width: 0; }
.gcg-col--narrow { flex: 1 1 360px; }
.gcg-col--wide { flex: 1.45 1 520px; }
.gcg-col > * { margin-block: 0; }
.gcg-col > * + * { margin-block-start: 18px; }

/* ---------------- Type ---------------- */
.gcg-eyebrow {
	font-family: var(--gcg-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gcg-blue);
	margin: 0;
	line-height: 1.5;
}
html[lang="ar"] .gcg-eyebrow { font-family: inherit; letter-spacing: 0; text-transform: none; font-weight: 600; font-size: 14px; }
.gcg-eyebrow--bar { display: flex; align-items: center; gap: 12px; }
.gcg-eyebrow--bar::before { content: ""; width: 32px; height: 4px; background: var(--gcg-yellow); flex: none; }
.gcg-sec-title { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; margin: 0; }
.gcg-lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--gcg-slate); max-width: 620px; margin: 0; }
.gcg-body { color: var(--gcg-slate); font-size: 17px; line-height: 1.7; margin: 0; }
.gcg-body strong { color: var(--gcg-navy); }
.gcg-note { color: var(--gcg-slate); font-size: 15px; border-top: 1px solid var(--gcg-line-2); padding-top: 18px; margin-top: 32px !important; }
.gcg-more { margin: 0; font-weight: 600; }
.gcg-more a { text-decoration: none; }
.gcg-head { max-width: 700px; }
.gcg-head > * { margin: 0; }
.gcg-head > * + * { margin-top: 14px; }
.gcg-wrap > .gcg-head, .gcg-wrap > .gcg-head-row { margin-bottom: 40px; }
.gcg-head-row { gap: 16px; }

/* ---------------- Buttons ---------------- */
.wp-block-buttons { gap: 14px; }
.wp-block-button__link, .wp-element-button { text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.gcg-btn-ghost .wp-block-button__link { background: #fff; color: var(--gcg-navy); border: 1px solid var(--gcg-line-2); padding: 14px 25px; }
.gcg-btn-ghost .wp-block-button__link:hover { background: var(--gcg-navy); color: #fff; border-color: var(--gcg-navy); }
.gcg-btn-dark .wp-block-button__link { background: var(--gcg-navy); }
.gcg-btn-dark .wp-block-button__link:hover { background: var(--gcg-blue); }
.gcg-btn-wa .wp-block-button__link { background: var(--gcg-wa); color: var(--gcg-navy); }
.gcg-btn-wa .wp-block-button__link:hover { background: #1fb457; color: var(--gcg-navy); }

/* ---------------- Hero ---------------- */
.gcg-sec--hero { padding-block: clamp(56px, 8vw, 88px) clamp(56px, 8vw, 96px); }
.gcg-hero { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center; }
.gcg-hero > * { margin: 0 !important; }
.gcg-hero__copy { flex: 1 1 440px; min-width: 0; }
.gcg-hero__copy > * { margin: 0; }
.gcg-hero__copy > * + * { margin-top: 24px; }
.gcg-hero__copy .wp-block-buttons { margin-top: 32px; }
.gcg-hero__title { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.01em; }
html[lang="ar"] .gcg-hero__title { line-height: 1.35; letter-spacing: 0; }
.gcg-hero__img { flex: 1 1 420px; min-width: 0; }
.gcg-hero__img img { display: block; width: 100%; height: clamp(260px, 34vw, 440px); object-fit: cover; object-position: 60% 60%; border-radius: var(--gcg-radius); box-shadow: 0 18px 40px rgba(11, 37, 69, .16); }

/* ---------------- Facts ---------------- */
.gcg-facts { gap: 24px; }
.gcg-fact > * { margin: 0; }
.gcg-fact__num { font-size: 34px; font-weight: 700; line-height: 1.2; color: var(--gcg-navy); }
.gcg-fact__label { color: var(--gcg-slate); font-size: 15px; margin-top: 4px !important; }

/* ---------------- Vision / mission ---------------- */
.gcg-vms { gap: 16px; padding-top: 8px; }
.gcg-vm { background: var(--gcg-mist); border-radius: 8px; padding: 22px; }
.gcg-sec--mist .gcg-vm { background: #fff; border: 1px solid var(--gcg-line); }
.gcg-vm > * { margin: 0; }
.gcg-vm__title { font-size: 16px; font-weight: 700; }
.gcg-vm__text { font-size: 15px; line-height: 1.6; color: var(--gcg-slate); margin-top: 6px !important; }

/* ---------------- Service cards ---------------- */
.gcg-cards { gap: 20px; }
.gcg-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--gcg-line);
	border-radius: var(--gcg-radius);
	padding: 26px;
	min-height: 200px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.gcg-card > * { margin: 0 !important; }
.gcg-card__top { justify-content: space-between; align-items: center; }
.gcg-card__top > * { margin: 0; }
.gcg-card__num { font-family: var(--gcg-mono); font-size: 13px; color: var(--gcg-blue); }
.gcg-card__bar { display: block; width: 24px; height: 4px; background: var(--gcg-yellow); }
.gcg-card__title { font-size: 19px; font-weight: 600; line-height: 1.3; }
.gcg-card__title a, .gcg-proj__title a { color: var(--gcg-navy); text-decoration: none; }
.gcg-card__text { font-size: 14px; line-height: 1.6; color: var(--gcg-slate); }
.gcg-card--link :is(.gcg-card__title, .gcg-proj__title) a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.gcg-card--link:hover { border-color: var(--gcg-blue); box-shadow: 0 10px 28px rgba(11, 37, 69, .08); transform: translateY(-2px); }
.gcg-card--link:hover :is(.gcg-card__title, .gcg-proj__title) a { color: var(--gcg-blue); }
.gcg-card--link a:focus-visible { outline: 3px solid var(--gcg-blue); outline-offset: 3px; }

/* ---------------- Steps ---------------- */
.gcg-steps { column-gap: 18px; row-gap: 28px; border-top: 4px solid var(--gcg-navy); }
.gcg-step { padding-top: 22px; }
.gcg-step > * { margin: 0; }
.gcg-step > * + * { margin-top: 8px; }
.gcg-step__num { font-family: var(--gcg-mono); font-size: 13px; color: var(--gcg-blue); }
.gcg-step__title { font-size: 20px; font-weight: 700; }
.gcg-step__text { font-size: 14px; line-height: 1.6; color: var(--gcg-slate); }

/* ---------------- Industries (dark) ---------------- */
.gcg-inds { gap: 1px; background: var(--gcg-navy-2); border: 1px solid var(--gcg-navy-2); }
.gcg-ind { background: var(--gcg-navy); padding: 24px; margin: 0 !important; }
.gcg-ind > * { margin: 0; }
.gcg-ind__title { font-size: 17px; font-weight: 600; color: #fff; }
.gcg-ind__text { font-size: 14px; line-height: 1.6; color: var(--gcg-muted-dark); margin-top: 8px !important; }

/* ---------------- Project cards ---------------- */
.gcg-projs { gap: 24px; }
.gcg-proj { position: relative; background: #fff; border: 1px solid var(--gcg-line); border-radius: var(--gcg-radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s; }
.gcg-proj > * { margin: 0 !important; }
.gcg-proj__img img { display: block; width: 100%; height: 220px; object-fit: cover; }
.gcg-proj__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.gcg-proj__body > * { margin: 0 !important; }
.gcg-proj__title { font-size: 20px; line-height: 1.3; }
.gcg-proj__loc { font-size: 14px; color: var(--gcg-blue); font-weight: 500; }
.gcg-proj__text { font-size: 14px; line-height: 1.6; color: var(--gcg-slate); }
.gcg-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.gcg-tag { background: var(--gcg-mist); color: var(--gcg-slate); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 4px; line-height: 1.5; }
.gcg-tag--y { background: #FFF6CC; color: #5C4A00; }

/* ---------------- Why us ---------------- */
.gcg-whys > * { margin: 0 !important; }
.gcg-why { display: grid; grid-template-columns: 22px 1fr; column-gap: 18px; padding: 18px 0; border-bottom: 1px solid #D5DEE8; }
.gcg-why::before {
	content: "";
	grid-row: 1 / span 2;
	width: 22px;
	height: 22px;
	margin-top: 3px;
	background: var(--gcg-blue);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gcg-why > * { margin: 0; grid-column: 2; }
.gcg-why__title { font-size: 17px; font-weight: 600; }
.gcg-why__text { font-size: 15px; line-height: 1.6; color: var(--gcg-slate); margin-top: 4px !important; }

/* ---------------- Leader ---------------- */
.gcg-leader { background: #fff; border: 1px solid var(--gcg-line); border-radius: var(--gcg-radius); overflow: hidden; }
.gcg-leader > * { margin: 0 !important; }
.gcg-leader__photo img { display: block; width: 100%; height: 340px; object-fit: cover; object-position: 50% 18%; }
.gcg-leader__body { padding: 26px; }
.gcg-leader__body > * { margin: 0; }
.gcg-leader__body > * + * { margin-top: 8px; }
.gcg-leader__name { font-size: 22px; font-weight: 700; }
.gcg-leader__role { font-size: 15px; font-weight: 500; }
.gcg-leader__bio { font-size: 14.5px; line-height: 1.65; color: var(--gcg-slate); }
.gcg-leader__reg { font-size: 13px; color: var(--gcg-slate); padding-top: 10px; border-top: 1px solid var(--gcg-line); margin-top: 14px !important; }
.gcg-leader--wide { display: flex; flex-wrap: wrap; }
.gcg-leader--wide .gcg-leader__photo { flex: 1 1 300px; }
.gcg-leader--wide .gcg-leader__photo img { height: 100%; min-height: 380px; }
.gcg-leader--wide .gcg-leader__body { flex: 2 1 460px; padding: clamp(26px, 4vw, 44px); }
.gcg-leader--wide .gcg-leader__name { font-size: clamp(24px, 2.6vw, 32px); }
.gcg-leader--wide .gcg-leader__bio { font-size: 16px; }

/* ---------------- CTA band ---------------- */
.gcg-cta { gap: 24px; align-items: center; }
.gcg-cta > * { margin: 0 !important; }
.gcg-cta__copy { flex: 1 1 520px; min-width: 0; }
.gcg-cta__copy > * { margin: 0; }
.gcg-cta__title { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.gcg-cta__text { font-size: 17px; color: #3B3000; margin-top: 10px !important; }

/* ---------------- Inner pages ---------------- */
.gcg-sec--pagehero .gcg-wrap > * + * { margin-top: 18px; }
.gcg-pagehero__title { font-size: clamp(32px, 4vw, 50px); margin: 0; max-width: 900px; }
.gcg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.gcg-chips a { display: inline-block; border: 1px solid var(--gcg-line-2); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--gcg-navy); text-decoration: none; line-height: 1.4; }
.gcg-chips a:hover { border-color: var(--gcg-blue); color: var(--gcg-blue); }
[id] { scroll-margin-top: 140px; }

.gcg-methods { gap: 16px; }
.gcg-method { background: #fff; border: 1px solid var(--gcg-line); border-top: 3px solid var(--gcg-yellow); border-radius: 8px; padding: 22px; margin: 0 !important; }
.gcg-sec:not(.gcg-sec--mist) .gcg-method { background: var(--gcg-mist); border-color: var(--gcg-mist); border-top-color: var(--gcg-yellow); }
.gcg-method > * { margin: 0; }
.gcg-method__title { font-size: 17px; font-weight: 600; line-height: 1.35; }
.gcg-method__text { font-size: 14.5px; line-height: 1.65; color: var(--gcg-slate); margin-top: 8px !important; }

.gcg-pd { gap: 32px 48px; align-items: center; }
.gcg-pd > * { margin: 0 !important; }
.gcg-pd__img { flex: 1 1 420px; min-width: 0; }
.gcg-pd__img img { display: block; width: 100%; height: clamp(240px, 30vw, 360px); object-fit: cover; border-radius: var(--gcg-radius); }
.gcg-pd__body { flex: 1 1 420px; min-width: 0; }
.gcg-pd__body > * { margin: 0; }
.gcg-pd__body > * + * { margin-top: 16px; }
.gcg-meta { list-style: none; padding: 0; margin: 0; font-size: 15px; color: var(--gcg-slate); }
.gcg-meta li { padding: 8px 0; border-bottom: 1px solid var(--gcg-line); }
.gcg-meta strong { color: var(--gcg-navy); font-weight: 600; }
.gcg-gallery-label { margin-top: 44px !important; }
.gcg-gallery.wp-block-gallery { gap: 12px; margin-top: 14px !important; }
.gcg-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img { height: 240px; object-fit: cover; border-radius: 8px; }

.gcg-cinfo .gcg-ci { padding: 18px 0; border-bottom: 1px solid var(--gcg-line); margin: 0 !important; }
.gcg-ci > * { margin: 0; }
.gcg-ci__title { font-size: 15px; font-weight: 600; }
.gcg-ci__text { color: var(--gcg-slate); margin-top: 4px !important; }
.gcg-ci__text a { text-decoration: none; }
.gcg-formcard { background: var(--gcg-mist); border-radius: 12px; padding: clamp(22px, 4vw, 36px); }
.gcg-mapwrap { margin: 0; line-height: 0; }
.gcg-map { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.15); }

/* ---------------- Contact form ---------------- */
.gcg-form { margin-top: 22px; }
.gcg-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gcg-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.gcg-form__full { grid-column: 1 / -1; }
.gcg-form :is(input, select, textarea) { width: 100%; box-sizing: border-box; border: 1px solid var(--gcg-line-2); border-radius: 6px; background: #fff; color: var(--gcg-navy); font-size: 15px; padding: 12px 14px; min-height: 48px; }
.gcg-form :is(input, select, textarea):focus { outline: 2px solid var(--gcg-blue); outline-offset: 1px; border-color: var(--gcg-blue); }
html[dir="rtl"] .gcg-form input[dir="ltr"] { text-align: right; }
.gcg-req { color: var(--gcg-red); }
.gcg-form__send { margin-top: 20px; border: 0; cursor: pointer; }
.gcg-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gcg-form__msg { padding: 14px 16px; border-radius: 8px; font-weight: 500; margin: 16px 0 0; }
.gcg-form__msg.is-ok { background: #E6F6EC; color: #145A2E; }
.gcg-form__msg.is-err { background: #FDECEC; color: #8A1116; }

/* ---------------- Default page template ---------------- */
.gcg-pagehead { background: var(--gcg-mist); padding: 56px 24px; border-bottom: 1px solid var(--gcg-line); }
.gcg-pagehead h1 { margin: 0; font-size: clamp(30px, 3.6vw, 44px); }
.gcg-prose { padding: 48px 24px 80px; }

/* ---------------- Header ---------------- */
.gcg-site-header { position: sticky; top: 0; z-index: 50; }
body.admin-bar .gcg-site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .gcg-site-header { top: 0; position: relative; } }
.gcg-topbar { background: var(--gcg-navy); color: #E6EEF6; font-size: 13px; line-height: 1.4; }
.gcg-topbar__in { max-width: 1200px; margin-inline: auto; padding: 9px 24px; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; align-items: center; }
.gcg-topbar__info { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.gcg-topbar a, .gcg-topbar__addr { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.gcg-topbar a:hover { color: var(--gcg-yellow); }
.gcg-topbar svg { width: 15px; height: 15px; opacity: .8; }
.gcg-lang { color: var(--gcg-yellow) !important; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.gcg-bar { background: #fff; border-bottom: 1px solid var(--gcg-line); }
.gcg-bar__in { max-width: 1200px; margin-inline: auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.gcg-brand { display: block; flex: none; }
.gcg-brand img { display: block; height: 52px; width: auto; }
.gcg-nav { display: flex; align-items: center; gap: 28px; }
.gcg-nav__list, .gcg-mnav__list { list-style: none; margin: 0; padding: 0; }
.gcg-nav__list { display: flex; gap: 28px; }
.gcg-nav__list a { color: var(--gcg-navy); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0; position: relative; }
.gcg-nav__list a:hover, .gcg-nav__list a[aria-current="page"] { color: var(--gcg-blue); }
.gcg-nav__list a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--gcg-yellow); }
.gcg-nav__cta { background: var(--gcg-blue); color: #fff !important; padding: 12px 20px; border-radius: 6px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.gcg-nav__cta:hover { background: var(--gcg-navy); }
.gcg-mnav { display: none; }
.gcg-mnav summary { list-style: none; width: 44px; height: 44px; border: 1px solid var(--gcg-line-2); border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--gcg-navy); }
.gcg-mnav summary::-webkit-details-marker { display: none; }
.gcg-mnav svg { width: 22px; height: 22px; }
.gcg-mnav__close, .gcg-mnav[open] .gcg-mnav__open { display: none; }
.gcg-mnav[open] .gcg-mnav__close { display: flex; }
.gcg-mnav__open { display: flex; }
.gcg-mnav__panel { position: absolute; inset-inline: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--gcg-line); box-shadow: 0 16px 30px rgba(11, 37, 69, .12); padding: 8px 24px 24px; display: flex; flex-direction: column; gap: 16px; }
.gcg-mnav__list a { display: block; padding: 13px 0; border-bottom: 1px solid var(--gcg-line); color: var(--gcg-navy); text-decoration: none; font-weight: 500; font-size: 16px; }
.gcg-mnav__list a[aria-current="page"] { color: var(--gcg-blue); }
.gcg-mnav__panel .gcg-nav__cta { text-align: center; padding: 14px; }
.gcg-mnav__panel .gcg-lang { color: var(--gcg-blue) !important; justify-content: center; padding: 8px; }

@media (max-width: 1040px) {
	.gcg-nav { display: none; }
	.gcg-mnav { display: block; }
	.gcg-brand img { height: 44px; }
	.gcg-site-header { position: relative; }
}
@media (max-width: 640px) {
	.gcg-topbar__addr, .gcg-topbar__info a:first-child { display: none; }
	.gcg-bar__in { padding: 10px 18px; }
	.gcg-brand img { height: 38px; }
	.gcg-sec { padding-inline: 18px; }
	.gcg-form__grid { grid-template-columns: 1fr; }
	.gcg-hero { gap: 32px; }
	.gcg-split { gap: 28px; }
	.gcg-wrap > .gcg-head, .gcg-wrap > .gcg-head-row { margin-bottom: 28px; }
	.gcg-map { height: 320px; }
}

/* ---------------- Footer ---------------- */
.gcg-foot { background: var(--gcg-navy); color: #E6EEF6; font-size: 14px; line-height: 1.65; }
.gcg-foot__grid { max-width: 1200px; margin-inline: auto; padding: 72px 24px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.gcg-foot p { margin: 0 0 10px; color: var(--gcg-muted-dark); }
.gcg-foot__h { color: #fff !important; font-weight: 600; font-size: 15px; margin-bottom: 14px !important; }
.gcg-foot ul { list-style: none; padding: 0; margin: 0; }
.gcg-foot li { margin: 0 0 10px; }
.gcg-foot a { color: var(--gcg-muted-dark); text-decoration: none; }
.gcg-foot a:hover { color: #fff; }
.gcg-foot__contact a { color: var(--gcg-yellow); }
.gcg-foot__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gcg-foot__logo img { width: 44px; height: auto; border-radius: 6px; flex: none; }
.gcg-foot__logo strong { color: #fff; font-size: 16px; line-height: 1.4; }
.gcg-foot__base { max-width: 1200px; margin-inline: auto; padding: 20px 24px 32px; border-top: 1px solid var(--gcg-navy-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--gcg-muted-dark); }
.gcg-wa { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--gcg-wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); transition: transform .15s; }
.gcg-wa:hover { transform: scale(1.06); color: #fff; }

/* 404 */
.gcg-404 h1 { font-size: clamp(32px, 4vw, 50px); margin: 14px 0; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.gcg-card, .gcg-proj, .gcg-wa { transition: none; }
}

/* Grids: collapse empty tracks so items always fill the row. */
.gcg-facts { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)) !important; }
.gcg-cards { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)) !important; }
.gcg-steps { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)) !important; }
.gcg-inds { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)) !important; }
.gcg-projs { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)) !important; }
.gcg-vms { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)) !important; }
.gcg-methods { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)) !important; }
.gcg-gallery.wp-block-gallery.has-nested-images figure.wp-block-image { height: 260px; }
.gcg-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img { height: 100% !important; width: 100%; object-fit: cover; }
@media (max-width: 640px) {
	.gcg-facts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.gcg-fact__num { font-size: 26px; }
	.gcg-gallery.wp-block-gallery.has-nested-images figure.wp-block-image { height: 200px; }
}
