/* ═══════════════════════════════════════════════
   NEXER TECHNOLOGY — main.css
   Brand colours:
     cyan   #2AD2F9  · pink  #E13893
     teal   #37AE96  · amber #FFA81E
   Organised top-to-bottom by page section.
   ═══════════════════════════════════════════════ */


/* ─────────────────────────────────────────────
   RESET & TOKENS
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:    #000000;
  --cyan:     #2AD2F9;
  --pink:     #E13893;
  --teal:     #37AE96;
  --amber:    #FFA81E;
  --white:    #ffffff;
  --muted:    rgba(255,255,255,0.45);
  --rule:     rgba(255,255,255,0.10);
  --surface:  rgba(255,255,255,0.04);
  --surface2: rgba(255,255,255,0.07);
  --dark-blue: #08233E;
}

html  {
  scroll-behavior: smooth;
  overflow-x: hidden; /* moved here — fixes position:fixed being broken on body */
}
/* Offset for fixed nav on inner pages */
main { padding-top: 90px; }
/* Home page hero is full-screen — no offset needed */
.home main { padding-top: 0; }


body  {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  color: var(--white);
  background: var(--dark-blue);
}
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; }


/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.4s, border-color 0.4s;
}

/* Transparent variant — homepage only */
nav.home-nav {
  background: transparent;
  border-bottom-color: transparent;
}
nav.home-nav.scrolled {
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--rule);
}

.nav-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.45rem 3rem;
  border-bottom: 1px solid var(--rule);
}
.nav-top-left { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
}
.lang-btn {
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: none; border: none;
  border-right: 1px solid var(--rule);
  padding: 0.28rem 0.65rem; cursor: pointer;
  color: var(--muted); transition: all 0.2s;
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1;
}
.lang-btn:last-child { border-right: none; }
.lang-btn:hover { background: var(--surface2); color: var(--white); }
.lang-btn.active { background: var(--surface2); color: var(--cyan); }
.flag-svg {
  width: 16px; height: 11px;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.3rem;
  border-radius: 1px;
  position: relative; top: -1px;
}

.nav-main {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 3rem;
}
.logo      { text-decoration: none; display: flex; align-items: center; }
.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }

.nav-cta {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--black); background: var(--cyan);
  padding: 0.55rem 1.4rem; border: none; cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif; transition: all 0.2s;
  text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: var(--pink); color: var(--white); }


/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn-fill {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--black); background: var(--cyan);
  padding: 0.75rem 1.8rem; border: none; cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif; transition: all 0.2s;
  display: inline-block; text-decoration: none;
}
.btn-fill:hover { background: var(--pink); color: var(--white); }

.btn-outline {
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); background: transparent;
  padding: 0.75rem 1.8rem; border: 1px solid var(--rule); cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif; transition: all 0.2s;
  display: inline-block; text-decoration: none;
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }


/* ─────────────────────────────────────────────
   DIVIDER BAR
───────────────────────────────────────────── */
.div-bar {
  background: var(--surface2); padding: 0.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}
.div-bar span { font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }
.div-dots { display: flex; gap: 0.4rem; }
.div-dots i { width: 4px; height: 4px; border-radius: 50%; display: inline-block; }
.div-dots i:nth-child(1) { background: var(--cyan); }
.div-dots i:nth-child(2) { background: var(--pink); }
.div-dots i:nth-child(3) { background: var(--teal); }


/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 40% 50%, rgba(42,210,249,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(225,56,147,0.05) 0%, transparent 55%);
  pointer-events: none;
}
.hero-wordmark { position: relative; z-index: 2; text-align: center; }
.hero-wordmark h1 {
  font-weight: 900;
  font-size: clamp(5rem, 18vw, 22rem);
  line-height: 0.88; letter-spacing: -0.04em;
  color: var(--white); user-select: none;
}
.hero-wordmark h1 .dot { color: var(--cyan); }
.hero-sub {
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--muted); margin-top: 1.5rem; text-align: center;
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  cursor: pointer; width: 50px;
}
.hero-scroll-line { width: 3px; height: 40px; background: linear-gradient(to bottom, var(--cyan), transparent); }


