/* NJ Creative Zone - main stylesheet */

:root {
  --navy-950: #0D1B2A;
  --navy-800: #18263B;
  --navy-700: #22334A;
  --gold: #D4AF37;
  --gold-light: #E9D078;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #ECEAE2;
  --gray-400: #8C97A8;
  --gray-600: #5B6577;
  --radius: 2px;
  --maxw: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: 'Open Sans', 'Roboto', sans-serif;
  color: var(--navy-950);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  margin: 0;
  letter-spacing: -0.01em;
}

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

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

ul {
  margin: 0;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.services-wrap{
   display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--gold);
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .03em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .25s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-950);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, .35);
}

.btn-outline {
  border-color: rgba(255, 255, 255, .4);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-dark {
  border-color: #D8D3C4;
  color: var(--navy-950);
}

.btn-outline-dark:hover {
  border-color: var(--gold);
  background: var(--gray-100);
}

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 42, .97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(212, 175, 55, .15);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-block img {
  height: 42px;
  width: auto;
}

.logo-text {
  line-height: 1.1;
}

.logo-text .top {
  font-family: 'Poppins';
  font-weight: 800;
  font-size: 16.5px;
  color: var(--white);
  letter-spacing: .02em;
}

.logo-text .sub {
  font-family: 'Open Sans';
  font-size: 9px;
  color: var(--gold);
  letter-spacing: .2em;
  text-transform: uppercase;
}

nav {
  display: flex;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  font-family: 'Poppins';
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: .02em;
  padding: 28px 0;
  display: inline-block;
  transition: color .2s;
}

nav ul li a:hover {
  color: var(--white);
}

.has-dd>a::after {
  content: '▾';
  margin-left: 5px;
  font-size: 10px;
  color: var(--gold);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-800);
  min-width: 230px;
  border: 1px solid rgba(212, 175, 55, .18);
  border-radius: 2px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}

nav ul li.has-dd:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 11px 20px;
  font-size: 12.5px;
  color: var(--gray-400);
}

.dropdown a:hover {
  color: var(--gold);
  background: rgba(212, 175, 55, .06);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}

/* ===== Hero (full-bleed photo) ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 16, 26, .94) 0%, rgba(9, 16, 26, .78) 32%, rgba(9, 16, 26, .35) 60%, rgba(9, 16, 26, .55) 100%), linear-gradient(0deg, rgba(9, 16, 26, .9) 0%, transparent 40%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg img {
    animation: kenburns 22s ease-in-out infinite alternate;
  }

  @keyframes kenburns {
    0% {
      transform: scale(1) translate(0, 0);
    }

    100% {
      transform: scale(1.12) translate(-1%, -1%);
    }
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 150px 32px 110px;
  width: 100%;
}

.hero-inner {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(28px, 7.5vw, 50px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.14;
}

.hero h1 .glow {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(212, 175, 55, .55), 0 0 40px rgba(212, 175, 55, .25);
}

.hero p.lede {
  margin-top: 20px;
  font-size: 16.5px;
  line-height: 1.8;
  color: #C9D2DE;
  max-width: 480px;
}

.hero-ctas {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1 {
    animation: signOn 1.4s ease-out both;
  }

  @keyframes signOn {
    0% {
      opacity: 0;
      filter: brightness(2.4);
    }

    8% {
      opacity: 1;
      filter: brightness(.4);
    }

    14% {
      opacity: .3;
      filter: brightness(2.6);
    }

    20% {
      opacity: 1;
      filter: brightness(.5);
    }

    28% {
      opacity: .4;
      filter: brightness(2.2);
    }

    36% {
      opacity: 1;
      filter: brightness(1);
    }

    100% {
      opacity: 1;
      filter: brightness(1);
    }
  }

  .hero p.lede,
  .hero-ctas {
    animation: fadeUp 1s ease-out .5s both;
  }

  @keyframes fadeUp {
    0% {
      opacity: 0;
      transform: translateY(16px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--gold), transparent);
}

.sign-plate {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 4px;
  background: linear-gradient(135deg, #1c2e44 0%, #0f1c2b 60%, #0a141f 100%);
  border: 1px solid rgba(212, 175, 55, .35);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 0 40px rgba(0, 0, 0, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sign-plate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 6px);
}

.sign-plate .plate-label {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 28px;
}

.sign-plate .plate-label .brand {
  font-family: 'Poppins';
  font-weight: 800;
  font-size: 24px;
  letter-spacing: .06em;
  color: var(--gold);
  text-shadow: 0 0 22px rgba(212, 175, 55, .6);
}

.sign-plate .plate-label .tag {
  margin-top: 10px;
  font-size: 10.5px;
  letter-spacing: .26em;
  color: var(--gray-400);
  text-transform: uppercase;
}

.sign-plate .bolt {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(212, 175, 55, .5);
  box-shadow: 0 0 6px rgba(212, 175, 55, .6);
}

.sign-plate.sm {
  aspect-ratio: 16/11;
}

/* ===== Real project photo frame (replaces CSS placeholders) ===== */
.photo-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .35);
  box-shadow: 0 30px 60px -22px rgba(13, 27, 42, .45);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.photo-frame:hover img {
  transform: scale(1.05);
}

