/* ==========================================================================
   CDC — Construction and Development Contracting
   Design language lifted from the 2026 printed company profile:
   charcoal + safety yellow, Urbane-style geometric sans, triangle bands,
   the arrow-and-rule header motif, and hazard-striped cards.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */

:root {
  --ink: #1f2422;
  --ink-video: #212721; /* the plate the supplied logo animation was rendered on */
  --ink-90: #262c2a;
  --ink-80: #2f3634;
  --ink-70: #3a4240;
  --ink-line: #454e4b;

  --yellow: #fdc001;
  --yellow-600: #e2ab00;
  --yellow-soft: #fff3cf;

  --paper: #efefef;
  --paper-2: #e6e6e6;
  --white: #fff;
  --grey: #cfd2cf;
  --grey-text: #6a706e;

  --on-ink: #f4f5f4;
  --on-ink-dim: rgba(244, 245, 244, 0.72);
  --on-ink-faint: rgba(244, 245, 244, 0.5);

  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-ar: 'Cairo', 'Poppins', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1340px;
  --gutter: clamp(20px, 5vw, 64px);
  --head-h: 84px;

  --r-sm: 2px;
  --r-md: 4px;

  --shadow-card: 0 18px 44px -28px rgba(31, 36, 34, 0.55);
  --shadow-lift: 0 30px 60px -30px rgba(31, 36, 34, 0.6);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.45s;

  /* Triangle bands, as data-URI backgrounds */
  --tri-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='46' viewBox='0 0 72 46'%3E%3Cpath d='M0 0h72L36 46z' fill='%231f2422'/%3E%3C/svg%3E");
  --tri-yellow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='46' viewBox='0 0 72 46'%3E%3Cpath d='M0 0h72L36 46z' fill='%23fdc001'/%3E%3C/svg%3E");
  --tri-grey: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='46' viewBox='0 0 72 46'%3E%3Cpath d='M0 0h72L36 46z' fill='%23cfd2cf'/%3E%3C/svg%3E");
  --tri-edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='90' viewBox='0 0 52 90'%3E%3Cpath d='M0 0v90l52-45z' fill='%231f2422'/%3E%3C/svg%3E");
}

html[dir='rtl'] {
  --font: var(--font-ar);
}

/* --- Reset -------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

/* every icon has a sane default size; contextual rules override it */
.icon { width: 22px; height: 22px; flex: none; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  z-index: 200;
  background: var(--yellow);
  color: var(--ink);
  padding: 12px 20px;
  font-weight: 700;
}
.skip:focus { inset-inline-start: 0; }

/* --- Layout primitives -------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); }
}

/* --- Type --------------------------------------------------------------- */

h1, h2, h3, h4 {
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
html[dir='rtl'] h1,
html[dir='rtl'] h2,
html[dir='rtl'] h3,
html[dir='rtl'] h4 { letter-spacing: 0; line-height: 1.25; font-weight: 900; }

.display {
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  text-transform: uppercase;
}
html[dir='rtl'] .display { text-transform: none; font-size: clamp(2.2rem, 5.4vw, 4.4rem); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow-600);
  margin-bottom: 14px;
}
html[dir='rtl'] .eyebrow { letter-spacing: 0.06em; }
.is-light .eyebrow, .section--ink .eyebrow { color: var(--yellow); }

.sec-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.sec-head.is-center { margin-inline: auto; text-align: center; }

.sec-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  text-transform: uppercase;
}
html[dir='rtl'] .sec-title { text-transform: none; font-size: clamp(1.8rem, 3.6vw, 2.9rem); }

.rule {
  display: block;
  width: 88px;
  height: 5px;
  background: var(--yellow);
  margin-block: 20px 22px;
}
.is-center .rule { margin-inline: auto; }

.sec-body {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  color: var(--grey-text);
  max-width: 62ch;
}
.section--ink .sec-body, .is-light .sec-body { color: var(--on-ink-dim); }
.is-center .sec-body { margin-inline: auto; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.5;
}

.muted { color: var(--grey-text); }
.section--ink .muted { color: var(--on-ink-dim); }

/* --- Decorative motifs -------------------------------------------------- */

/* the ◁——— rule that heads every profile page */
.markline {
  display: flex;
  align-items: center;
  gap: 14px;
  color: currentColor;
  opacity: 0.85;
  font-size: 0.8rem;
  margin-bottom: 26px;
}
.markline__arrow { width: 30px; height: 18px; flex: none; }
html[dir='rtl'] .markline__arrow { transform: scaleX(-1); }
.markline__a { font-weight: 700; white-space: nowrap; }
.markline__b { font-style: italic; font-weight: 500; white-space: nowrap; }
html[dir='rtl'] .markline__b { font-style: normal; }
.markline__line { flex: 1; height: 1px; background: currentColor; opacity: 0.45; }
@media (max-width: 700px) { .markline__b { display: none; } }

