/* ==========================================================================
   PRO GEN Development — main stylesheet
   Identity: the brand-book pattern. Light, flat, solid colour blocks
   (navy / steel / silver / white) and corners cut at the logo's roof angle (32°).
   ========================================================================== */

:root {
	--navy: #0d004c;
	--navy-2: #1b1272;
	--steel: #5189bf;
	--steel-2: #3f74a8;
	--silver: #c9c9c9;
	--silver-2: #e3e4e8;
	--graphite: #8f8f91;
	--white: #fff;
	--mist: #f3f4f7;
	--text: #14103a;
	--muted: #5f5d76;
	--line: #dfe1e7;

	--f-head: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;
	--f-body: "Almarai", "Segoe UI", Tahoma, sans-serif;
	--f-lat: "Montserrat", "Segoe UI", sans-serif;

	--gut: clamp(16px, 4vw, 48px);
	--wrap: min(1320px, 100% - 2 * var(--gut));
	--hdr: 84px;
	--sec: clamp(72px, 9vw, 128px);
	--roof-x: 72px;
	--roof-y: 45px; /* 45 / 72 ≈ tan 32° — the slope of the PRO GEN roof */
	--ease: cubic-bezier(.33, .9, .3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--f-body); font-size: 17px; line-height: 1.85; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd, ol, ul, blockquote { margin: 0; }
ol, ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--steel); color: #fff; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; }
[hidden] { display: none !important; }
[dir="ltr"] { unicode-bidi: isolate; }
.pg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.pg-wrap { width: var(--wrap); margin-inline: auto; }
.pg-skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 10000; background: var(--navy); color: #fff; padding: 10px 16px; transition: top .2s; }
.pg-skip:focus { top: 12px; }
html.pg-lock { overflow: hidden; }

/* ---------- type ---------- */
.pg-kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-head); font-size: 14px; font-weight: 600; color: var(--steel-2); }
.pg-kicker::before { content: ""; width: 26px; height: 14px; background: var(--steel); clip-path: polygon(0 100%, 0 45%, 50% 0, 100% 45%, 100% 100%, 82% 100%, 82% 55%, 50% 26%, 18% 55%, 18% 100%); flex: none; }
.pg-kicker--light { color: var(--silver); }
.pg-kicker--light::before { background: var(--silver); }
.pg-h2 { font-family: var(--f-head); font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 700; line-height: 1.45; color: var(--navy); margin-top: 14px; }
.pg-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.pg-head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }

/* ---------- roof cut (the logo's slope on a corner) ---------- */
.pg-roof { clip-path: polygon(var(--roof-x) 0, 100% 0, 100% 100%, 0 100%, 0 var(--roof-y)); }
[dir="rtl"] .pg-roof { clip-path: polygon(0 0, calc(100% - var(--roof-x)) 0, 100% var(--roof-y), 100% 100%, 0 100%); }

