/* ==========================================================
   UBA — corporate site
   deep navy · muted gold · warm paper
   ========================================================== */
:root {
  --navy: #071d31;
  --navy-2: #0a2740;
  --navy-3: #0e3557;
  --navy-deep: #04121f;
  --gold: #c7a24c;
  --gold-2: #e6cd8b;
  --gold-soft: #d9bc72;
  --gold-ink: #7d5f1c;
  --ivory: #f8f5ef;
  --sand: #f1ece1;
  --paper: #fffdf9;
  --ink: #10263a;
  --body: #3f5468;
  --muted: #68798a;
  --line: #e3dac7;
  --line-soft: #eee7d8;
  --container: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --hdr: 80px;
  --fh: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', Tahoma, sans-serif;
  --fb: 'IBM Plex Sans Arabic', 'Noto Kufi Arabic', Tahoma, sans-serif;
  --sh-card: 0 1px 2px rgba(7, 29, 49, .05), 0 14px 34px -22px rgba(7, 29, 49, .28);
  --sh-lift: 0 2px 4px rgba(7, 29, 49, .06), 0 30px 52px -30px rgba(7, 29, 49, .42);
  --ease: cubic-bezier(.22, .75, .3, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 14px);
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0;
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.9;
  color: var(--body);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.gallery-open {
  overflow: hidden
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  cursor: pointer
}

::selection {
  background: var(--gold);
  color: var(--navy)
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--fh);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  text-wrap: balance
}

p {
  margin: 0;
  text-wrap: pretty
}

ul {
  margin: 0;
  padding: 0;
  list-style: none
}

svg {
  display: block
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.skip {
  position: fixed;
  top: -80px;
  inset-inline-start: 16px;
  z-index: 300;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 18px;
  font-size: .85rem;
  font-weight: 600;
  border-radius: 2px;
  transition: top .2s
}

.skip:focus {
  top: 12px
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round
}

/* ---------- shared ---------- */
.section {
  padding: clamp(56px, 7vw, 104px) 0;
  position: relative
}

.section--paper {
  background: var(--paper)
}

.section--sand {
  background: var(--sand)
}

.section--navy {
  background: linear-gradient(168deg, var(--navy-2) 0%, var(--navy) 46%, var(--navy-deep) 100%);
  color: #fff
}

.head {
  max-width: 760px;
  margin-bottom: clamp(26px, 3.5vw, 40px)
}

.head h2 {
  font-size: clamp(1.6rem, 3.3vw, 2.55rem);
  line-height: 1.42;
  margin-bottom: 14px;
  font-weight: 800
}

.head h2 em {
  font-style: normal;
  color: var(--gold-ink)
}

.section--navy .head h2 em {
  color: var(--gold-2)
}

.head h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  background: linear-gradient(to left, var(--gold), rgba(199, 162, 76, .15));
  margin-top: 18px
}

.head p {
  font-size: clamp(.95rem, 1.1vw, 1.03rem);
  line-height: 1.95;
  color: var(--body);
  max-width: 64ch
}

.section--navy .head h2 {
  color: #fff
}

.section--navy .head p {
  color: #a9bccd
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 11px clamp(14px, 2vw, 28px);
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--fb);
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s
}

.btn .icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto
}

.btn--gold {
  background: linear-gradient(180deg, #d3af5c, var(--gold));
  border-color: var(--gold);
  color: #0b1d2d;
  box-shadow: 0 14px 26px -16px rgba(199, 162, 76, .75)
}

.btn--gold:hover {
  background: linear-gradient(180deg, #c7a24c, #b28c39);
  border-color: #b28c39;
  transform: translateY(-2px);
  box-shadow: 0 20px 32px -16px rgba(199, 162, 76, .8)
}

.btn--outline {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  background: rgba(255, 255, 255, .03)
}

.btn--outline:hover {
  border-color: var(--gold-2);
  color: var(--gold-2);
  transform: translateY(-2px)
}

.btn--navy {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent
}

.btn--navy:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px)
}

.btn--sm {
  min-height: 43px;
  padding: 0 21px;
  font-size: .86rem
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 600
}

.link .icon {
  width: 16px;
  height: 16px;
  transition: transform .25s
}