/* horizontal sawtooth band */
.chevrons {
  height: 46px;
  background-repeat: repeat-x;
  background-size: 72px 46px;
}
.chevrons--ink { background-image: var(--tri-ink); }
.chevrons--yellow { background-image: var(--tri-yellow); }
.chevrons--grey { background-image: var(--tri-grey); }

/* vertical triangle strip pinned to a section edge */
.edge-tri {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 52px;
  background-image: var(--tri-edge);
  background-size: 52px 90px;
  background-repeat: repeat-y;
  opacity: 0.9;
  pointer-events: none;
}
html[dir='rtl'] .edge-tri { transform: scaleX(-1); }
@media (max-width: 1180px) { .edge-tri { display: none; } }

/* hazard tape, from the service cards */
.hazard {
  height: 12px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0 10px,
    var(--ink) 10px 20px
  );
}

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn__icon { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--ease); }
html[dir='rtl'] .btn__icon { transform: scaleX(-1); }
.btn:hover .btn__icon { transform: translateX(4px); }
html[dir='rtl'] .btn:hover .btn__icon { transform: scaleX(-1) translateX(4px); }

.btn--primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn--primary:hover { background: var(--yellow-600); border-color: var(--yellow-600); }

.btn--ink { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn--ink:hover { background: transparent; color: var(--ink); }

.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--yellow); border-color: var(--yellow); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* --- Header ------------------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--on-ink);
  transition: box-shadow var(--dur) var(--ease);
}
.site-head.is-stuck { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.7); }

.site-head__in {
  min-height: var(--head-h);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

.brand { display: flex; align-items: center; flex: none; }
.brand__logo { width: auto; height: 52px; }
@media (max-width: 480px) { .brand__logo { height: 42px; } }

.site-nav { margin-inline-start: auto; }
.site-nav ul { display: flex; gap: clamp(14px, 2vw, 30px); }
.site-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  padding-block: 8px;
  color: var(--on-ink-dim);
  transition: color 0.25s var(--ease);
}
.site-nav a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover { color: var(--on-ink); }
.site-nav a:hover::after,
.site-nav a[aria-current='page']::after { transform: scaleX(1); }
.site-nav a[aria-current='page'] { color: var(--on-ink); font-weight: 600; }
@media (max-width: 1024px) { .site-nav { display: none; } }

.site-head__end { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
@media (min-width: 1025px) { .site-head__end { margin-inline-start: 0; } }

.lang-toggle {
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 14px;
  border: 1px solid var(--ink-line);
  color: var(--on-ink-dim);
  transition: all 0.25s var(--ease);
}
.lang-toggle:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.head-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 18px;
  transition: background 0.25s var(--ease);
}
.head-call span { direction: ltr; }
.head-call:hover { background: var(--yellow-600); }
.head-call .icon { width: 17px; height: 17px; }
@media (max-width: 780px) { .head-call span { display: none; } .head-call { padding: 11px 13px; } }

