/*===============================================
  NIXIN CORPORATE GROUP — Brand skin
  Flat navy / gold system. No gradients, no metallics.
  Layers on top of master.css (Andor base).
===============================================*/

/* Roboto is the typeface used throughout the Figma source (Black/Bold/
   Medium/Regular/Light) — load it directly instead of substituting
   Urbanist, so headings, labels and body copy match Figma exactly. */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,300;1,400&display=swap');

body,
h1, h2, h3, h4, h5, h6,
p, a, span, li, input, textarea, select, button {
  font-family: "Roboto", sans-serif;
}

:root {
  --nixin-navy: #132442;
  --nixin-navy-deep: #0a1628;
  --nixin-navy-mid: #1c3358;
  --nixin-gold: #C5A880;
  --nixin-gold-dim: rgba(197, 168, 128, 0.55);
  --nixin-white: #ffffff;
  --nixin-off-white: #f4f5f7;
  --nixin-gray: #d9dadd;
  --nixin-gray-mid: #9a9ca3;
  --nixin-ink: #14161a;
}

body {
  color: var(--nixin-ink);
}

/* ---------- Typography ----------
   NIXIN uses the same sans system throughout (Urbanist for headlines,
   labels and numbers; Open Sans for body copy) to match the Figma
   system — no serif/italic, "Playfair Display" is not actually loaded
   by this template (only the unrelated "Playfair" family is imported),
   so it was silently falling back to a generic system serif. */
.nixin-eyebrow {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nixin-gold);
}

@media (max-width: 767px) {
  .nixin-eyebrow { font-size: 19px; }
}

.nixin-eyebrow.on-dark { color: var(--nixin-gold); }
.nixin-eyebrow.on-light { color: var(--nixin-navy-mid); }

.nixin-headline {
  font-family: "Roboto", sans-serif;
  color: var(--nixin-navy);
  letter-spacing: -0.5px;
}

/* Manifesto / narrative statements (Figma: Roboto Light, large, thin weight) */
.nixin-statement {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  color: var(--nixin-navy);
  letter-spacing: 0;
}

.nixin-statement.on-dark {
  color: var(--nixin-white);
}

/* Portfolio Companies header sits on the same charcoal as the first
   company row below it, so the section reads as one continuous block
   instead of a white header floating above dark rows. */
.nixin-companies-wrap {
  background: #262628;
}

.nixin-headline-on-dark {
  font-family: "Roboto", sans-serif;
  color: var(--nixin-white);
  letter-spacing: -0.5px;
}

/* ---------- Explore link (company sections) ---------- */
.nixin-explore {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nixin-white);
  border-bottom: 1px solid var(--nixin-gold-dim);
  padding-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: border-color .25s ease, color .25s ease, gap .25s ease;
}

.nixin-explore:hover {
  color: var(--nixin-gold);
  border-color: var(--nixin-gold);
  gap: 16px;
}

.nixin-explore-dark {
  color: var(--nixin-navy);
  border-bottom: 1px solid rgba(19, 36, 66, 0.25);
}

.nixin-explore-dark:hover {
  color: var(--nixin-gold);
  border-color: var(--nixin-gold);
}

/* ---------- Overlays / surfaces ---------- */
.bg-overlay-nixin {
  position: relative;
}

.bg-overlay-nixin:after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-color: rgba(9, 18, 34, 0.74);
  z-index: 0;
}

