/* ==========================================================================
   CS2 — الطراز المعاصر للمقاولات العامة  ·  v2
   Font: Cairo. Palette from the logo: black, graphite, safety orange.
   ========================================================================== */
:root {
	--black: #000;
	--ink: #0d0d0e;
	--graphite: #2c2c2e;
	--steel: #5d5c58;
	--mute: #8f8c85;
	--concrete: #e9e6e0;
	--paper: #f6f5f2;
	--line: #d8d4cc;
	--line-dark: #2a2a2c;
	--white: #fff;
	--orange: #f59e2f;
	--orange-2: #ffb859;
	--orange-ink: #9e4f0b;
	--f: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--wrap: 1280px;
	--gut: clamp(1.1rem, 4vw, 2.75rem);
	--sec: clamp(4rem, 9vw, 7.5rem);
	--r: 6px;
	--r-lg: 14px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body { margin: 0; font-family: var(--f); font-size: 1.0625rem; line-height: 1.85; color: var(--graphite); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f); line-height: 1.3; margin: 0; color: inherit; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--black); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; top: -60px; background: var(--orange); color: var(--black); padding: .6rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { top: 1rem; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 820px; }

/* ---------- Buttons & links ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 54px; padding: .75rem 1.75rem; border: 2px solid transparent; border-radius: 999px; font-weight: 700; font-size: 1.02rem; line-height: 1.2; overflow: hidden; isolation: isolate; transition: color .3s var(--ease), border-color .3s, transform .3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scaleX(1); }
.btn:active { transform: scale(.97); }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico--arrow { transform: translateX(-4px); }
.btn--sm { min-height: 44px; padding: .5rem 1.25rem; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--orange); color: var(--black); }
.btn--primary::before { background: var(--orange-2); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark::before { background: var(--graphite); }
.btn--line { border-color: currentColor; color: inherit; }
.btn--line::before { background: var(--white); }
.btn--line:hover { color: var(--black); border-color: var(--white); }
.btn--line-dark { border-color: var(--black); color: var(--black); }
.btn--line-dark::before { background: var(--black); }
.btn--line-dark:hover { color: var(--white); }
.btn--ghost { border-color: var(--line); }
.link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--orange-ink); background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 100% 2px; padding-bottom: 3px; transition: background-size .35s var(--ease), color .2s; }
.link:hover { background-size: 0 2px; background-position: left bottom; }
.section--black .link, .page-head .link, .lp-hero .link { color: var(--orange); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--black); color: var(--white); transition: background-color .35s, box-shadow .35s, min-height .35s; }
.site-header__in { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); transition: min-height .35s var(--ease); }
.has-overlay-header .site-header { position: fixed; inset-inline: 0; background: transparent; }
.has-overlay-header .site-header.is-scrolled, .site-header.is-scrolled { background: rgba(0,0,0,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header.is-scrolled .site-header__in { min-height: 68px; }
.brand { flex: none; display: block; }
.brand__logo, .brand img { height: 52px; width: auto; transition: height .35s var(--ease); }
.is-scrolled .brand__logo { height: 44px; }
.nav { margin-inline-start: auto; }
.nav__list { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.nav__list a { position: relative; display: block; padding: .5rem .85rem; font-weight: 600; font-size: 1rem; color: #dcd9d3; }
.nav__list a::after { content: ""; position: absolute; inset-inline: .85rem; bottom: .2rem; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__list a:hover { color: var(--white); }
.nav__list a:hover::after, .nav__list .current-menu-item > a::after, .nav__list a[aria-current]::after { transform: scaleX(1); }
.nav__list .current-menu-item > a, .nav__list a[aria-current] { color: var(--white); }
.nav__list .sub-menu { display: none; }
.nav__mobile-extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 1rem; }
.site-header__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .98rem; color: #dcd9d3; }
.site-header__phone:hover { color: var(--orange); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: .5rem; }
.nav-toggle .ico { width: 28px; height: 28px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; background: var(--black); color: var(--white); overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 8s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to left, rgba(0,0,0,.92) 0%, rgba(0,0,0,.75) 38%, rgba(0,0,0,.25) 75%, rgba(0,0,0,.45) 100%), linear-gradient(to top, rgba(0,0,0,.85), transparent 45%); }
.hero__in { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 3rem; }
.hero__badge { display: inline-flex; align-items: center; gap: .6rem; align-self: flex-start; padding: .4rem 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); font-size: .92rem; font-weight: 600; color: #e7e4de; }
.hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(245,158,47,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(245,158,47,0); } 100% { box-shadow: 0 0 0 0 rgba(245,158,47,0); } }
.hero__title { margin-top: 1.5rem; font-size: clamp(3rem, 8.5vw, 7.2rem); font-weight: 900; line-height: 1.08; letter-spacing: -.01em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line + .line > span { color: var(--orange); }
.hero__sub { margin-top: 1.5rem; max-width: 40ch; font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: #d5d2cc; line-height: 1.8; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.4rem; }
.hero__foot { position: relative; border-top: 1px solid rgba(255,255,255,.12); background: linear-gradient(to top, rgba(0,0,0,.6), transparent); }
.hero__foot-in { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; padding-block: 1.25rem; }
.hero__now { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.hero__now span { font-size: .9rem; color: var(--mute); white-space: nowrap; }
.hero__now a { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.hero__now a:hover { color: var(--orange); }
.hero__dots { display: flex; gap: .5rem; }
.hero__dot { position: relative; width: 44px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.2); overflow: hidden; }
.hero__dot::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: right; }
.hero__dot.is-active::after { animation: fill 6s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.hero__mark { position: absolute; inset-inline-end: var(--gut); top: calc(var(--header-h) + 2rem); width: clamp(70px, 9vw, 130px); opacity: .95; }
.hero__scroll { position: absolute; inset-inline-start: 50%; bottom: 5.5rem; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 20px; transform: translateX(50%); }
.hero__scroll::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee (credentials / partners) ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(to left, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to left, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 1rem; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee var(--speed, 45s) linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
.trust { background: var(--white); border-bottom: 1px solid var(--line); padding-block: 1.75rem; }
.trust__in { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2rem; }
.trust__title { font-size: 1rem; font-weight: 700; color: var(--steel); line-height: 1.5; }
.logo-chip { flex: none; width: 128px; height: 76px; display: grid; place-items: center; padding: .6rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.logo-chip img { width: 100%; height: 56px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-chip:hover img { filter: none; opacity: 1; }
.logo-chip--lg { width: 170px; height: 104px; }
.logo-chip--lg img { height: 72px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--concrete { background: var(--concrete); }
.section--black { background: var(--black); color: var(--white); }
.section__head { margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); max-width: 64ch; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.section__eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .9rem; font-size: .98rem; font-weight: 700; color: var(--orange-ink); }
.section__eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--orange); }
.section--black .section__eyebrow { color: var(--orange); }
.section__title { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 900; line-height: 1.2; }
.section__lead { margin-top: 1rem; color: var(--steel); font-size: 1.15rem; line-height: 1.85; }
.section--black .section__lead { color: #a9a69f; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.service { position: relative; display: flex; flex-direction: column; min-height: 100%; padding: 2rem 1.6rem 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), border-color .3s, color .3s; }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--black); transform: translateY(101%); transition: transform .5s var(--ease); }
.service:hover { transform: translateY(-6px); border-color: var(--black); color: var(--white); }
.service:hover::before { transform: none; }
.service__ico { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: #fdf0de; color: var(--orange-ink); transition: background-color .3s, color .3s; }
.service__ico .ico { width: 30px; height: 30px; }
.service:hover .service__ico { background: var(--orange); color: var(--black); }
.service h3 { margin-top: 1.4rem; font-size: 1.3rem; }
.service p { margin-top: .6rem; font-size: .98rem; color: var(--steel); transition: color .3s; }
.service:hover p { color: #bdbab3; }
.service__more { margin-top: auto; padding-top: 1.5rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--orange-ink); transition: color .3s, gap .3s; }
.service:hover .service__more { color: var(--orange); gap: .75rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stat { padding: 2.25rem 1.5rem; border-inline-start: 1px solid var(--line-dark); }
.stat:first-child { border-inline-start: 0; }
.stat__num { display: block; font-size: clamp(2.8rem, 5.5vw, 4.5rem); font-weight: 900; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: .75rem; color: #bdbab3; font-weight: 600; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--r-lg); }
.about__stamp { position: absolute; inset-inline-start: -1.5rem; bottom: 2rem; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; background: var(--orange); color: var(--black); border-radius: var(--r-lg); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.about__stamp b { font-size: 2.4rem; font-weight: 900; line-height: 1; }
.about__stamp span { font-weight: 700; line-height: 1.4; font-size: .95rem; }
.about__text { margin-top: 1.25rem; font-size: 1.12rem; }
.pillars { display: grid; gap: 0; margin-top: 2.25rem; border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.pillar h3, .pillar h2 { font-size: 1.15rem; color: var(--orange-ink); }
.pillar p { font-size: 1rem; color: #45443f; }
.pillars--wide { grid-template-columns: repeat(3, 1fr); gap: 2rem; border: 0; margin-top: 0; }
.pillars--wide .pillar { display: block; border: 0; border-top: 3px solid var(--orange); padding-top: 1.25rem; }
.pillars--wide .pillar h2 { margin-bottom: .5rem; color: var(--black); font-size: 1.4rem; }

/* ---------- Directory ---------- */
.directory { list-style: none; margin: 0; padding: 0; border-top: 1px solid #333; }
.directory__row { position: relative; display: grid; grid-template-columns: 6rem minmax(0, 1.1fr) minmax(0, 1fr) 3.25rem; align-items: center; gap: 1.5rem; padding: 1.75rem 1rem; border-bottom: 1px solid #333; overflow: hidden; isolation: isolate; }
.directory__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #141414; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.directory__row:hover::before { transform: none; }
.directory__count { font-weight: 900; font-size: 2.8rem; line-height: 1; color: var(--orange); }
.directory__name { font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 2.1rem); transition: transform .45s var(--ease), color .3s; }
.directory__row:hover .directory__name { transform: translateX(-10px); color: var(--orange); }
.directory__desc { color: #a9a69f; }
.directory__go { justify-self: end; width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border: 1px solid #444; border-radius: 50%; transition: background-color .3s, border-color .3s, color .3s, transform .45s var(--ease); }
.directory__row:hover .directory__go { background: var(--orange); border-color: var(--orange); color: var(--black); transform: rotate(-45deg); }

/* ---------- Showcase (featured projects) ---------- */
.showcase { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 1rem; }
.show { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); background: var(--graphite); color: var(--white); }
.show:first-child { grid-column: span 2; grid-row: span 2; }
.show:nth-child(4) { grid-column: span 2; }
.show img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.show::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.1) 55%, transparent); transition: opacity .4s; }
.show:hover img { transform: scale(1.07); }
.show__body { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 1.4rem; }
.show__cat { display: inline-block; padding: .15rem .7rem; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); font-size: .82rem; font-weight: 600; }
.show__title { margin-top: .5rem; font-size: 1.25rem; font-weight: 800; }
.show:first-child .show__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.show__loc { font-size: .92rem; color: #cfccc6; }
.show__go { position: absolute; top: 1rem; inset-inline-end: 1rem; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--black); transform: scale(0) rotate(45deg); transition: transform .45s var(--ease); }
.show:hover .show__go { transform: scale(1) rotate(0); }