.burger { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px; padding: 0 8px; }
.burger span { display: block; height: 2px; background: var(--on-ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1024px) { .burger { display: flex; } }

.mobile-nav {
  background: var(--ink-90);
  border-top: 1px solid var(--ink-line);
  padding: 12px var(--gutter) 28px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav a {
  display: block;
  padding: 15px 0;
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 1px solid var(--ink-line);
}
.mobile-nav a[aria-current='page'] { color: var(--yellow); }
.mobile-nav__foot { display: flex; align-items: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.mobile-nav__foot .btn span { direction: ltr; }

/* --- Brand intro -------------------------------------------------------- */

/* Hidden unless the head script decided this visit should see it, so no-JS
   and reduced-motion visitors never meet it at all. */
.splash { display: none; }

html.intro-on { overflow: hidden; }
html.intro-on .splash {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  /* match the animation's own plate so its frame edge is invisible */
  background: var(--ink-video);
  transition: opacity 0.55s var(--ease);
}
html.intro-on .splash::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 22px;
  background-image: var(--tri-yellow);
  background-size: 60px 22px;
  background-repeat: repeat-x;
}
.splash.is-out { opacity: 0; pointer-events: none; }

.splash__video {
  width: auto;
  height: min(70vh, 520px);
  max-width: 84vw;
  object-fit: contain;
}

.splash__skip {
  position: absolute;
  inset-block-end: 46px;
  inset-inline-end: var(--gutter);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink-faint);
  padding: 10px 18px;
  border: 1px solid var(--ink-line);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
html[dir='rtl'] .splash__skip { letter-spacing: 0; }
.splash__skip:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }

/* --- Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(31, 36, 34, 0.96) 0%,
    rgba(31, 36, 34, 0.88) 38%,
    rgba(31, 36, 34, 0.4) 72%,
    rgba(31, 36, 34, 0.25) 100%
  );
}
html[dir='rtl'] .hero::after { transform: scaleX(-1); }

.hero__in {
  padding-block: clamp(76px, 11vw, 156px);
  max-width: 820px;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero__est {
  font-style: italic;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.04em;
}
html[dir='rtl'] .hero__est { font-style: normal; }
.hero__tag {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 16px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
html[dir='rtl'] .hero__tag {
  letter-spacing: 0;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 26px;
}
html[dir='rtl'] .hero__title { font-style: normal; text-transform: none; font-size: clamp(2rem, 5vw, 3.9rem); }

.hero__body {
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  color: var(--on-ink-dim);
  max-width: 58ch;
  border-inline-start: 4px solid var(--yellow);
  padding-inline-start: 22px;
}

.hero__scroll {
  position: absolute;
  bottom: 26px;
  inset-inline-start: var(--gutter);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-ink-faint);
}
.hero__scroll .icon { width: 18px; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 900px) { .hero__scroll { display: none; } }

/* compact page hero for inner pages */
.phero {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
  isolation: isolate;
}
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.phero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(31, 36, 34, 0.9), rgba(31, 36, 34, 0.72));
}
.phero__in { padding-block: clamp(56px, 8vw, 108px); max-width: 860px; }
.phero__title { font-size: clamp(2.2rem, 5.4vw, 4.2rem); text-transform: uppercase; }
html[dir='rtl'] .phero__title { text-transform: none; font-size: clamp(1.9rem, 4.4vw, 3.5rem); }
.phero__body { color: var(--on-ink-dim); max-width: 62ch; margin-top: 22px; }

/* --- Stats -------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--grey); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stats { grid-template-columns: minmax(0, 1fr); } }

.stat {
  background: var(--white);
  padding: clamp(26px, 3vw, 38px) clamp(20px, 2.4vw, 30px);
  text-align: center;
  transition: background 0.3s var(--ease);
}
.stat:hover { background: var(--yellow-soft); }
.stat .icon { width: 42px; height: 42px; margin: 0 auto 16px; color: var(--ink); stroke-width: 1.3; }
.stat__value {
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  font-weight: 800;
  color: var(--yellow-600);
  line-height: 1;
  letter-spacing: -0.02em;
  direction: ltr;
}
.stat__label { font-weight: 700; margin-top: 10px; font-size: 1rem; }
.stat__body { font-size: 0.86rem; color: var(--grey-text); margin-top: 6px; }

/* --- Pillar strip ------------------------------------------------------- */

.pillars {
  background: var(--ink);
  color: var(--on-ink);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
  padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3vw, 46px);
}
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

.pillar { display: flex; gap: 16px; align-items: flex-start; }
.pillar .icon { width: 34px; height: 34px; color: var(--yellow); flex: none; margin-top: 2px; }
.pillar h3 { font-size: 1rem; color: var(--yellow); margin-bottom: 6px; letter-spacing: 0; }
.pillar p { font-size: 0.85rem; color: var(--on-ink-dim); line-height: 1.55; }

/* --- Split (text + image) ---------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--narrow { grid-template-columns: 1.05fr 0.95fr; }
@media (max-width: 900px) { .split, .split--narrow { grid-template-columns: minmax(0, 1fr); } }

.split__media { position: relative; z-index: 0; }
.split__media img { width: 100%; object-fit: cover; }
.split__media::before {
  content: '';
  position: absolute;
  inset-block-end: -18px;
  inset-inline-start: -18px;
  width: 46%;
  height: 46%;
  background: var(--yellow);
  z-index: -1;
}
@media (max-width: 900px) { .split__media::before { display: none; } }

/* --- Cards -------------------------------------------------------------- */

/* five service cards abreast on wide screens, as in the printed profile */
.svc-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1180px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
.svc-grid .svc__body { padding: 66px 20px 26px; }
.svc-grid .svc .icon { width: 46px; height: 46px; margin-bottom: 16px; }
.svc-grid .svc h3 { font-size: 1.02rem; }
.svc-grid .svc p { font-size: 0.83rem; }
.svc-grid .svc__corner { width: 62px; height: 62px; }

