/*
Theme Name: Baruch Engineers Modern V16 Clients Update
Theme URI: https://www.baruchengineers.com/
Author: Baruch Engineers
Author URI: https://www.baruchengineers.com/
Description: Ultra modern elegant WordPress theme for Baruch Engineers with updated client names.
Version: 1.1.6
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baruch-engineers-modern-v16-clients-update
Tags: custom-logo, featured-images, one-column, two-columns, custom-menu, footer-widgets, translation-ready
*/

:root {
	--ink: #08234d;
	--deep: #061b3d;
	--blue: #0b3a78;
	--blue-soft: #2f66a3;
	--blue-muted: #5d7799;
	--paper: #fbfbf8;
	--soft: #eef1f3;
	--line: rgba(8, 35, 77, 0.12);
	--muted: #5d7799;
	--red: #d71920;
	--orange: #f36f21;
	--champagne: #f4d7a1;
	--white: #ffffff;
	--radius: 22px;
	--shadow: 0 32px 90px rgba(8, 35, 77, 0.15);
	--container: 1160px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		linear-gradient(135deg, rgba(251, 251, 248, 0.98), rgba(238, 241, 243, 0.72)),
		radial-gradient(circle at 70% 18%, rgba(243, 111, 33, 0.14), transparent 32%),
		radial-gradient(circle at 22% 72%, rgba(215, 25, 32, 0.08), transparent 34%);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.58;
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
}

body::before {
	position: fixed;
	inset: 0;
	z-index: -1;
	content: "";
	background-image:
		linear-gradient(rgba(8, 35, 77, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(8, 35, 77, 0.05) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 75%);
	pointer-events: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

p {
	margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 1rem;
	color: var(--ink);
	font-weight: 850;
	letter-spacing: -0.045em;
	line-height: 1.02;
}

h1 {
	max-width: 900px;
	font-size: clamp(3.15rem, 8vw, 7.8rem);
	line-height: 0.91;
	letter-spacing: -0.07em;
}

h2 {
	font-size: clamp(2rem, 4vw, 4.4rem);
}

h3 {
	font-size: 1.1rem;
	letter-spacing: -0.025em;
}

.container {
	width: min(calc(100% - 40px), var(--container));
	margin: 0 auto;
}

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	z-index: 1000;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 12px 16px;
	background: var(--white);
	color: var(--ink);
	clip: auto;
}

.scroll-progress {
	position: fixed;
	z-index: 120;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--blue), var(--orange), var(--champagne));
	box-shadow: 0 8px 24px rgba(8, 35, 77, 0.18);
	transform: scaleX(0);
	transform-origin: left center;
	pointer-events: none;
}

.site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	padding-bottom: 14px;
	color: var(--ink);
	background: transparent;
	backdrop-filter: blur(18px);
}

.site-header.is-scrolled .nav-shell {
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 22px 60px rgba(8, 35, 77, 0.12);
}

.top-strip {
	font-size: 0.86rem;
}

.top-strip__inner,
.nav-shell,
.footer-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.top-strip__inner {
	min-height: 36px;
	color: rgba(8, 35, 77, 0.7);
}

.nav-shell {
	min-height: 68px;
	padding: 10px 12px 10px 18px;
	border: 1px solid rgba(255, 255, 255, 0.74);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.64);
	box-shadow: 0 18px 48px rgba(8, 35, 77, 0.09);
	animation: navDrop 760ms cubic-bezier(.2, .8, .2, 1) both;
}

.site-logo img {
	max-height: 54px;
	width: auto;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
}

.site-brand__mark {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 50%;
	background: conic-gradient(from 140deg, var(--red), var(--orange), var(--champagne), var(--red));
	color: var(--white);
	font-weight: 900;
	box-shadow: 0 10px 28px rgba(243, 111, 33, 0.28);
}

.site-brand__text {
	display: grid;
	line-height: 1.12;
}

.site-brand__text strong {
	font-size: 1.06rem;
}

.site-brand__text small {
	color: var(--muted);
	font-size: 0.74rem;
	font-weight: 800;
	text-transform: uppercase;
}

.primary-navigation .menu,
.footer-list,
.featured-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-navigation .menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.primary-navigation a {
	display: block;
	padding: 10px 13px;
	border-radius: 999px;
	color: rgba(8, 35, 77, 0.68);
	font-size: 0.93rem;
	font-weight: 700;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
	background: rgba(8, 35, 77, 0.07);
	color: var(--ink);
}