.bg-nixin-navy { background-color: var(--nixin-navy) !important; }
.bg-nixin-navy-deep { background-color: var(--nixin-navy-deep) !important; }
.bg-nixin-charcoal { background-color: #262628 !important; }
.text-nixin-gold { color: var(--nixin-gold) !important; }
.text-nixin-navy { color: var(--nixin-navy) !important; }

.divider-gold {
  width: 48px;
  height: 1px;
  background: var(--nixin-gold);
  border: 0;
  margin: 0 0 24px;
}

.divider-gold.centered { margin: 0 auto 24px; }

/* ---------- Header ---------- */
.header.nixin-header {
  --bs-body-color: var(--nixin-navy);
}

.nixin-header .header-logo h3 {
  font-size: 40px;
  line-height: 1;
}

.nixin-header .header-logo a {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.nixin-header .header-logo .nixin-logo-sub {
  display: block;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 8px;
  letter-spacing: 3.6px;
  color: var(--nixin-gold);
  margin-top: 2px;
}

.nixin-header .header-menu .nav .nav-item > .nav-link {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nixin-header .header-menu .nav .nav-item > .nav-link:hover,
.nixin-header .header-menu .nav .nav-item > .nav-link:focus {
  color: var(--nixin-gold) !important;
}

/* The base template hardcodes an orange (#f37335) underline indicator —
   override it to gold so no off-brand color ever shows on hover/active. */
.nixin-header .header-menu .nav .nav-item .nav-link:before {
  background: var(--nixin-gold) !important;
}

/* Force the EN|ES toggle + social icons onto a single row regardless of
   the base template's list markup, and keep everything vertically centered. */
.nixin-header .header-menu-extra {
  display: flex !important;
  align-items: center;
  gap: 18px;
}

.nixin-header .header-menu-extra ul.list-inline-sm {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.nixin-header .header-menu-extra ul.list-inline-sm li {
  padding: 0;
  display: flex;
  align-items: center;
}

.nixin-lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
}

.nixin-lang-toggle a { color: rgba(255,255,255,0.55); }
.nixin-lang-toggle a.active { color: var(--nixin-gold); font-weight: 700; }
.nixin-lang-toggle span { color: rgba(255,255,255,0.3); }

/* ---------- Buttons ---------- */
.button-nixin-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nixin-gold);
  border: 1px solid var(--nixin-gold-dim);
  border-radius: 999px;
  padding: 14px 28px;
  background: transparent;
  transition: border-color .25s ease, background-color .25s ease, color .25s ease;
}

.button-nixin-outline:hover {
  border-color: var(--nixin-gold);
  background-color: rgba(197, 168, 128, 0.08);
  color: var(--nixin-gold);
}

/* ---------- Hero ---------- */
.nixin-hero {
  min-height: 92vh;
}

.nixin-hero .bg-video video {
  filter: saturate(0.9);
}

.nixin-hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.nixin-hero-headline {
  font-size: 3.2rem;
  line-height: 1.15;
  color: var(--nixin-white);
}

@media (max-width: 991px) {
  .nixin-hero-headline { font-size: 2.2rem; }
}

.nixin-hero-body {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 20px auto 0;
}

.nixin-video-control {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--nixin-gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--nixin-gold);
  cursor: pointer;
  transition: border-color .2s ease;
}

.nixin-video-control:hover { border-color: var(--nixin-gold); }
.nixin-video-control svg { width: 14px; height: 14px; }

/* ---------- Logo strip (charcoal, right after Hero) ---------- */
.nixin-logo-strip-section {
  background: #262628;
  padding: 36px 0;
}

.nixin-strip-hairline {
  width: 80px;
  height: 1px;
  background: var(--nixin-gold-dim);
  border: 0;
  margin: 0 auto 14px;
}

.nixin-strip-overline {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--nixin-gold);
  margin-bottom: 20px;
}

.nixin-logo-strip span {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
}

.nixin-logo-strip img {
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity .25s ease;
}

.nixin-logo-strip img:hover { opacity: 1; }

/* ---------- Group at a glance / counters (navy bg, gold + white type) ---------- */
#glance .nixin-eyebrow {
  font-size: 32px;
}

@media (max-width: 767px) {
  #glance .nixin-eyebrow { font-size: 24px; }
}

.nixin-glance-desc {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.nixin-glance-row {
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 48px 0;
}

.nixin-stat {
  border-left: 1px solid rgba(255,255,255,0.1);
  padding: 0 12px;
}

.nixin-stat:first-child { border-left: 0; }

.nixin-stat h1 {
  font-family: "Roboto", sans-serif;
  color: var(--nixin-white);
  font-size: 3rem;
  letter-spacing: -1px;
}

.nixin-stat p {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nixin-gold);
  margin-top: 6px;
}

.nixin-stat-icon {
  display: block;
  font-size: 3.2rem;
  color: var(--nixin-gold);
  margin-bottom: 14px;
}

.nixin-stat-caption {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}

/* ---------- Company rows (editorial, image + text) ----------
   Text now takes priority (matches the Our Culture content/photo ratio) so long
   descriptions have room to breathe instead of overlapping in a narrow column.
   Text column ~660px, gap 40px, photo ~500px, photo stretches to match text height. */