/* dark service card with numbered corner + hazard tape, as in the profile */
.svc {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.svc__corner {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 74px;
  height: 74px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
html[dir='rtl'] .svc__corner { clip-path: polygon(100% 0, 100% 100%, 0 0); }
.svc__num {
  position: absolute;
  top: 12px;
  inset-inline-start: 14px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  z-index: 2;
}
.svc__body { padding: 78px 28px 30px; flex: 1; text-align: center; }
.svc .icon { width: 54px; height: 54px; margin: 0 auto 20px; color: var(--yellow); stroke-width: 1.2; }
.svc h3 { font-size: 1.12rem; margin-bottom: 14px; letter-spacing: -0.01em; }
.svc p { font-size: 0.88rem; color: var(--on-ink-dim); line-height: 1.6; }
.svc .hazard { margin-top: auto; }

/* detailed service block on the services page */
.svc-detail {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding-block: clamp(30px, 3.4vw, 46px);
  border-top: 1px solid var(--grey);
  align-items: start;
}
.svc-detail:last-child { border-bottom: 1px solid var(--grey); }
.svc-detail__num {
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  font-weight: 800;
  color: var(--grey);
  line-height: 1;
  letter-spacing: -0.03em;
}
.svc-detail h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 6px; }
.svc-detail__short { color: var(--yellow-600); font-weight: 600; margin-bottom: 14px; }
.svc-detail__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
  margin-top: 20px;
}
.svc-detail__points li { display: flex; gap: 10px; font-size: 0.9rem; align-items: flex-start; }
.svc-detail__points .icon { width: 16px; height: 16px; color: var(--yellow-600); flex: none; margin-top: 5px; stroke-width: 2.4; }
@media (max-width: 700px) {
  .svc-detail { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .svc-detail__points { grid-template-columns: minmax(0, 1fr); }
}

/* --- Project cards ------------------------------------------------------ */

.pcard {
  position: relative;
  display: block;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
  isolation: isolate;
}
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(31, 36, 34, 0) 22%,
    rgba(31, 36, 34, 0.55) 55%,
    rgba(31, 36, 34, 0.96) 100%
  );
}
.pcard__tag {
  position: absolute;
  top: 16px;
  inset-inline-start: 0;
  z-index: 2;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 20px 6px 16px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
html[dir='rtl'] .pcard__tag {
  letter-spacing: 0;
  padding: 6px 16px 6px 20px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
}
.pcard__text {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px;
}
.pcard__sector {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.06em;
  text-shadow: 0 1px 8px rgba(31, 36, 34, 0.9);
}
.pcard__title {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  margin-top: 6px;
  text-shadow: 0 2px 12px rgba(31, 36, 34, 0.75);
}
.pcard__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--on-ink-dim);
  margin-top: 10px;
}
.pcard__more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--yellow);
  margin-top: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.pcard:hover .pcard__more,
.pcard:focus-visible .pcard__more { opacity: 1; transform: none; }
.pcard__more .icon { width: 16px; height: 16px; }
html[dir='rtl'] .pcard__more .icon { transform: scaleX(-1); }
@media (hover: none) { .pcard__more { opacity: 1; transform: none; } }

.pcard--wide { grid-column: span 2; }
.pcard--wide .pcard__media { aspect-ratio: 16 / 9; }
@media (max-width: 900px) { .pcard--wide { grid-column: span 2; } }
@media (max-width: 560px) { .pcard--wide { grid-column: span 1; } }

/* --- Filters ------------------------------------------------------------ */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.filter {
  padding: 11px 20px;
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid var(--grey);
  background: var(--white);
  color: var(--grey-text);
  transition: all 0.25s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}
.filter__n { opacity: 0.55; margin-inline-start: 6px; font-size: 0.78rem; }

/* --- Project detail ----------------------------------------------------- */

.pjhero { position: relative; background: var(--ink); color: var(--on-ink); }
.pjhero__media { position: relative; aspect-ratio: 21 / 9; min-height: 320px; }
.pjhero__media img { width: 100%; height: 100%; object-fit: cover; }
.pjhero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 36, 34, 0.5) 0%, rgba(31, 36, 34, 0.25) 40%, rgba(31, 36, 34, 0.95) 100%);
}
.pjhero__in { position: relative; margin-top: -140px; z-index: 2; padding-bottom: clamp(30px, 4vw, 54px); }
@media (max-width: 700px) { .pjhero__in { margin-top: -90px; } }
.pjhero__title { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-block: 14px 10px; }
.pjhero__sector { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 0.9rem; }
.pjhero__sector::before { content: ''; width: 54px; height: 4px; background: var(--yellow); flex: none; }