.photo-frame.ar-43 {
  aspect-ratio: 4/3;
}

.photo-frame.ar-1611 {
  aspect-ratio: 16/11;
}

.photo-frame.ar-11 {
  aspect-ratio: 1/1;
}

.photo-frame .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(0deg, rgba(9, 16, 26, .88), transparent);
  font-family: 'Poppins';
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== Reveal-on-scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.problem-grid .reveal:nth-child(1),
.cap-grid .reveal:nth-child(1),
.process-grid .reveal:nth-child(1),
.portfolio-grid .reveal:nth-child(1) {
  transition-delay: .05s;
}

.problem-grid .reveal:nth-child(2),
.cap-grid .reveal:nth-child(2),
.process-grid .reveal:nth-child(2),
.portfolio-grid .reveal:nth-child(2) {
  transition-delay: .12s;
}

.problem-grid .reveal:nth-child(3),
.cap-grid .reveal:nth-child(3),
.process-grid .reveal:nth-child(3),
.portfolio-grid .reveal:nth-child(3) {
  transition-delay: .19s;
}

.problem-grid .reveal:nth-child(4),
.cap-grid .reveal:nth-child(4),
.portfolio-grid .reveal:nth-child(4) {
  transition-delay: .26s;
}

.problem-grid .reveal:nth-child(5),
.cap-grid .reveal:nth-child(5),
.portfolio-grid .reveal:nth-child(5) {
  transition-delay: .33s;
}

.problem-grid .reveal:nth-child(6),
.portfolio-grid .reveal:nth-child(6) {
  transition-delay: .4s;
}

/* ===== Trust bar ===== */
.trust {
  background: var(--navy-800);
}

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

.trust-item {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.trust-grid .trust-item:last-child {
  border-right: none;
}

.trust-item .num {
  font-family: 'Poppins';
  font-weight: 800;
  font-size: 28px;
  color: var(--gold);
}

.trust-item .label {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-400);
}

section {
  padding: 96px 0;
}

.bg-gray {
  background: var(--gray-100);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 50px;
  text-align: left;
}

.section-head h2 {
  font-size: clamp(22px, 5vw, 32px);
  margin-top: 12px;
  color: var(--navy-950);
}

.section-head p {
  margin-top: 14px;
  color: var(--gray-600);
  font-size: 15.5px;
  line-height: 1.75;
}

/* ===== Environments / bullet-list-with-image ===== */
.env-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.env-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}

.env-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  font-size: 15px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
}

.env-list li:last-child {
  border-bottom: none;
}

.env-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 10px;
  height: 2px;
  background: var(--gold);
}

.env-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.env-images .sign-plate {
  aspect-ratio: 1/1;
}

/* ===== How we work ===== */
.work-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.work-inner p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--gray-600);
}

.work-list {
  list-style: none;
  padding: 0;
  margin-top: 18px;
}

.work-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 14.5px;
  color: var(--navy-950);
  font-weight: 600;
}

.work-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 10px;
  height: 2px;
  background: var(--gold);
}