.nixin-company-row {
  display: flex;
  align-items: stretch;
  padding: 28px 0;
}

.nixin-company-row.charcoal { background: #262628; }
.nixin-company-row.deep-navy { background: var(--nixin-navy-deep); }

/* Institutional-color row backgrounds (dark tint of each brand color, kept
   dark enough that the existing white body copy stays readable). */
.nixin-company-row.brand-isita { background: #29292b; }
.nixin-company-row.brand-verifigas { background: #3a1216; }
.nixin-company-row.brand-shipbox { background: #102414; }
.nixin-company-row.brand-escrow { background: #0f2038; }
.nixin-company-row.brand-guerreros { background: #2e2410; }

.nixin-company-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 0;
}

@media (min-width: 992px) {
  .nixin-company-inner { padding: 0; }
}

.nixin-company-text {
  flex: 0 0 528px;
  max-width: 528px;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nixin-company-gap {
  flex: 0 0 40px;
  display: none;
}

@media (min-width: 992px) {
  .nixin-company-gap { display: block; }
}

.nixin-company-media {
  position: relative;
  flex: 1 1 500px;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
}

.nixin-company-media:not(.no-photo):not(.nixin-flip)::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(6, 12, 24, 0.58);
}

/* Dark tint lives on the FRONT face only, so the flip reveals the brand
   color on the back at full, unmuted strength. */
.nixin-flip-front::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(6, 12, 24, 0.58);
  border-radius: inherit;
}

.nixin-company-media.no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255,255,255,0.03);
  background-image:
    linear-gradient(rgba(197,168,128,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,168,128,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.nixin-company-media.no-photo i {
  font-size: 4rem;
  color: var(--nixin-gold-dim);
}

/* ---------- Company photo hover: 3D flip (photo on front, brand logo on
   an institutional-color back panel) ----------
   Front/back faces are `inset:0` - i.e. always exactly the same size as
   `.nixin-company-media` itself, never larger - so even if this browser's
   overflow:hidden+border-radius clipping is imperfect during the rotation
   (the same class of bug documented on the Governance cards), there is
   nothing oversized that could bleed past the edges; each face carries its
   own border-radius as a second, independent safeguard. */
.nixin-flip {
  perspective: 1400px;
}

.nixin-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .7s cubic-bezier(.4, .2, .2, 1);
  transform-style: preserve-3d;
}

.nixin-flip:hover .nixin-flip-inner {
  transform: rotateY(180deg);
}

.nixin-flip-front,
.nixin-flip-back {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.nixin-flip-front {
  background-size: cover;
  background-position: center;
}

.nixin-flip-back {
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--nixin-navy-mid);
}

.nixin-flip-back img {
  max-width: 55%;
  max-height: 40%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.nixin-flip-back.bg-isita { background: #0a0a0a; }
.nixin-flip-back.bg-verifigas { background: #E63946; }
.nixin-flip-back.bg-shipbox { background: #43A047; }
.nixin-flip-back.bg-escrow { background: #4A90D9; }
.nixin-flip-back.bg-guerreros { background: #FFC107; }

@media (max-width: 991px) {
  .nixin-company-row { flex-direction: column; padding: 24px 0; }
  .nixin-company-inner { flex-direction: column; }
  .nixin-company-text { flex: 1 1 auto; max-width: 100%; padding: 16px 4px; }
  .nixin-company-media { flex: 1 1 auto; max-width: 100%; }
}

.nixin-company-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.nixin-company-wordmark {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.3px;
  color: var(--nixin-white);
  margin: 0;
}

.nixin-company-logo {
  height: 42px;
  width: auto;
  max-width: 286px;
  object-fit: contain;
}

.nixin-company-logo-lg {
  height: 55px;
  max-width: 364px;
}

.nixin-company-sector {
  display: inline-block;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--nixin-gold);
  border-bottom: 2px solid var(--nixin-gold-dim);
  padding-bottom: 8px;
  margin-bottom: 24px;
}

.nixin-company-phrase {
  color: rgba(255,255,255,0.72);
  font-size: 0.98rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.nixin-company-phrase.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.nixin-company-toggle {
  background: none;
  border: none;
  padding: 0;
  margin-top: 10px;
  align-self: flex-start;
  color: var(--nixin-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: underline;
  cursor: pointer;
}

.nixin-company-toggle:hover {
  color: var(--nixin-white);
}

/* ---------- Company rows: institutional accent color per brand ----------
   Each company's sector pill + "Explore" link accent switches from the
   default gold to that company's own institutional color, so every row
   carries its own brand identity instead of a uniform gold accent.
   Colors are written out per brand explicitly (no color-mix()/CSS-variable
   math) so they render identically on every browser, including older ones
   on shared hosting, with no dependency on newer CSS color functions. */
.brand-isita .nixin-company-sector { color: #B0B3B8; border-bottom-color: #B0B3B8; }
.brand-isita .nixin-explore { border-bottom-color: rgba(176,179,184,0.55); }
.brand-isita .nixin-explore:hover { color: #B0B3B8; border-color: #B0B3B8; }

.brand-verifigas .nixin-company-sector { color: #E63946; border-bottom-color: #E63946; }
.brand-verifigas .nixin-explore { border-bottom-color: rgba(230,57,70,0.55); }
.brand-verifigas .nixin-explore:hover { color: #E63946; border-color: #E63946; }

.brand-shipbox .nixin-company-sector { color: #43A047; border-bottom-color: #43A047; }
.brand-shipbox .nixin-explore { border-bottom-color: rgba(67,160,71,0.55); }
.brand-shipbox .nixin-explore:hover { color: #43A047; border-color: #43A047; }

.brand-escrow .nixin-company-sector { color: #4A90D9; border-bottom-color: #4A90D9; }
.brand-escrow .nixin-explore { border-bottom-color: rgba(74,144,217,0.55); }
.brand-escrow .nixin-explore:hover { color: #4A90D9; border-color: #4A90D9; }

.brand-guerreros .nixin-company-sector { color: #FFC107; border-bottom-color: #FFC107; }
.brand-guerreros .nixin-explore { border-bottom-color: rgba(255,193,7,0.55); }
.brand-guerreros .nixin-explore:hover { color: #FFC107; border-color: #FFC107; }

/* ---------- Philosophy (single centered column, exact Figma scale) ---------- */
.nixin-philosophy {
  overflow: hidden;
}

.nixin-philosophy-video {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
  opacity: 0.32;
}

.nixin-philosophy-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nixin-philosophy-col {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.nixin-stack-word {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: 6.8rem;
  line-height: 1.08;
  letter-spacing: 1px;
  color: var(--nixin-white);
  margin: 0;
}

@media (max-width: 991px) {
  .nixin-stack-word { font-size: 4rem; }
}

@media (max-width: 575px) {
  .nixin-stack-word { font-size: 2.6rem; }
}

.nixin-philosophy-narrative {
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-top: 48px;
}

/* ---------- Sectors (horizontal scroll carousel, tall photo cards) ---------- */
.nixin-sectors {
  overflow: hidden;
}

.nixin-sector-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 60px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nixin-sector-track::-webkit-scrollbar {
  display: none;
}

.nixin-sector-card {
  position: relative;
  flex: 0 0 300px;
  height: 460px;
  border-radius: 16px;
  background-color: #0f1d32;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform .35s ease;
}

@media (max-width: 767px) {
  .nixin-sector-card { flex-basis: 240px; height: 380px; }
  .nixin-sector-track { padding: 4px 24px 12px; }
}

.nixin-sector-card:hover {
  transform: translateY(-6px);
}

.nixin-sector-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.05) 0%, rgba(10,22,40,0.15) 45%, rgba(10,22,40,0.92) 100%);
  transition: background .35s ease;
}

.nixin-sector-card:hover .nixin-sector-card-overlay {
  background: linear-gradient(180deg, rgba(10,22,40,0.1) 0%, rgba(10,22,40,0.25) 45%, rgba(10,22,40,0.95) 100%);
}

.nixin-sector-card-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 24px;
}

.nixin-sector-tag {
  display: block;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nixin-gold);
  margin-bottom: 10px;
}

.nixin-sector-card-content h4 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--nixin-white);
  margin: 0;
  letter-spacing: -0.3px;
  transition: opacity .3s ease;
}

.nixin-sector-tag {
  transition: opacity .3s ease;
}

/* Hover state: dim the photo under a navy tint, fade in the company logo
   + a "Visit Site" call to action, fade out the plain sector label. */
.nixin-sector-card-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(10, 22, 40, 0.86);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.nixin-sector-card:hover .nixin-sector-card-hover {
  opacity: 1;
}

.nixin-sector-card:hover .nixin-sector-card-content {
  opacity: 0;
}

.nixin-sector-card-hover img {
  max-width: 140px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.nixin-sector-visit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nixin-gold);
  border-bottom: 1px solid var(--nixin-gold-dim);
  padding-bottom: 6px;
}

.nixin-sector-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.nixin-sector-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--nixin-gold-dim);
  background: transparent;
  color: var(--nixin-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.nixin-sector-nav-btn:hover {
  background: var(--nixin-navy);
  border-color: var(--nixin-navy);
  color: var(--nixin-white);
}

/* ---------- Governance ---------- */
.nixin-gov-statement {
  max-width: 800px;
  margin: 0 auto;
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}

@media (max-width: 767px) {
  .nixin-gov-statement { font-size: 1.2rem; }
}

/* Governance header: pill badge + big title, matching the Figma layout
   (Figma's "VARIATION 03" suffix was a file-review label, not real copy -
   only the "Governance" word carries over into the badge). */
.nixin-gov-badge {
  display: inline-block;
  padding: 8px 22px;
  margin-bottom: 24px;
  border: 1px solid var(--nixin-gold-dim);
  border-radius: 999px;
  color: var(--nixin-gold);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nixin-gov-heading {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: 3rem;
  color: var(--nixin-white);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .nixin-gov-heading { font-size: 2rem; }
}

/* ---------- Governance cards (Figma "Variation 03" layout) ----------
   Photo sits on its own, un-tinted, in the top of the card; a solid navy
   body panel below carries the title + index number + description. The
   whole thing is ONE rounded, bordered container (overflow:hidden clips
   the photo's top corners to match), with real gaps between the four
   cards instead of the old flush/overlay treatment. */
.nixin-gov-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--nixin-navy);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .35s ease, box-shadow .35s ease;
}

.nixin-gov-card:hover {
  border-color: var(--nixin-gold-dim);
  box-shadow: 0 14px 28px rgba(0,0,0,0.35);
}

.nixin-gov-card-photo {
  position: relative;
  flex: 0 0 220px;
  height: 220px;
  overflow: hidden;
}

.nixin-gov-card-photo-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .5s ease;
}

/* Same dark tint used on the Portfolio Companies photos, so every photo
   on the page reads consistently instead of the Governance cards showing
   raw, untinted images. */
.nixin-gov-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 24, 0.58);
  transition: background-color .35s ease;
}

.nixin-gov-card:hover .nixin-gov-card-photo-img {
  transform: scale(1.08);
}

.nixin-gov-card:hover .nixin-gov-card-photo::after {
  background: rgba(6, 12, 24, 0.28);
}

.nixin-gov-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  text-align: center;
}

.nixin-gov-card-head {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nixin-gov-card-head h6 {
  color: var(--nixin-white);
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.nixin-gov-card-body p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 0;
}

/* ---------- Contact (2-column: stacked engagement cards + form) ---------- */
.nixin-connect-card {
  background: var(--nixin-off-white);
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 24px;
}

.nixin-connect-card h6.eyebrow-sm {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nixin-gray-mid);
  margin-bottom: 6px;
}

.nixin-connect-card .nixin-connect-title {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--nixin-navy);
  margin-bottom: 12px;
}

.nixin-connect-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nixin-connect-card li {
  color: var(--nixin-gray-mid);
  font-size: 0.9rem;
  padding: 4px 0;
}

/* ---------- Footer ---------- */
.nixin-footer-photo {
  position: relative;
  background-image: url('../images/footer/footer-bg.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.nixin-footer-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-color: rgba(28, 28, 30, 0.94);
  z-index: 0;
}

.nixin-footer-top,
.nixin-newsletter-bar,
.nixin-footer-divider,
.nixin-footer-bottom {
  position: relative;
  z-index: 1;
}

.nixin-footer-logo {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 31px;
  color: var(--nixin-white);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 6px !important;
}

.nixin-footer-logo-sub {
  display: block;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--nixin-gold);
  margin-bottom: 16px;
}

.nixin-footer-summary {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .6);
  max-width: 320px;
}

.nixin-footer-title {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nixin-gold);
}

.nixin-footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.nixin-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nixin-footer-links li + li {
  margin-top: 12px;
}

.nixin-footer-links a {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
}

.nixin-footer-phrase {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .65);
  max-width: 320px;
  margin-bottom: 16px;
}

.nixin-footer-address {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .8);
}

.nixin-footer-address a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
}

.nixin-footer-socials {
  list-style: none;
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
}

.nixin-footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nixin-white);
  font-size: 16px;
}

.nixin-newsletter-form {
  display: flex;
  flex: 0 0 auto;
}

.nixin-newsletter-form input {
  width: 190px;
  height: 36px;
  background: var(--nixin-white);
  border: none;
  padding: 0 14px;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  color: var(--nixin-navy);
}

.nixin-newsletter-form input::placeholder {
  color: rgba(19, 36, 66, .5);
}

.nixin-newsletter-form button {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 16px;
  background: var(--nixin-gold);
  border: none;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--nixin-navy-deep);
  cursor: pointer;
  transition: background-color .3s ease;
}