.pjmeta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink-line);
  margin-top: clamp(24px, 3vw, 38px);
}
@media (max-width: 860px) { .pjmeta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .pjmeta { grid-template-columns: minmax(0, 1fr); } }
.pjmeta__cell { background: var(--ink); padding: 20px 22px; }
.pjmeta__k {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}
html[dir='rtl'] .pjmeta__k { letter-spacing: 0; }
.pjmeta__k .icon { width: 17px; height: 17px; }
.pjmeta__v { font-size: 0.95rem; font-weight: 500; }
.pjmeta__logos { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pjmeta__logos img { height: 34px; width: auto; max-width: 110px; object-fit: contain; background: var(--white); padding: 5px 9px; }

.pjbody { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 70px); }
@media (max-width: 860px) { .pjbody { grid-template-columns: minmax(0, 1fr); } }
.pjscope li { display: flex; gap: 12px; padding-block: 11px; border-bottom: 1px solid var(--grey); font-weight: 500; }
.pjscope li .icon { width: 17px; height: 17px; color: var(--yellow-600); flex: none; margin-top: 5px; stroke-width: 2.4; }
.pjhighlight {
  background: var(--yellow);
  color: var(--ink);
  padding: 24px 28px;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 28px;
  line-height: 1.45;
}

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figure { overflow: hidden; }
.gallery img { transition: transform 0.7s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

.pjnext {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: clamp(26px, 3vw, 40px);
  border-top: 1px solid var(--ink-line);
}
.pjnext__label { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow); }
html[dir='rtl'] .pjnext__label { letter-spacing: 0; }
.pjnext__title { font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin-top: 6px; }

/* --- Vision / mission / values ------------------------------------------ */

.vm { display: grid; gap: clamp(28px, 3.4vw, 46px); }
.vm__item { border-inline-start: 4px solid var(--yellow); padding-inline-start: 24px; }
.vm__item h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin-bottom: 12px; }
.vm__item h3::before {
  content: '';
  width: 0;
  height: 0;
  border-block: 9px solid transparent;
  border-inline-start: 15px solid var(--yellow);
  border-inline-end: 0;
  flex: none;
}
html[dir='rtl'] .vm__item h3::before { transform: scaleX(-1); }

.values { background: var(--yellow); color: var(--ink); }
.values__in { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 48px); align-items: center; }
@media (max-width: 900px) { .values__in { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values__in { grid-template-columns: minmax(0, 1fr); } }
.values__title { font-size: clamp(1.6rem, 2.8vw, 2.3rem); white-space: nowrap; }
.value { text-align: center; }
.value .icon { width: 44px; height: 44px; margin: 0 auto 12px; stroke-width: 1.5; }
.value h4 { font-size: 1.1rem; margin-bottom: 4px; }
.value p { font-size: 0.86rem; opacity: 0.78; }

/* --- Capacity ----------------------------------------------------------- */

.cap-group + .cap-group { margin-top: clamp(30px, 3.6vw, 46px); }
.cap-group__title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-line);
  margin-bottom: 24px;
}
html[dir='rtl'] .cap-group__title { letter-spacing: 0; }
.cap-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); }
@media (max-width: 780px) { .cap-list { grid-template-columns: minmax(0, 1fr); } }
.cap-item { border-inline-start: 1px solid var(--ink-line); padding-inline-start: 22px; }
.cap-item:first-child { border-inline-start: 0; padding-inline-start: 0; }
@media (max-width: 780px) { .cap-item { border-inline-start: 0; padding-inline-start: 0; } }
.cap-item h4 { color: var(--yellow); font-size: 1.12rem; margin-bottom: 10px; }
.cap-item p { font-size: 0.9rem; color: var(--on-ink-dim); }

.mix { display: flex; margin-top: 16px; }
.mix__seg { padding: 16px 20px; font-weight: 700; font-size: 1.1rem; }
.mix__seg:nth-child(1) { background: var(--yellow); color: var(--ink); }
.mix__seg:nth-child(2) { background: var(--ink-80); color: var(--on-ink); }
.mix__seg:nth-child(3) { background: var(--grey); color: var(--ink); }
.mix-labels { display: flex; margin-top: 10px; font-size: 0.76rem; font-weight: 600; line-height: 1.35; }
.mix-labels > div { padding-inline-end: 10px; }

/* --- Steps / approach --------------------------------------------------- */