.header-cta,
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 13px 20px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.header-cta,
.btn-primary {
	background: linear-gradient(135deg, var(--deep), var(--blue));
	color: var(--white);
	box-shadow: 0 16px 36px rgba(8, 35, 77, 0.22);
}

.btn-secondary {
	border-color: rgba(8, 35, 77, 0.12);
	background: rgba(255, 255, 255, 0.66);
	color: var(--ink);
}

.btn-light {
	background: var(--white);
	color: var(--ink);
}

.btn:hover,
.header-cta:hover {
	transform: translateY(-2px);
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(8, 35, 77, 0.12);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.7);
}

.menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 22px;
	height: 2px;
	margin: 5px auto;
	background: var(--ink);
	transition: transform 180ms ease, opacity 180ms ease;
}

.hero-section {
	position: relative;
	overflow: hidden;
	padding: 86px 0 54px;
	color: var(--ink);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
	align-items: center;
	gap: 54px;
}

.hero-copy h1 span,
.gradient-text {
	display: block;
	background: linear-gradient(105deg, var(--deep) 0%, var(--blue) 38%, var(--blue-soft) 66%, var(--orange) 100%);
	background-size: 180% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: titleSheen 5.8s ease-in-out infinite alternate;
}

.hero-copy p {
	max-width: 680px;
	color: var(--muted);
	font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	color: rgba(8, 35, 77, 0.68);
	font-size: 0.78rem;
	font-weight: 850;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 9px;
	height: 9px;
	content: "";
	border-radius: 50%;
	background: linear-gradient(135deg, var(--red), var(--orange));
	box-shadow: 0 0 0 6px rgba(243, 111, 33, 0.14);
}

.hero-actions,
.trust-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
}

.hero-meta,
.stat-board,
.story-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 42px;
}

.meta-card,
.stat-board div {
	position: relative;
	overflow: hidden;
	padding: 18px;
	border: 1px solid rgba(8, 35, 77, 0.08);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.58);
	box-shadow: 0 14px 40px rgba(8, 35, 77, 0.07);
}

.meta-card strong,
.stat-board strong {
	display: block;
	color: var(--ink);
	font-size: 1.35rem;
	letter-spacing: -0.04em;
}

.meta-card span,
.stat-board span {
	color: var(--muted);
	font-size: 0.86rem;
	font-weight: 700;
}

.hero-panel,
.image-panel,
.real-gallery figure,
.contact-image,
.story-image {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.78);
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.62);
	box-shadow: var(--shadow);
}

.hero-panel {
	min-height: 580px;
	animation: floatCard 6s ease-in-out infinite;
}

.hero-panel::before {
	position: absolute;
	inset: 18px;
	z-index: 1;
	content: "";
	border: 1px solid rgba(255, 255, 255, 0.48);
	border-radius: 28px;
	pointer-events: none;
}

.hero-panel img,
.image-panel img,
.story-image img,
.contact-image img,
.real-gallery img,
.gallery-grid img,
.product-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.motion-image.is-broken {
	display: none;
}

.has-image-fallback {
	min-height: 280px;
	background:
		linear-gradient(135deg, rgba(8, 35, 77, 0.18), rgba(243, 111, 33, 0.18)),
		radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.68), transparent 28%),
		linear-gradient(135deg, #dfe8f3, #ffffff 48%, #b8c6d6);
}

.hero-panel img {
	position: absolute;
	inset: 0;
	transform: scale(1.06);
}

.floating-note,
.image-caption,
.real-gallery figcaption {
	position: absolute;
	z-index: 2;
	right: 20px;
	bottom: 20px;
	left: 20px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.68);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.74);
	backdrop-filter: blur(18px);
	color: var(--ink);
	box-shadow: 0 18px 42px rgba(8, 35, 77, 0.09);
}

.floating-note strong,
.image-caption strong,
.real-gallery figcaption {
	font-weight: 850;
	letter-spacing: -0.025em;
}