.link:hover {
  color: var(--gold-ink)
}

.link:hover .icon {
  transform: translateX(-3px)
}

/* ---------- top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #b8c7d4;
  font-size: .78rem;
  line-height: 1.4;
  border-bottom: 1px solid rgba(199, 162, 76, .22)
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  min-width: 0
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color .2s
}

.topbar a:hover {
  color: var(--gold-2)
}

.topbar .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex: 0 0 auto
}

.topbar__note {
  color: #8fa3b4
}

.topbar bdi {
  unicode-bidi: isolate
}

/* ---------- header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 253, 249, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line)
}

.hdr__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  min-height: var(--hdr);
  padding-block: 8px
}

.hdr.is-stuck {
  box-shadow: 0 14px 34px -24px rgba(7, 29, 49, .45)
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0
}

.brand img {
  width: 62px;
  height: 62px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  flex: 0 0 auto
}

.brand__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
  min-width: 0
}

.brand__txt strong {
  font-family: var(--fh);
  font-size: .98rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap
}

.brand__txt small {
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .01em
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: .92rem;
  font-weight: 500;
  color: #2d4356;
  white-space: nowrap;
  transition: color .2s
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease)
}

.nav a:hover,
.nav a.is-active {
  color: var(--navy)
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1)
}

.hdr__act {
  display: flex;
  align-items: center;
  gap: 10px
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--navy);
  align-items: center;
  justify-content: center
}

.burger .icon {
  width: 21px;
  height: 21px
}

.drawer {
  display: none
}

.drawer[hidden] {
  display: none !important
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture, .hero__media img { display: block; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: center 48%; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, #071d31 0%, #071d31f5 21%, #071d31bd 42%, #071d3135 70%, transparent 100%);
}
.hero__in {
  display: grid;
  align-items: center;
  min-height: clamp(590px, 76svh, 780px);
  padding-block: 72px;
}
.hero__copy { position: relative; max-width: 655px; padding-inline-start: clamp(20px, 3vw, 44px); }
.hero__copy::before {
  content: "";
  position: absolute;
  inset-block: 4px 0;
  inset-inline-start: 0;
  width: 11px;
  border: 1px solid var(--gold);
  border-inline-end: 0;
}
.hero h1 { color: #fff; font-size: clamp(2.6rem, 4.7vw, 4.5rem); line-height: 1.43; font-weight: 800; text-wrap: wrap; }
.hero h1 em { color: var(--gold-2); font-style: normal; white-space: nowrap; }
.hero__lead { margin-top: 18px; max-width: 49ch; color: #e2eaf0; line-height: 1.95; font-size: 1.08rem; }
.hero__lead b { color: #fff; font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

@media (max-width: 760px) {
  .hero__media { position: relative; height: clamp(205px, 61vw, 355px); }
  .hero__media img { object-position: center 45%; }
  .hero__media::after { background: linear-gradient(to top, var(--navy), transparent 52%); }
  .hero__in { position: relative; margin-top: -28px; }
  .hero__copy { padding-inline-start: 18px; }
  .hero__copy::before { width: 7px; }
}

/* ---------- stats ---------- */
.stats {
  background: var(--navy-deep);
  border-top: 1px solid rgba(199, 162, 76, .35)
}

.stats__in {
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.stat {
  padding: 32px 26px 30px;
  border-inline-start: 1px solid rgba(255, 255, 255, .1);
  position: relative
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .5s var(--ease)
}

.stat:hover::before {
  width: 100%
}

.stat:first-child {
  border-inline-start: 0;
  padding-inline-start: 0
}

.stat b {
  display: block;
  font-family: var(--fh);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--gold-2);
  line-height: 1.1;
  direction: ltr;
  text-align: right;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums
}

.stat > span {
  display: block;
  font-size: .86rem;
  color: #a9bccd;
  line-height: 1.6
}

/* ---------- about ---------- */
.split {
  display: grid;
  grid-template-columns: 1.08fr .78fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center
}

.about h2 {
  font-size: clamp(1.6rem, 3.3vw, 2.55rem);
  line-height: 1.44;
  margin-bottom: 18px;
  max-width: 22ch;
  font-weight: 800
}