/* ---------- buttons ---------- */
.pg-btn { --bg: var(--navy); --fg: #fff; --hover: var(--steel); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; font-family: var(--f-head); font-size: 15px; font-weight: 600; color: var(--fg); background: var(--bg); white-space: nowrap; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 10px, 100% 100%, 0 100%); transition: background-color .3s, color .3s; }
[dir="ltr"] .pg-btn { clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 10px); }
.pg-btn:hover { background: var(--hover); }
.pg-btn .pg-ico { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.pg-btn:hover .pg-ico:last-child { transform: translateX(-4px); }
[dir="ltr"] .pg-btn .pg-ico:last-child { transform: scaleX(-1); }
.pg-btn--navy { --bg: var(--navy); }
.pg-btn--steel { --bg: var(--steel); --hover: #fff; }
.pg-btn--steel:hover { color: var(--navy); }
.pg-btn--white { --bg: #fff; --fg: var(--navy); --hover: var(--silver-2); }
.pg-btn--line { --bg: transparent; --fg: var(--navy); --hover: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.pg-btn--line:hover { color: #fff; }
.pg-btn--ghost { --bg: transparent; --fg: #fff; --hover: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.pg-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; color: var(--navy); border-bottom: 2px solid var(--steel); padding-bottom: 4px; }
.pg-link .pg-ico { width: 18px; transition: transform .3s var(--ease); }
.pg-link:hover .pg-ico { transform: translateX(-5px); }

/* ---------- logo ---------- */
.pg-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.pg-logo__mark { height: 46px; width: auto; }
.pg-logo__word { display: flex; flex-direction: column; font-family: var(--f-lat); line-height: 1; }
.pg-logo__word b { font-weight: 700; font-size: 21px; color: var(--graphite); letter-spacing: -.01em; }
.pg-logo__word i { font-style: normal; font-weight: 500; font-size: 14.5px; color: var(--navy); margin-top: 3px; }
.pg-logo--footer .pg-logo__word b { color: var(--silver); }
.pg-logo--footer .pg-logo__word i { color: #fff; }
.custom-logo { max-height: 52px; width: auto; }

/* ---------- pattern ---------- */
.pg-pattern { display: flex; flex-direction: column; gap: 6%; }
.pg-pattern__row { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 0 5%; }
.pg-tile { width: 100%; height: auto; overflow: visible; }
.pg-pattern__row--blue .pg-tile path, .pg-tile--blue path { fill: url(#pgTileBlue); }
.pg-pattern__row--silver .pg-tile path, .pg-tile--silver path { fill: url(#pgTileSilver); }

/* ==========================================================================
   Header
   ========================================================================== */
.pg-header { position: sticky; top: 0; z-index: 900; height: var(--hdr); background: var(--white); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, transform .4s var(--ease); }
/* Solid header: no frosted-glass blur (DESIGN.md: no glassmorphism). */
.pg-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13, 0, 76, .4); }
.pg-header.is-hidden { transform: translateY(-100%); }
.pg-header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.pg-nav ul { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.pg-nav a { position: relative; display: block; padding-block: 28px; font-family: var(--f-head); font-size: 15px; font-weight: 500; color: var(--text); transition: color .25s; }
.pg-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 18px; height: 3px; background: var(--steel); transform: scaleX(0); transition: transform .3s var(--ease); }
.pg-nav a:hover { color: var(--steel-2); }
.pg-nav a[aria-current]::after, .pg-nav a:hover::after { transform: scaleX(1); }
.pg-nav a[aria-current] { color: var(--navy); font-weight: 700; }
.pg-header__end { display: flex; align-items: center; gap: 18px; }
.pg-header__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-lat); font-weight: 600; font-size: 15px; color: var(--navy); }
.pg-header__phone .pg-ico { width: 18px; color: var(--steel); }
.pg-header__cta { min-height: 46px; padding: 0 22px; }
.pg-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; background: var(--mist); padding: 0 12px; }
.pg-burger i { display: block; height: 2px; background: var(--navy); }
.pg-burger i:nth-child(2) { width: 70%; }

/* ---------- drawer (mobile/tablet menu) ---------- */
.pg-drawer { position: fixed; inset: 0; z-index: 950; }
.pg-drawer__backdrop { position: absolute; inset: 0; background: rgba(13, 0, 76, .45); opacity: 0; transition: opacity .35s; }
.pg-drawer__panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(420px, 88vw); background: #fff; display: flex; flex-direction: column; padding: 20px 24px 0; transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto; }
[dir="ltr"] .pg-drawer__panel { transform: translateX(-100%); }
.pg-drawer.is-open .pg-drawer__backdrop { opacity: 1; }
.pg-drawer.is-open .pg-drawer__panel { transform: none; }
.pg-drawer__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pg-drawer__close { width: 44px; height: 44px; display: grid; place-items: center; background: var(--mist); color: var(--navy); }
.pg-drawer__nav { padding-block: 10px; }
.pg-drawer__nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.pg-drawer__nav a[aria-current] { color: var(--steel-2); }
.pg-drawer__nav .pg-ico { width: 20px; color: var(--steel); }
.pg-drawer__contact { display: flex; flex-direction: column; gap: 10px; padding-block: 18px; }
.pg-drawer__contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.pg-drawer__contact .pg-ico { width: 20px; color: var(--steel); }
.pg-drawer__pattern { margin-top: auto; padding-bottom: 18px; opacity: .9; }

/* ==========================================================================
   Home
   ========================================================================== */
/* Hero: words on the start side, the living pattern wall on the end side */
.hero { position: relative; padding-block: clamp(36px, 6vw, 80px) clamp(48px, 6vw, 88px); background: var(--white); }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { margin-block: 18px 22px; font-family: var(--f-head); font-weight: 800; font-size: clamp(2.5rem, 5.4vw, 5rem); line-height: 1.32; color: var(--navy); }
.hero__title span { display: block; }
.hero__title-2 { color: var(--steel); }
.hero__lead { max-width: 52ch; font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--muted); }
.hero__fields { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero__fields li { padding: 7px 16px; background: var(--mist); border-inline-start: 3px solid var(--steel); font-family: var(--f-head); font-size: 14px; font-weight: 600; color: var(--navy); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__wall { position: relative; aspect-ratio: 1 / 1.02; background: var(--navy); padding: 9% 7%; overflow: hidden; clip-path: polygon(calc(var(--roof-x) * 1.6) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--roof-y) * 1.6)); }
[dir="rtl"] .hero__wall { clip-path: polygon(0 0, calc(100% - var(--roof-x) * 1.6) 0, 100% calc(var(--roof-y) * 1.6), 100% 100%, 0 100%); }
.hero__pattern { gap: 4.2%; height: 100%; justify-content: center; }
.hero__pattern .pg-pattern__row { gap: 0 4%; transition: transform 1.2s var(--ease); will-change: transform; }
.hero__pattern .pg-pattern__row--blue .pg-tile path, .cta__pattern .pg-pattern__row--blue .pg-tile path, .pg-footer__pattern .pg-pattern__row--blue .pg-tile path { fill: url(#pgTileSky); }
.hero__pattern .pg-tile { transition: transform .5s var(--ease), opacity .5s; transform-origin: 50% 100%; }
.hero__pattern .pg-tile.is-lit path { fill: #fff; }
.hero__pattern .pg-tile.is-lift { transform: translateY(-14%); }
.hero__badge { position: absolute; inset-inline-end: 0; bottom: 0; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 26px; background: #fff; color: var(--navy); }
.hero__badge-mark { grid-row: 1 / 3; height: 52px; width: auto; }
.hero__badge b { font-family: var(--f-lat); font-weight: 700; font-size: 18px; line-height: 1.1; }
.hero__badge span { font-size: 13px; color: var(--muted); }

/* Facts: four flat colour blocks */
.facts { background: var(--white); padding-bottom: clamp(24px, 4vw, 56px); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; flex-direction: column; gap: 8px; padding: clamp(24px, 3vw, 40px); min-height: 190px; justify-content: flex-end; }
.fact b { font-family: var(--f-lat); font-weight: 700; font-size: clamp(2.4rem, 4.2vw, 3.8rem); line-height: 1; }
.fact > span { font-size: 15px; line-height: 1.6; }
.fact--navy { background: var(--navy); color: #fff; }
.fact--steel { background: var(--steel); color: #fff; }
.fact--silver { background: var(--silver); color: var(--navy); }
.fact--white { background: #fff; color: var(--navy); }
.fact--white b { color: var(--steel); }

/* Intro */
.intro { padding-block: var(--sec); }
.intro__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro__fig { aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--mist); }
.intro__fig img { width: 100%; height: 100%; object-fit: cover; }
.intro__copy > p:not(.pg-kicker) { margin-block: 22px 28px; color: var(--muted); font-size: 1.06rem; }
.intro__copy b { color: var(--navy); font-family: var(--f-lat); }

/* Activities */
.acts { padding-block: var(--sec); background: var(--mist); }
.acts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.act { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 44px); min-height: 420px; overflow: hidden; isolation: isolate; }
.act--navy { background: var(--navy); color: #fff; }
.act--steel { background: var(--steel); color: #fff; }
.act--silver { background: #fff; color: var(--navy); }
.act__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: auto; padding-bottom: 60px; }
.act__num { font-family: var(--f-lat); font-weight: 700; font-size: 15px; opacity: .7; }
.act__since { font-family: var(--f-head); font-size: 13px; font-weight: 600; padding: 4px 12px; background: rgba(255, 255, 255, .14); }
.act--silver .act__since { background: var(--mist); color: var(--steel-2); }
.act h3 { font-family: var(--f-head); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; line-height: 1.4; }
.act p { font-size: 1rem; line-height: 1.9; opacity: .88; max-width: 34ch; }
.act__tile { position: absolute; z-index: -1; width: 62%; inset-inline-end: -12%; top: 16px; opacity: .14; transition: transform .8s var(--ease), opacity .5s; }
.act__tile path { fill: currentColor; }
.act:hover .act__tile { transform: translateY(-8px) scale(1.04); opacity: .24; }

/* Works */
.works { padding-block: var(--sec); }
.pg-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-filter button { padding: 9px 18px; font-family: var(--f-head); font-size: 14px; font-weight: 600; color: var(--navy); background: var(--mist); transition: background .25s, color .25s; }
.pg-filter button:hover { background: var(--silver-2); }
.pg-filter button.is-on { background: var(--navy); color: #fff; }
.works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.work { position: relative; display: flex; flex-direction: column; }
.work.is-filtered { display: none; }
.work__link { display: flex; flex-direction: column; height: 100%; }
.work__fig { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--navy); }
.work__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work__link:hover .work__fig img { transform: scale(1.05); }
.work__ph { padding: 12% 10%; height: 100%; justify-content: center; }
.work--soon .work__fig { background: var(--mist); }
.work__status { position: absolute; bottom: 0; inset-inline-start: 0; padding: 8px 16px; background: #fff; color: var(--navy); font-family: var(--f-head); font-size: 13px; font-weight: 700; }
.work__body { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 0 6px; padding-inline-end: 60px; border-bottom: 2px solid var(--line); flex: 1; transition: border-color .3s; }
.work__link:hover .work__body { border-color: var(--steel); }
.work__cat { font-family: var(--f-head); font-size: 13px; font-weight: 600; color: var(--steel-2); }
.work__title { font-family: var(--f-head); font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 700; color: var(--navy); line-height: 1.5; }
.work__loc { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.work__loc .pg-ico { width: 16px; }
.work__go { position: absolute; inset-inline-end: 0; top: 22px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--mist); color: var(--navy); transition: background .3s, color .3s; }
.work__link:hover .work__go { background: var(--navy); color: #fff; }
.work__go .pg-ico { width: 20px; }
.work--soon .work__title { color: var(--graphite); }
.works__more { display: flex; justify-content: center; margin-top: clamp(36px, 4vw, 56px); }

/* Journey: stacks of tiles grow with the years */
.journey { padding-block: var(--sec); background: var(--mist); }
.journey__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 32px); align-items: end; }
.step { display: flex; flex-direction: column; }
.step__stack { display: flex; flex-direction: column-reverse; gap: 8px; padding-bottom: 18px; border-bottom: 3px solid var(--navy); margin-bottom: 18px; }
.step__tile { display: block; width: 72%; }
.step__tile--blue path { fill: url(#pgTileBlue); }
.step__tile--silver path { fill: url(#pgTileSilver); }
.js .step__tile { opacity: 0; transform: translateY(-30px); transition: opacity .5s, transform .7s var(--ease); transition-delay: calc(var(--i) * .25s + var(--t) * .12s); }
.js .journey.is-in .step__tile { opacity: 1; transform: none; }
.step__year { font-family: var(--f-lat); font-weight: 700; font-size: clamp(1.8rem, 2.6vw, 2.4rem); color: var(--steel); line-height: 1.2; }
.step:last-child .step__year { font-family: var(--f-head); }
.step h3 { font-family: var(--f-head); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-block: 6px 6px; }
.step p { font-size: .96rem; color: var(--muted); line-height: 1.85; }

/* Pillars */
.pillars { padding-block: var(--sec); }
.pillars__in { display: grid; grid-template-columns: .9fr 2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.pillars__head { position: sticky; top: calc(var(--hdr) + 28px); margin: 0; }
.pillars__pattern { margin-top: 36px; max-width: 280px; }
.pillars__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 2px solid var(--line); }
.pillar { background: #fff; padding: clamp(26px, 3vw, 40px); min-height: 250px; transition: background .3s, color .3s; }
.pillar__num { display: inline-grid; place-items: center; width: 44px; height: 44px; background: var(--mist); color: var(--steel-2); font-family: var(--f-lat); font-weight: 700; font-size: 15px; margin-bottom: 24px; transition: background .3s, color .3s; }
.pillar h3 { font-family: var(--f-head); font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; transition: color .3s; }
.pillar p { color: var(--muted); font-size: 1rem; transition: color .3s; }
.pillar:hover { background: var(--navy); }
.pillar:hover h3, .pillar:hover p { color: #fff; }
.pillar:hover .pillar__num { background: var(--steel); color: #fff; }

/* CTA */
.cta { position: relative; background: var(--navy); color: #fff; padding-top: var(--sec); overflow: hidden; }
.cta + .pg-footer, .pg-main:has(> .cta:last-child) + .pg-footer { border-top-color: var(--navy-2); }
.cta__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 36px; padding-bottom: clamp(48px, 6vw, 80px); }
.cta__title { font-family: var(--f-head); font-size: clamp(2.2rem, 4.6vw, 4.2rem); font-weight: 800; line-height: 1.35; margin-block: 14px 12px; }
.cta__copy p:not(.pg-kicker) { max-width: 46ch; color: rgba(255, 255, 255, .78); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta__phone { font-family: var(--f-lat); font-weight: 600; font-size: 1.3rem; margin-inline-start: 10px; border-bottom: 2px solid var(--steel); }
.cta__pattern { opacity: .5; margin-bottom: -2%; padding-inline: var(--gut); }
.cta__pattern .pg-pattern__row--blue .pg-tile path { fill: var(--steel); }

/* ==========================================================================
   Footer
   ========================================================================== */
.pg-footer { background: var(--navy); color: #fff; }
.pg-footer { border-top: 6px solid var(--steel); }
.pg-footer__pattern { width: var(--wrap); margin: 0 auto; padding-top: clamp(28px, 3vw, 44px); opacity: .35; }
.pg-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: clamp(28px, 4vw, 64px); padding-block: clamp(24px, 3vw, 40px) clamp(40px, 5vw, 64px); }
.pg-footer__brand p { margin-top: 18px; color: rgba(255, 255, 255, .7); max-width: 36ch; font-size: 15px; }
.pg-footer__motto { font-family: var(--f-head); font-weight: 700; color: var(--silver) !important; }
.pg-footer__col h2 { font-family: var(--f-head); font-size: 15px; font-weight: 700; color: var(--silver); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.pg-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.pg-footer__col a { color: rgba(255, 255, 255, .86); transition: color .25s; }
.pg-footer__col a:hover { color: var(--steel); }
.pg-footer__contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .86); }
.pg-footer__contact .pg-ico { width: 18px; height: 18px; flex: none; margin-top: 5px; color: var(--steel); }
.pg-footer__contact a { font-family: var(--f-lat); overflow-wrap: anywhere; }
.pg-socials { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.pg-socials a { width: 42px; height: 42px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .25s; }
.pg-socials a:hover { background: var(--steel); color: #fff; }
.pg-socials .pg-ico { width: 19px; height: 19px; }
.pg-footer__cta { color: #fff; }
.pg-footer__bottom { background: #08002f; font-size: 14px; color: rgba(255, 255, 255, .6); }
.pg-footer__bottom .pg-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 18px; }
.pg-totop { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .8); }
.pg-totop:hover { color: #fff; }
.pg-ico--up { width: 16px; transform: rotate(90deg); }

/* Floating WhatsApp */
.pg-wa { position: fixed; z-index: 800; bottom: 20px; inset-inline-end: 20px; width: 56px; height: 56px; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 9px, 100% 100%, 0 100%); transition: transform .3s var(--ease); }
.pg-wa:hover { transform: translateY(-3px); }
.pg-wa .pg-ico { width: 28px; height: 28px; }

/* ==========================================================================
   Shared inner-page pieces (page-specific styles live in pages.css)
   ========================================================================== */
.phero { position: relative; background: var(--mist); padding-block: clamp(48px, 7vw, 96px); overflow: hidden; }
.phero__in { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.phero__title { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.35; color: var(--navy); margin-block: 14px 14px; }
.phero__lead { max-width: 54ch; font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); }
.phero__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.phero__crumbs a:hover { color: var(--steel-2); }
.phero__pattern { align-self: stretch; display: flex; align-items: center; }
.phero__pattern .pg-pattern { width: 100%; }

.pg-prose { max-width: 76ch; }
.pg-prose p, .pg-prose li { color: var(--muted); font-size: 1.06rem; line-height: 2; }
.pg-prose p + p { margin-top: 1.1em; }
.pg-prose h2, .pg-prose h3 { font-family: var(--f-head); color: var(--navy); margin: 1.6em 0 .6em; line-height: 1.5; }
.pg-prose a { color: var(--steel-2); border-bottom: 1px solid currentColor; }
.pg-prose ul { list-style: square; padding-inline-start: 1.2em; }
.pg-prose-sec { padding-block: clamp(56px, 7vw, 100px); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * .08s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- lightbox ---------- */
.pg-lightbox { position: fixed; inset: 0; z-index: 9500; background: rgba(13, 0, 76, .96); display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; color: #fff; }
.pg-lightbox__fig { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 70px 0 30px; height: 100%; justify-content: center; min-width: 0; }
.pg-lightbox__fig img { max-height: calc(100vh - 160px); max-width: 100%; width: auto; object-fit: contain; }
.pg-lightbox__fig figcaption { display: flex; gap: 20px; align-items: baseline; color: rgba(255, 255, 255, .8); }
.pg-lightbox__fig figcaption b { font-family: var(--f-lat); font-weight: 600; font-size: 13px; color: var(--steel); }
.pg-lightbox__nav, .pg-lightbox__close { width: 54px; height: 54px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); justify-self: center; transition: background .25s; color: #fff; }
.pg-lightbox__nav:hover, .pg-lightbox__close:hover { background: var(--steel); }
.pg-lightbox__close { position: absolute; top: 16px; inset-inline-end: 16px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1140px) {
	.pg-nav, .pg-header__phone { display: none; }
	.pg-burger { display: flex; }
	.acts__grid { grid-template-columns: 1fr; }
	.act { min-height: 0; }
	.act__top { padding-bottom: 36px; }
	.works__grid { grid-template-columns: 1fr 1fr; }
	.pillars__in { grid-template-columns: 1fr; }
	.pillars__head { position: relative; top: 0; }
	.pillars__pattern { display: none; }
	.pg-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	:root { --hdr: 68px; --roof-x: 48px; --roof-y: 30px; }
	body { font-size: 16px; }
	.pg-logo__mark { height: 38px; }
	.pg-logo__word b { font-size: 18px; }
	.pg-logo__word i { font-size: 12.5px; }
	.pg-header__cta { display: none; }
	.hero__in { grid-template-columns: 1fr; }
	.hero__wall { order: -1; aspect-ratio: 16 / 10; padding: 6% 6%; }
	.hero__badge { padding: 12px 16px; }
	.hero__badge-mark { height: 38px; }
	.facts__grid { grid-template-columns: 1fr 1fr; }
	.fact { min-height: 150px; }
	.intro__in { grid-template-columns: 1fr; }
	.journey__list { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.phero__in { grid-template-columns: 1fr; }
	.phero__pattern { display: none; }
	.pg-lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
	.pg-lightbox__fig { grid-column: 1 / -1; grid-row: 1; padding-inline: 12px; }
	.pg-lightbox__nav { grid-row: 2; margin-bottom: 24px; }
}

@media (max-width: 600px) {
	.works__grid { grid-template-columns: 1fr; }
	.pillars__grid { grid-template-columns: 1fr; }
	.pillar { min-height: 0; }
	.journey__list { grid-template-columns: 1fr; }
	.step__tile { width: 40%; }
	.pg-footer__grid { grid-template-columns: 1fr; }
	.hero__actions .pg-btn, .cta__actions .pg-btn { flex: 1 1 auto; }
	.pg-wa { width: 50px; height: 50px; bottom: 14px; inset-inline-end: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
	.js [data-reveal], .js .step__tile { opacity: 1; transform: none; }
}