.floating-note p,
.image-caption span {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.section,
.content-section {
	padding: 82px 0;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 30px;
}

.section-heading h2 {
	max-width: 740px;
}

.section-heading p:not(.eyebrow) {
	max-width: 360px;
	color: var(--muted);
}

.card-grid,
.product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.product-card,
.why-card,
.post-card,
.empty-state {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(8, 35, 77, 0.08);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 0 20px 55px rgba(8, 35, 77, 0.07);
	transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.product-card {
	min-height: 290px;
	padding: 14px 14px 22px;
}

.product-card::before,
.meta-card::after {
	position: absolute;
	inset: -40% auto auto -60%;
	width: 60%;
	height: 200%;
	content: "";
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
	transform: rotate(22deg);
	transition: transform 700ms cubic-bezier(.2, .8, .2, 1);
	pointer-events: none;
}

.product-card:hover::before,
.meta-card:hover::after {
	transform: translateX(360%) rotate(22deg);
}

.product-card:hover,
.why-card:hover,
.post-card:hover {
	transform: translateY(-7px);
	border-color: rgba(47, 102, 163, 0.25);
	box-shadow: 0 32px 80px rgba(8, 35, 77, 0.13);
}

.product-card-media {
	position: relative;
	z-index: 1;
	height: 128px;
	margin-bottom: 18px;
	overflow: hidden;
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(8, 35, 77, 0.08), rgba(255, 255, 255, 0.72));
}

.product-card-media img,
.image-panel img,
.real-gallery img,
.gallery-grid img {
	transition: transform 620ms cubic-bezier(.2, .8, .2, 1), filter 620ms ease;
}

.product-card:hover .product-card-media img,
.image-panel:hover img,
.real-gallery figure:hover img,
.gallery-grid img:hover {
	filter: saturate(1.08) contrast(1.03);
	transform: scale(1.07);
}

.product-icon {
	position: relative;
	z-index: 1;
	display: grid;
	width: 52px;
	height: 52px;
	margin-bottom: 16px;
	place-items: center;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--deep), var(--blue));
	color: var(--white);
	font-weight: 900;
}

.product-card h3,
.product-card p,
.why-card h3,
.why-card p {
	position: relative;
	z-index: 1;
}

.product-card p,
.why-card p {
	color: var(--muted);
	font-size: 0.94rem;
}

.image-showcase {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 18px;
	margin-top: 18px;
}

.image-panel {
	min-height: 360px;
}

.image-panel-large {
	min-height: 470px;
}

.story-band,
.highlight-card,
.quote-card {
	position: relative;
	overflow: hidden;
	border-radius: 34px;
	background: linear-gradient(135deg, var(--deep), #0a2f66 58%, #092047);
	color: var(--white);
	padding: 58px;
	box-shadow: var(--shadow);
}

.story-band h2,
.story-band p,
.highlight-card h2,
.highlight-card p,
.quote-card h2,
.quote-card p {
	color: var(--white);
}

.story-content,
.highlight-card,
.quote-card,
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
	align-items: center;
	gap: 34px;
}

.story-metrics div {
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.06);
}

.story-metrics strong {
	display: block;
	color: var(--champagne);
	font-size: 2rem;
	letter-spacing: -0.05em;
}

.story-image img {
	height: 410px;
}

.gulf-highlight,
.industries-section,
.gallery-section {
	background: rgba(255, 255, 255, 0.36);
}

.industry-marquee {
	display: flex;
	gap: 12px;
	margin-top: 24px;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
	display: flex;
	flex: 0 0 auto;
	gap: 12px;
	animation: marquee 26s linear infinite;
}

.chip {
	white-space: nowrap;
	padding: 13px 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.64);
	color: rgba(8, 35, 77, 0.72);
	font-weight: 760;
}

.real-gallery {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr 1fr;
	gap: 14px;
	margin-top: 30px;
}

.real-gallery figure {
	min-height: 260px;
	margin: 0;
}

.real-gallery figure:first-child {
	min-height: 340px;
}

.why-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.why-card {
	padding: 26px;
}

.featured-list {
	display: grid;
	gap: 12px;
}

.featured-list li {
	position: relative;
	padding: 16px 18px 16px 46px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--white);
	font-weight: 800;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.gallery-grid img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 26px;
	box-shadow: 0 14px 36px rgba(8, 35, 77, 0.11);
}

.client-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.client-logo {
	display: grid;
	min-height: 92px;
	place-items: center;
	border: 1px solid rgba(8, 35, 77, 0.08);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.62);
	color: var(--muted);
	font-weight: 900;
	text-transform: uppercase;
}

.quote-cta {
	padding: 70px 0;
	background: linear-gradient(135deg, var(--deep), var(--blue));
}