/* ─────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1;   transform: translateX(-50%) translateY(6px); }
}
.page-anim > main { animation: fadeUp 0.35s ease both; }
.hero-wordmark { animation: fadeUp 0.9s ease both; }
.hero-sub      { animation: fadeUp 0.9s 0.2s ease both; }
.hero-scroll   { animation: fadeUp 0.9s 0.5s ease both, scrollPulse 2s 1.4s ease-in-out infinite; }


/* ─────────────────────────────────────────────
   SECTION LABELS
───────────────────────────────────────────── */
.section-label {
  font-size: 0.62rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem;
}
.section-heading {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1;
  letter-spacing: -0.02em; color: var(--white);
}
.section-heading i  { color: var(--pink); }
.section-heading em { color: var(--amber); font-style: normal; }


/* ─────────────────────────────────────────────
   OFFERINGS  (horizontal scroll row)
───────────────────────────────────────────── */
.offerings { padding: 6rem 0; border-top: 1px solid var(--rule); }
.offerings-header {
  padding: 0 3rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.5rem; gap: 2rem;
}
.offerings-hint {
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 0.5rem;
}
.offerings-hint::before { content: ''; display: block; width: 20px; height: 1px; background: var(--muted); }

.scroll-row {
  display: flex; gap: 0;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 0 3rem; cursor: grab;
}
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row.grabbing { cursor: grabbing; }

.scroll-divider-label {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); padding: 1.5rem 0.8rem; white-space: nowrap;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.02);
  border-left: 1px solid var(--rule); border-right: 1px solid var(--rule);
  flex-shrink: 0;
}

/* Cards */
.card {
  flex: 0 0 300px; min-height: 360px; padding: 2.2rem;
  border: 1px solid var(--rule); border-left: none;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  cursor: pointer; text-decoration: none;
  transition: background 0.25s; position: relative; overflow: hidden;
}
.card:first-child { border-left: 1px solid var(--rule); }
.card:hover { background: var(--surface2); }
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; opacity: 0; transition: opacity 0.25s;
}
.card:hover::before { opacity: 1; }
.card-num   { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 4rem; color: rgba(255,255,255,0.04); position: absolute; top: 0.5rem; right: 1rem; line-height: 1; user-select: none; }
.card-tag   { font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.card-acc   { width: 1.5rem; height: 2px; margin-bottom: 1.5rem; transition: width 0.3s; }
.card:hover .card-acc { width: 2.5rem; }
.card-name  { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; color: var(--white); line-height: 1.2; margin-bottom: 0.6rem; }
.card-desc  { font-size: 0.8rem; color: var(--muted); line-height: 1.7; flex: 1; }
.card-arrow { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 1.5rem; display: flex; align-items: center; gap: 0.4rem; transition: gap 0.2s; }
.card:hover .card-arrow { gap: 0.7rem; }

/* Colour accent classes */
.s-cyan  .card-acc { background: var(--cyan);  } .s-cyan::before  { background: var(--cyan);  }
.s-pink  .card-acc { background: var(--pink);  } .s-pink::before  { background: var(--pink);  }
.s-teal  .card-acc { background: var(--teal);  } .s-teal::before  { background: var(--teal);  }
.s-amber .card-acc { background: var(--amber); } .s-amber::before { background: var(--amber); }

/* Product cards */
.card.prod-card { flex: 0 0 340px; }
.prod-platform {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); background: var(--surface);
  border: 1px solid var(--rule); padding: 0.22rem 0.6rem;
  margin-bottom: 1.2rem; width: fit-content;
}
.prod-dot  { width: 4px; height: 4px; border-radius: 50%; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.8rem; }
.prod-tag  { font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.2rem 0.5rem; border: 1px solid; }