.about h2 em {
  font-style: normal;
  color: var(--gold-ink)
}

.about h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  background: linear-gradient(to left, var(--gold), rgba(199, 162, 76, .15));
  margin-top: 18px
}

.about p {
  font-size: .97rem;
  line-height: 2
}

.about p+p {
  margin-top: 14px
}

.about p b {
  color: var(--ink);
  font-weight: 600
}

.quote {
  margin: 28px 0 0;
  padding: 20px 22px;
  padding-inline-start: 22px;
  background: var(--ivory);
  border: 1px solid var(--line-soft);
  border-inline-start: 3px solid var(--gold);
  border-radius: 4px;
  color: var(--ink);
  font-weight: 500;
  font-size: .97rem;
  line-height: 1.95;
  box-shadow: var(--sh-card)
}

.quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: .8rem;
  color: var(--muted);
  font-weight: 400
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 22px;
  margin-top: 26px
}

.values li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.7;
  font-weight: 500
}

.values li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  margin-top: 9px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(199, 162, 76, .16)
}

.about__media {
  position: relative;
  padding-inline-start: 14px
}

.about__frame {
  --arch: clamp(140px, 21vw, 235px);
  position: relative;
  padding: 10px;
  border-radius: var(--arch) var(--arch) 18px 18px;
  background: linear-gradient(157deg, rgba(199, 162, 76, .66), rgba(199, 162, 76, .1) 46%, rgba(7, 29, 49, .16));
  box-shadow: 0 34px 54px -34px rgba(7, 29, 49, .5);
}

.about__frame::before {
  content: "";
  position: absolute;
  inset: -14px;
  pointer-events: none;
  border: 1px solid rgba(199, 162, 76, .36);
  border-radius: calc(var(--arch) + 14px) calc(var(--arch) + 14px) 30px 30px;
}

.about__frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: calc(var(--arch) - 8px) calc(var(--arch) - 8px) 10px 10px;
}

/* ---------- services ---------- */
.svc__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  margin-top: 6px;
  box-shadow: 0 34px 60px -40px rgba(0, 0, 0, .7)
}

.svc {
  background: rgba(10, 39, 64, .55);
  padding: 30px 22px 32px;
  position: relative;
  transition: background-color .3s
}

.svc::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease)
}

.svc:hover {
  background: #0c2c49
}

.svc:hover::before {
  transform: scaleX(1)
}

.svc__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px
}

.svc__ico {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(199, 162, 76, .45);
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: var(--gold-2);
  background: rgba(199, 162, 76, .07);
  transition: background-color .3s, color .3s, transform .3s var(--ease)
}

.svc__ico .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.4
}

.svc:hover .svc__ico {
  background: var(--gold);
  color: #0b1d2d;
  transform: translateY(-2px)
}

.svc h3 {
  font-size: .99rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.65;
  margin-bottom: 8px
}

.svc p {
  font-size: .845rem;
  line-height: 1.9;
  color: #a3b6c7
}

.svc__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: #8fa5b8;
  font-size: .84rem
}

.svc__note .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex: 0 0 auto
}

/* ---------- projects ---------- */
.proj__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--sh-card);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  isolation: isolate;
}

.pcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lift);
  border-color: rgba(199, 162, 76, .55)
}

.pcard__img {
  position: relative;
  overflow: hidden;
  background: #dfe5ea;
  aspect-ratio: 4/3;
  flex: 0 0 auto
}

.pcard__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 29, 49, .28), transparent 46%);
  opacity: 0;
  transition: opacity .4s
}

.pcard:hover .pcard__img::after {
  opacity: 1
}

.pcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease)
}

.pcard:hover .pcard__img img {
  transform: scale(1.05)
}

.pcard__tag {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1;
  padding: 7px 11px;
  border-radius: 2px;
  background: rgba(7, 29, 49, .72);
  color: #eef3f7;
  backdrop-filter: blur(4px)
}

.pcard__arrow {
  position: absolute;
  top: 13px;
  inset-inline-end: 13px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(7, 29, 49, .32);
  color: #fff;
  transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease);
}

.pcard__arrow .icon {
  width: 15px;
  height: 15px
}