.contact-details,
.contact-form {
	padding: 34px;
	border: 1px solid rgba(8, 35, 77, 0.08);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 0 20px 60px rgba(8, 35, 77, 0.08);
}

.contact-details a {
	color: var(--blue);
	font-weight: 800;
}

.contact-image {
	margin-top: 24px;
	border-radius: 24px;
}

.contact-image img {
	height: 240px;
}

.contact-form {
	display: grid;
	gap: 12px;
}

.contact-form label {
	display: grid;
	gap: 7px;
	color: var(--ink);
	font-weight: 800;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid rgba(8, 35, 77, 0.11);
	border-radius: 18px;
	background: var(--white);
	padding: 16px 18px;
	color: var(--ink);
	font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 0;
	border-color: rgba(243, 111, 33, 0.62);
	box-shadow: 0 0 0 5px rgba(243, 111, 33, 0.12);
}

.map-wrap {
	margin-top: 42px;
}

.map-wrap iframe {
	width: 100%;
	height: 380px;
	border: 0;
	border-radius: 24px;
	box-shadow: var(--shadow);
}

.site-footer {
	background: #061b3d;
	color: rgba(255, 255, 255, 0.78);
}

.site-footer .site-brand {
	color: var(--white);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.75fr 0.85fr 0.95fr;
	gap: 34px;
	padding: 64px 0;
}

.footer-title {
	color: var(--white);
	font-size: 1rem;
	letter-spacing: 0;
}

.footer-brand p,
.site-footer address {
	color: rgba(255, 255, 255, 0.7);
	font-style: normal;
}

.footer-contact {
	display: block;
	margin-top: 8px;
	color: var(--white);
	font-weight: 800;
}

.site-footer .menu,
.footer-list {
	display: grid;
	gap: 8px;
}

.site-footer a:hover {
	color: var(--champagne);
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding-bottom: 42px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 18px 0;
	font-size: 0.92rem;
}

