/* BJH Systems — shared stylesheet (tokens + chrome + page styles)
   Cloned 1:1 from https://www.bjhitsystems.net/ (Wix source).
   Fonts: Jost (headings) + Poppins (body) — Google-Fonts equivalents of the
   source's orig_jost_bold / orig_poppins_regular. Loaded via <link> in each page head. */

:root {
  /* palette (from Wix --color_* tokens) */
  --accent: #3dc8ff;          /* color_18/41/48 — cyan action/brand */
  --accent-deep: #003a96;     /* color_19 — deep blue */
  --white: #ffffff;           /* color_11 */
  --off-white: #f2f1f1;       /* light band bg */
  --grey-line: #e8e6e6;       /* color_12 */
  --text: #000000;            /* color_15 */
  --text-muted: #595959;      /* color_14 */
  --dark: #232323;            /* color_42 — dark band / footer */
  --dark-2: #1a1a1a;
  --card-dark: #2c2c2c;

  --font-head: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Poppins', 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 14px 40px rgba(0,0,0,.10);
  --shadow-sm: 0 6px 18px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 .4em;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .02em;
}

.section-title {
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 40px;
  text-align: center;
  margin-bottom: 8px;
}

.accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
  background: var(--accent);
  border: 2px solid var(--accent);
  padding: 12px 30px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover {
  background: var(--white);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ---------- top contact bar ---------- */
.topbar {
  background: #000;
  color: #fff;
  font-size: 12.5px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.topbar a { color: var(--accent); }
.topbar strong { font-weight: 700; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--grey-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; }
.brand img { width: 118px; height: auto; }
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  transition: color .2s ease;
}
.main-nav a:hover,
.main-nav a.active { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: #0a0f14;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.15) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 72px 0;
}
.hero .eyebrow { color: #fff; margin-bottom: 14px; }
.hero h1 {
  font-size: 54px;
  line-height: 1.15;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero__sub {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 19px;
  color: #fff;
  margin: 0 0 30px;
  max-width: 460px;
}

/* ---------- services ---------- */
.services .lead {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
  color: var(--text-muted);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 900px;
  margin: 0 auto;
}
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 348 / 231;
  box-shadow: var(--shadow-sm);
}
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover img { transform: scale(1.06); }
.service-card__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.82) 100%);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  text-align: center;
}
.service-grid--bottom {
  grid-template-columns: repeat(2, 1fr);
  max-width: 606px;
  margin-top: 26px;
}
.services .footnote {
  max-width: 820px;
  margin: 40px auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
.services .footnote strong { color: var(--text); font-weight: 600; }

/* ---------- dark feature band (mission / fix anything) ---------- */
.band-dark {
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.band-dark__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
  z-index: 0;
}
.band-dark .container { position: relative; z-index: 1; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}
.feature-card {
  background: rgba(20,20,20,.55);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 40px 34px;
  text-align: center;
}
.feature-card__icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 22px;
  background: rgba(61,200,255,.14);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card__icon img { width: 40px; height: 40px; }
.feature-card h3 { color: #fff; font-size: 24px; }
.feature-card p { color: #cfcfcf; margin: 0; font-size: 15px; }

/* ---------- about ---------- */
.about { }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.about__media {
  position: relative;
  min-height: 540px;
}
.about__shape {
  position: absolute;
  top: 0; left: 40px;
  width: 300px;
  height: auto;
  z-index: 0;
  opacity: .9;
}
.about__img-1 {
  position: absolute;
  top: 24px; left: 0;
  width: 340px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1;
}
.about__img-2 {
  position: absolute;
  bottom: 0; right: 10px;
  width: 218px;
  height: auto;
  border-radius: var(--radius);
  border: 6px solid #fff;
  box-shadow: var(--shadow);
  z-index: 2;
}
.about__body h2 { color: var(--accent); font-size: 40px; }
.about__body p { color: var(--text-muted); }

/* ---------- passionate band ---------- */
.passionate {
  background: var(--off-white);
  padding-bottom: 0;
}
.passionate__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}
.passionate h2 {
  font-size: 38px;
  color: var(--text);
  max-width: 460px;
}
.passionate p { color: var(--text-muted); max-width: 440px; }
.passionate__media {
  text-align: center;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.passionate__media img { display: block; width: 620px; max-width: 100%; height: auto; }

/* ---------- our work (swiper) ---------- */
.work .work-slider { max-width: none; padding: 0; margin: 30px 0 0; }
.work .swiper { padding-bottom: 4px; }
.work .swiper-slide {
  height: auto;
}
.work .swiper-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}
.work .swiper-button-next,
.work .swiper-button-prev {
  color: var(--accent);
}
.work .swiper-button-prev { left: 24px; }
.work .swiper-button-next { right: 24px; }
.work .swiper-pagination-bullet-active { background: var(--accent); }

/* ---------- partners ---------- */
.partners { }
.partners__card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 46px 50px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.partners__card h3 { color: var(--accent); font-size: 26px; margin-bottom: 10px; }
.partners__card .p-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  margin: 0;
}
.partners__logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}
.partners__logos img { width: 110px; height: auto; }