/* ─────────────────────────────────────────────
   BLOG SLIDER
───────────────────────────────────────────── */
.blog-section { padding: 6rem 0; border-top: 1px solid var(--rule); }
.blog-header  {
  padding: 0 3rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.5rem; gap: 2rem;
}
.blog-all {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
  border: none; background: none; cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
}
.blog-all:hover { color: var(--amber); }

.slider-wrap  { position: relative; overflow: hidden; }
.slider-track { display: flex; gap: 0; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }

.slide {
  flex: 0 0 calc(100% / 3); min-height: 320px;
  padding: 2.5rem 2.5rem 2rem;
  border-right: 1px solid var(--rule);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column;
  cursor: pointer; text-decoration: none; transition: background 0.2s;
}
.slide:hover { background: var(--surface); }
.slide-tag   { display: inline-block; font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.22rem 0.6rem; margin-bottom: 1.2rem; width: fit-content; }
.slide h3    { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; color: var(--white); line-height: 1.25; margin-bottom: 0.7rem; }
.slide p     { font-size: 0.78rem; color: var(--muted); line-height: 1.7; flex: 1; }
.slide-meta  { font-size: 0.65rem; color: var(--muted); margin-top: 1.2rem; }
.slide-meta span { color: var(--cyan); }

/* Blog tag pills */
.bt-interview { background: rgba(42,210,249,0.1);  color: var(--cyan);  }
.bt-article   { background: rgba(225,56,147,0.1);  color: var(--pink);  }
.bt-news      { background: rgba(55,174,150,0.1);  color: var(--teal);  }
.bt-insight   { background: rgba(255,168,30,0.1);  color: var(--amber); }

/* Controls */
.slider-controls { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 3rem 0; }
.slider-dots { display: flex; gap: 0.5rem; }
.dot { width: 20px; height: 2px; background: var(--rule); cursor: pointer; transition: all 0.3s; border: none; }
.dot.active { background: var(--cyan); width: 36px; }
.slider-arrows { display: flex; gap: 0.5rem; }
.arrow-btn {
  width: 36px; height: 36px; border: 1px solid var(--rule); background: none;
  color: var(--muted); cursor: pointer; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; font-family: 'IBM Plex Sans', sans-serif;
}
.arrow-btn:hover { border-color: var(--cyan); color: var(--cyan); }

/* Blog full listing page */
.blog-page-hero      { padding: 6rem 3rem 3rem; border-bottom: 1px solid var(--rule); }
.blog-page-hero h1   { font-weight: 900; font-style: italic; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 0.92; color: var(--white); letter-spacing: -0.02em; }
.blog-page-hero h1 em{ font-style: normal; color: var(--amber); }
.blog-page-hero p    { font-size: 0.9rem; color: var(--muted); margin-top: 1rem; max-width: 500px; line-height: 1.75; }
.blog-page-body      { padding: 4rem 3rem; }
.blog-page-grid      { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--rule); }
.blog-page-card      { padding: 2rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); cursor: pointer; transition: background 0.2s; text-decoration: none; display: block; }
.blog-page-card:nth-child(3n) { border-right: none; }
.blog-page-card:hover{ background: var(--surface); }
.blog-page-card h3   { font-weight: 700; font-size: 1.05rem; color: var(--white); line-height: 1.3; margin-bottom: 0.6rem; }
.blog-page-card p    { font-size: 0.8rem; color: var(--muted); line-height: 1.65; margin-bottom: 0.8rem; }
.blog-page-card-meta { font-size: 0.65rem; color: var(--muted); }


/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
.contact        { padding: 6rem 3rem; border-top: 1px solid var(--rule); }
.contact-inner  { max-width: 1100px; margin: 0 auto; }
.contact-top {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: end;
  margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule);
}
.contact-top h2 {
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 5rem); line-height: 0.92;
  letter-spacing: -0.03em; color: var(--white);
}
.contact-top h2 i { font-style: italic; color: var(--pink); }
.contact-top p    { font-size: 0.88rem; color: var(--muted); line-height: 1.8; }