.pcard:hover .pcard__arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: #0b1d2d;
  transform: rotate(-45deg)
}

.pcard__body {
  padding: 23px 22px 25px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto
}

.pcard h3 {
  font-size: 1.07rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 8px
}

.pcard p {
  font-size: .865rem;
  line-height: 1.9;
  color: var(--muted)
}

.pcard__loc {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px !important;
  font-size: .75rem !important;
  font-weight: 600;
  color: var(--gold-ink) !important
}

.pcard__loc .icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px
}

.pills span {
  font-size: .71rem;
  font-weight: 500;
  line-height: 1;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: #6f6553;
  transition: border-color .25s, color .25s, background-color .25s;
}

.pcard:hover .pills span {
  border-color: rgba(199, 162, 76, .55);
  color: var(--gold-ink)
}

.pcard__line {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(to left, var(--gold), var(--gold-2));
  transition: width .5s var(--ease)
}

.pcard:hover .pcard__line {
  width: 100%
}

.pcard--feature {
  background: linear-gradient(165deg, var(--navy-2), var(--navy-deep));
  border-color: rgba(199, 162, 76, .4)
}

.pcard--feature h3 {
  color: #fff
}

.pcard--feature p {
  color: #a9bccd
}

.pcard--feature .pcard__loc {
  color: var(--gold-2) !important
}

.pcard--feature .pills span {
  border-color: rgba(255, 255, 255, .22);
  background: transparent;
  color: #dbe4ec
}

.pcard--feature:hover {
  border-color: rgba(199, 162, 76, .75)
}

/* ---------- method ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 8px
}

.step {
  position: relative;
  padding: 28px 20px 4px;
  border-inline-start: 1px solid var(--line);
  transition: background-color .3s
}

.step:first-child {
  border-inline-start: 0;
  padding-inline-start: 0
}

.step::before {
  content: "";
  position: absolute;
  top: -4px;
  inset-inline-start: 0;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(199, 162, 76, .15)
}

.step:not(:first-child)::before {
  inset-inline-start: -4px
}

.step__n {
  display: block;
  font-family: var(--fh);
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(199, 162, 76, .4);
  margin-bottom: 10px;
  direction: ltr;
  text-align: right;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color .3s
}

.step:hover .step__n {
  color: var(--gold)
}

.step h3 {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 6px
}

.step p {
  font-size: .82rem;
  line-height: 1.85;
  color: var(--muted)
}

/* ---------- contact ---------- */
.contact {
  background: var(--paper)
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 78px);
  align-items: start
}

.contact h2 {
  font-size: clamp(1.55rem, 3.1vw, 2.3rem);
  line-height: 1.48;
  margin-bottom: 14px;
  font-weight: 800
}

.contact h2 em {
  font-style: normal;
  color: var(--gold-ink)
}

.contact h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  background: linear-gradient(to left, var(--gold), rgba(199, 162, 76, .15));
  margin-top: 18px
}

.contact__lead {
  font-size: .96rem;
  line-height: 2;
  max-width: 47ch
}

.contact__rows {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
  padding: 6px 22px;
  box-shadow: var(--sh-card)
}

.crow {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft)
}

.crow:last-child {
  border-bottom: 0
}

.crow .crow__ico {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(199, 162, 76, .13);
  color: var(--gold-ink)
}

.crow .crow__ico .icon {
  width: 17px;
  height: 17px
}

.crow__body {
  min-width: 0;
  padding-top: 2px
}

.crow small {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 2px;
  font-weight: 600
}

.crow a,
.crow span.val {
  font-size: .96rem;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
  transition: color .2s
}

.crow a:hover {
  color: var(--gold-ink)
}

.crow bdi {
  unicode-bidi: isolate
}

.contact__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px
}

.contact__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.8
}

.contact__note .icon {
  width: 15px;
  height: 15px;
  color: var(--gold-ink);
  flex: 0 0 auto
}

/* ---------- company profile ---------- */
.profile {
  color: #fff;
  overflow: hidden
}

.profile__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(40px, 6vw, 76px);
  align-items: center
}

.profile h2 {
  color: #fff;
  font-size: clamp(1.55rem, 3.1vw, 2.3rem);
  line-height: 1.48;
  margin-bottom: 14px;
  font-weight: 800
}