.steps { display: grid; gap: 2px; }
.step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(16px, 2.4vw, 30px);
  align-items: start;
  padding-block: 20px;
  border-bottom: 1px solid var(--grey);
}
.section--ink .step { border-color: var(--ink-line); }
.step__n {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  direction: ltr;
}
.step__text { border-inline-start: 3px solid var(--yellow); padding-inline-start: 20px; }
.step h3 { font-size: 1.05rem; margin-bottom: 5px; }
.step p { font-size: 0.9rem; color: var(--grey-text); }
.section--ink .step p { color: var(--on-ink-dim); }
@media (max-width: 560px) { .step { grid-template-columns: 56px 1fr; } }

/* --- Quality grid ------------------------------------------------------- */

.qgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--grey); }
@media (max-width: 860px) { .qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .qgrid { grid-template-columns: minmax(0, 1fr); } }
.qitem { background: var(--white); padding: clamp(26px, 3vw, 38px); text-align: center; transition: background 0.3s var(--ease); }
.qitem:hover { background: var(--ink); color: var(--on-ink); }
.qitem .icon { width: 46px; height: 46px; margin: 0 auto 16px; stroke-width: 1.3; transition: color 0.3s var(--ease); }
.qitem:hover .icon { color: var(--yellow); }
.qitem h3 { font-size: 1.05rem; margin-bottom: 10px; }
.qitem__rule { display: block; width: 40px; height: 3px; background: var(--yellow); margin: 0 auto 12px; }
.qitem p { font-size: 0.86rem; color: var(--grey-text); }
.qitem:hover p { color: var(--on-ink-dim); }

/* --- Staff / org chart -------------------------------------------------- */

.org { display: grid; gap: 0; justify-items: center; }
.org__head {
  background: var(--ink);
  color: var(--on-ink);
  padding: 16px 34px;
  font-weight: 700;
  text-align: center;
  border-inline-start: 5px solid var(--yellow);
}
.org__stem { width: 1px; height: 32px; background: var(--ink); }
.org__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  width: 100%;
  position: relative;
  padding-top: 22px;
}
.org__row::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 12.5%;
  height: 1px;
  background: var(--ink);
}
@media (max-width: 900px) {
  .org__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org__row::before { display: none; }
}
@media (max-width: 520px) { .org__row { grid-template-columns: minmax(0, 1fr); } }
.org__branch { display: flex; flex-direction: column; gap: 8px; position: relative; }
.org__branch::before {
  content: '';
  position: absolute;
  top: -22px;
  inset-inline-start: 50%;
  width: 1px;
  height: 22px;
  background: var(--ink);
}
@media (max-width: 900px) { .org__branch::before { display: none; } }
.org__title {
  background: var(--white);
  border: 1px solid var(--ink);
  border-inline-start: 5px solid var(--yellow);
  padding: 13px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}
.org__item {
  background: var(--white);
  border: 1px solid var(--grey);
  border-inline-start: 3px solid var(--yellow);
  padding: 9px 14px;
  font-size: 0.84rem;
}

.points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
@media (max-width: 900px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .points { grid-template-columns: minmax(0, 1fr); } }
.point { border-inline-start: 3px solid var(--yellow); padding-inline-start: 18px; }
.point h4 { font-size: 0.98rem; margin-bottom: 6px; }
.point p { font-size: 0.85rem; color: var(--grey-text); }
.section--ink .point p { color: var(--on-ink-dim); }

/* --- Chairman ----------------------------------------------------------- */