.cform { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); }
.cf-g  { border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.cf-g:nth-child(even) { border-right: none; }
.cf-g.full { grid-column: 1 / -1; border-right: none; }
.cf-g label {
  display: block; font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); padding: 0.9rem 1.4rem 0.3rem;
}
.cf-g input, .cf-g textarea, .cf-g select {
  width: 100%; font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9rem; font-weight: 300; color: var(--white);
  background: transparent; border: none; outline: none; padding: 0 1.4rem 0.9rem;
}
.cf-g input::placeholder, .cf-g textarea::placeholder { color: rgba(255,255,255,0.2); }
.cf-g select option { background: #111; color: var(--white); }
.cf-g:hover { background: var(--surface); }
.cf-g textarea { min-height: 90px; resize: vertical; }
.cf-submit {
  grid-column: 1 / -1; border-right: none; background: var(--cyan);
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 2rem; cursor: pointer; border-bottom: none; transition: background 0.2s;
}
.cf-submit:hover { background: var(--pink); }
.cf-submit span  { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--black); }
.cf-submit:hover span, .cf-submit:hover .cf-arr { color: var(--white); }
.cf-arr { font-size: 1.2rem; color: var(--black); }
.form-msg         { margin-top: 1rem; padding: 1rem 1.5rem; font-size: 0.85rem; display: none; }
.form-msg.success { background: rgba(55,174,150,0.1); border: 1px solid var(--teal); color: var(--teal); }
.form-msg.error   { background: rgba(225,56,147,0.1); border: 1px solid var(--pink); color: var(--pink); }
.field-error { display: block; font-size: 0.62rem; color: var(--pink); padding: 0.2rem 1.4rem 0.5rem; letter-spacing: 0.05em; }
.cf-g.has-error { border-bottom-color: var(--pink); }


