:root {
  --ps-navy: #071a3d;
  --ps-blue: #004bb8;
  --ps-blue-2: #0070e8;
  --ps-silver: #d7dce4;
  --ps-steel: #7c8796;
  --ps-ink: #101828;
  --ps-muted: #667085;
  --ps-soft: #f3f6fb;
  --ps-line: rgba(7, 26, 61, .12);
  --ps-radius: 24px;
  --ps-shadow: 0 24px 70px rgba(7, 26, 61, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ps-ink);
  background:
    radial-gradient(circle at top left, rgba(0, 112, 232, .08), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 52%, #ffffff 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(7, 26, 61, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 26, 61, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 70%);
  z-index: -1;
}

img { max-width: 100%; }
a { color: var(--ps-blue); text-decoration: none; }
a:hover { color: var(--ps-navy); }

.section-padding { padding: 96px 0; }
.section-title {
  font-weight: 900;
  color: var(--ps-navy);
  letter-spacing: -.04em;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .85rem;
  border: 1px solid rgba(0, 75, 184, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--ps-blue);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-lead { color: var(--ps-muted); font-size: 1.08rem; line-height: 1.8; }

.navbar {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(7, 26, 61, .08);
}
.navbar-brand img { width: 168px; height: auto; }
.navbar .nav-link {
  font-weight: 750;
  color: rgba(7, 26, 61, .72);
  padding-left: .9rem !important;
  padding-right: .9rem !important;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--ps-blue); }

.btn-ps-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ps-blue);
  --bs-btn-border-color: var(--ps-blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ps-navy);
  --bs-btn-hover-border-color: var(--ps-navy);
  --bs-btn-active-bg: var(--ps-navy);
  --bs-btn-active-border-color: var(--ps-navy);
  border-radius: 999px;
  padding: .85rem 1.25rem;
  font-weight: 850;
  box-shadow: 0 16px 36px rgba(0, 75, 184, .22);
}
.btn-ps-outline {
  --bs-btn-color: var(--ps-navy);
  --bs-btn-border-color: rgba(7, 26, 61, .18);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ps-navy);
  --bs-btn-hover-border-color: var(--ps-navy);
  border-radius: 999px;
  padding: .85rem 1.25rem;
  font-weight: 850;
  background: rgba(255, 255, 255, .65);
}

.hero {
  position: relative;
  padding: 140px 0 84px;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  width: 820px;
  height: 820px;
  right: -320px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 112, 232, .17), rgba(7, 26, 61, .04) 45%, transparent 68%);
  z-index: -1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  border: 1px solid rgba(0, 75, 184, .18);
  padding: .55rem .9rem;
  border-radius: 999px;
  color: var(--ps-blue);
  background: rgba(255, 255, 255, .82);
  font-size: .88rem;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(7, 26, 61, .06);
}
.hero-title {
  margin-top: 1.1rem;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: .92;
  letter-spacing: -.075em;
  font-weight: 950;
  color: var(--ps-navy);
}
.hero-title .text-gradient {
  background: linear-gradient(95deg, var(--ps-blue), #081f4d 45%, #8491a3 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy {
  color: var(--ps-muted);
  font-size: 1.15rem;
  line-height: 1.85;
  max-width: 660px;
}
.hero-panel {
  border-radius: 34px;
  padding: 1.1rem;
  background:
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(243,246,251,.82)),
    linear-gradient(135deg, rgba(0,75,184,.14), rgba(215,220,228,.4));
  border: 1px solid rgba(7, 26, 61, .08);
  box-shadow: var(--ps-shadow);
}
.hero-logo-card {
  min-height: 380px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,255,255,.86)),
    repeating-linear-gradient(135deg, rgba(7,26,61,.06) 0 1px, transparent 1px 12px);
  border: 1px solid rgba(7, 26, 61, .08);
  overflow: hidden;
}
.hero-logo-card img { width: min(88%, 560px); filter: drop-shadow(0 24px 28px rgba(7,26,61,.15)); }
.hero-metrics {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
.metric-card {
  border: 1px solid rgba(7, 26, 61, .09);
  border-radius: 20px;
  background: rgba(255, 255, 255, .88);
  padding: 1rem;
}
.metric-card strong { display: block; color: var(--ps-navy); font-size: 1rem; font-weight: 950; }
.metric-card span { color: var(--ps-muted); font-size: .8rem; line-height: 1.35; display: block; margin-top: .25rem; }

.steel-card {
  border: 1px solid rgba(7, 26, 61, .09);
  border-radius: var(--ps-radius);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 54px rgba(7, 26, 61, .08);
  overflow: hidden;
}
.steel-card.dark {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(0,112,232,.36), transparent 34rem),
    linear-gradient(145deg, #06142e, #0a2254 58%, #031022);
  border-color: rgba(255, 255, 255, .1);
}
.steel-card.dark .text-muted, .steel-card.dark p { color: rgba(255,255,255,.72) !important; }

.about-list { display: grid; gap: .8rem; padding: 0; margin: 0; list-style: none; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: var(--ps-muted);
  line-height: 1.65;
}
.about-list i { color: var(--ps-blue); font-size: 1.05rem; margin-top: .18rem; }
.legal-box {
  border-left: 4px solid var(--ps-blue);
  background: rgba(0, 75, 184, .055);
  border-radius: 18px;
  padding: 1.1rem;
}

.service-card {
  height: 100%;
  padding: 1.35rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(0, 75, 184, .25); box-shadow: var(--ps-shadow); }
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--ps-blue), var(--ps-navy));
  box-shadow: 0 14px 28px rgba(0, 75, 184, .22);
  font-size: 1.35rem;
}