.chair { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
@media (max-width: 860px) { .chair { grid-template-columns: minmax(0, 1fr); } }
.chair__photo { position: relative; z-index: 0; }
.chair__photo img { width: 100%; filter: grayscale(1); background: var(--white); }
.chair__photo::after {
  content: '';
  position: absolute;
  inset-block-end: -16px;
  inset-inline-end: -16px;
  width: 120px;
  height: 120px;
  background: var(--yellow);
  z-index: -1;
}
.chair__name { color: var(--yellow); font-weight: 700; margin-top: 18px; font-size: 1.1rem; }
.chair__role { color: var(--on-ink-dim); font-size: 0.9rem; }
.chair__quotes li { display: flex; gap: 16px; margin-bottom: 22px; }
.chair__quotes li::before {
  content: '';
  width: 0;
  height: 0;
  border-block: 8px solid transparent;
  border-inline-start: 13px solid var(--yellow);
  border-inline-end: 0;
  flex: none;
  margin-top: 8px;
}
html[dir='rtl'] .chair__quotes li::before { transform: scaleX(-1); }
.chair__quotes p { color: var(--on-ink-dim); }

/* --- Clients ------------------------------------------------------------ */

.clients { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--grey); }
@media (max-width: 1000px) { .clients { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.client {
  background: var(--white);
  aspect-ratio: 1 / 1.06;
  display: grid;
  place-items: center;
  padding: 14px;
  transition: background 0.3s var(--ease);
}
.client img {
  max-height: 58%;
  max-width: 74%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.client:hover img { filter: none; opacity: 1; transform: scale(1.06); }

.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: clamp(32px, 4vw, 52px); }
@media (max-width: 760px) { .trust { grid-template-columns: minmax(0, 1fr); } }
.trust__item { display: flex; align-items: center; gap: 16px; font-weight: 600; }
.trust__item .icon { width: 38px; height: 38px; color: var(--yellow-600); flex: none; stroke-width: 1.3; }

/* --- Credentials -------------------------------------------------------- */

.creds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
@media (max-width: 900px) { .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .creds { grid-template-columns: minmax(0, 1fr); } }
.cred {
  background: var(--white);
  padding: 26px 24px;
  border-top: 4px solid var(--yellow);
  box-shadow: var(--shadow-card);
}
.cred h3 { font-size: 1rem; margin-bottom: 8px; }
.cred p { font-size: 0.85rem; color: var(--grey-text); }

/* --- CTA band ----------------------------------------------------------- */

.cta {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
  isolation: isolate;
}
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(31, 36, 34, 0.94) 0%, rgba(31, 36, 34, 0.82) 55%, rgba(31, 36, 34, 0.55) 100%);
}
html[dir='rtl'] .cta::after { transform: scaleX(-1); }
.cta__in { padding-block: clamp(64px, 8vw, 120px); max-width: 720px; }
.cta__title { font-size: clamp(2.6rem, 6.6vw, 5.2rem); text-transform: uppercase; line-height: 0.98; }
.cta__title span { color: var(--yellow); }
html[dir='rtl'] .cta__title { text-transform: none; font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1.2; }
.cta__body { color: var(--on-ink-dim); margin-top: 22px; max-width: 52ch; }

/* --- Careers ------------------------------------------------------------ */

.phero__note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--on-ink-faint);
}

.perk {
  background: var(--paper);
  padding: clamp(24px, 2.8vw, 34px);
  border-top: 4px solid var(--yellow);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.perk:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.perk .icon { width: 40px; height: 40px; color: var(--ink); stroke-width: 1.3; margin-bottom: 16px; }
.perk h3 { font-size: 1.08rem; margin-bottom: 9px; }
.perk p { font-size: 0.88rem; color: var(--grey-text); }

.disciplines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--ink-line); }
@media (max-width: 760px) { .disciplines { grid-template-columns: minmax(0, 1fr); } }

.discipline {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--ink);
  padding: clamp(22px, 2.6vw, 30px);
  transition: background 0.3s var(--ease);
}
.discipline:hover { background: var(--ink-80); }
.discipline__n {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--yellow);
  padding-top: 3px;
  flex: none;
  direction: ltr;
}
.discipline__text { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.discipline__title { font-weight: 700; font-size: 1.05rem; }
.discipline__body { font-size: 0.86rem; color: var(--on-ink-dim); line-height: 1.55; }
.discipline__go {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--on-ink-faint);
  margin-top: 4px;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
html[dir='rtl'] .discipline__go { transform: scaleX(-1); }
.discipline:hover .discipline__go { color: var(--yellow); transform: translate(3px, -3px); }
html[dir='rtl'] .discipline:hover .discipline__go { transform: scaleX(-1) translate(3px, -3px); }

.portal-card {
  background: var(--white);
  padding: clamp(24px, 3vw, 34px);
  border-inline-start: 5px solid var(--yellow);
  box-shadow: var(--shadow-card);
  margin-top: 8px;
}
.portal-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.portal-card p { font-size: 0.9rem; color: var(--grey-text); }

.portal { background: var(--yellow); color: var(--ink); }
.portal__in {
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
  padding-block: clamp(44px, 5vw, 76px);
}
@media (max-width: 820px) { .portal__in { grid-template-columns: minmax(0, 1fr); } }
.portal .eyebrow { color: rgba(31, 36, 34, 0.6); }
.portal__title { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.portal__body { margin-top: 14px; max-width: 52ch; font-size: 0.98rem; }
.portal__cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.portal__hint {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  opacity: 0.72;
}
.portal__hint .icon { width: 14px; height: 14px; }
html[dir='rtl'] .portal__hint .icon { transform: scaleX(-1); }

/* --- Contact ------------------------------------------------------------ */

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 68px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.cinfo li { display: flex; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--grey); }
.cinfo .icon { width: 22px; height: 22px; color: var(--yellow-600); flex: none; margin-top: 3px; }
.cinfo__k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-text); }
html[dir='rtl'] .cinfo__k { letter-spacing: 0; }
.cinfo__v { font-weight: 600; margin-top: 3px; }
.cinfo__v a:hover { color: var(--yellow-600); }