.profile h2 em {
  font-style: normal;
  color: var(--gold-2)
}

.profile h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  background: linear-gradient(to left, var(--gold), rgba(199, 162, 76, .15));
  margin-top: 18px
}

.profile__lead {
  color: #b3c4d4;
  font-size: .96rem;
  line-height: 2;
  max-width: 52ch
}

.profile__list {
  display: grid;
  gap: 10px;
  margin: 24px 0 30px
}

.profile__list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: .89rem;
  color: #dbe5ee;
  line-height: 1.75
}

.profile__list .li-ico {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(199, 162, 76, .16);
  color: var(--gold-2);
  margin-top: 3px
}

.profile__list .li-ico .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2
}

.profile__act {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap
}

.profile__note {
  font-size: .78rem;
  color: #8fa5b8;
  line-height: 1.7
}

/* floating profile visual */
.profile__stage {
  position: relative;
  padding: 16px 10px 32px
}

.profile__stage::before {
  content: "";
  position: absolute;
  top: -14px;
  inset-inline-end: -16px;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  border: 1px solid rgba(199, 162, 76, .35);
  background: radial-gradient(circle, rgba(199, 162, 76, .17) 0%, rgba(199, 162, 76, 0) 68%);
  pointer-events: none;
}

.profile__stage::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 2px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .52) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(4px);
  pointer-events: none;
  animation: profileShadow 6.5s ease-in-out infinite;
}

.profile__visual {
  position: relative;
  z-index: 1;
  padding: 10px;
  border: 1px solid rgba(199, 162, 76, .52);
  border-radius: 10px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02));
  box-shadow: 0 40px 58px -26px rgba(0, 0, 0, .62), 0 16px 30px -18px rgba(199, 162, 76, .35);
  animation: profileFloat 6.5s ease-in-out infinite;
  will-change: transform;
}

.profile__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 10px;
  border: 1px solid rgba(199, 162, 76, .3);
  transform: translate(-12px, 12px) rotate(-1.6deg);
}

.profile__visual img {
  width: 100%;
  aspect-ratio: 76/47;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 5px
}

.profile__chip {
  position: absolute;
  z-index: 2;
  bottom: 46px;
  inset-inline-start: -8px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: var(--paper);
  border: 1px solid rgba(199, 162, 76, .5);
  border-radius: 6px;
  box-shadow: 0 24px 38px -20px rgba(0, 0, 0, .55);
  animation: profileFloat 6.5s ease-in-out -3s infinite;
}

.profile__chip-ico {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #d3af5c, var(--gold));
  color: #0b1d2d
}

.profile__chip-ico .icon {
  width: 17px;
  height: 17px;
  stroke-width: 1.6
}

.profile__chip b {
  display: block;
  font-family: var(--fh);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--navy)
}

.profile__chip small {
  display: block;
  font-size: .68rem;
  line-height: 1.5;
  color: var(--muted)
}

@keyframes profileFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg)
  }

  50% {
    transform: translateY(-14px) rotate(-.15deg)
  }
}

@keyframes profileShadow {

  0%,
  100% {
    transform: scaleX(1);
    opacity: .85
  }

  50% {
    transform: scaleX(.82);
    opacity: .5
  }
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy-deep);
  color: #9db0c1;
  font-size: .81rem;
  border-top: 2px solid var(--gold)
}

.footer__in {
  display: grid;
  grid-template-columns: 1.3fr .8fr .9fr;
  gap: 26px 40px;
  padding: 38px 0 30px;
  line-height: 1.7
}

.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 18px);
}

.footer__logo {
  display: block;
  flex: 0 0 auto;
  width: clamp(60px, 6vw, 76px);
  border-radius: 4px;
  overflow: hidden
}

.footer__brand-copy {
  min-width: 0
}

.footer__brand b {
  display: block;
  font-family: var(--fh);
  font-size: .95rem;
  font-weight: 700;
  color: #eef3f7;
  margin-bottom: 6px
}

.footer__brand p {
  display: block;
  font-size: .78rem;
  color: #8fa5b8;
  max-width: 34ch;
  line-height: 1.85
}