/* ---------- Process ---------- */
.process { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.process::before { content: ""; position: absolute; inset-inline: 2rem; top: 2rem; height: 2px; background: repeating-linear-gradient(to left, var(--line) 0 10px, transparent 10px 18px); }
.process li { position: relative; counter-increment: p; }
.process li::before { content: counter(p); position: relative; display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--black); color: var(--orange); font-size: 1.5rem; font-weight: 900; box-shadow: 0 0 0 8px var(--paper); }
.section--white .process li::before { box-shadow: 0 0 0 8px var(--white); }
.process h3 { margin-top: 1.4rem; font-size: 1.25rem; }
.process p { margin-top: .4rem; color: var(--steel); font-size: .98rem; }

/* ---------- Project cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.75rem, 2.5vw, 2.5rem) clamp(1rem, 2vw, 1.5rem); }
.card__link { display: block; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--concrete); border-radius: var(--r-lg); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card__media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .4s; }
.card__go { position: absolute; inset-inline-start: 50%; top: 50%; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.1rem; border-radius: 999px; background: var(--white); color: var(--black); font-weight: 700; font-size: .92rem; transform: translate(50%, -30%); opacity: 0; transition: opacity .35s, transform .45s var(--ease); }
.card__link:hover .card__media img { transform: scale(1.07); }
.card__link:hover .card__media::after { opacity: 1; }
.card__link:hover .card__go, .card__link:focus-visible .card__go { opacity: 1; transform: translate(50%, -50%); }
.card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--steel); }
.card__badge { position: absolute; top: .8rem; inset-inline-start: .8rem; z-index: 1; background: var(--orange); color: var(--black); font-size: .82rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; }
.card__title { margin-top: 1rem; font-size: 1.15rem; font-weight: 800; transition: color .2s; }
.card__link:hover .card__title { color: var(--orange-ink); }
.card__meta { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin-top: .15rem; font-size: .9rem; color: var(--steel); }
.card[hidden] { display: none; }
.card.is-filtering { animation: cardIn .5s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.75rem; }
.filter { border: 1px solid var(--line); background: var(--white); color: var(--graphite); padding: .6rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: background-color .25s, color .25s, border-color .25s; }
.filter span { color: var(--mute); margin-inline-start: .3rem; font-weight: 600; }
.filter:hover { border-color: var(--black); }
.filter.is-active { background: var(--black); color: var(--white); border-color: var(--black); }
.filter.is-active span { color: var(--orange); }
.filters-back { margin-bottom: 2rem; }

/* ---------- Credentials (full page) ---------- */
.creds { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.creds--full { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.creds--full .cred { display: flex; flex-direction: column; gap: .8rem; padding: 1.75rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.creds--full .cred:hover { transform: translateY(-5px); border-color: var(--orange); box-shadow: 0 24px 40px -28px rgba(0,0,0,.35); }
.creds--full .cred__logo { height: 110px; display: flex; align-items: center; }
.creds--full .cred__logo img { width: auto; max-width: 100%; height: 96px; object-fit: contain; }
.cred__name { font-size: 1.15rem; }
.cred__num { display: flex; flex-direction: column; font-size: .9rem; color: var(--steel); padding-top: .8rem; border-top: 1px dashed var(--line); }
.cred__num b { font-size: 1.2rem; font-weight: 800; color: var(--black); letter-spacing: .03em; text-align: start; }

/* ---------- Partners ---------- */
.partners-wall { display: grid; gap: 1rem; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--orange); color: var(--black); }
.cta::after { content: ""; position: absolute; inset-inline-start: -60px; top: 50%; width: 360px; height: 420px; transform: translateY(-50%); background: url("../img/logo-mark.png") no-repeat center / contain; filter: brightness(0); opacity: .08; pointer-events: none; }
.cta__in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta__title { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 900; }
.cta__text { margin-top: .5rem; font-size: 1.15rem; max-width: 48ch; font-weight: 500; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta .btn--line { border-color: var(--black); }
.cta .btn--line::before { background: var(--black); }
.cta .btn--line:hover { color: var(--white); border-color: var(--black); }

/* ---------- Page head ---------- */
.page-head { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding-block: clamp(3rem, 7vw, 5.5rem); }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 0% 100%, rgba(245,158,47,.16), transparent 60%); }
.page-head::after { content: ""; position: absolute; inset-inline-start: 4%; bottom: -60px; width: 240px; height: 280px; background: url("../img/logo-mark.png") no-repeat center / contain; opacity: .1; pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head__title { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 900; }
.page-head__intro { margin-top: 1rem; max-width: 58ch; color: #bdbab3; font-size: 1.15rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; font-size: .95rem; color: var(--mute); }
.crumbs a:hover { color: var(--orange); }

/* ---------- Single project ---------- */
.project-head { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.project-head__bg { position: absolute; inset: 0; opacity: .22; }
.project-head__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(30px) saturate(1.2); transform: scale(1.2); }
.project-head__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem); }
.project-head__title { font-size: clamp(2.4rem, 5.5vw, 4.3rem); font-weight: 900; }
.specs { margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.specs > div { padding: 1rem 1.1rem; border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); background: rgba(255,255,255,.04); }
.specs dt { font-size: .88rem; color: var(--mute); }
.specs dd { margin: 0; font-size: 1.12rem; font-weight: 700; }
.project-head__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.project-head__cover { margin: 0; overflow: hidden; border-radius: var(--r-lg); }
.project-head__cover img { width: 100%; max-height: 660px; object-fit: cover; cursor: zoom-in; transition: transform .8s var(--ease); }
.project-head__cover:hover img { transform: scale(1.03); }

.project-body .wp-block-gallery, .project-body .gallery { display: block !important; columns: 3 260px; column-gap: 1rem; margin: 2rem 0 0; }
.project-body .wp-block-gallery > figure, .project-body .wp-block-image, .project-body .gallery-item { break-inside: avoid; margin: 0 0 1rem !important; width: 100% !important; max-width: none !important; overflow: hidden; border-radius: var(--r-lg); }
.project-body img { width: 100%; height: auto !important; cursor: zoom-in; transition: transform .7s var(--ease); }
.project-body figure:hover img { transform: scale(1.05); }
.project-body > p { max-width: 70ch; margin-bottom: 1rem; }
.project-body figcaption { display: none; }

.videos { display: grid; gap: 1.5rem; margin-top: 2rem; }
.videos--many { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.videos--one { max-width: 580px; }
.video blockquote { margin: 0 !important; min-width: 0 !important; max-width: 100% !important; }
.video iframe, .video video { width: 100%; border-radius: var(--r-lg); background: #111; }
.video-file { max-height: 80vh; }
.video iframe[src*="youtube"] { aspect-ratio: 16 / 9; height: auto; }

.share { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.share__label { font-weight: 800; }
.share__done { font-size: .9rem; color: var(--orange-ink); }

/* ---------- Landing pages ---------- */
.lp-hero { position: relative; overflow: hidden; background: var(--black); color: var(--white); }
.lp-hero__bg { position: absolute; inset: 0; }
.lp-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; animation: kenburns 14s linear both; }
.lp-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, #000 25%, rgba(0,0,0,.55)); }
.lp-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.lp-hero__title { margin-top: 1.25rem; font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 900; line-height: 1.15; }
.lp-hero__sub { margin-top: 1.25rem; max-width: 48ch; color: #d5d2cc; font-size: 1.18rem; }
.checks { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 600; }
.checks .ico { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--orange); color: var(--black); margin-top: .15rem; }
.lp-hero .panel { color: var(--graphite); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.feature { padding: 2rem 1.75rem; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; }
.feature:hover { transform: translateY(-5px); border-color: var(--orange); }
.feature__num { font-size: 1rem; font-weight: 900; color: var(--orange-ink); }
.feature h3 { margin-top: .75rem; font-size: 1.3rem; }
.feature p { margin-top: .5rem; color: var(--steel); }
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem .25rem; font-size: 1.15rem; font-weight: 800; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--concrete) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") no-repeat center / 18px; transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--orange); }
.faq details p { padding: 0 .25rem 1.4rem; color: var(--steel); max-width: 70ch; }

/* ---------- Contact & forms ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-cards { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.contact-cards a, .contact-cards div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; padding: 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); height: 100%; transition: border-color .3s, transform .4s var(--ease); }
.contact-cards a:hover { border-color: var(--orange); transform: translateY(-3px); }
.contact-cards .ico { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #fdf0de; color: var(--orange-ink); }
.contact-cards span { font-size: .88rem; color: var(--steel); }
.contact-cards b { font-weight: 800; font-size: 1.02rem; word-break: break-word; }
.contact__follow { margin-top: 2rem; font-weight: 800; }
.contact__alt { margin-top: 1.75rem; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.panel__title { font-size: 1.55rem; margin-bottom: .35rem; }
.panel__sub { color: var(--steel); margin-bottom: 1.5rem; font-size: .98rem; }

.steps { list-style: none; counter-reset: s; margin: 1.75rem 0 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-inline-start: 3.75rem; padding-bottom: 1.75rem; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; background: var(--black); color: var(--orange); font-weight: 900; border-radius: 50%; }
.steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 1.3rem; top: 2.8rem; bottom: .2rem; width: 2px; background: var(--line); }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--steel); font-size: .98rem; }

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__hp { position: absolute; inset-inline-start: -9999px; }
.field { display: grid; gap: .35rem; }
.field > span { font-weight: 700; font-size: .95rem; }
.field em { font-style: normal; color: var(--steel); font-weight: 500; font-size: .85rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--black); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: .8rem .95rem; min-height: 52px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); background: var(--white); box-shadow: 0 0 0 4px rgba(245,158,47,.3); }
.field--file input { padding: .6rem; background: var(--white); border-style: dashed; }
.notice { padding: .9rem 1rem; border-radius: var(--r); font-weight: 600; }
.notice--ok { background: #e8f3e6; color: #1f5a1a; border: 1px solid #b9d9b3; }
.notice--err { background: #fbe9e4; color: #8a2a12; border: 1px solid #efc2b5; }

/* ---------- Prose / empty ---------- */
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: 1.8rem; margin-top: 2rem; }
.prose h3 { font-size: 1.35rem; margin-top: 1.75rem; }
.prose a { color: var(--orange-ink); text-decoration: underline; }
.prose--after { margin-top: 3rem; }
.empty { text-align: center; padding: 3rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #bdbab3; padding-top: clamp(3.5rem, 7vw, 5rem); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer__logo { height: 66px; width: auto; }
.site-footer__brand p { margin-top: 1.25rem; max-width: 36ch; font-size: .98rem; }
.site-footer__title { font-size: 1.1rem; color: var(--white); margin-bottom: 1rem; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer__links a { transition: color .2s, padding .3s var(--ease); }
.site-footer__links a:hover { color: var(--orange); padding-inline-start: .35rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.contact-list li { display: flex; gap: .6rem; align-items: flex-start; }
.contact-list .ico { color: var(--orange); margin-top: .35rem; }
.contact-list a:hover { color: var(--orange); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid #242426; font-size: .9rem; color: #85827b; }
.site-footer__ids { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer__ids b { color: #bdbab3; font-weight: 600; }

.socials { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.socials a, .socials button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #3a3a3c; border-radius: 50%; color: #d9d7d2; background: none; transition: background-color .25s, color .25s, border-color .25s, transform .35s var(--ease); }
.socials a:hover, .socials button:hover { background: var(--orange); border-color: var(--orange); color: var(--black); transform: translateY(-3px); }
.socials .ico { width: 19px; height: 19px; }
.socials--dark { margin-top: .75rem; }
.share .socials--dark { margin: 0; }
.socials--dark a, .socials--dark button { border-color: var(--line); color: var(--graphite); }

.wa-float { position: fixed; bottom: 1.25rem; inset-inline-start: 1.25rem; z-index: 40; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(0,0,0,.5); transition: transform .35s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 30px; height: 30px; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.to-top { position: fixed; bottom: 1.25rem; inset-inline-end: 1.25rem; z-index: 40; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--black); color: var(--orange); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top .ico { transform: rotate(90deg); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.95); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; animation: fadeIn .3s both; }
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; display: grid; justify-items: center; gap: .75rem; }
.lightbox__stage img { max-width: 100%; max-height: 86vh; width: auto; object-fit: contain; border-radius: var(--r); animation: zoomIn .35s var(--ease) both; }
.lightbox__count { color: #bdbab3; font-size: .9rem; }
.lightbox__close { position: absolute; top: 1rem; inset-inline-end: 1rem; }
.lightbox button { background: none; border: 0; color: var(--white); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; transition: background-color .2s; }
.lightbox button:hover { background: rgba(255,255,255,.12); }
.lightbox .ico { width: 30px; height: 30px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

/* ---------- Motion: page-load + scroll reveal (JS adds .js to <html>) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal="clip"] { transform: none; opacity: 1; position: relative; }
.js [data-reveal="clip"]::before { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--curtain, var(--concrete)); transform-origin: top; transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); pointer-events: none; }
.js [data-reveal="clip"].is-in::before { transform: scaleY(0); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.project-head__cover { --curtain: #000; }
.js .hero__title .line > span { transform: translateY(105%); animation: lineUp 1s var(--ease) forwards; }
.js .hero__title .line:nth-child(2) > span { animation-delay: .15s; }
.js .hero__badge, .js .hero__sub, .js .hero__actions { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.js .hero__badge { animation-delay: .05s; }
.js .hero__sub { animation-delay: .45s; }
.js .hero__actions { animation-delay: .6s; }
.js .hero__mark { clip-path: inset(100% 0 0 0); animation: build 1.4s var(--ease) .5s forwards; }
@keyframes lineUp { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes build { to { clip-path: inset(0 0 0 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
	.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-header__phone { display: none; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
	:root { --header-h: 72px; }
	.nav-toggle { display: inline-grid; }
	.site-header__cta { display: none; }
	.nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--black); padding: 1.5rem var(--gut) 2rem; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s, transform .35s var(--ease), visibility .35s; }
	.nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { font-size: 1.4rem; font-weight: 800; padding: 1rem 0; border-bottom: 1px solid #222; }
	.nav__list a::after { display: none; }
	.nav__mobile-extra { display: block; margin-top: 2rem; }
	.about, .contact, .project-head__in, .lp-hero__in { grid-template-columns: 1fr; }
	.about__stamp { inset-inline-start: 1rem; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-inline-start: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
	.showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 230px; }
	.show:nth-child(4) { grid-column: span 1; }
	.process { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
	.process::before { display: none; }
	.directory__row { grid-template-columns: 4.25rem 1fr 2.9rem; padding-inline: .25rem; }
	.directory__desc { grid-column: 2; grid-row: 2; margin-top: -1rem; font-size: .95rem; }
	.directory__go { grid-row: 1 / span 2; grid-column: 3; width: 2.9rem; height: 2.9rem; }
	.directory__count { grid-row: 1 / span 2; font-size: 2.2rem; }
	.pillars--wide { grid-template-columns: 1fr; }
	.hero__scroll { display: none; }
	.trust__in { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 680px) {
	body { font-size: 1rem; }
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem .85rem; }
	.card__title { font-size: 1rem; }
	.card__meta { font-size: .82rem; }
	.card__go { display: none; }
	.services, .features { grid-template-columns: 1fr; }
	.form__row, .contact-cards { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.specs { grid-template-columns: 1fr 1fr; }
	.section__head--row { align-items: flex-start; }
	.brand__logo, .brand img { height: 44px; }
	.showcase { grid-template-columns: 1fr; grid-auto-rows: 260px; }
	.show:first-child { grid-column: span 1; grid-row: span 1; }
	.process { grid-template-columns: 1fr; }
	.pillar { grid-template-columns: 1fr; gap: .25rem; }
	.hero__foot-in { grid-template-columns: 1fr; gap: .75rem; }
	.hero__dot { width: 32px; }
	.hero__mark { display: none; }
	.lightbox { grid-template-columns: 44px 1fr 44px; }
	.logo-chip { width: 108px; height: 66px; }
	.logo-chip img { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js [data-reveal], .js .hero__badge, .js .hero__sub, .js .hero__actions { opacity: 1 !important; transform: none !important; }
	.js [data-reveal="clip"]::before { display: none; }
	.js .hero__title .line > span { transform: none !important; }
	.js .hero__mark { clip-path: none !important; }
	.marquee__track { animation: none !important; flex-wrap: wrap; width: auto; }
}