.nixin-newsletter-form button:hover {
  background: var(--nixin-white);
}

.nixin-footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, .1);
  margin-top: 10px;
}

.nixin-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.nixin-footer-copyright {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  margin: 0;
}

.nixin-footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nixin-footer-legal a {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
}

.nixin-footer-badges {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nixin-footer-badges img {
  height: 37px;
  width: auto;
  opacity: .75;
  filter: grayscale(100%) brightness(1.6);
  transition: opacity .3s ease;
}

.nixin-footer-badges img:hover {
  opacity: 1;
}

.nixin-footer a:hover { color: var(--nixin-gold) !important; }

/* ---------- Our Culture (photo carousel + statement, Figma exact 620/820 split) ---------- */
.nixin-culture {
  display: flex;
  min-height: 650px;
}

@media (max-width: 991px) {
  .nixin-culture { flex-direction: column; min-height: 0; }
}

.nixin-culture-carousel {
  position: relative;
  flex: 0 0 620px;
  max-width: 620px;
  overflow: hidden;
  background: var(--nixin-navy-deep);
}

@media (max-width: 991px) {
  .nixin-culture-carousel { flex: 1 1 auto; max-width: 100%; height: 420px; }
}

.nixin-culture-slides {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
}

.nixin-culture-slide {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
}

.nixin-culture-slide.is-active {
  opacity: 1;
}

.nixin-culture-tint {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(10, 22, 40, 0.25);
  z-index: 1;
}

.nixin-culture-gradient {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0) 45%, rgba(10,22,40,0.85) 100%);
  z-index: 1;
}