/* ===== Problem cards ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  padding: 30px 26px;
  transition: all .3s ease;
}

.problem-card:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 40px -20px rgba(13, 27, 42, .2);
  transform: translateY(-4px);
}

.problem-card svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  margin-bottom: 16px;
}

.problem-card h4 {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
}

.problem-card p {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ===== Process steps ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(212, 175, 55, .5) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 10px;
}

.process-num {
  width: 104px;
  height: 104px;
  margin: 0 auto 22px;
  border-radius: 50%;
  position: relative;
  padding: 5px;
  box-sizing: border-box;
  border: 2px dashed rgba(212, 175, 55, .55);
  transition: border-color .3s ease;
}

.process-step:hover .process-num {
  border-color: var(--gold);
}

.process-num .photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 16px 30px -12px rgba(13, 27, 42, .4);
}

.process-num .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.process-step:hover .photo img {
  transform: scale(1.08);
}

.process-num .n {
  position: absolute;
  top: -6px;
  left: -6px;
  background: var(--navy-800);
  color: var(--gold);
  border: 2px solid var(--gold);
  font-family: 'Poppins';
  font-weight: 800;
  font-size: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(13, 27, 42, .4);
}

.process-step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-top: 4px;
}

.process-step p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Compact treatment for delivery-process section (CRO: reduce scroll depth, keep photo circles full size) */
.process-section {
  padding: 64px 0;
}

.process-section .section-head {
  margin-bottom: 36px;
  max-width: 600px;
}

.process-section .section-head p {
  font-size: 14px;
  margin-top: 8px;
}

.process-section .process-grid {
  gap: 20px;
}

.process-section .process-num {
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
}

.process-section .process-num .n {
  width: 28px;
  height: 28px;
  font-size: 11px;
  top: -6px;
  left: -6px;
}

.process-section .process-step h4 {
  font-size: 14.5px;
}

.process-section .process-step p {
  font-size: 12.5px;
  margin-top: 6px;
  line-height: 1.55;
}

/* ===== Capabilities ===== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.cap-card {
  text-align: center;
  padding: 34px 20px;
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  transition: all .3s ease;
}

.cap-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(13, 27, 42, .2);
}

.cap-card .icon-wrap {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cap-card .icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
}

.cap-card h4 {
  font-size: 14.5px;
  font-weight: 700;
}

.cap-card p {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== Zigzag detail blocks ===== */
.zigzag {
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-200);
}

.zigzag .wrap {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.zigzag.reverse .wrap {
  direction: rtl;
}

.zigzag.reverse .wrap>* {
  direction: ltr;
}

.zigzag h3 {
  font-size: 26px;
  margin-top: 10px;
}

.zigzag p {
  margin-top: 16px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
}

.zigzag .tag-list {
  list-style: none;
  padding: 0;
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zigzag .tag-list li {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-950);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 7px 14px;
  border-radius: 20px;
}

.zigzag .note {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--gray-100);
  border-left: 2px solid var(--gold);
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

.wrap-header div {
  width: 47%;
}

/* ===== Subcategory cards (inside each solution zigzag) ===== */
.subcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.subcat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
  transition: all .3s ease;
  width: 300px;
  margin-top: 20px;
}

.subcat-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -18px rgba(13, 27, 42, .22);
}

.subcat-card .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.subcat-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.subcat-card:hover .thumb img {
  transform: scale(1.06);
}

.subcat-card .thumb.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
}

.subcat-card .thumb.icon-tile svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold);
}

.subcat-card .body {
  padding: 16px 18px 20px;
}

.subcat-card h5 {
  font-family: 'Poppins';
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-950);
}

.subcat-card p {
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== Project gallery ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.p-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-950);
}

.p-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.p-item:hover img {
  transform: scale(1.08);
}

.p-item .p-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent 30%, rgba(13, 27, 42, .94) 100%);
}

.p-item .p-info .cat {
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--gold);
  text-transform: uppercase;
}

.p-item .p-info h4 {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--white);
  font-weight: 700;
}

.p-item .p-info .loc {
  margin-top: 4px;
  font-size: 12px;
  color: var(--gray-400);
}

.p-item .view {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, .4);
  padding: 5px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-6px);
  transition: all .3s ease;
}

.p-item:hover .view {
  opacity: 1;
  transform: translateY(0);
}

.p-item:hover {
  box-shadow: 0 0 0 1.5px var(--gold);
}

.portfolio-foot {
  text-align: center;
  margin-top: 44px;
}

/* ===== Presence / office ===== */
.presence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.office-card {
  background: var(--navy-800);
  border-radius: 3px;
  padding: 32px 30px;
  color: var(--white);
}

.office-card h4 {
  font-family: 'Poppins';
  font-size: 15px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold);
}