.form { background: var(--white); padding: clamp(26px, 3.4vw, 44px); box-shadow: var(--shadow-card); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
html[dir='rtl'] .field label { letter-spacing: 0; text-transform: none; font-size: 0.88rem; }
.field label span { color: var(--yellow-600); }
.field input,
.field select,
.field textarea {
  border: 1px solid var(--grey);
  background: var(--paper);
  padding: 13px 15px;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); background: var(--white); outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.field[data-invalid='true'] input,
.field[data-invalid='true'] select,
.field[data-invalid='true'] textarea { border-color: #c0392b; }
.field__err { font-size: 0.78rem; color: #c0392b; }
.hp { position: absolute; inset-inline-start: -9999px; opacity: 0; height: 0; }
.form__note { font-size: 0.78rem; color: var(--grey-text); margin-top: 14px; }
.form__status { margin-top: 16px; padding: 14px 18px; font-size: 0.9rem; font-weight: 600; display: none; }
.form__status[data-state='ok'] { display: block; background: var(--yellow-soft); border-inline-start: 4px solid var(--yellow); }
.form__status[data-state='err'] { display: block; background: #fdecea; border-inline-start: 4px solid #c0392b; color: #932c20; }

.map-wrap { position: relative; }
.map { border: 0; width: 100%; height: 420px; display: block; filter: grayscale(1) contrast(1.05); }
.map-cta {
  position: absolute;
  inset-block-end: 22px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 13px 22px;
  box-shadow: 0 14px 34px -16px rgba(31, 36, 34, 0.7);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.map-cta:hover { background: var(--yellow); color: var(--ink); }
.map-cta .icon { width: 17px; height: 17px; }
.map-cta .icon:last-child { width: 14px; height: 14px; opacity: 0.7; }
html[dir='rtl'] .map-cta .icon:last-child { transform: scaleX(-1); }

/* --- WhatsApp float ----------------------------------------------------- */

.wa-float {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-end: 22px;
  z-index: 80;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 12px 30px -10px rgba(31, 36, 34, 0.55);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); background: var(--yellow-600); }
.wa-float .icon { width: 27px; height: 27px; }

/* --- Footer ------------------------------------------------------------- */

.site-foot { background: var(--ink); color: var(--on-ink); }
.site-foot .chevrons { transform: rotate(180deg); }
.site-foot__in {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 0.9fr;
  gap: clamp(28px, 3.4vw, 56px);
  padding-block: clamp(44px, 5vw, 72px);
}
@media (max-width: 950px) { .site-foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .site-foot__in { grid-template-columns: minmax(0, 1fr); } }
.site-foot__logo { width: auto; height: 140px; margin-bottom: 24px; }
.site-foot__brand p { font-size: 0.88rem; color: var(--on-ink-dim); max-width: 42ch; }
.site-foot__cr { margin-top: 14px; font-size: 0.8rem !important; color: var(--on-ink-faint) !important; }
.site-foot__col h3 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}
html[dir='rtl'] .site-foot__col h3 { letter-spacing: 0; font-size: 0.92rem; }
.site-foot__col li { margin-bottom: 10px; }
.site-foot__col a { font-size: 0.9rem; color: var(--on-ink-dim); transition: color 0.2s var(--ease); }
.site-foot__col a:hover { color: var(--yellow); }
.site-foot__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--on-ink-dim); }
.site-foot__contact .icon { width: 18px; height: 18px; color: var(--yellow); flex: none; margin-top: 3px; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-line);
  color: var(--on-ink-dim);
  transition: all 0.25s var(--ease);
}
.socials a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.socials .icon { width: 19px; height: 19px; }

/* on paper rather than charcoal */
.socials--ink { margin-top: 26px; }
.socials--ink a { border-color: var(--grey); color: var(--ink); }

.site-foot__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid var(--ink-line);
  font-size: 0.82rem;
  color: var(--on-ink-faint);
}
.site-foot__tag { font-style: italic; color: var(--yellow); }
html[dir='rtl'] .site-foot__tag { font-style: normal; }

/* --- 404 ---------------------------------------------------------------- */

.nf { text-align: center; padding-block: clamp(80px, 12vw, 170px); }
.nf__code { font-size: clamp(5rem, 16vw, 12rem); font-weight: 800; color: var(--yellow); line-height: 0.85; }
.nf h1 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin-block: 20px 12px; }

/* --- Reveal on scroll --------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* --- Print -------------------------------------------------------------- */

@media print {
  .site-head, .site-foot, .wa-float, .hero__scroll, .filters { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 20px; }
}