.nixin-culture-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: var(--nixin-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 2;
  cursor: pointer;
  transition: background-color .25s ease;
}

.nixin-culture-nav:hover {
  background: rgba(255,255,255,0.3);
}

.nixin-culture-nav.prev { left: 32px; }
.nixin-culture-nav.next { right: 32px; }

.nixin-culture-dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nixin-culture-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.9);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .25s ease, background-color .25s ease;
}

.nixin-culture-dots .dot.is-active {
  width: 24px;
  background: var(--nixin-gold);
}

.nixin-culture-content {
  flex: 1 1 auto;
  background: #050a14;
  display: flex;
  align-items: center;
}

.nixin-culture-inner {
  max-width: 620px;
  padding: 60px 80px;
}

@media (max-width: 767px) {
  .nixin-culture-inner { padding: 48px 24px; }
}

.nixin-culture-inner h2 {
  font-family: "Roboto", sans-serif;
  color: var(--nixin-white);
  font-size: 2.75rem;
  letter-spacing: -0.5px;
  margin-top: 8px;
}

.nixin-culture-hairline {
  width: 60px;
  height: 2px;
  background: var(--nixin-gold);
  margin: 24px 0;
}

.nixin-culture-text {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
}

.nixin-culture-values {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nixin-culture-values li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--nixin-white);
}

.nixin-culture-check {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #102135;
  color: var(--nixin-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