.footer h4 {
  font-size: .82rem;
  font-weight: 600;
  color: #e7edf3;
  margin-bottom: 12px
}

.footer__links {
  display: grid;
  gap: 7px
}

.footer__links a {
  transition: color .2s, transform .2s
}

.footer__links a:hover {
  color: var(--gold-2)
}

.footer__meta {
  display: grid;
  gap: 7px;
  align-content: start
}

.footer__meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s
}

.footer__meta a:hover {
  color: var(--gold-2)
}

.footer__meta .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex: 0 0 auto
}

.footer__meta span {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px
}

.footer__meta span .icon {
  margin-top: 5px
}

.footer bdi {
  unicode-bidi: isolate
}

.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 14px 0 18px;
  font-size: .74rem;
  color: #7e97ab;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  justify-content: space-between
}

.footer__credit {
  color: #a9bdce;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: .28em
}

.footer__credit:hover {
  color: var(--gold-2)
}

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: max(22px, env(safe-area-inset-bottom));
  inset-inline-end: 22px;
  z-index: 150;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1faa55;
  color: #fff;
  box-shadow: 0 16px 30px -12px rgba(20, 120, 60, .65);
  transition: transform .3s var(--ease), box-shadow .3s;
}

body.menu-open .wa-float {
  visibility: hidden
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 36px -12px rgba(20, 120, 60, .7)
}

.wa-float .icon {
  width: 26px;
  height: 26px
}

.wa-float::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(31, 170, 85, .5);
  animation: waPulse 2.6s ease-out infinite;
  pointer-events: none
}

@keyframes waPulse {
  0% {
    transform: scale(.9);
    opacity: .9
  }

  70%,
  100% {
    transform: scale(1.25);
    opacity: 0
  }
}

