/* ==========================================================================
   SIPZERA Construction — main stylesheet
   LTR (English) + RTL (Hebrew) via CSS logical properties.
   ========================================================================== */

:root {
	/* Dark theme */
	--dark: #101214;
	--dark-2: #1f2227;
	--dark-3: #2a2e35;
	--card: #1a1d22;
	--card-grad: linear-gradient(180deg, #1f2227 0%, #181a1e 100%);
	--ink: #f2efe8;
	--text: #b4b8bf;
	--muted: #8a8f97;
	--line: rgba(255, 255, 255, .09);
	--bg: #121418;           /* graphite — standard sections */
	--bg-muted: #1c1a16;     /* warm bronze-charcoal — alternate sections */
	--bg-alt-2: #151412;
	--grid: rgba(201, 161, 91, .055);
	--grid-strong: rgba(201, 161, 91, .09);
	color-scheme: dark;
	--gold: #c9a15b;
	--gold-2: #b8894a;
	--gold-light: #e4c585;
	--gold-grad: linear-gradient(135deg, #e7c887 0%, #c9a15b 55%, #b3843f 100%);
	--radius: 4px;
	--shadow: 0 18px 40px -18px rgba(20, 22, 26, .35);
	--container: 1240px;
	--gutter: clamp(20px, 4vw, 40px);
	--font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	--header-h: 88px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--dir: 1;            /* 1 = LTR, -1 = RTL (used for transforms) */
}

[dir="rtl"] {
	--font-head: 'Heebo', 'Montserrat', system-ui, Arial, sans-serif;
	--font-body: 'Heebo', 'Inter', system-ui, Arial, sans-serif;
	--dir: -1;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.12; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.flip { transform: scaleX(var(--dir)); }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--dark); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typography helpers ---------- */
.eyebrow {
	display: flex; align-items: center; gap: 14px;
	font-family: var(--font-head); font-size: 12px; font-weight: 600;
	letter-spacing: .22em; text-transform: uppercase; color: #fff; margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 42px; height: 2px; background: var(--gold-grad); flex: none; }
.eyebrow-dark { color: var(--ink); }
[dir="rtl"] .eyebrow { letter-spacing: .04em; font-size: 14px; }

.section-title { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 22px; }
[dir="rtl"] .section-title { letter-spacing: 0; font-weight: 800; }
.lead { font-size: 17px; color: var(--text); }
.block-title { font-size: 22px; font-weight: 700; margin-bottom: 22px; }
.note { margin-top: 32px; color: var(--muted); }
.note a { color: var(--gold-2); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 28px; border-radius: var(--radius); border: 1.5px solid transparent;
	font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: .01em;
	transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
	white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(calc(4px * var(--dir))) scaleX(var(--dir)); }
.btn-sm { padding: 12px 22px; font-size: 13px; }
.btn-gold { background: var(--gold-grad); color: var(--dark); box-shadow: 0 10px 24px -12px rgba(201, 161, 91, .8); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(201, 161, 91, .9); }
.btn-outline { border-color: var(--gold); color: #fff; background: rgba(0,0,0,.15); }
.btn-outline:hover { background: var(--gold); color: var(--dark); }
.btn-dark { background: var(--dark-3); color: #fff; border-color: rgba(255,255,255,.08); }
.btn-dark:hover { background: var(--gold); color: var(--dark); }
.btn-outline-dark { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-dark:hover { background: #fff; color: var(--dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.link-gold { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-family: var(--font-head); font-weight: 700; font-size: 14px; white-space: nowrap; }
.link-gold .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-gold:hover .icon { transform: translateX(calc(4px * var(--dir))) scaleX(var(--dir)); }

.circle-btn, .slider-btn {
	display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	border: 1.5px solid var(--gold); color: var(--gold); background: transparent; flex: none;
	transition: background .25s, color .25s, transform .25s;
}
.circle-btn .icon, .slider-btn .icon { width: 18px; height: 18px; }
.slider-btn { color: var(--ink); border-color: var(--line); }
.slider-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.slider-btn-gold { background: var(--gold-grad); border-color: transparent; color: var(--dark); }
.slider-btn-gold:hover { color: var(--dark); transform: scale(1.06); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--header-h);
	display: flex; align-items: center;
	transition: background .35s, height .35s, box-shadow .35s;
}
.site-header.is-scrolled { background: rgba(22, 24, 28, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); height: 72px; box-shadow: 0 10px 30px -20px rgba(0,0,0,.6); }
.header-inner { display: flex; align-items: center; gap: 32px; }
.brand img { width: 190px; height: auto; transition: width .35s; }
.is-scrolled .brand img { width: 165px; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 34px; }
.nav-link { position: relative; color: rgba(255,255,255,.88); font-family: var(--font-head); font-size: 14px; font-weight: 500; padding: 8px 0; transition: color .2s; }
.nav-link::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
[dir="rtl"] .nav-link::after { transform-origin: right; }
.nav-link:hover, .nav-link.is-active { color: var(--gold-light); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
[dir="rtl"] .nav-link { font-size: 15px; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; border: 1px solid rgba(255,255,255,.22); border-radius: 30px; padding: 3px; }
.lang-switch a { color: rgba(255,255,255,.75); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 20px; line-height: 1; font-family: 'Montserrat', 'Heebo', sans-serif; }
.lang-switch a.is-active { background: var(--gold-grad); color: var(--dark); }
.lang-switch a:not(.is-active):hover { color: #fff; }

.menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; background: none; border: 0; padding: 0; }
.menu-toggle span { width: 26px; height: 2px; background: #fff; display: block; transition: transform .3s, opacity .3s; }
.menu-toggle span:nth-child(2) { width: 18px; margin-inline-start: auto; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Full-screen menu */
.menu-panel {
	position: fixed; inset: 0; z-index: 90; background: var(--dark);
	background-image: radial-gradient(circle at 80% 20%, rgba(201,161,91,.14), transparent 50%);
	display: flex; align-items: center; padding-top: var(--header-h);
	opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.menu-open .menu-panel { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-panel-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.menu-list li { overflow: hidden; }
.menu-list a {
	display: flex; align-items: baseline; gap: 18px; color: #fff; font-family: var(--font-head);
	font-size: clamp(30px, 4.6vw, 54px); font-weight: 700; line-height: 1.25; padding: 4px 0;
	transform: translateY(100%); transition: transform .6s var(--ease), color .2s;
}
.menu-list a small { font-size: 13px; color: var(--gold); font-weight: 600; letter-spacing: .1em; }
.menu-list a:hover, .menu-list a.is-active { color: var(--gold-light); }
.menu-open .menu-list a { transform: none; }
.menu-open .menu-list li:nth-child(2) a { transition-delay: .04s; }
.menu-open .menu-list li:nth-child(3) a { transition-delay: .08s; }
.menu-open .menu-list li:nth-child(4) a { transition-delay: .12s; }
.menu-open .menu-list li:nth-child(5) a { transition-delay: .16s; }
.menu-open .menu-list li:nth-child(6) a { transition-delay: .2s; }
.menu-open .menu-list li:nth-child(7) a { transition-delay: .24s; }
.menu-aside { color: rgba(255,255,255,.7); border-inline-start: 1px solid rgba(255,255,255,.12); padding-inline-start: 48px; }
.menu-aside p { margin-bottom: 10px; }
.menu-aside a:hover { color: var(--gold-light); }
.menu-lang { display: flex; gap: 18px; margin: 26px 0; }
.menu-lang a { font-weight: 600; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.menu-lang a.is-active { color: #fff; border-color: var(--gold); }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero { position: relative; min-height: max(680px, 92vh); display: flex; align-items: center; background: var(--dark); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center right; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, rgba(20,22,26,.95) 0%, rgba(20,22,26,.78) 35%, rgba(20,22,26,.2) 70%, rgba(20,22,26,.35) 100%),
	            linear-gradient(0deg, rgba(20,22,26,.6) 0%, transparent 30%);
}
[dir="rtl"] .hero::before {
	background: linear-gradient(-90deg, rgba(20,22,26,.95) 0%, rgba(20,22,26,.78) 35%, rgba(20,22,26,.2) 70%, rgba(20,22,26,.35) 100%),
	            linear-gradient(0deg, rgba(20,22,26,.6) 0%, transparent 30%);
}
[dir="rtl"] .hero-bg { background-position: center left; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; }
.hero-content { max-width: 760px; }
.hero-title { color: #fff; font-size: clamp(42px, 6vw, 84px); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: .98; margin-bottom: 26px; }
.hero-title span, .cta-title span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .hero-title { letter-spacing: 0; line-height: 1.05; }
.hero-text { font-size: 18px; color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 52px; }
.hero-badges li { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.35; color: rgba(255,255,255,.85); }
.hero-badges .icon { width: 30px; height: 30px; color: var(--gold); flex: none; }

.side-words { position: absolute; inset-inline-end: var(--gutter); margin: 0; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .28em; color: rgba(255,255,255,.9); display: flex; flex-direction: column; }
.side-words span { display: block; }
.hero-side { top: calc(var(--header-h) + 90px); font-size: 15px; line-height: 1.75; font-weight: 500; }
.hero-side::after { content: ""; width: 34px; height: 2px; background: var(--gold); margin-top: 16px; }
.hero-side-bottom { bottom: 60px; font-size: 10px; line-height: 1.8; color: rgba(255,255,255,.65); }
.hero-side-bottom::after { content: ""; position: absolute; inset-inline-start: calc(100% + 18px); bottom: 10px; width: 70px; height: 1px; background: rgba(255,255,255,.4); }
[dir="rtl"] .side-words { letter-spacing: .05em; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--dark); border-block: 1px solid rgba(255,255,255,.06); color: #fff; position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; flex-direction: column; justify-content: center; padding: 34px 40px; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; inset-inline-end: 0; top: 28%; height: 44%; width: 1px; background: rgba(255,255,255,.14); }
.stat strong { font-family: 'Montserrat', var(--font-head); font-size: clamp(32px, 3vw, 42px); font-weight: 700; color: var(--gold-light); line-height: 1.1; direction: ltr; unicode-bidi: isolate; text-align: start; }
[dir="rtl"] .stat strong { text-align: right; }
.stat > span { font-size: 14px; color: rgba(255,255,255,.8); }
.stat-icon { flex-direction: row; align-items: center; gap: 16px; }
.stat-icon .icon { width: 42px; height: 42px; color: var(--gold); flex: none; }
.stat-icon span { font-size: 14px; line-height: 1.4; }
.stats-band-inline { margin: 0; background: var(--dark-2); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(70px, 8vw, 110px) 0; }
.section-tight { padding: clamp(50px, 5vw, 70px) 0; }
.section-muted { background: var(--bg-muted); }
.section-head { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 30px; margin-bottom: 36px; }
.section-head .section-title { margin-bottom: 0; }
.section-head-text { margin: 0; color: var(--muted); font-size: 15px; max-width: 420px; }
.section-head-actions { display: flex; align-items: center; gap: 14px; grid-column: 3; }
.section-head-center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head-center .eyebrow { justify-content: center; }

/* ---------- About intro ---------- */
.about-grid, .split { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-copy .btn { margin-top: 10px; }
.value-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; }
.value-row li { display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.35; color: var(--ink); padding-inline: 18px; border-inline-start: 1px solid var(--line); }
.value-row li:first-child { padding-inline-start: 0; border: 0; }
.value-row .icon { width: 30px; height: 30px; color: var(--gold); }

.about-visual { position: relative; }
.about-img { clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); overflow: hidden; background: var(--dark-3); }
[dir="rtl"] .about-img { clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%); }
.about-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-visual:hover .about-img img { transform: scale(1.04); }
.about-badge { position: absolute; inset-inline-end: -1px; bottom: 12%; background: var(--dark-2); color: #fff; padding: 32px 34px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .2em; font-size: 14px; line-height: 1.7; }
.about-badge::after { content: ""; display: block; width: 34px; height: 2px; background: var(--gold); margin-top: 16px; }
[dir="rtl"] .about-badge { letter-spacing: .04em; font-size: 16px; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.service-card { position: relative; display: block; aspect-ratio: 3 / 3.4; overflow: hidden; background: var(--dark-3); color: #fff; }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,26,0) 30%, rgba(20,22,26,.92) 88%); transition: background .4s; }
.service-card:hover img { transform: scale(1.07); }
.service-card-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px; }
.service-card-icon .icon { width: 34px; height: 34px; color: var(--gold); margin-bottom: 10px; }
.service-card h3 { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.service-card-foot p { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.82); }
.service-card:hover .circle-btn { background: var(--gold); color: var(--dark); }

/* ---------- Projects ---------- */
.project-slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 12px) / 4); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.project-slider::-webkit-scrollbar { display: none; }
.project-slider .project-card { scroll-snap-align: start; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 22px; }
.project-card-link { display: block; }
.project-card-img { overflow: hidden; background: var(--dark-3); }
.project-card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.project-card-link:hover img { transform: scale(1.06); }
.project-card-meta { padding-top: 14px; }
.project-card-cat { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
[dir="rtl"] .project-card-cat { letter-spacing: 0; font-size: 13px; }
.project-card-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; margin-top: 4px; }
.project-card-title .icon { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease), color .25s; }
.project-card-link:hover .project-card-title .icon { color: var(--gold-2); transform: translateX(calc(4px * var(--dir))) scaleX(var(--dir)); }
.project-card-loc { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.project-card-loc .icon { width: 16px; height: 16px; color: var(--gold); }
.project-card.is-hidden { display: none; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn { border: 1.5px solid var(--line); background: transparent; color: var(--ink); padding: 10px 20px; border-radius: 40px; font-family: var(--font-head); font-size: 13px; font-weight: 600; transition: all .2s; }
.filter-btn:hover { border-color: var(--gold); }
.filter-btn.is-active { background: var(--gold-grad); border-color: transparent; color: var(--dark); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; counter-reset: step; }
.process-card { position: relative; border: 1px solid var(--line); background: var(--card); padding: 26px 26px 30px; transition: border-color .3s, box-shadow .3s, transform .3s; }
.process-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-4px); }
.process-card:not(:last-child)::after {
	content: ""; position: absolute; top: 50%; inset-inline-end: -32px; width: 22px; height: 12px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12' fill='none' stroke='%23c9a15b' stroke-width='1.5'%3E%3Cpath d='M0 6h20M15 1l5 5-5 5'/%3E%3C/svg%3E");
}
[dir="rtl"] .process-card:not(:last-child)::after { transform: scaleX(-1); }
.process-card-top { display: flex; align-items: center; gap: 22px; margin-bottom: 16px; }
.process-num { font-family: 'Montserrat', sans-serif; font-size: 40px; font-weight: 500; color: var(--gold); line-height: 1; }
.process-card-top .icon { width: 36px; height: 36px; color: var(--gold); }
.process-card h3 { font-size: 18px; margin-bottom: 8px; }
.process-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.cta-bg { position: absolute; inset-block: 0; inset-inline-end: 0; width: 45%; background-size: cover; background-position: center; opacity: .5; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 0%, transparent 70%); }
[dir="rtl"] .cta-bg::after { background: linear-gradient(-90deg, var(--dark) 0%, transparent 70%); }
.cta-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr 140px; gap: 40px; align-items: center; padding-block: 64px; }
.cta-title { color: #fff; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; text-transform: uppercase; line-height: 1.1; }
[dir="rtl"] .cta-title { line-height: 1.2; }
.cta-body p { color: rgba(255,255,255,.8); margin-bottom: 22px; }
.cta-band .side-words { position: static; font-size: 10px; line-height: 1.8; color: rgba(255,255,255,.8); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; background: var(--dark); color: #fff; padding: calc(var(--header-h) + 90px) 0 90px; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .45; transform: scale(1.05); animation: heroZoom 12s var(--ease) forwards; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,22,26,.95) 10%, rgba(20,22,26,.4) 100%); }
[dir="rtl"] .page-hero::before { background: linear-gradient(-90deg, rgba(20,22,26,.95) 10%, rgba(20,22,26,.4) 100%); }
.page-hero-inner { position: relative; z-index: 2; max-width: calc(var(--container) + var(--gutter) * 2); }
.page-hero-title { color: #fff; font-size: clamp(38px, 5vw, 64px); font-weight: 800; letter-spacing: -.02em; max-width: 820px; margin-bottom: 18px; }
[dir="rtl"] .page-hero-title { letter-spacing: 0; }
.page-hero-text { font-size: 18px; color: rgba(255,255,255,.8); max-width: 620px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 36px; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb [aria-current] { color: var(--gold-light); }

/* Mission / vision */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { border: 1px solid var(--line); padding: 44px; }
.mv-card .icon { width: 42px; height: 42px; color: var(--gold); margin-bottom: 20px; }
.mv-card h3 { font-size: 24px; margin-bottom: 12px; }
.mv-card p { font-size: 17px; margin: 0; }
.mv-card-dark { background: var(--dark-2); border-color: rgba(201,161,91,.35); }
.mv-card-dark h3 { color: #fff; }
.mv-card-dark p { color: rgba(255,255,255,.78); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature { background: var(--card); padding: 32px 28px; border: 1px solid var(--line); transition: border-color .3s, transform .3s, box-shadow .3s; }
.feature:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-plain { padding: 26px 22px; }
.feature h3 { font-size: 18px; margin: 16px 0 8px; }
.feature p { font-size: 14.5px; color: var(--muted); margin: 0; }
.feature-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(201,161,91,.12); color: var(--gold-2); flex: none; }
.feature-icon .icon { width: 26px; height: 26px; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 2px solid var(--line); }
.timeline li { position: relative; padding: 34px 20px 0 0; }
[dir="rtl"] .timeline li { padding: 34px 0 0 20px; }
.timeline li::before { content: ""; position: absolute; top: -7px; inset-inline-start: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--bg); }
.timeline-year { display: block; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 26px; color: var(--gold-2); margin-bottom: 8px; }
.timeline h3 { font-size: 16px; margin-bottom: 6px; }
.timeline p { font-size: 14px; color: var(--muted); margin: 0; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { margin: 0; }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--dark-3); filter: grayscale(.4); transition: filter .4s; }
.team-card:hover img { filter: none; }
.team-card figcaption { padding-top: 14px; }
.team-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 17px; }
.team-card span { color: var(--gold-2); font-size: 14px; }

/* Certs */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); padding: 24px; }
.cert .icon { width: 40px; height: 40px; color: var(--gold); flex: none; }
.cert strong { display: block; font-family: var(--font-head); color: var(--ink); }
.cert span { font-size: 13.5px; color: var(--muted); line-height: 1.4; display: block; }

/* Services list */
.service-list { display: grid; gap: 60px; }
.service-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.service-row:nth-child(even) .service-row-img { order: 2; }
.service-row-img { overflow: hidden; background: var(--dark-3); display: block; }
.service-row-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1s var(--ease); }
.service-row-img:hover img { transform: scale(1.05); }
.service-row-body { position: relative; }
.service-row-num { position: absolute; top: -20px; inset-inline-end: 0; font-family: 'Montserrat', sans-serif; font-size: 90px; font-weight: 800; color: rgba(255,255,255,.05); line-height: 1; z-index: -1; }
.service-row h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 18px 0 14px; }
.service-row h2 a:hover { color: var(--gold-2); }
.check-list { display: grid; gap: 10px; margin-bottom: 28px; }
.check-list-2 { grid-template-columns: 1fr 1fr; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.check-list .icon { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }

/* Detail pages */
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(40px, 5vw, 70px); align-items: start; }
.detail-block { margin-top: 56px; }
.detail-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card { border: 1px solid var(--line); padding: 30px; }
.aside-card h3 { font-size: 19px; margin-bottom: 18px; }
.aside-card .check-list { margin: 0; }
.aside-card-dark { background: var(--dark-2); border-color: rgba(201,161,91,.35); color: rgba(255,255,255,.78); }
.aside-card-dark h3 { color: #fff; }
.aside-card-dark .eyebrow { font-size: 11px; margin-bottom: 12px; }
.aside-nav li + li { border-top: 1px solid var(--line); }
.aside-nav a { display: flex; align-items: center; gap: 12px; padding: 14px 0; font-weight: 600; color: var(--ink); transition: color .2s, padding .2s; }
.aside-nav a .icon { width: 22px; height: 22px; color: var(--gold); }
.aside-nav a:hover, .aside-nav a.is-active { color: var(--gold-2); padding-inline-start: 6px; }

.fact-bar { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--dark-2); color: #fff; margin-top: -150px; position: relative; z-index: 3; margin-bottom: 70px; }
.fact { padding: 26px 24px; border-inline-end: 1px solid rgba(255,255,255,.1); }
.fact:last-child { border: 0; }
.fact span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-light); margin-bottom: 4px; }
[dir="rtl"] .fact span { letter-spacing: 0; font-size: 13px; }
.fact strong { font-family: var(--font-head); font-size: 16px; font-weight: 600; }
.page-project .page-hero { padding-bottom: 190px; }

.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.cs-card { border: 1px solid var(--line); padding: 30px; }
.cs-card h3 { font-size: 19px; margin-bottom: 12px; }
.cs-card p { margin: 0; }
.cs-card-dark { background: var(--dark-2); border-color: var(--dark-2); }
.cs-card h3::before { content: ""; display: block; width: 30px; height: 2px; background: var(--gold); margin-bottom: 16px; }

.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, clamp(180px, 20vw, 290px)); gap: 12px; }
.gallery-item { overflow: hidden; background: var(--dark-3); }
.gallery-item:first-child { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }

.pager { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); }
.pager-link { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 700; color: var(--ink); max-width: 40%; }
.pager-link small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.pager-link .icon { width: 22px; height: 22px; color: var(--gold); flex: none; }
.pager-link:hover { color: var(--gold-2); }
.pager-next { text-align: end; }
.pager-all { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 26px; }
.pager-all span { width: 11px; height: 11px; background: var(--ink); transition: background .2s; }
.pager-all:hover span { background: var(--gold); }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(12,13,15,.94); display: grid; place-items: center; padding: 40px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; width: auto; }
.lightbox-close { position: absolute; top: 20px; inset-inline-end: 20px; background: none; border: 0; color: #fff; }
.lightbox-close .icon { width: 34px; height: 34px; }

/* Process detail */
.steps { margin-top: 80px; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 140px 1.4fr 1fr; gap: 40px; padding: 44px 0; border-top: 1px solid var(--line); align-items: start; }
.step-num { font-family: 'Montserrat', sans-serif; font-size: 64px; font-weight: 300; color: var(--gold); line-height: 1; }
.step-body h3 { display: flex; align-items: center; gap: 12px; font-size: 26px; margin-bottom: 14px; }
.step-body h3 .icon { width: 30px; height: 30px; color: var(--gold); }
.step-items { background: var(--card); padding: 24px 26px; }
.step-items-title { font-family: var(--font-head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin-bottom: 14px; }
.step-items .check-list { margin: 0; }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.faq-item { background: var(--card); border: 1px solid var(--line); margin-bottom: 12px; transition: border-color .2s; }
.faq-item[open] { border-color: var(--gold); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font-family: var(--font-head); font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 20px; height: 20px; color: var(--gold); flex: none; transition: transform .3s; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* Careers */
.job-list { display: grid; gap: 14px; }
.job { display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; background: var(--card); border: 1px solid var(--line); padding: 26px 30px; transition: border-color .3s, box-shadow .3s; }
.job:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.job h3 { font-size: 19px; margin-bottom: 6px; }
.job p { margin: 0; color: var(--muted); font-size: 14.5px; }
.job-meta { display: grid; gap: 6px; font-size: 14px; color: var(--ink); }
.job-meta li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.job-meta .icon { width: 18px; height: 18px; color: var(--gold); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 5vw, 70px); align-items: start; }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--card); border-color: var(--line) !important;
	border: 1.5px solid transparent; border-radius: var(--radius); padding: 14px 16px; transition: border-color .2s, background .2s;
}
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold) !important; background: var(--dark-2); }
.field.has-error input, .field.has-error textarea { border-color: #e0685a !important; }
.field-error { color: #f0948a; font-size: 13px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.form-note a { color: var(--gold-2); text-decoration: underline; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; align-items: center; gap: 12px; padding: 16px 20px; margin-bottom: 22px; border-radius: var(--radius); font-weight: 500; }
.alert .icon { width: 24px; height: 24px; flex: none; }
.alert-success { background: rgba(46,160,90,.12); color: #7fd49b; border: 1px solid rgba(46,160,90,.4); }
.alert-error { background: rgba(192,57,43,.12); color: #f0948a; border: 1px solid rgba(192,57,43,.45); }

.contact-info { border: 1px solid rgba(201,161,91,.3); background: var(--dark-2); color: rgba(255,255,255,.78); padding: 40px; }
.contact-info .block-title { color: #fff; }
.info-list { display: grid; gap: 22px; margin-bottom: 30px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .feature-icon { width: 46px; height: 46px; background: rgba(201,161,91,.14); color: var(--gold-light); }
.info-list .feature-icon .icon { width: 22px; height: 22px; }
.info-list small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-light); }
[dir="rtl"] .info-list small { letter-spacing: 0; font-size: 13px; }
.info-list a, .info-list span { color: #fff; font-weight: 500; }
.info-list a:hover { color: var(--gold-light); }
.contact-info .btn .icon { width: 18px; height: 18px; }
.contact-info .btn-dark { background: var(--gold-grad); color: var(--dark); }
.contact-info .btn-outline-dark { border-color: rgba(255,255,255,.4); color: #fff; }
.contact-info .btn-outline-dark:hover { background: #fff; color: var(--dark); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* Legal */
.legal { max-width: 860px; }
.legal h2 { display: flex; gap: 16px; align-items: baseline; font-size: 22px; margin: 44px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h2 span { font-family: 'Montserrat', sans-serif; color: var(--gold); font-size: 15px; }

/* 404 */
.not-found { background: var(--dark); color: rgba(255,255,255,.8); padding: calc(var(--header-h) + 100px) 0 120px; text-align: center; min-height: 70vh; }
.not-found .section-title { color: #fff; }
.nf-code { font-family: 'Montserrat', sans-serif; font-size: clamp(100px, 18vw, 200px); font-weight: 800; line-height: 1; margin: 0; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found .btn-row { justify-content: center; margin-top: 30px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--dark); padding-top: 70px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1.4fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { width: 170px; }
.footer-title { font-size: 14px; font-weight: 700; margin-bottom: 18px; color: var(--ink); }
.footer-list { display: grid; gap: 9px; font-size: 14px; color: var(--muted); }
.footer-list a:hover { color: var(--gold-2); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--muted); flex: none; margin-top: 3px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink); border-radius: 50%; transition: background .2s, color .2s; }
.social a:hover { background: var(--gold-grad); color: var(--dark); }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0; }
.footer-legal > * { padding-inline: 12px; border-inline-start: 1px solid var(--line); }
.footer-legal > *:first-child { border: 0; }
.footer-legal a:hover { color: var(--gold-2); }

.whatsapp-fab { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 80; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); transition: transform .25s; }
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab .icon { width: 28px; height: 28px; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.main-nav { display: none; }
	.header-actions { margin-inline-start: auto; }
	.footer-grid { grid-template-columns: 1fr 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; border: 0; }
	.timeline li { border-top: 2px solid var(--line); }
	.fact-bar { grid-template-columns: repeat(3, 1fr); }
	.fact:nth-child(3) { border-inline-end: 0; }
	.fact:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.1); }
}

@media (max-width: 1024px) {
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.project-slider { grid-auto-columns: calc((100% - 12px) / 2.2); }
	.process-grid { grid-template-columns: repeat(2, 1fr); }
	.process-card:nth-child(2)::after { display: none; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2)::after { display: none; }
	.stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
	.section-head { grid-template-columns: 1fr auto; }
	.section-head-text { grid-column: 1 / -1; grid-row: 2; }
	.section-head-actions { grid-column: 2; }
	.detail-grid, .contact-grid, .faq-wrap { grid-template-columns: 1fr; }
	.detail-aside { position: static; grid-template-columns: 1fr 1fr; }
	.cta-inner { grid-template-columns: 1fr 1fr; }
	.cta-band .side-words { display: none; }
	.team-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
	.step { grid-template-columns: 90px 1fr; }
	.step-items { grid-column: 2; }
	.hero-side, .hero-side-bottom { display: none; }
}

@media (max-width: 860px) {
	:root { --header-h: 74px; }
	.header-cta { display: none; }
	.brand img { width: 160px; }
	.about-grid, .split, .service-row, .mv-grid, .cs-grid { grid-template-columns: 1fr; }
	.service-row:nth-child(even) .service-row-img { order: 0; }
	.project-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
	.feature-grid-3 { grid-template-columns: 1fr; }
	.menu-panel-inner { grid-template-columns: 1fr; gap: 30px; }
	.menu-aside { border: 0; padding: 0; }
	.job { grid-template-columns: 1fr; gap: 16px; }
	.job-meta { display: flex; gap: 20px; }
	.value-row { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
	.value-row li:nth-child(3) { padding-inline-start: 0; border: 0; }
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	.hero { min-height: 640px; }
	.hero-badges { gap: 20px; }
	.service-grid, .project-grid, .feature-grid, .feature-grid-2, .team-grid, .cert-grid, .field-row, .check-list-2, .detail-aside { grid-template-columns: 1fr; }
	.project-slider { grid-auto-columns: 82%; }
	.process-grid { grid-template-columns: 1fr; gap: 30px; }
	.process-card::after { display: none !important; }
	.stat { padding: 24px 18px; }
	.section-head { grid-template-columns: 1fr; }
	.section-head-actions { grid-column: 1; }
	.cta-inner { grid-template-columns: 1fr; padding-block: 56px; }
	.cta-bg { width: 100%; opacity: .2; }
	.timeline { grid-template-columns: 1fr 1fr; }
	.fact-bar { grid-template-columns: 1fr 1fr; margin-top: -120px; }
	.fact { border-inline-end: 0 !important; border-top: 1px solid rgba(255,255,255,.1); }
	.fact:first-child { border-top: 0; }
	.gallery { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
	.gallery-item:first-child { grid-row: auto; }
	.step { grid-template-columns: 1fr; gap: 16px; }
	.step-items { grid-column: 1; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-bottom { flex-direction: column; }
	.contact-info { padding: 28px; }
	.pager-link { max-width: 45%; font-size: 14px; }
	.lang-switch a { padding: 5px 8px; }
	.about-badge { padding: 20px; font-size: 12px; }
}

/* ==========================================================================
   Dark-theme finishing touches
   ========================================================================== */
.feature:hover, .process-card:hover, .job:hover { background: var(--dark-2); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.feature-icon { background: rgba(201,161,91,.14); color: var(--gold-light); }
.project-card-cat { color: var(--gold); }
.project-card-title .icon, .pager-all span { color: var(--ink); }
.pager-all span { background: var(--ink); }
.about-badge { background: var(--dark); border: 1px solid rgba(201,161,91,.3); }
.about-img, .service-row-img, .project-card-img, .gallery-item { box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.site-footer .footer-list a:hover, .site-footer a:hover { color: var(--gold-light); }
.social a { border: 1px solid var(--line); }
.team-card img { filter: grayscale(.5) brightness(.9); }
.cert { background: var(--card); }
.mv-card { background: var(--card); }
.field select option { background: var(--dark-2); color: var(--ink); }
::selection { background: var(--gold); color: var(--dark); }

/* ==========================================================================
   Depth pass — alternating graphite / warm-bronze sections
   Signature: faint blueprint drafting grid + survey corner marks on the
   warm sections, echoing construction drawings.
   ========================================================================== */
main { background: var(--bg); }
.section { position: relative; isolation: isolate; }

/* Graphite sections: a soft lift of light from the top so they never read flat */
.section:not(.section-muted):not(.section-alt)::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255,255,255,.035), transparent 70%);
}

/* Warm sections */
.section-muted, .section-alt {
	background:
		radial-gradient(ellipse 60% 70% at 100% 0%, rgba(201,161,91,.10), transparent 60%),
		linear-gradient(180deg, var(--bg-muted) 0%, var(--bg-alt-2) 100%);
	border-block: 1px solid rgba(201,161,91,.10);
}
/* Blueprint grid — fine + major lines, fading out from the top corner */
.section-muted::before, .section-alt::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(var(--grid-strong) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px),
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 240px 240px, 240px 240px, 48px 48px, 48px 48px;
	background-position: -1px -1px;
	-webkit-mask-image: radial-gradient(ellipse 80% 90% at 85% 0%, #000 0%, transparent 75%);
	        mask-image: radial-gradient(ellipse 80% 90% at 85% 0%, #000 0%, transparent 75%);
}
[dir="rtl"] .section-muted::before, [dir="rtl"] .section-alt::before {
	-webkit-mask-image: radial-gradient(ellipse 80% 90% at 15% 0%, #000 0%, transparent 75%);
	        mask-image: radial-gradient(ellipse 80% 90% at 15% 0%, #000 0%, transparent 75%);
}
[dir="rtl"] .section-muted, [dir="rtl"] .section-alt {
	background:
		radial-gradient(ellipse 60% 70% at 0% 0%, rgba(201,161,91,.10), transparent 60%),
		linear-gradient(180deg, var(--bg-muted) 0%, var(--bg-alt-2) 100%);
}
/* Survey corner marks */
.section-muted::after, .section-alt::after {
	content: ""; position: absolute; top: 28px; inset-inline-start: 28px; width: 22px; height: 22px; pointer-events: none;
	border-top: 1px solid rgba(201,161,91,.55); border-inline-start: 1px solid rgba(201,161,91,.55);
}

/* Cards: gradient body, top highlight, real shadow */
.feature, .process-card, .faq-item, .job, .cert, .mv-card, .aside-card, .cs-card, .step-items {
	background: var(--card-grad);
	border-color: rgba(255,255,255,.07);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 20px 40px -28px rgba(0,0,0,.9);
}
.mv-card-dark, .aside-card-dark, .contact-info, .cs-card-dark {
	background:
		radial-gradient(ellipse 90% 80% at 100% 0%, rgba(201,161,91,.12), transparent 60%),
		linear-gradient(180deg, #24221e 0%, #1a1916 100%);
	border-color: rgba(201,161,91,.3);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 50px -28px rgba(0,0,0,.95);
}
.feature:hover, .process-card:hover, .job:hover, .cert:hover {
	background: linear-gradient(180deg, #24272d 0%, #1b1d21 100%);
	border-color: rgba(201,161,91,.55);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px -28px rgba(0,0,0,.95);
}
.faq-item[open] { border-color: rgba(201,161,91,.55); }
.field input, .field select, .field textarea { background: #0e1013; }

/* Stats band: deepest tone with a gold hairline — a clean seam under the hero */
.stats-band { background: linear-gradient(180deg, #0c0d10, #111317); border-top: 1px solid rgba(201,161,91,.25); }
.stats-band-inline { background: linear-gradient(180deg, #0c0d10, #111317); }

/* Footer sits on the deepest tone */
.site-footer { background: #0c0d10; border-top: 1px solid rgba(201,161,91,.18); }
.footer-bottom { border-top-color: rgba(255,255,255,.06); }

/* Timeline dots sit on whatever section tone they're in */
.section-muted .timeline li::before, .section-alt .timeline li::before { box-shadow: 0 0 0 5px var(--bg-muted); }

@media (max-width: 640px) {
	.section-muted::after, .section-alt::after { top: 16px; inset-inline-start: 16px; width: 16px; height: 16px; }
	.section-muted::before, .section-alt::before { background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px; }
}

/* ==========================================================================
   Careers — benefits package + job cards
   ========================================================================== */
.benefit-panel {
	display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start;
	padding: clamp(28px, 4vw, 48px);
	background:
		radial-gradient(ellipse 70% 90% at 100% 0%, rgba(201,161,91,.14), transparent 60%),
		linear-gradient(180deg, #24221e 0%, #1a1916 100%);
	border: 1px solid rgba(201,161,91,.3);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 30px 60px -30px rgba(0,0,0,.95);
}
[dir="rtl"] .benefit-panel { background: radial-gradient(ellipse 70% 90% at 0% 0%, rgba(201,161,91,.14), transparent 60%), linear-gradient(180deg, #24221e 0%, #1a1916 100%); }
.benefit-panel-head h3 { font-size: clamp(26px, 2.6vw, 34px); color: #fff; }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px 30px; }
.benefit-grid li { display: flex; gap: 14px; align-items: flex-start; }
.benefit-grid .feature-icon { width: 46px; height: 46px; }
.benefit-grid .feature-icon .icon { width: 22px; height: 22px; }
.benefit-grid strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 15.5px; margin-bottom: 3px; }
.benefit-grid span:not(.feature-icon) { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }

.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.job-card {
	display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 22px;
	background: var(--card-grad); border: 1px solid rgba(255,255,255,.07);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 20px 40px -28px rgba(0,0,0,.9);
	transition: border-color .3s, transform .3s, box-shadow .3s;
}
.job-card:hover { border-color: rgba(201,161,91,.55); transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px -28px rgba(0,0,0,.95); }
.job-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.job-card h3 { font-size: 18px; line-height: 1.3; }
.job-salary { margin: 0; text-align: end; flex: none; line-height: 1.1; }
.job-salary strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 700; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.job-salary span { font-size: 12px; color: var(--muted); }
.job-text { margin: 0; font-size: 14.5px; color: var(--muted); flex: 1; }
.job-card-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.07); }
.job-card .job-meta { display: grid; gap: 4px; font-size: 13px; color: var(--text); }
.job-card .job-meta .icon { width: 16px; height: 16px; }

.apply-bar {
	display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
	margin-top: 40px; padding: 30px 34px; background: #0e1013; border: 1px solid rgba(201,161,91,.3);
}
.apply-bar h3 { font-size: 22px; margin-bottom: 6px; }
.apply-bar p { margin: 0; color: var(--muted); max-width: 520px; }
.apply-bar .btn .icon { width: 18px; height: 18px; }

@media (max-width: 860px) {
	.benefit-panel { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 640px) {
	.job-grid { grid-template-columns: 1fr; }
	.apply-bar { padding: 24px; }
}