/* ---------- get in touch ---------- */
.contact { }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
}
.contact h2 { color: var(--accent); font-size: 40px; }
.contact__intro { color: var(--text-muted); max-width: 420px; margin-bottom: 30px; }
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-row__icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact-row__icon img { width: 22px; height: 22px; }
.contact-row__text { padding-top: 2px; }
.contact-row__text a,
.contact-row__text span { color: var(--text); display: block; font-size: 15px; }
.contact-row__text a:hover { color: var(--accent); }
.social {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}
.social a {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.social a:hover { transform: translateY(-3px); }
.social img { width: 20px; height: 20px; }

/* ---------- form ---------- */
.lead-form {
  background: #fff;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 2px solid #d9d9d9;
  background: #f7f7f7;
  border-radius: 6px 6px 0 0;
  color: var(--text);
  transition: border-color .2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field textarea { min-height: 120px; resize: vertical; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-actions { grid-column: 1 / -1; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--dark);
  color: #cfcfcf;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.footer-top .brand img { width: 128px; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding: 50px 0;
}
.footer-cols h4 {
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 18px;
}
.footer-cols p { font-size: 14px; color: #b8b8b8; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 10px; }
.footer-cols a { font-size: 14px; color: #cfcfcf; transition: color .2s ease; }
.footer-cols a:hover { color: var(--accent); }
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-contact-row img { width: 34px; height: 34px; }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social img { width: 34px; height: 34px; }
.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 13px;
  color: #9a9a9a;
  border-top: 1px solid rgba(255,255,255,.12);
}

/* ---------- motion (ported from source; pure CSS, always ends visible) ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
/* Applied directly to elements — animation always runs, so content always ends visible.
   No stylesheet rule ever hides content (no bare opacity:0 / visibility:hidden / display:none). */
.animate { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
.animate-in { animation: fadeIn 1s ease both; }
.hero__inner > * { animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) both; }
.hero__inner > *:nth-child(2) { animation-delay: .12s; }
.hero__inner > *:nth-child(3) { animation-delay: .24s; }
.hero__inner > *:nth-child(4) { animation-delay: .36s; }
.passionate__media img { animation: floaty 6s ease-in-out infinite; }

/* Scroll-reveal: elements start VISIBLE here. The script (js-reveal) applies the
   hidden state at runtime only after its IntersectionObserver is attached, then
   removes it as each element scrolls in. If the script never runs, everything stays
   visible — the correct failure. */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal [data-reveal].revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
  .passionate__media img { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .about__grid,
  .passionate__grid,
  .partners__card,
  .contact__grid { grid-template-columns: 1fr; }
  .about__media { min-height: 460px; max-width: 420px; margin: 0 auto; }
  .partners__logos { justify-content: flex-start; }
  .hero h1 { font-size: 42px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--grey-line);
    display: none;
    box-shadow: var(--shadow-sm);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px; }
  .main-nav li { width: 100%; }
  .main-nav a { display: block; padding: 12px 0; width: 100%; }
  .site-header .container { position: relative; flex-wrap: wrap; }
  .service-grid,
  .service-grid--bottom,
  .feature-grid,
  .form-grid { grid-template-columns: 1fr; }
  .service-grid--bottom { max-width: 420px; }
  .section { padding: 60px 0; }
  .passionate { padding-bottom: 0; }
  .hero__inner { padding: 80px 0; }
  .hero h1 { font-size: 34px; }
  .footer-cols { grid-template-columns: 1fr; gap: 30px; }
}