/* ---------- project image controls ---------- */
.project-photo { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.project-photo:focus-visible { outline-offset: -4px; }
.pcard__img::after, .pcard__arrow, .pcard__tag { pointer-events: none; }
.icon-library { position: absolute; }
.lightbox {
  width: min(1160px, calc(100% - 28px));
  max-width: none;
  max-height: calc(100% - 28px);
  padding: clamp(15px, 4vw, 40px);
  border: 1px solid #405266;
  border-radius: 4px;
  background: var(--navy-deep);
  color: white;
}
.lightbox::backdrop { background: #04121fe8; }
.lightbox__figure { display: grid; justify-items: center; gap: 12px; margin: 0; }
.lightbox img { max-height: min(73dvh, calc(100dvh - 160px)); width: auto; object-fit: contain; }
.lightbox__x {
  display: grid;
  place-items: center;
  margin: 0 auto 14px 0;
  width: 44px;
  height: 44px;
  border: 1px solid #8294a6;
  border-radius: 3px;
  background: transparent;
  color: white;
}
.lightbox__x:hover { color: var(--gold-2); border-color: currentColor; }
.lightbox__cap { text-align: center; color: #d9e3ec; }

/* ==========================================================
   responsive
   ========================================================== */
@media (max-width:1100px) {
  .nav {
    gap: 18px
  }

  .brand__txt strong {
    font-size: .9rem
  }

  .svc__grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:1024px) {
  .nav {
    display: none
  }

  .js .burger {
    display: inline-flex
  }

  .js .hdr__act .btn {
    display: none
  }

  .drawer {
    display: block;
    position: fixed;
    inset: var(--drawer-top, var(--hdr)) 0 0;
    z-index: 110;
    background: var(--paper);
    padding: 18px var(--gutter) max(24px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--line);
  }

  .drawer a {
    display: block;
    padding: 15px 2px;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--fh);
    font-size: .98rem;
    color: var(--navy)
  }

  .drawer a:last-of-type {
    border-bottom: 0
  }

  .drawer .drawer__act {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line)
  }

  .drawer .btn {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border-bottom: 0;
    font-family: var(--fb);
    font-size: .92rem;
    justify-content: center
  }

  .drawer .btn .icon {
    width: 17px;
    height: 17px
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 38px
  }
}

@media (max-width:900px) {
  .stats__in {
    grid-template-columns: repeat(2, 1fr)
  }

  .stat {
    padding: 24px 20px
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, .1)
  }

  .stat:nth-child(3) {
    border-inline-start: 0;
    padding-inline-start: 0
  }

  .stat:nth-child(1),
  .stat:nth-child(3) {
    padding-inline-start: 0
  }

  .proj__grid {
    gap: 14px
  }

  .pcard__body {
    padding: 18px
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 26px
  }

  .step:nth-child(4) {
    border-inline-start: 0;
    padding-inline-start: 0
  }

  .step:nth-child(4)::before {
    inset-inline-start: 0
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .split {
    grid-template-columns: 1fr;
    gap: 34px
  }

  .about__media {
    max-width: 520px;
    margin-inline: auto;
    padding-inline-start: 0;
    width: 100%
  }

  .profile__grid {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .profile__stage {
    width: min(100%, 580px);
    justify-self: center
  }

  .profile__chip {
    inset-inline-start: 2px
  }

  .footer__in {
    grid-template-columns: 1fr 1fr
  }

  .footer__brand {
    grid-column: 1/-1
  }
}

@media (max-width:760px) {
  :root {
    --hdr: 68px
  }

  .topbar__in {
    min-height: 34px;
    justify-content: center;
    gap: 0
  }

  .topbar__group {
    gap: 0;
    justify-content: center
  }

  .topbar__note,
  .topbar .tb-hide {
    display: none
  }

  .topbar a {
    font-size: .76rem
  }

  .brand img {
    width: 52px;
    height: 52px
  }

  .brand__txt small {
    display: none
  }

  .brand__txt strong {
    font-size: .82rem;
    white-space: normal
  }

  .hero__in {
    padding-block: 18px 42px;
    min-height: 0
  }

  .hero h1 {
    font-size: clamp(2.05rem, 8.6vw, 2.75rem)
  }

  .hero__lead {
    font-size: .945rem;
    line-height: 2
  }

  .section {
    padding: 46px 0
  }

  .about h2,
  .head h2 {
    font-size: clamp(1.42rem, 6vw, 1.92rem)
  }

  .values {
    grid-template-columns: 1fr
  }

  .values li {
    font-size: .87rem
  }

  .svc__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .svc {
    padding: 23px 20px 25px
  }

  .proj__grid {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .pcard__img {
    aspect-ratio: 16/10
  }

  .pcard__body {
    padding: 20px 20px 22px
  }

  .steps {
    grid-template-columns: 1fr;
    border-top: 0;
    row-gap: 0
  }

  .step {
    padding: 18px 0;
    border-inline-start: 0;
    border-top: 1px solid var(--line)
  }

  .step:first-child {
    border-top: 0;
    padding-top: 0
  }

  .step::before {
    display: none
  }

  .step__n {
    font-size: 1.15rem
  }

  .contact h2 {
    font-size: clamp(1.38rem, 6vw, 1.82rem)
  }

  .contact__rows {
    padding: 4px 16px
  }

  .footer__in {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 0 24px
  }

  .footer__copy {
    flex-direction: column;
    gap: 2px;
    padding-inline-end: 62px;
    padding-bottom: max(18px, env(safe-area-inset-bottom))
  }

  .profile__act {
    gap: 10px
  }

  .wa-float {
    width: 50px;
    height: 50px;
    bottom: max(18px, env(safe-area-inset-bottom));
    inset-inline-end: 18px
  }

  .wa-float .icon {
    width: 24px;
    height: 24px
  }
}

@media (max-width:520px) {
  .svc__grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:420px) {
  .brand__txt strong {
    font-size: .74rem;
    max-width: 140px;
    line-height: 1.5
  }

  .topbar a {
    font-size: .71rem
  }

  .stat {
    padding: 20px 14px
  }

  .stat b {
    font-size: 1.45rem
  }

  .stat > span {
    font-size: .78rem
  }

  .btn {
    padding: 0 18px;
    font-size: .88rem
  }

  .hero__cta {
    gap: 9px
  }

  .hero__cta .btn {
    flex: 1 1 100%;
    max-width: 100%
  }

}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important
  }

  .profile__visual,
  .profile__chip,
  .profile__stage::after,
  .wa-float::after {
    animation: none
  }

  .profile__visual {
    transform: rotate(-1deg)
  }

}