.office-card p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-400);
}

.office-card p strong {
  display: block;
  color: var(--white);
  font-family: 'Poppins';
  font-size: 13px;
  margin-bottom: 2px;
}

/* ===== Contact form ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
}

.contact-copy p {
  margin-top: 16px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1/-1;
}

.form-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-950);
}

.form-field select,
.form-field input,
.form-field textarea {
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  padding: 11px 12px;
  font-family: 'Open Sans';
  font-size: 13.5px;
  color: var(--navy-950);
  background: var(--white);
}

.form-field select:focus,
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--gray-600);
}

/* ===== Footer ===== */
footer {
  background: var(--navy-950);
  color: var(--gray-400);
  padding: 70px 0 0;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.foot-grid h5 {
  font-family: 'Poppins';
  color: var(--white);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.foot-grid p {
  font-size: 13.5px;
  line-height: 1.7;
}

.foot-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.foot-grid ul li a {
  font-size: 13.5px;
  transition: color .2s;
}

.foot-grid ul li a:hover {
  color: var(--gold);
}

.foot-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.foot-logo img {
  height: 34px;
}

.foot-logo span {
  font-family: 'Poppins';
  font-weight: 800;
  color: var(--white);
  font-size: 15px;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-row a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  font-size: 12px;
}

.social-row a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 10px;
}

.foot-bottom a {
  margin-left: 18px;
}

.foot-bottom a:hover {
  color: var(--gold);
}

.whatsapp-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
  z-index: 200;
  transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .4);
}

.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: .55;
  z-index: -1;
}

@media (prefers-reduced-motion: no-preference) {
  .whatsapp-fab::before {
    animation: wa-pulse 2.6s ease-out infinite;
  }

  @keyframes wa-pulse {
    0% {
      transform: scale(1);
      opacity: .5;
    }

    100% {
      transform: scale(1.7);
      opacity: 0;
    }
  }
}

@media (max-width:1024px) {
  .cap-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .env-grid,
  .work-inner,
  .presence-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }



  .zigzag.reverse .wrap {
    direction: ltr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .process-grid::before {
    display: none;
  }

  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:768px) {
  .nav-row {
    height: 68px;
  }

  .logo-block img {
    height: 34px;
  }

  .logo-text .top {
    font-size: 14px;
  }

  .logo-text .sub {
    font-size: 7.5px;
    letter-spacing: .15em;
  }

  .menu-toggle {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero h1 {
    font-size: 34px;
  }

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

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

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: var(--navy-950);
    z-index: 300;
    display: flex;
    flex-direction: column;
    padding: 70px 26px 30px;
    transition: right .35s ease;
    overflow-y: auto;
    box-shadow: -20px 0 50px rgba(0, 0, 0, .4);
  }

  nav.nav-open {
    right: 0;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 6px;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    align-items: stretch;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    padding: 16px 4px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    width: 100%;
  }

  .has-dd>a.dd-trigger::after {
    float: right;
    transition: transform .25s ease;
  }

  .has-dd.dd-open>a.dd-trigger::after {
    transform: rotate(180deg);
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, .04);
    border: none;
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .has-dd.dd-open .dropdown {
    max-height: 400px;
    padding: 6px 0;
  }

  .dropdown a {
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: none;
  }

  .nav-mobile-cta {
    display: flex;
    margin-top: 20px;
    width: 100%;
    justify-content: center;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(9, 16, 26, .6);
    z-index: 250;
  }

  .nav-backdrop.show {
    display: block;
  }
}

@media (min-width:769px) {

  .nav-close,
  .nav-mobile-cta,
  .nav-backdrop {
    display: none;
  }
}

.breadcrumb {
  padding: 22px 0 0;
  font-size: 12.5px;
  color: var(--gray-600);
}

.breadcrumb a {
  color: var(--gray-600);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.page-hero .breadcrumb {
  position: relative;
  z-index: 3;
  padding: 16px 0 0;
  font-size: 11.5px;
  color: #B8C2D1;
}

.page-hero .breadcrumb a {
  color: #B8C2D1;
}

.page-hero .breadcrumb a:hover {
  color: var(--gold);
}

.proj-hero {
  margin-top: 22px;
}

.proj-hero .photo-frame {
  aspect-ratio: 21/9;
}

.proj-head {
  padding: 34px 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.proj-head h1 {
  font-size: 32px;
  max-width: 620px;
}

.proj-meta {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.proj-meta span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--navy-950);
}

.proj-body {
  padding: 20px 0 10px;
  max-width: 760px;
}

.proj-body p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--gray-600);
  margin-top: 16px;
}