/* ─────────────────────────────────────────────
   SERVICE / PRODUCT DETAIL PAGES
───────────────────────────────────────────── */
.detail-hero    { padding: 6rem 3rem 4rem; border-bottom: 1px solid var(--rule); }
.back-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); cursor: pointer; background: none; border: none;
  font-family: 'IBM Plex Sans', sans-serif; margin-bottom: 2rem;
  transition: color 0.2s; text-decoration: none;
}
.back-btn:hover { color: var(--cyan); }
.detail-kicker  { font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 1rem; }
.detail-hero h1 {
  font-weight: 900; font-style: italic;
  font-size: clamp(3rem, 6vw, 6rem); line-height: 0.92;
  color: var(--white); letter-spacing: -0.02em; max-width: 800px;
}
.detail-hero p  { font-size: 0.97rem; color: var(--muted); line-height: 1.8; max-width: 620px; margin-top: 1.5rem; }
.detail-tags    { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.detail-tag     { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.28rem 0.7rem; border: 1px solid rgba(255,255,255,0.2); color: var(--muted); }

.detail-body    { padding: 5rem 3rem; }
.detail-grid    { display: grid; grid-template-columns: 2fr 1fr; gap: 5rem; }
.detail-main h2 { font-weight: 700; font-size: 1.7rem; color: var(--white); margin-bottom: 1.2rem; line-height: 1.2; }
.detail-main p  { font-size: 0.9rem; color: var(--muted); line-height: 1.9; margin-bottom: 1rem; }
.feats-title    { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin: 2.5rem 0 1.2rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--rule); }
.feat-item      { display: flex; align-items: flex-start; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.feat-dot       { width: 5px; height: 5px; border-radius: 50%; margin-top: 0.5rem; flex-shrink: 0; }
.feat-text strong { display: block; font-size: 0.85rem; font-weight: 500; color: var(--white); margin-bottom: 0.2rem; }
.feat-text span   { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

.sidebar-card   { border: 1px solid var(--rule); padding: 1.8rem; margin-bottom: 1.5rem; background: var(--surface); }
.sc-title       { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.9rem; }
.sc-body        { font-size: 0.83rem; color: var(--muted); line-height: 1.75; }
.sc-list-item   { display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); text-decoration: none; transition: color 0.2s; }
.sc-list-item:hover span { color: var(--cyan); }
.sc-list-item span { font-size: 0.8rem; color: var(--muted); }
.sc-list-item i    { font-style: normal; font-size: 0.7rem; color: var(--muted); }
.regions-list   { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.5rem; }
.region-item    { font-size: 0.78rem; color: var(--muted); }
.detail-cta     { margin-top: 4rem; padding: 3rem; text-align: center; border: 1px solid var(--rule); background: var(--surface); }
.detail-cta h3  { font-weight: 700; font-size: 1.5rem; color: var(--white); margin-bottom: 0.7rem; }
.detail-cta p   { font-size: 0.83rem; color: var(--muted); margin-bottom: 1.5rem; }


/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
/* Footer logo */
.f-logo-img { text-decoration: none; display: inline-flex; align-items: center; }
.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Go to top button */
.f-top-btn {
  background: none;
  border: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.65rem; font-family: 'IBM Plex Sans', sans-serif;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.f-top-btn:hover { color: var(--cyan); border-color: var(--cyan); }

footer {
  background: var(--dark-blue); border-top: 1px solid var(--rule);
  padding: 2rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.f-copy      { font-size: 0.7rem; color: var(--muted); }


/* ─────────────────────────────────────────────
   HERO LOGO IMAGES
───────────────────────────────────────────── */
.hero-logo {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.hero-logo-header {
  width: 100%;
  height: 2vh;
  object-fit: cover;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
/* ─────────────────────────────────────────────
   HAMBURGER & MOBILE MENU
───────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
/* X state */
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile dropdown — drops below the nav bar, no scroll */
.nav-mobile {
  display: none;
  position: fixed;
  top: 90px; /* sits flush below the nav bar */
  left: 0; right: 0;
  background: rgba(8,35,62,0.98);
  backdrop-filter: blur(16px);
  z-index: 199;
  flex-direction: column;
  align-items: stretch;
  border-top: 1px solid var(--rule);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-8px);
}
.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-mobile-links li {
  border-bottom: 1px solid var(--rule);
}
.nav-mobile-links a {
  display: block;
  padding: 1.1rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-mobile-links a:hover { color: var(--cyan); background: var(--surface); }

.nav-mobile-cta {
  display: block;
  margin: 1.2rem 1.5rem 1.5rem;
  padding: 0.85rem 1.5rem;
  text-align: center;
  background: var(--cyan);
  color: #000;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-mobile-cta:hover { opacity: 0.85; }

@media (max-width: 900px) {

  /* Hero logo images */
  .hero-logo { height: 40vh; }
  .hero-logo-header { height: 2vh; }

  /* Nav */
  .nav-top   { padding: 0.4rem 1.2rem; }
  .nav-main  { padding: 0.6rem 1.2rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }

  /* Hero */
  .hero-wordmark h1 { font-size: clamp(4rem, 22vw, 8rem); }

  /* Offerings */
  .offerings        { padding: 4rem 0; }
  .offerings-header { padding: 0 1.5rem; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .scroll-row       { padding: 0 1.5rem; }
  .card             { flex: 0 0 80vw; }
  .card.prod-card   { flex: 0 0 85vw; }

  /* Blog */
  .blog-section    { padding: 4rem 0; }
  .blog-header     { padding: 0 1.5rem; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .slide           { flex: 0 0 85vw !important; }
  .slider-controls { padding: 1rem 1.5rem 0; }
  .blog-page-hero, .blog-page-body { padding-left: 1.5rem; padding-right: 1.5rem; }
  .blog-page-grid  { grid-template-columns: 1fr; }
  .blog-page-card:nth-child(3n) { border-right: 1px solid var(--rule); }

  /* Contact */
  .contact     { padding: 4rem 1.5rem; }
  .contact-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .cform       { grid-template-columns: 1fr; }
  .cf-g        { border-right: none !important; }

  /* Detail pages */
  .detail-hero, .detail-body { padding-left: 1.5rem; padding-right: 1.5rem; }
  .detail-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Footer */
  footer   { padding: 1.5rem; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .nav-logo-img { height: 26px; }
}