.portfolio-card { height: 100%; }
.portfolio-card .ratio img { object-fit: cover; }
.portfolio-card .badge { background: rgba(0, 75, 184, .09); color: var(--ps-blue); }

.gallery-grid { position: relative; }
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  height: 100%;
  border-radius: 24px;
  background: #eef3f9;
  box-shadow: 0 18px 50px rgba(7, 26, 61, .1);
  border: 1px solid rgba(7, 26, 61, .08);
  isolation: isolate;
}
.gallery-media {
  display: block;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 26, 61, .08), rgba(0, 112, 232, .05)),
    #f6f8fb;
}
.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}
.gallery-item:hover .gallery-media img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.03);
}
.gallery-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: auto;
  height: auto;
  border-radius: 18px;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  color: var(--ps-navy);
  font-weight: 850;
  line-height: 1.2;
  box-shadow: 0 10px 26px rgba(7, 26, 61, .1);
}

.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(7, 26, 61, .08);
  background: rgba(255, 255, 255, .74);
}
.contact-card .icon-box { width: 48px; height: 48px; min-width: 48px; }
.map-embed {
  border: 0;
  width: 100%;
  min-height: 420px;
  border-radius: 26px;
  filter: saturate(.92) contrast(1.03);
}

.cta-band {
  border-radius: 34px;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0,75,184,.92), rgba(7,26,61,.98)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 16px);
  box-shadow: 0 30px 80px rgba(7, 26, 61, .22);
  overflow: hidden;
  position: relative;
}
.cta-band::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -140px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}

.footer {
  padding: 54px 0 32px;
  background: #06142e;
  color: rgba(255,255,255,.72);
}
.footer strong, .footer h5 { color: #fff; }
.footer a { color: rgba(255,255,255,.8); }
.footer a:hover { color: #fff; }
.footer-logo { width: 180px; background: #fff; border-radius: 16px; padding: .5rem; }

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--ps-blue);
  box-shadow: 0 18px 38px rgba(0,75,184,.3);
  z-index: 10;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: .2s ease;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

.reveal { opacity: 0; transform: translateY(18px); transition: .6s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

@media (max-width: 991.98px) {
  .hero { padding-top: 116px; }
  .hero-logo-card { min-height: 260px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .section-padding { padding: 72px 0; }
  .navbar-collapse {
    margin-top: .75rem;
    padding: 1rem;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(7, 26, 61, .08);
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img { width: 138px; }
  .hero-title { font-size: 2.55rem; letter-spacing: -.065em; }
  .hero-copy { font-size: 1rem; }
  .btn-ps-primary, .btn-ps-outline { width: 100%; justify-content: center; }
  .map-embed { min-height: 320px; }
}