.proj-highlights {
  list-style: none;
  padding: 0;
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.proj-highlights li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--navy-950);
  font-weight: 600;
}

.proj-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 2px;
  background: var(--gold);
}

.proj-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

@media (max-width:768px) {
  .proj-highlights {
    grid-template-columns: 1fr;
  }

  .proj-gallery {
    grid-template-columns: 1fr;
  }

  .proj-hero .photo-frame {
    aspect-ratio: 4/3;
  }

  .wrap-header div {
    width: 100%;
  }

  .subcat-card {
    width: 90%;
    margin: auto;
  }
}


/* ===== Standalone page hero (services / sectors / blog) ===== */
.page-hero {
  position: relative;
  height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-950);
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 16, 26, .45) 0%, rgba(9, 16, 26, .92) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 10px 0 28px;
  max-width: 720px;
}

.page-hero .eyebrow {
  color: var(--gold);
}

.page-hero h1 {
  color: var(--white);
  font-size: 32px;
  margin-top: 8px;
  font-weight: 800;
}

.page-hero p {
  color: #C9D2DE;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width:768px) {
  p {
    max-width: 75%;
  }

  .page-hero {
    height: 800px;
  }

  .page-hero h1 {
    font-size: 22px;
  }

  .page-hero p {
    font-size: 13.5px;
  }

  .page-hero-inner {
    padding: 8px 0 18px;
  }

  .page-hero .breadcrumb {
    padding: 12px 0 0;
    font-size: 10.5px;
  }
}

/* ===== Sector page content blocks ===== */
.sector-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.sector-list li {
  position: relative;
  padding: 11px 0 11px 28px;
  font-size: 15px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
}

.sector-list li:last-child {
  border-bottom: none;
}

.sector-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 10px;
  height: 2px;
  background: var(--gold);
}

.related-services {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.related-services a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-950);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 9px 16px;
  border-radius: 20px;
  transition: all .2s ease;
}

.related-services a:hover {
  border-color: var(--gold);
  color: var(--navy-950);
  background: var(--white);
}

/* ===== Related projects mini-grid ===== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 300px));
  gap: 20px;
  justify-content: start;
}

@media (max-width:480px) {
  .related-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
}

/* ===== Blog ===== */
.blog-article {
  max-width: 824px;
  margin: 0 auto;
  padding: 48px 32px;
  border-bottom: 1px solid var(--gray-200);
}

.blog-article:last-child {
  border-bottom: none;
}

.blog-article .meta {
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.blog-article h2 {
  font-size: 24px;
  margin-top: 12px;
  line-height: 1.3;
}

.blog-article p {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--gray-600);
  word-wrap: break-word;
}

.blog-article h3 {
  font-size: 16.5px;
  margin-top: 24px;
  color: var(--navy-950);
}

.blog-intro {
  max-width: 824px;
  margin: 0 auto;
  text-align: center;
  padding: 0 32px 20px;
}

.blog-intro p {
  margin-top: 14px;
  color: var(--gray-600);
  font-size: 15.5px;
  line-height: 1.8;
}

@media (max-width:768px) {
  .blog-article {
    padding: 32px 20px;
  }

  .blog-article h2 {
    font-size: 20px;
  }

  .blog-intro {
    padding: 0 20px 16px;
  }
}

/* ===== Sector page 2-col layout (responsive) ===== */
.sector-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
}

@media (max-width:768px) {
  .sector-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===== Global mobile-overflow safety net ===== */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ===== FAQ (service pages) ===== */
.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-950);
  font-family: 'Poppins';
}

.faq-item p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ===== Why Work With Us (sector pages) ===== */
.why-us {
  margin-top: 30px;
  padding: 20px 22px;
  background: var(--white);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
}

.why-us h4 {
  font-family: 'Poppins';
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy-950);
}