.whatsapp-float {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 110;
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border-radius: 50%;
	background: #25d366;
	color: var(--white);
	font-weight: 900;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.page-hero {
	background: linear-gradient(135deg, var(--deep), var(--blue));
	color: var(--white);
}

.compact-hero {
	padding: 90px 0;
}

.page-hero h1,
.page-hero p {
	color: var(--white);
}

.readable {
	max-width: 860px;
}

.readable a,
.text-link {
	color: var(--blue);
	text-decoration: underline;
}

.featured-image {
	width: 100%;
	margin-bottom: 28px;
	border-radius: 24px;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.post-card {
	overflow: hidden;
}

.post-card__media {
	display: grid;
	min-height: 190px;
	place-items: center;
	background: linear-gradient(135deg, var(--deep), var(--blue));
	color: var(--white);
	font-weight: 900;
}

.post-card__media img {
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.post-card__body,
.empty-state {
	padding: 24px;
}

.post-card__meta {
	color: var(--blue);
	font-weight: 800;
}

.navigation,
.pagination {
	grid-column: 1 / -1;
}

.reveal {
	opacity: 1;
	transform: translateY(0) scale(1);
	transition: opacity 820ms cubic-bezier(.2, .8, .2, 1), transform 820ms cubic-bezier(.2, .8, .2, 1), clip-path 900ms cubic-bezier(.2, .8, .2, 1);
}

.hero-panel.reveal,
.image-panel.reveal,
.real-gallery.reveal figure {
	clip-path: inset(0 0 0 0 round 30px);
}

.js .reveal.is-visible,
.reveal.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.js .hero-panel.reveal.is-visible,
.js .image-panel.reveal.is-visible,
.js .real-gallery.reveal.is-visible figure,
.hero-panel.reveal.is-visible,
.image-panel.reveal.is-visible,
.real-gallery.reveal.is-visible figure {
	clip-path: inset(0 0 0 0 round 30px);
}

@keyframes floatCard {
	0%,
	100% {
		transform: translateY(0) rotateX(0) rotateY(0);
	}
	50% {
		transform: translateY(-16px) rotateX(1.2deg) rotateY(-1.6deg);
	}
}

@keyframes navDrop {
	from {
		opacity: 0;
		transform: translateY(-18px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes titleSheen {
	from {
		background-position: 0% 50%;
	}
	to {
		background-position: 100% 50%;
	}
}

@keyframes marquee {
	to {
		transform: translateX(calc(-100% - 12px));
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 1ms !important;
		scroll-behavior: auto !important;
		transition-duration: 1ms !important;
	}
}

@media (max-width: 1040px) {
	.header-cta {
		display: none;
	}

	.card-grid,
	.product-grid,
	.why-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.client-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.footer-grid,
	.posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.top-strip {
		display: none;
	}

	.nav-shell {
		min-height: 72px;
		border-radius: 24px;
	}

	.menu-toggle {
		display: block;
	}

	.primary-navigation {
		position: fixed;
		top: 82px;
		right: 16px;
		left: 16px;
		display: none;
		padding: 12px;
		border: 1px solid rgba(8, 35, 77, 0.08);
		border-radius: 22px;
		background: rgba(255, 255, 255, 0.96);
		box-shadow: var(--shadow);
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-navigation .menu {
		display: grid;
		gap: 2px;
	}

	.primary-navigation a {
		padding: 13px 12px;
	}

	.hero-section {
		padding: 58px 0 44px;
	}

	.hero-grid,
	.story-content,
	.highlight-card,
	.quote-card,
	.contact-grid,
	.image-showcase,
	.real-gallery,
	.section-heading {
		display: block;
	}

	.hero-panel {
		min-height: 520px;
		margin-top: 34px;
	}

	.section-heading p:not(.eyebrow) {
		margin-top: 14px;
	}

	.real-gallery figure {
		margin-top: 14px;
	}

	.story-image {
		margin-top: 26px;
	}

	.gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-grid,
	.footer-widgets,
	.posts-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	body {
		font-size: 15px;
	}

	.container {
		width: min(calc(100% - 24px), var(--container));
	}

	.site-brand__text small {
		display: none;
	}

	.card-grid,
	.product-grid,
	.why-grid,
	.gallery-grid,
	.client-grid,
	.hero-meta,
	.story-metrics {
		grid-template-columns: 1fr;
	}

	.section,
	.content-section {
		padding: 64px 0;
	}

	.story-band,
	.highlight-card,
	.quote-card,
	.contact-details,
	.contact-form {
		padding: 26px;
		border-radius: 24px;
	}

	.hero-actions .btn {
		width: 100%;
	}

	.hero-panel {
		min-height: 430px;
	}

	.footer-bottom__inner {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* Live-hosting safety: content must never depend on scroll animation to become visible. */
.site-main,
.site-main section,
.site-main .container,
.reveal,
.js .reveal,
.hero-panel.reveal,
.image-panel.reveal,
.real-gallery.reveal figure,
.section-heading.reveal,
.hero-copy.reveal,
.hero-meta.reveal,
.product-card.reveal {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	clip-path: none !important;
}

.site-main,
.site-main section,
.site-main .container {
	display: block;
}

.card-grid,
.product-grid,
.industry-grid,
.why-grid,
.gallery-grid,
.client-grid,
.footer-grid,
.footer-widgets,
.posts-grid,
.hero-grid,
.story-grid,
.gulf-grid,
.featured-grid,
.contact-grid,
.image-showcase,
.real-gallery {
	display: grid;
}

.hero-actions,
.cta-actions,
.footer-bottom,
.footer-bottom__inner,
.top-strip__inner,
.nav-shell,
.hero-meta,
.story-metrics,
.client-logo {
	display: flex;
}

.hero-panel-photo {
	background-image: none !important;
	background-color: rgba(255, 255, 255, 0.72);
}

.hero-panel-photo > img {
	opacity: 1 !important;
	object-position: center top;
}

.site-main .hero-section .hero-grid {
	display: grid !important;
	grid-template-columns: minmax(0, 0.9fr) minmax(300px, 420px) !important;
	align-items: center;
	gap: clamp(28px, 4vw, 64px);
}

.site-main .hero-section .hero-panel-photo {
	display: block !important;
	min-height: min(620px, calc(100vh - 180px));
	margin-top: 0;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.86), rgba(238,241,243,0.66)),
		radial-gradient(circle at 50% 18%, rgba(47,102,163,0.14), transparent 34%);
}

.hero-panel-photo > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain !important;
	object-position: center bottom !important;
	transform: none !important;
}

.hero-panel-photo .floating-note {
	display: none;
}

@media (max-width: 980px) {
	.hero-grid,
	.story-content,
	.highlight-card,
	.quote-card,
	.contact-grid,
	.image-showcase,
	.real-gallery,
	.section-heading {
		display: block;
	}
}

@media (max-width: 620px) {
	.card-grid,
	.product-grid,
	.why-grid,
	.gallery-grid,
	.client-grid,
	.hero-meta,
	.story-metrics {
		grid-template-columns: 1fr;
	}

	.footer-bottom__inner {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* Absolute visible-content guard for live WordPress hosting. */
main, #primary, .site-main, .site-main *, .hero-section, .hero-section * { opacity: 1 !important; visibility: visible !important; }
.hero-copy, .hero-panel, .section-heading, .product-card, .story-band, .highlight-card, .quote-card, .contact-section { transform: none !important; clip-path: none !important; }

@media (max-width: 760px) {
	.hero-section {
		padding: 38px 0 48px;
		overflow: visible;
	}

	.site-main .hero-section .hero-grid {
		display: block !important;
		width: min(calc(100% - 32px), var(--container));
	}

	.hero-copy {
		width: 100%;
		max-width: none;
	}

	.hero-copy h1 {
		max-width: 100%;
		font-size: clamp(3rem, 15vw, 4.8rem);
		line-height: 0.95;
		letter-spacing: -0.055em;
	}

	.hero-copy p {
		max-width: 100%;
		font-size: 1rem;
		line-height: 1.7;
	}

	.hero-actions {
		display: grid !important;
		grid-template-columns: 1fr;
		gap: 12px;
		width: 100%;
	}

	.hero-actions .btn {
		justify-content: center;
		width: 100%;
		min-height: 54px;
		padding: 14px 18px;
		border-radius: 999px;
	}

	.hero-meta {
		display: grid !important;
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.site-main .hero-section .hero-panel-photo {
		width: 100%;
		min-height: 390px;
		margin-top: 28px;
		border-radius: 28px;
	}

	.hero-panel-photo > img {
		object-fit: contain !important;
		object-position: center bottom !important;
	}
}

@media (max-width: 420px) {
	.hero-copy h1 {
		font-size: clamp(2.8rem, 14vw, 3.7rem);
	}

	.site-main .hero-section .hero-panel-photo {
		min-height: 340px;
	}
}

/* Final hero placement: keep uploaded photo beside the headline on desktop/tablet. */
@media (min-width: 761px) {
	.site-main .hero-section > .container.hero-grid {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(320px, 430px) !important;
		align-items: center !important;
		gap: clamp(32px, 5vw, 76px) !important;
	}

	.site-main .hero-section > .container.hero-grid > .hero-copy {
		grid-column: 1 !important;
		grid-row: 1 !important;
		min-width: 0;
		width: auto !important;
	}

	.site-main .hero-section > .container.hero-grid > .hero-panel-photo {
		grid-column: 2 !important;
		grid-row: 1 !important;
		width: 100% !important;
		min-height: clamp(420px, 48vw, 620px) !important;
		margin: 0 !important;
	}

	.site-main .hero-section > .container.hero-grid > .hero-panel-photo > img {
		object-fit: contain !important;
		object-position: center bottom !important;
	}
}

.locations-section {
	position: relative;
	padding: 82px 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(238, 241, 243, 0.82)),
		radial-gradient(circle at 12% 12%, rgba(47, 102, 163, 0.12), transparent 28%);
}

.locations-heading {
	margin-bottom: 34px;
}

.locations-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.location-card {
	overflow: hidden;
	border: 1px solid rgba(8, 35, 77, 0.1);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 18px 54px rgba(8, 35, 77, 0.1);
}

.location-card__body {
	padding: 28px;
}

.location-card__body span {
	display: inline-flex;
	margin-bottom: 12px;
	color: var(--blue);
	font-size: 0.78rem;
	font-weight: 850;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.location-card__body h3 {
	margin-bottom: 12px;
	font-size: clamp(1.4rem, 2vw, 2rem);
}

.location-card__body address {
	color: var(--muted);
	font-style: normal;
	font-weight: 650;
	line-height: 1.7;
}

.location-map {
	height: 310px;
	border-top: 1px solid rgba(8, 35, 77, 0.1);
}

.location-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: saturate(0.9) contrast(1.05);
}

@media (max-width: 860px) {
	.locations-section {
		padding: 64px 0;
	}

	.locations-grid {
		grid-template-columns: 1fr;
	}

	.location-map {
		height: 280px;
	}
}