.why-us p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ===== Email signup modal ===== */
.email-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 16, 26, .72);
  backdrop-filter: blur(3px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.email-modal-overlay.show {
  display: flex;
}

.email-modal {
  background: var(--white);
  border-radius: 6px;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
  overflow: hidden;
  animation: modalIn .35s ease both;
}

@keyframes modalIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.email-modal .modal-top {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  padding: 30px 30px 24px;
  text-align: center;
}

.email-modal .modal-top .eyebrow {
  color: var(--gold);
}

.email-modal .modal-top h3 {
  color: var(--white);
  font-size: 20px;
  margin-top: 8px;
}

.email-modal .modal-top p {
  color: var(--gray-400);
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.6;
}

.email-modal .modal-body {
  padding: 24px 30px 30px;
}

.email-modal .modal-body input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  font-family: 'Open Sans';
  font-size: 14px;
  box-sizing: border-box;
}

.email-modal .modal-body input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
}

.email-modal .modal-body .btn {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

.email-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}

.email-modal .modal-close:hover {
  color: var(--white);
}

.email-modal .modal-note {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--gray-600);
  text-align: center;
}

.email-modal .modal-success {
  display: none;
  padding: 40px 30px;
  text-align: center;
}

.email-modal .modal-success.show {
  display: block;
}

.email-modal .modal-success .check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-950);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.email-modal .modal-success h4 {
  font-size: 17px;
  color: var(--navy-950);
}

.email-modal .modal-success p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--gray-600);
}

/* ===== Dynamic trust ribbon (scrolling marquee) ===== */
.trust-ribbon {
  background: var(--gold);
  overflow: hidden;
  position: relative;
  padding: 11px 0;
}

.trust-ribbon .track {
  display: flex;
  width: max-content;
  gap: 0;
}

.trust-ribbon .track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins';
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--navy-950);
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 28px;
}

.trust-ribbon .track span::before {
  content: '\2726';
  font-size: 11px;
  opacity: .6;
}

@media (prefers-reduced-motion: no-preference) {
  .trust-ribbon .track {
    animation: ribbonScroll 32s linear infinite;
  }

  .trust-ribbon:hover .track {
    animation-play-state: paused;
  }

  @keyframes ribbonScroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }
}

@media (max-width:768px) {
  .trust-ribbon .track span {
    font-size: 11px;
    padding: 0 18px;
  }
}

/* ===== Small phone refinements (≤480px) — pro mobile pass ===== */
@media (max-width:480px) {
  .wrap {
    padding: 0 18px;
  }

  .nav-row {
    height: 64px;
  }

  .logo-block img {
    height: 32px;
  }

  .logo-text .top {
    font-size: 13px;
  }

  .logo-text .sub {
    font-size: 7px;
    letter-spacing: .14em;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-actions .btn {
    padding: 9px 14px;
    font-size: 11.5px;
  }

  .menu-toggle {
    font-size: 20px;
  }

  .hero-grid {
    padding: 100px 18px 70px;
  }

  .hero p.lede {
    font-size: 14.5px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

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

  .trust-item {
    padding: 22px 10px;
  }

  .trust-item .num {
    font-size: 22px;
  }

  .trust-item .label {
    font-size: 9.5px;
  }

  section {
    padding: 56px 0;
  }

  .section-head p {
    font-size: 14px;
  }

  .services-grid,
  .cap-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .subcat-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    gap: 14px;
  }

  .portfolio-grid {
    gap: 14px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 12.5px;
  }

  .btn-gold,
  .btn-outline,
  .btn-outline-dark {
    width: 100%;
    justify-content: center;
  }

  .cta-inner .btn,
  .hero-ctas .btn {
    width: auto;
  }

  /* .page-hero {
    height: 370px;
  }

  .page-hero h1 {
    font-size: 19px;
  }

  .page-hero p {
    display: none;
  } */


  .foot-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .foot-bottom a {
    margin-left: 0;
    margin-right: 14px;
  }

  .whatsapp-fab {
    width: 50px;
    height: 50px;
    bottom: 18px;
    right: 18px;
  }

  .email-modal {
    max-width: 100%;
  }

  .email-modal .modal-top {
    padding: 24px 22px 18px;
  }

  .email-modal .modal-body {
    padding: 20px 22px 24px;
  }

  .form-card {
    padding: 22px;
  }

  .contact-wrap {
    gap: 32px;
  }

  .proj-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .proj-head .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Prevent any wide element from forcing horizontal scroll */
img,
svg,
video,
iframe,
table {
  max-width: 100%;
  height: auto;
}

* {
  min-width: 0;
}