/* =====================================================
  KAMBA WEB - DESENVOLVIMENTO WEB 2026 ANTÓNIO BIMBI
   ===================================================== */

:root {
  /* Color system */
  --n-primary: #E73B4F;
  --n-primary-dark: #B82A3B;
  --n-secondary: #298FCE;
  --n-navy: #1D1D1B;
  --n-success: #298FCE;
  --n-slate: #667085;
  --n-slate-light: #98A2B3;
  --n-bg: #F7F9FC;
  --n-bg-alt: #EAF5FB;
  --n-border: #E4E7EC;
  --n-white: #FFFFFF;

  /* Gradients */
  --n-gradient-primary: linear-gradient(135deg, #E73B4F 0%, #298FCE 100%);
  --n-gradient-soft: linear-gradient(135deg, #FFF4F5 0%, #EAF5FB 100%);
  --n-gradient-dark: linear-gradient(135deg, #1D1D1B 0%, #263B4A 100%);
  
  /* Typography */
  --n-font-display: 'Sora', sans-serif;
  --n-font-body: 'Inter', sans-serif;

  /* Spacing rhythm (8px base) */
  --n-space-xs: 0.5rem;
  --n-space-sm: 1rem;
  --n-space-md: 1.5rem;
  --n-space-lg: 2.5rem;
  --n-space-xl: 4rem;
  --n-space-2xl: 6rem;

  /* Radius */
  --n-radius-sm: 30px;
  --n-radius-md: 14px;
  --n-radius-lg: 20px;
  --n-radius-pill: 100px;

  /* Shadows */
  --n-shadow-sm: 0 2px 8px rgba(11, 20, 55, 0.06);
  --n-shadow-md: 0 8px 24px rgba(11, 20, 55, 0.08);
  --n-shadow-lg: 0 20px 48px rgba(11, 20, 55, 0.12);
  --n-shadow-primary: 0 12px 28px rgba(231, 59, 79, 0.22);

  --bs-primary: #E73B4F;
  --bs-primary: #E73B4F;
  --bs-primary-rgb: 21, 94, 239;
  --bs-body-font-family: var(--n-font-body);
  --bs-body-color: var(--n-slate);
  --bs-body-bg: var(--n-white);
}



/* =========================================================
   SERVICES - MARKO STYLE STRUCTURE
   ========================================================= */

.services-grid {
  align-items: stretch;
}

.service-card {
  height: 100%;
  min-height: 380px;

  display: flex;
  flex-direction: column;

  padding: 32px;
  border-radius: 28px;

  overflow: hidden;
}


/* ---------------------------------------------------------
   HEADER: ICON + TITLE
   --------------------------------------------------------- */

.service-card-header {
  display: flex;
  align-items: center;
  gap: 28px;

  min-height: 105px;
}

.service-card-icon {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;

  margin: 0 !important;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 28px;
}

.service-card-icon i {
  font-size: 32px;
}

.service-card-title {
  margin: 0;

  flex: 1;

  line-height: 1.15;
}


/* ---------------------------------------------------------
   DESCRIPTION
   --------------------------------------------------------- */

.service-card-description {
  margin: 30px 0 28px;

  line-height: 1.65;
}


/* ---------------------------------------------------------
   BOTTOM CTA
   --------------------------------------------------------- */

.service-card-link {
  width: 100%;
  min-height: 72px;

  margin-top: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 6px 7px 6px 28px;

  border: 1px solid currentColor;
  border-radius: 999px;

  text-decoration: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card-link > span:first-child {
  flex: 1;

  text-align: center;

  font-weight: 600;
}

.service-card-arrow {
  width: 58px;
  height: 58px;

  flex: 0 0 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
}

.service-card-arrow i {
  font-size: 28px;

  transition: transform 0.25s ease;
}


/* ---------------------------------------------------------
   HOVER
   --------------------------------------------------------- */

.service-card:hover {
  transform: translateY(-4px);
}

.service-card-link:hover {
  transform: translateY(-2px);
}

.service-card-link:hover .service-card-arrow i {
  transform: translateX(4px);
}

/* =========================================================
   GRID HERO
   ========================================================= */

.hero-visual {
  width: 100%;
  max-width: 650px;
  min-height: 520px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
}

.hero-stand-image {
  display: block;

  width: 120%;
  max-width: 700px;
  height: auto;

  object-fit: contain;

  position: relative;
  z-index: 2;

  transition: transform 0.4s ease;
}

.hero-stand-image:hover {
  transform: translateY(-8px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

  .hero-visual {
    max-width: 550px;
    min-height: auto;
    margin-top: 20px;
  }

  .hero-stand-image {
    width: 110%;
    max-width: 600px;
  }

}

/* =====================================================
   GRID STRATEGIC BRAND SYSTEM
   ===================================================== */

.grid-process-card {
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--n-radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.grid-process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--n-shadow-md);
}


/* IMAGE */

.grid-process-image {
  position: relative;
  height: 270px;
  overflow: hidden;
}

.grid-process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.grid-process-card:hover .grid-process-image img {
  transform: scale(1.05);
}


/* NUMBER */

.grid-process-number {
  position: absolute;
  top: 18px;
  left: 18px;

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--n-white);
  color: var(--n-navy);

  border-radius: 50%;

  font-family: var(--n-font-display);
  font-size: 0.9rem;
  font-weight: 800;

  box-shadow: var(--n-shadow-sm);
}


/* ICON */

.grid-process-icon {
  position: absolute;
  right: 18px;
  bottom: 18px;

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--n-primary);
  color: #fff;

  border-radius: 14px;

  font-size: 1.25rem;

  box-shadow: var(--n-shadow-primary);
}


/* CONTENT */

.grid-process-content {
  padding: 28px;
}

.grid-process-label {
  display: block;

  margin-bottom: 8px;

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;

  color: var(--n-primary);
}

.grid-process-content h3 {
  margin-bottom: 12px;

  font-family: var(--n-font-display);
  font-size: 1.45rem;
  font-weight: 800;

  color: var(--text-primary);
}

.grid-process-content p {
  margin: 0;

  color: var(--text-secondary);
  line-height: 1.7;
}


/* WIDE CARDS */

.grid-process-card-wide .grid-process-image {
  height: 300px;
}


/* DARK MODE */

[data-theme="dark"] .grid-process-card {
  background: var(--surface);
  border-color: var(--border-color);
}

[data-theme="dark"] .grid-process-number {
  background: var(--surface-secondary);
  color: var(--text-primary);
}


/* RESPONSIVE */

@media (max-width: 767.98px) {

  .grid-process-image,
  .grid-process-card-wide .grid-process-image {
    height: 240px;
  }

  .grid-process-content {
    padding: 22px;
  }

}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

  .hero-visual {
    max-width: 420px;
    min-height: auto;
    margin-top: 10px;
  }

  .hero-stand-image {
    width: 105%;
    max-width: 420px;
  }

}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 991.98px) {

  .service-card {
    min-height: 360px;
    padding: 28px;
  }

  .service-card-header {
    gap: 22px;
  }

  .service-card-icon {
    flex-basis: 88px;
    width: 88px;
    height: 88px;

    border-radius: 24px;
  }

  .service-card-title {
    font-size: 1.35rem;
  }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 575.98px) {

  .service-card {
    min-height: auto;

    padding: 24px;

    border-radius: 24px;
  }

  .service-card-header {
    gap: 18px;

    min-height: 85px;
  }

  .service-card-icon {
    flex-basis: 76px;
    width: 76px;
    height: 76px;

    border-radius: 20px;
  }

  .service-card-icon i {
    font-size: 26px;
  }

  .service-card-title {
    font-size: 1.2rem;
  }

  .service-card-description {
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .service-card-link {
    min-height: 64px;

    padding-left: 20px;
  }

  .service-card-arrow {
    width: 52px;
    height: 52px;

    flex-basis: 52px;
  }

  .service-card-arrow i {
    font-size: 24px;
  }

}



/* =====================================================
   BASE
   ===================================================== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--n-font-body);
  color: var(--n-slate);
  background-color: var(--n-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: var(--n-font-display);
  color: var(--n-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-weight: 800; }

p { line-height: 1.7; }

a { text-decoration: none; }

.text-primary-custom { color: var(--n-primary) !important; }
.text-slate { color: var(--n-slate) !important; }
.text-navy { color: var(--n-navy) !important; }
.bg-soft { background-color: var(--n-bg) !important; }
.bg-soft-alt { background: var(--n-gradient-soft) !important; }
.bg-navy { background-color: var(--n-navy) !important; }
.bg-gradient-primary { background: var(--n-gradient-primary) !important; }
.bg-gradient-dark { background: var(--n-gradient-dark) !important; }

/* Section spacing rhythm */
.section { padding-top: var(--n-space-2xl); padding-bottom: var(--n-space-2xl); }
.section-sm { padding-top: var(--n-space-xl); padding-bottom: var(--n-space-xl); }

@media (max-width: 767.98px) {
  .section { padding-top: var(--n-space-xl); padding-bottom: var(--n-space-xl); }
  .section-sm { padding-top: var(--n-space-lg); padding-bottom: var(--n-space-lg); }
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--n-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--n-primary);
  background: var(--n-bg-alt);
  padding: 0.4rem 1rem;
  border-radius: var(--n-radius-pill);
  margin-bottom: var(--n-space-sm);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--n-primary);
  display: inline-block;
}

.section-title { margin-bottom: var(--n-space-sm); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--n-slate);
  max-width: 620px;
}
.section-header { margin-bottom: var(--n-space-xl); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  font-family: var(--n-font-display);
  font-weight: 600;
  border-radius: var(--n-radius-sm);
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border-width: 1.5px;
}

.btn-primary {
  background: var(--n-primary);
  border: none;
  box-shadow: var(--n-shadow-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--n-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(231, 59, 79, 0.32);
  color: #fff;
}

.btn-outline-primary {
  border-color: var(--n-primary);
  color: var(--n-primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--n-primary);
  border-color: var(--n-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light-custom {
  background: var(--n-primary);
  color: #fff;
  border: 1.5px solid var(--n-primary);
}

.btn-light-custom:hover {
  background: var(--n-primary-dark);
  border-color: var(--n-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-white {
  border-color: var(--n-primary);
  color: var(--n-primary);
  background: transparent;
}

.btn-outline-white:hover {
  background: var(--n-primary);
  border-color: var(--n-primary);
  color: #fff;
}

.btn-lg-custom { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm-custom { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar-nexora {
  border-radius: 28px;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.0);
}

.navbar-nexora.scrolled {
  border-radius: 28px;
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--n-shadow-sm);
}

.navbar-brand-custom {
  border-radius: 14px;
  font-family: var(--n-font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--n-navy) !important;
  letter-spacing: -0.02em;
}

.navbar-brand-custom span { color: var(--n-primary); }

.brand-logo {
  display: block;
  width: 118px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.logo-dark { display: none; }

.footer-brand-logo {
  width: 150px;
  max-height: 86px;
  padding: 0.35rem;
  background: #fff;
  border-radius: 0.5rem;
}

[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }
[data-theme="dark"] .footer-brand-logo { background: transparent; }

.footer-credit {
  display: inline-block;
  margin-left: 0.45rem;
}

.footer-credit a {
  display: inline;
  color: var(--n-primary) !important;
  font-weight: 700;
}

.navbar-nexora .nav-link {
  font-family: var(--n-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgb(152, 119, 119) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: var(--n-radius-sm);
  transition: all 0.2s ease;
}

.nav2 { color: var(--n-navy) !important; }
.navbar-nexora .nav-link:hover,
.navbar-nexora .nav-link.active {
  color: rgb(1, 1, 88) !important;
  background: var(--n-bg-alt);
}

/* Theme-safe controls and surfaces. These rules intentionally override
   Bootstrap classes and legacy inline colours from the original template. */
[data-theme="dark"] .bg-white,
[data-theme="dark"] .catalog-card,
[data-theme="dark"] .card-premium,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .widget,
[data-theme="dark"] .hero-mock-card,
[data-theme="dark"] .hero-float-badge {
  background: var(--surface) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] .btn-light-custom:hover {
  background: var(--n-primary-dark) !important;
  border-color: var(--n-primary-dark) !important;
  color: #fff !important;
}
[data-theme="dark"] .btn-light-custom * { color: inherit !important; }
[data-theme="dark"] .card-premium h1,
[data-theme="dark"] .card-premium h2,
[data-theme="dark"] .card-premium h3,
[data-theme="dark"] .card-premium h4,
[data-theme="dark"] .card-premium h5,
[data-theme="dark"] .card-premium p,
[data-theme="dark"] .pricing-card p,
[data-theme="dark"] .widget p,
[data-theme="dark"] .widget li {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] .card-premium h1,
[data-theme="dark"] .card-premium h2,
[data-theme="dark"] .card-premium h3,
[data-theme="dark"] .card-premium h4,
[data-theme="dark"] .card-premium h5,
[data-theme="dark"] .widget h1,
[data-theme="dark"] .widget h2,
[data-theme="dark"] .widget h3,
[data-theme="dark"] .widget h4,
[data-theme="dark"] .widget h5 { color: var(--text-primary) !important; }

[data-theme="dark"] [style*="background:#fff"],
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background-color:#fff"],
[data-theme="dark"] [style*="background-color: #fff"] {
  background: var(--surface) !important;
}

[data-theme="dark"] [style*="color:#1D1D1B"],
[data-theme="dark"] [style*="color: #1D1D1B"] { color: var(--text-primary) !important; }

.navbar-toggler-custom {
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--n-radius-sm);
  background: var(--n-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  padding: 0;
}

.navbar-toggler-custom .bar {
  width: 20px;
  height: 2px;
  background: var(--n-navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-toggler-custom.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.navbar-toggler-custom.active .bar:nth-child(2) { opacity: 0; }
.navbar-toggler-custom.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =====================================================
   HERO
   ===================================================== */
.hero-editorial {
  min-height: 100svh;
  height: max(720px, 100svh);
  padding: 0;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  background: #101214;
  color: #fff;
}

.hero-editorial::before,
.hero-editorial::after { display: none; }

.hero-editorial-media,
.hero-editorial-shade {
  position: absolute;
  inset: 0;
}

.hero-editorial-media { z-index: -2; background: #101214; }

.hero-editorial-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 0;
  filter: brightness(.68) saturate(.9);
  transform: scale(1.06);
  transition: opacity 1s ease, transform 7s ease;
}

.hero-editorial-bg.is-active { opacity: 1; transform: scale(1); }

.hero-editorial-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 8, 10, .84) 0%, rgba(4, 8, 10, .43) 44%, rgba(4, 8, 10, .15) 100%), linear-gradient(0deg, rgba(4, 8, 10, .82) 0%, transparent 54%, rgba(4, 8, 10, .32) 100%);
}

.hero-editorial-content {
  position: relative;
  min-height: 100%;
  padding-top: clamp(9rem, 19vh, 13rem);
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-editorial-copy {
  position: relative;
  z-index: 0;
  max-width: 590px;
  padding: 1rem 1.25rem 1.25rem;
}

.hero-editorial-copy::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -1.5rem -2rem -1.5rem -1.5rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, .12);
  pointer-events: none;
}

.hero-editorial-kicker,
.hero-editorial-location,
.hero-editorial-meta,
.hero-editorial-scroll,
.hero-editorial-card small {
  font-family: var(--n-font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-editorial-kicker {
  display: inline-flex;
  gap: .6rem;
  align-items: center;
  color: rgba(255,255,255,.8);
  font-size: .68rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.hero-editorial-kicker i { color: var(--n-primary); font-size: .8rem; }

.hero-editorial h1 {
  margin: 0 0 1.35rem;
  color: #fff;
  font-size: clamp(3rem, 6.2vw, 6.2rem);
  line-height: .86;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

.hero-editorial h1 span { color: var(--n-primary); -webkit-text-stroke: 0; }

.hero-editorial-description {
  max-width: 470px;
  margin: 0 0 2rem;
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-editorial-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

.hero-editorial-cta,
.hero-editorial-play { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--n-font-display); font-weight: 700; }

.hero-editorial-cta { padding: .95rem 1.35rem; color: #fff; background: var(--n-primary); border-radius: 3px; }
.hero-editorial-cta:hover { color: #fff; background: var(--n-primary-dark); }
.hero-editorial-cta i { font-size: 1.15rem; }

.hero-editorial-play { color: #fff; font-size: .88rem; }
.hero-editorial-play:hover { color: #fff; }
.hero-editorial-play i { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; display: grid; place-items: center; }

.hero-editorial-footer { display: flex; align-items: center; justify-content: space-between; width: 43%; min-width: 340px; margin-top: 2rem; }
.hero-editorial-meta { display: flex; align-items: center; gap: .7rem; color: rgba(255,255,255,.65); font-size: .62rem; font-weight: 600; white-space: nowrap; }
.hero-editorial-index { color: #fff; font-size: 1.8rem; letter-spacing: 0; }
.hero-editorial-line { width: 55px; height: 1px; background: var(--n-primary); }
.hero-editorial-controls { display: flex; gap: .5rem; }
.hero-slider-control { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; color: #fff; transition: .25s ease; }
.hero-slider-control:hover { background: var(--n-primary); border-color: var(--n-primary); }

.hero-editorial-cards { position: absolute; right: 0; bottom: 2rem; display: flex; gap: .85rem; max-width: 62%; }
.hero-editorial-card { position: relative; width: clamp(94px, 8.45vw, 124px); height: clamp(137px, 18.9vh, 185px); padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.42); border-radius: 7px; background: #182026; color: #fff; text-align: left; transition: width .45s ease, transform .35s ease, border-color .35s ease; }
.hero-editorial-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,5,6,.9), transparent 65%); }
.hero-editorial-card img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform .5s ease, opacity .35s ease; }
.hero-editorial-card span { position: absolute; z-index: 1; left: 1rem; right: .75rem; bottom: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.hero-editorial-card small { color: rgba(255,255,255,.7); font-size: .55rem; }
.hero-editorial-card strong { font-family: var(--n-font-display); font-size: .9rem; line-height: 1.15; }
.hero-editorial-card:hover, .hero-editorial-card.is-active { width: clamp(110px, 9.75vw, 143px); border-color: var(--n-primary); transform: translateY(-10px); }
.hero-editorial-card:hover img, .hero-editorial-card.is-active img { opacity: 1; transform: scale(1.06); }
.hero-editorial-scroll { position: absolute; right: 2rem; top: 50%; display: flex; flex-direction: column; gap: .8rem; align-items: center; color: rgba(255,255,255,.68); font-size: .58rem; writing-mode: vertical-rl; transform: translateY(-50%); }
.hero-editorial-scroll i { color: var(--n-primary); font-size: 1.1rem; }
.hero-content-anchor { scroll-margin-top: 80px; }

@media (max-width: 991.98px) {
  .hero-editorial-content { padding-top: 8.5rem; }
  .hero-editorial h1 { font-size: clamp(2.8rem, 9vw, 5rem); }
  .hero-editorial-footer { width: 55%; }
  .hero-editorial-cards { max-width: 52%; }
  .hero-editorial-card:nth-child(3) { display: none; }
}

@media (max-width: 575.98px) {
  .hero-editorial { min-height: 760px; height: 100svh; }
  .hero-editorial-content { padding-top: 7.5rem; padding-bottom: 1.2rem; }
  .hero-editorial-kicker { margin-bottom: 1.6rem; font-size: .58rem; }
  .hero-editorial h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .hero-editorial-description { font-size: .88rem; }
  .hero-editorial-footer { width: 100%; min-width: 0; }
  .hero-editorial-meta { font-size: .5rem; }
  .hero-editorial-cards { position: relative; right: auto; bottom: auto; max-width: none; width: calc(100% + 1.5rem); margin-top: 1.4rem; overflow: visible; }
  .hero-editorial-card, .hero-editorial-card:hover, .hero-editorial-card.is-active { width: calc((100% - 1rem) / 2); height: 155px; transform: none; }
  .hero-editorial-card:nth-child(3) { display: none; }
  .hero-editorial-card strong { font-size: .7rem; }
  .hero-editorial-scroll { display: none; }
}

.hero {
  position: relative;
  padding-top: 9rem;
  padding-bottom: 5rem;
  background: var(--n-gradient-soft);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 2, 184, 0.14) 0%, rgba(21,94,239,0.06) 60%, transparent 100%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,94,239,0.10) 0%, transparent 70%);
  z-index: 0;
}

.hero-content { position: relative; z-index: 2; }

.hero h1 { font-size: 3.25rem; line-height: 1.15; }

@media (max-width: 991.98px) {
  .hero { padding-top: 7rem; text-align: center; }
  .hero h1 { font-size: 2.4rem; }
}

@media (max-width: 575.98px) {
  .hero h1 { font-size: 2rem; }
}

/* Hero visual / dashboard mock card */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-mock-card {
  background: var(--surface);
  border-radius: var(--n-radius-lg);
  box-shadow: var(--n-shadow-lg);
  padding: var(--n-space-md);
  border: 1px solid var(--n-border);
  position: relative;
}

.hero-mock-card .mock-bar {
  height: 10px;
  border-radius: var(--n-radius-pill);
  background: var(--n-bg-alt);
  margin-bottom: 0.75rem;
}

.hero-float-badge {
  position: absolute;
  background: var(--surface);
  border-radius: var(--n-radius-md);
  box-shadow: var(--n-shadow-md);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--n-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--n-navy);
  z-index: 3;
}

.hero-float-badge.badge-1 { top: -1.5rem; left: -1.5rem; }
.hero-float-badge.badge-2 { bottom: -1.5rem; right: -1.5rem; }

.hero-float-badge .icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .hero-float-badge { padding: 0.6rem 0.9rem; font-size: 0.75rem; }
  .hero-float-badge.badge-1 { top: -1rem; left: -0.5rem; }
  .hero-float-badge.badge-2 { bottom: -1rem; right: -0.5rem; }
}

/* Stats strip */
.stats-strip {
  border-top: 1px solid var(--n-border);
  border-bottom: 1px solid var(--n-border);
}

.stat-item .stat-number {
  font-family: var(--n-font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--n-navy);
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--n-slate);
  font-weight: 500;
}

/* =====================================================
   ICON BOXES
   ===================================================== */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--n-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.icon-box-primary { background: var(--n-bg-alt); color: var(--n-primary); }
.icon-box-secondary { background: color-mix(in srgb, var(--n-secondary) 13%, var(--surface)); color: var(--n-secondary); }
.icon-box-success { background: color-mix(in srgb, var(--n-success) 13%, var(--surface)); color: var(--n-success); }

.icon-box-lg { width: 72px; height: 72px; font-size: 2rem; border-radius: var(--n-radius-md); }

.icon-box-white {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* =====================================================
   CARDS — premium card system
   ===================================================== */
.card-premium {
  background: var(--surface);
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-md);
  box-shadow: var(--n-shadow-sm);
  transition: all 0.3s ease;
  padding: var(--n-space-lg);
  height: 100%;
}

.card-premium:hover {
  box-shadow: var(--n-shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}

.card-premium .card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card-link-arrow {
  font-family: var(--n-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--n-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}

.card-link-arrow:hover { gap: 0.7rem; color: var(--n-primary-dark); }

/* Pricing card */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-lg);
  padding: var(--n-space-lg);
  box-shadow: var(--n-shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.pricing-card:hover { box-shadow: var(--n-shadow-md); transform: translateY(-6px); }

.pricing-card.featured {
  background: var(--n-gradient-dark);
  border: none;
  color: #fff;
  box-shadow: var(--n-shadow-lg);
  transform: scale(1.03);
}

.pricing-card.featured .price, .pricing-card.featured h3 { color: #fff; }
.pricing-card.featured .text-slate { color: rgba(255,255,255,0.65) !important; }
.pricing-card.featured ul li { color: rgba(255,255,255,0.85); }
.pricing-card.featured .pricing-divider { border-color: rgba(255,255,255,0.12); }

@media (max-width: 991.98px) {
  .pricing-card.featured { transform: none; }
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 2rem;
  background: var(--n-primary);
  color: #fff;
  font-family: var(--n-font-display);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  border-radius: var(--n-radius-pill);
  letter-spacing: 0.05em;
}

.price {
  font-family: var(--n-font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--n-navy);
}

.price-period { font-size: 1rem; font-weight: 500; color: var(--n-slate); }

.pricing-divider { border-color: var(--n-border); margin: var(--n-space-md) 0; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--n-slate);
}

.feature-list li i { color: var(--n-success); margin-top: 0.2rem; flex-shrink: 0; }
.feature-list li.disabled { opacity: 0.45; }
.feature-list li.disabled i { color: var(--n-slate-light); }

/* Blog cards */
.blog-card-img {
  border-radius: var(--n-radius-md) var(--n-radius-md) 0 0;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-card-img img { transition: transform 0.4s ease; width: 100%; height: 100%; object-fit: cover; }
.card-premium:hover .blog-card-img img { transform: scale(1.06); }

.blog-card-body { padding: var(--n-space-md) var(--n-space-md) 0; }

.blog-featured-link,
.blog-featured-link h3,
.blog-featured-link p,
.blog-featured-link span,
.blog-featured-link div {
  color: var(--text-primary) !important;
}

/* Homepage insights feature */
.insights-home-section { background: var(--bg-secondary); }

.insights-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--n-navy);
  font-family: var(--n-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.insights-kicker i,
.insights-home-link,
.insights-feature-meta i { color: #0f0cd1; }

.insights-home-title {
  max-width: 760px;
  color: var(--text-primary);
  font-family: var(--n-font-display);
  font-size: clamp(2.5rem, 5vw, 4.35rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin: 0;
}

.insights-home-intro {
  color: var(--n-slate);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1.75rem;
  max-width: 430px;
}

.insights-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--n-font-display);
  font-weight: 700;
  text-decoration: none;
}

.insights-home-link:hover { color: var(--n-navy); }

.insights-feature-card {
  background: var(--surface);
  border: 1px solid rgba(6, 9, 224, 0.18);
  border-radius: 1.35rem;
  box-shadow: 0 12px 35px rgba(22, 14, 38, 0.07);
  color: var(--text-primary);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insights-feature-card:hover {
  color: var(--text-primary);
  box-shadow: 0 18px 42px rgba(22, 14, 38, 0.13);
  transform: translateY(-5px);
}

.insights-feature-image {
  aspect-ratio: 1.58 / 1;
  overflow: hidden;
}

.insights-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insights-feature-card:hover .insights-feature-image img { transform: scale(1.05); }

.insights-feature-content { padding: 1.45rem 1.65rem 1.7rem; }

.insights-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: var(--n-slate);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.insights-feature-meta span { display: inline-flex; align-items: center; gap: 0.55rem; }

.insights-feature-content h3 {
  color: var(--text-primary);
  font-family: var(--n-font-display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
  margin: 0;
}

/* Insights remain readable in both theme modes. */
[data-theme="dark"] .insights-home-section {
  background: var(--bg-secondary) !important;
}

[data-theme="dark"] .insights-kicker,
[data-theme="dark"] .insights-home-title,
[data-theme="dark"] .insights-feature-content h3 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .insights-home-intro,
[data-theme="dark"] .insights-feature-meta {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] .insights-feature-card {
  background: var(--surface) !important;
  border-color: var(--border-color);
  color: var(--text-primary) !important;
}

[data-theme="dark"] .insights-feature-card:hover {
  color: var(--text-primary) !important;
}

.tag-pill {
  display: inline-block;
  font-family: var(--n-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--n-primary);
  background: var(--n-bg-alt);
  padding: 0.3rem 0.8rem;
  border-radius: var(--n-radius-pill);
  margin-bottom: 0.75rem;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--n-slate-light);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--n-border);
}

/* Portfolio card */
.portfolio-card {
  position: relative;
  border-radius: var(--n-radius-md);
  overflow: hidden;
  box-shadow: var(--n-shadow-sm);
  aspect-ratio: 4/3;
  background: var(--n-bg);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #fff;
  transition: transform 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,20,55,0) 30%, rgba(11,20,55,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--n-space-md);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-card:hover img { transform: none; }

.portfolio-overlay h5 { color: #fff; margin-bottom: 0.25rem; }
.portfolio-overlay span { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* Testimonial story grid */
.testimonial-section {
  background: var(--n-bg);
}

.testimonial-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  align-items: stretch;
}

.testimonial-story-card {
  background: var(--surface);
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-lg);
  box-shadow: var(--n-shadow-sm);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.testimonial-story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--n-shadow-md);
  border-color: var(--n-primary);
}

.testimonial-story-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--n-border);
}

.testimonial-logo-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--n-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  overflow: hidden;
  box-shadow: var(--n-shadow-sm);
}

.testimonial-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.testimonial-company {
  font-family: var(--n-font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--n-navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.testimonial-story-body {
  position: relative;
  padding: 1.5rem 0 1rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.8;
}

.testimonial-story-body p {
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-story-body p:last-child {
  margin-bottom: 0;
}

.testimonial-quote-mark {
  position: absolute;
  top: -0.7rem;
  right: 0;
  font-family: var(--n-font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--n-primary);
  opacity: 0.22;
}

.testimonial-story-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--n-border);
}

.testimonial-author-name {
  font-family: var(--n-font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--n-navy);
  display: block;
}

@media (max-width: 991.98px) {
  .testimonial-story-grid {
    grid-template-columns: 1fr;
  }
}

/* Process steps (numbered — real sequence) */
.process-step {
  position: relative;
  padding-left: 0;
}

.process-number {
  font-family: var(--n-font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--n-gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

/* Logo cloud */
.logo-cloud-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--n-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--n-slate-light);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.logo-cloud-item:hover { opacity: 1; color: var(--n-navy); }

/* =====================================================
   FORMS
   ===================================================== */
.form-control,
.form-select {
  border: 1.5px solid var(--n-border);
  border-radius: var(--n-radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  background-color: var(--n-bg);
  transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--n-primary);
  box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.1);
  background-color: var(--surface);
}

.form-label {
  font-family: var(--n-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--n-navy);
  margin-bottom: 0.5rem;
}

.form-control.is-invalid, .form-select.is-invalid { border-color: #DC3545; }
.form-control.is-valid, .form-select.is-valid { border-color: var(--n-success); }

/* Newsletter / CTA section */
.cta-section {
  background: var(--n-gradient-dark);
  border-radius: var(--n-radius-lg);
  padding: var(--n-space-2xl) var(--n-space-lg);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,94,239,0.25) 0%, transparent 70%);
}

.cta-section h2, .cta-section p { color: #fff; position: relative; z-index: 1; }
.cta-section p { color: rgba(255,255,255,0.7); }

/* =====================================================
   FOOTER
   ===================================================== */
.footer-nexora {
  background: #fff;
  color: #111;
  padding-top: var(--n-space-2xl);
}

.footer-nexora h6 {
  color: #111;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--n-space-md);
}

.footer-nexora a {
  color: #111;
  transition: color 0.2s ease;
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.footer-nexora a:hover { color: var(--n-primary); }

.footer-nexora .text-white-50,
.footer-nexora p,
.footer-nexora .footer-contact-phone,
.footer-nexora .footer-contact-list a,
.footer-nexora .footer-bottom p,
.footer-nexora .form-control,
.footer-nexora .form-control::placeholder,
.footer-nexora .social-icon {
  color: #111 !important;
}

.footer-nexora .text-white-50 {
  opacity: 1;
}

.footer-nexora .form-control {
  border-color: rgba(0,0,0,0.15);
  background: rgba(0,0,0,0.03);
}

.footer-nexora .form-control::placeholder {
  color: #111 !important;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: var(--n-space-xl);
  padding: var(--n-space-md) 0;
  font-size: 0.85rem;
  justify-content: center !important;
  text-align: center !important;
}

.footer-bottom p { width: 100%; text-align: center !important; color: #111; }

.footer-bottom .footer-credit {
  display: block;
  margin: .35rem 0 0;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111 !important;
  border: 1px solid rgba(0,0,0,0.08);
  transition: all 0.2s ease;
  margin-bottom: 0 !important;
}

.social-icon:hover { background: var(--n-primary); color: #fff !important; transform: translateY(-3px); }

.footer-contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin: 0 0 1rem;
}

.footer-contact-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111 !important;
  font-weight: 700;
  font-family: var(--n-font-display);
  font-size: 0.95rem;
  text-decoration: none;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0.45rem 0.75rem;
  border-radius: var(--n-radius-sm);
}

.footer-contact-phone:hover {
  color: var(--n-primary) !important;
}

[data-theme="dark"] .footer-contact-phone {
  color: #fff !important;
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
}

[data-theme="dark"] .footer-contact-phone:hover {
  color: var(--n-primary) !important;
}

/* =====================================================
   PAGE HEADER (sub-pages)
   ===================================================== */
.page-header {
  background: var(--n-gradient-dark);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,94,239,0.25) 0%, transparent 70%);
}

.page-header h1 { color: #fff; }

.breadcrumb-custom {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.breadcrumb-custom a { color: rgba(255,255,255,0.6); }
.breadcrumb-custom a:hover { color: #fff; }
.breadcrumb-custom .active { color: var(--n-primary); }

/* =====================================================
   SCROLL REVEAL (lightweight)
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-premium:hover, .pricing-card:hover, .btn:hover, .portfolio-card img { transform: none; }
}

/* =====================================================
   MISC UTILITIES
   ===================================================== */
.divider-line { height: 1px; background: var(--n-border); border: none; }

.rounded-img { border-radius: var(--n-radius-lg); }

.badge-soft {
  background: var(--n-bg-alt);
  color: var(--n-primary);
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--n-radius-pill);
  font-size: 0.8rem;
}

.list-check {
  list-style: none;
  padding: 0;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.list-check li i {
  color: var(--n-primary);
  background: var(--n-bg-alt);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Author / sidebar widgets (blog details) */
.widget {
  background: var(--surface);
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-md);
  padding: var(--n-space-md);
  margin-bottom: var(--n-space-md);
}

.widget h5 { font-size: 1rem; margin-bottom: var(--n-space-sm); }

.widget-link-list { list-style: none; padding: 0; margin: 0; }
.widget-link-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--n-border);
  font-size: 0.9rem;
  color: var(--n-navy);
  font-weight: 500;
}
.widget-link-list li:last-child { border-bottom: none; }
.widget-link-list li span { color: var(--n-slate-light); font-weight: 400; }

/* FAQ accordion custom */
.accordion-custom .accordion-item {
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-sm) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-custom .accordion-button {
  font-family: var(--n-font-display);
  font-weight: 700;
  color: var(--n-navy);
  background: var(--surface);
  padding: 1.25rem 1.5rem;
}

.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--n-primary);
  background: var(--n-bg-alt);
  box-shadow: none;
}

.accordion-custom .accordion-button:focus { box-shadow: none; border-color: var(--n-border); }
.accordion-custom .accordion-body { padding: 1.25rem 1.5rem; color: var(--n-slate); }

.blog-accordion .blog-more-wrap .accordion-button {
  background: transparent;
  border-color: transparent;
  color: #E73B4F;
  box-shadow: none;
  transform: none;
  transition: none;
}

.blog-accordion .blog-more-wrap .accordion-button:hover,
.blog-accordion .blog-more-wrap .accordion-button:not(.collapsed) {
  background: transparent;
  border-color: transparent;
  color: #E73B4F;
  box-shadow: none;
  transform: none;
}

.blog-accordion .btn-close-card {
  color: #E73B4F;
  font-weight: 600;
}

.blog-accordion .btn-close-card i { display: none; }

.blog-accordion .btn-close-card::after { content: 'Ler menos'; }



/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--n-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--n-shadow-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
  border: none;
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* Contact map placeholder */
.map-frame {
  border-radius: var(--n-radius-md);
  overflow: hidden;
  border: 1px solid var(--n-border);
  height: 50%;
  min-height: 320px;
}

.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* Service detail icon list */
.feature-grid-item {
  display: flex;
  gap: 1rem;
  padding: var(--n-space-md);
  background: var(--n-bg);
  border-radius: var(--n-radius-md);
  height: 100%;
}

/* Expertise section - Marko inspired structure */
.expertise-section {
  overflow: hidden;
}

.expertise-media {
  position: relative;
  min-height: 540px;
  padding-top: 6.25rem;
}

.expertise-main-img {
  width: 100%;
  min-height: 410px;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: 0 22px 22px 22px;
  display: block;
}

.expertise-consult-card {
  position: absolute;
  top: 0;
  left: 0;
  width: min(78%, 380px);
  z-index: 2;
  padding: 1.55rem;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  box-shadow: var(--n-shadow-md);
}

.expertise-consult-card h3 {
  font-family: var(--n-font-display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.expertise-consult-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.expertise-consult-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--accent);
  font-weight: 700;
}

.expertise-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.expertise-eyebrow i {
  font-size: 1.35rem;
}

.expertise-title {
  max-width: 760px;
  font-size: clamp(2.65rem, 5.1vw, 4.9rem);
  line-height: 1.08;
  margin-bottom: 1.35rem;
}

.expertise-copy {
  max-width: 780px;
  margin-bottom: 2rem;
}

.expertise-details {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.25fr);
  gap: 2rem;
  align-items: end;
}

.expertise-list-title {
  font-family: var(--n-font-display);
  color: var(--text-primary);
  font-size: 1.45rem;
  margin-bottom: 1.05rem;
}

.expertise-list {
  margin-bottom: 0;
}

.expertise-list li {
  margin-bottom: 0.6rem;
}

.expertise-list li i {
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  background: transparent;
}

.expertise-stat-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--n-shadow-md);
}

.expertise-stat-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.expertise-stat-number {
  font-family: var(--n-font-display);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}

.expertise-stat-number span {
  font-size: 0.48em;
  -webkit-text-stroke-width: 1.5px;
}

.expertise-stat-card h3 {
  color: var(--text-primary);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.45;
  margin-bottom: 0;
}

.expertise-stat-card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .expertise-media {
    min-height: auto;
  }

  .expertise-title {
    font-size: clamp(2.25rem, 9vw, 3.5rem);
  }

  .expertise-details {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

@media (max-width: 575.98px) {
  .expertise-media {
    padding-top: 0;
  }

  .expertise-consult-card {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
  }

  .expertise-main-img {
    min-height: 320px;
    border-radius: var(--n-radius-lg);
  }

  .expertise-stat-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Clients showcase */
.clients-showcase-section {
  padding: var(--n-space-xl) 0;
  background: var(--bg-primary);
}

.clients-showcase {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}

.clients-showcase-top {
  padding: clamp(2rem, 5vw, 3rem) clamp(2rem, 5vw, 4rem) 1rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--surface);
}

.clients-showcase-header {
  margin-bottom: 0;
}

.clients-showcase-kicker {
  display: block;
  color: var(--n-primary);
  font-family: var(--n-font-display);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.clients-showcase h2 {
  max-width: 290px;
  color: var(--text-primary);
  font-family: var(--n-font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0;
}

.clients-carousel {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.clients-carousel-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.client-logo-card {
  background: var(--n-white);
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-md);
  overflow: hidden;
  box-shadow: var(--n-shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.client-logo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--n-shadow-md);
  border-color: var(--n-primary);
}

.client-logo-image {
  aspect-ratio: 4 / 3;
  background: var(--n-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  padding: 0.75rem;
  background: var(--n-white);
}

@media (max-width: 767.98px) {
  .clients-showcase-section {
    padding: var(--n-space-lg) 0;
  }

  .clients-showcase {
    border-radius: var(--n-radius-md);
  }

  .clients-showcase-title-col {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid var(--border-color);
  }

  .clients-carousel-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* =====================================================
   THEME SYSTEM - LIGHT / DARK
   ===================================================== */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #F7F9FC;
  --surface: #ffffff;
  --surface-secondary: #EAF5FB;
  --text-primary: #1D1D1B;
  --text-secondary: #667085;
  --text-muted: #98A2B3;
  --border-color: #E4E7EC;
  --accent: #E73B4F;
  --accent-hover: #B82A3B;
  --shadow-color: rgba(11, 20, 55, 0.08);
}

[data-theme="dark"] {
  color-scheme: dark;
  --n-primary: #E73B4F;
  --n-primary-dark: #FF7180;
  --n-secondary: #4FB4EE;
  --n-navy: #F4F7FB;
  --n-success: #2FD482;
  --n-slate: #BBC4D4;
  --n-slate-light: #8792A4;
  --n-bg: #0E1118;
  --n-bg-alt: #172A35;
  --n-border: rgba(255, 255, 255, 0.10);
  --n-white: #111620;
  --n-gradient-primary: linear-gradient(135deg, #E73B4F 0%, #298FCE 100%);
  --n-gradient-soft: linear-gradient(135deg, #24181C 0%, #142832 100%);
  --n-gradient-dark: linear-gradient(135deg, #121313 0%, #17384A 100%);
  --n-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.28);
  --n-shadow-md: 0 12px 28px rgba(0, 0, 0, 0.34);
  --n-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.42);
  --n-shadow-primary: 0 12px 32px rgba(231, 59, 79, 0.24);
  --bg-primary: #0B0E14;
  --bg-secondary: #0E1118;
  --surface: #111620;
  --surface-secondary: #172A35;
  --text-primary: #F4F7FB;
  --text-secondary: #BBC4D4;
  --text-muted: #8792A4;
  --border-color: rgba(255, 255, 255, 0.10);
  --accent: #E73B4F;
  --accent-hover: #FF7180;
  --shadow-color: rgba(0, 0, 0, 0.35);
  --bs-body-color: var(--text-secondary);
  --bs-body-bg: var(--bg-primary);
}

html,
body {
  background: var(--bg-primary);
  color: var(--text-secondary);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--n-shadow-sm);
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  color: #fff;
  background: var(--n-primary);
  border-color: var(--n-primary);
  transform: translateY(-2px);
}

[data-theme="dark"] .navbar-nexora {
  background: rgba(11, 14, 20, 0);
}

[data-theme="dark"] .navbar-nexora.scrolled,
[data-theme="dark"] .navbar-collapse {
  background: rgba(11, 14, 20, 0.92);
  border-color: var(--border-color);
}

[data-theme="dark"] .bg-white,
[data-theme="dark"] .card-premium,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .process-step,
[data-theme="dark"] .feature-grid-item,
[data-theme="dark"] .accordion-custom .accordion-button,
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background: var(--surface) !important;
  color: var(--text-secondary);
  border-color: var(--border-color);
}

[data-theme="dark"] .bg-soft,
[data-theme="dark"] .bg-light,
[data-theme="dark"] .section.bg-soft {
  background: var(--bg-secondary) !important;
}

[data-theme="dark"] .section-title,
[data-theme="dark"] .card-title,
[data-theme="dark"] .navbar-brand-custom,
[data-theme="dark"] .text-navy,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .section-subtitle,
[data-theme="dark"] p,
[data-theme="dark"] .text-slate,
[data-theme="dark"] .widget-link-list li {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] .navbar-nexora .nav-link {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] .navbar-nexora .nav-link:hover,
[data-theme="dark"] .navbar-nexora .nav-link.active {
  color: var(--text-primary) !important;
  background: var(--surface-secondary);
}

[data-theme="dark"] .navbar-toggler-custom,
[data-theme="dark"] .icon-box,
[data-theme="dark"] .hero-float-badge,
[data-theme="dark"] .service-card-arrow {
  background: var(--surface-secondary);
  border-color: var(--border-color);
}

[data-theme="dark"] .navbar-toggler-custom .bar {
  background: var(--text-primary);
}

[data-theme="dark"] .hero-nexora,
[data-theme="dark"] .page-hero,
[data-theme="dark"] .cta-section {
  background: var(--n-gradient-dark);
}

[data-theme="dark"] .footer-nexora {
  background: #000;
  color: #fff;
}

[data-theme="dark"] .footer-nexora h6,
[data-theme="dark"] .footer-nexora p,
[data-theme="dark"] .footer-nexora a,
[data-theme="dark"] .footer-bottom p {
  color: #fff;
}

[data-theme="dark"] .footer-nexora a {
  color: #fff;
}

[data-theme="dark"] .footer-nexora a:hover {
  color: var(--n-primary);
}

[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(255,255,255,0.2);
}

[data-theme="dark"] .social-icon {
  background: rgba(255,255,255,0.06);
  color: #fff !important;
}

[data-theme="dark"] .rounded-img,
[data-theme="dark"] .portfolio-card img,
[data-theme="dark"] .blog-card img {
  filter: brightness(0.86) contrast(1.05);
}

[data-theme="dark"] .form-control::placeholder {
  color: var(--text-muted);
}

[data-theme="dark"] .accordion-custom .accordion-button:not(.collapsed) {
  background: var(--surface-secondary);
  color: var(--accent);
}

[data-theme="dark"] .catalog-card .catalog-details {
  background: var(--surface);
}

[data-theme="dark"] .catalog-card .catalog-details h3 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .blog-accordion .blog-more-wrap .accordion-button,
[data-theme="dark"] .blog-accordion .blog-more-wrap .accordion-button:hover,
[data-theme="dark"] .blog-accordion .blog-more-wrap .accordion-button:focus,
[data-theme="dark"] .blog-accordion .blog-more-wrap .accordion-button:not(.collapsed) {
  background: transparent !important;
  border-color: transparent !important;
  color: #E73B4F !important;
  box-shadow: none !important;
  transform: none;
}

/* Prevent white controls and fixed template colours from losing contrast. */
[data-theme="dark"] .btn-light-custom {
  background: var(--n-primary) !important;
  border-color: var(--n-primary) !important;
  color: #fff !important;
}

[data-theme="dark"] .btn-light-custom:hover {
  background: var(--n-primary-dark) !important;
  border-color: var(--n-primary-dark) !important;
  color: #fff !important;
}

[data-theme="dark"] .btn-outline-primary {
  color: var(--n-primary-dark) !important;
  border-color: var(--n-primary) !important;
}

[data-theme="dark"] .btn-outline-primary:hover {
  color: #fff !important;
  background: var(--n-primary) !important;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
  background-color: var(--surface) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] .form-select option {
  background: var(--surface);
  color: var(--text-primary);
}

[data-theme="dark"] .pricing-card:not(.featured) .price,
[data-theme="dark"] .pricing-card:not(.featured) h3,
[data-theme="dark"] .pricing-card:not(.featured) p,
[data-theme="dark"] .pricing-card:not(.featured) li {
  color: var(--text-secondary);
}

[data-theme="dark"] .pricing-card:not(.featured) h3,
[data-theme="dark"] .pricing-card:not(.featured) .price {
  color: var(--text-primary);
}

/* Home editorial hero must remain full-bleed in both themes. */
.hero.hero-editorial {
  padding-top: 0;
  padding-bottom: 0;
  background: #101214;
}

[data-theme="dark"] .hero.hero-editorial {
  background: #101214;
}

/* Dark mode: keep all regular copy readable over dark surfaces. */
[data-theme="dark"] body,
[data-theme="dark"] p,
[data-theme="dark"] li,
[data-theme="dark"] small,
[data-theme="dark"] label,
[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .text-slate,
[data-theme="dark"] .text-secondary,
[data-theme="dark"] .stat-label,
[data-theme="dark"] .logo-cloud-item,
[data-theme="dark"] .card-premium p,
[data-theme="dark"] .card-premium li,
[data-theme="dark"] .testimonial-card p,
[data-theme="dark"] .footer-nexora p,
[data-theme="dark"] .footer-nexora a,
[data-theme="dark"] .navbar-nexora .nav-link {
  color: #fff !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .text-navy,
[data-theme="dark"] .section-title,
[data-theme="dark"] .card-title,
[data-theme="dark"] .navbar-brand-custom {
  color: #fff !important;
}

[data-theme="dark"] .hero-editorial-copy,
[data-theme="dark"] .hero-editorial-copy p,
[data-theme="dark"] .hero-editorial-meta,
[data-theme="dark"] .hero-editorial-scroll,
[data-theme="dark"] .hero-editorial-card,
[data-theme="dark"] .hero-editorial-card small,
[data-theme="dark"] .hero-editorial-card strong {
  color: #fff !important;
}

[data-theme="dark"] .hero-editorial h1 span {
  color: var(--n-primary) !important;
}

@media (max-width: 991.98px) {
  .theme-toggle {
    margin: 0.75rem 0 0.25rem;
  }
}

[data-theme="dark"] .clients-showcase-section {
  background: var(--bg-primary);
}

[data-theme="dark"] .clients-showcase,
[data-theme="dark"] .clients-logo-item {
  background: var(--surface);
  border-color: var(--border-color);
}

[data-theme="dark"] .clients-showcase h2 {
  color: var(--text-primary) !important;
}

/* Mission section - Marko inspired dark structure */
.mission-section {
  padding: var(--n-space-2xl) 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    #030304;
  background-size: 250px 250px;
  color: #d8d8dc;
  overflow: hidden;
}

.mission-card-stack {
  display: grid;
  gap: 1.35rem;
}

.mission-feature-card {
  --mission-hover: #0905d1;
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.25rem;
  min-height: 182px;
  padding: 2rem 2rem 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.mission-feature-card:nth-child(2) { --mission-hover: #298FCE; }
.mission-feature-card:nth-child(3) { --mission-hover: #2fd482; }

.mission-feature-card:hover {
  border-color: var(--mission-hover);
  box-shadow: 0 20px 54px rgba(204, 44, 255, 0.22), inset 0 0 0 1px color-mix(in srgb, var(--mission-hover) 36%, transparent);
  transform: translateY(-4px);
  animation: missionBorderShift 1.8s linear infinite;
}

.mission-icon-wrap {
  width: 88px;
  height: 88px;
  margin-left: -1px;
  align-self: center;
  border-radius: 22px;
  background: #0c0c0e;
  border: 1px solid rgba(204, 44, 255, 0.35);
  color: #0502bd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 22px rgba(2, 11, 131, 0.35);
}

.mission-icon-wrap i {
  font-size: 2.35rem;
}

.mission-feature-content {
  align-self: center;
}

.mission-feature-number {
  margin-bottom: 0.35rem;
  color: #1e05af;
  font-family: var(--n-font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.mission-section .is-visible .mission-feature-number,
.mission-feature-card.is-visible .mission-feature-number {
  opacity: 1;
  transform: translateY(0);
}

.mission-feature-card h3 {
  color: #f5f5f6;
  font-family: var(--n-font-display);
  font-size: clamp(1.45rem, 2vw, 2rem);
  margin-bottom: 1rem;
}

.mission-feature-card p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.mission-feature-card a,
.mission-cta-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #070bcf;
  font-weight: 800;
}

.mission-content {
  padding-top: 0.25rem;
}

.mission-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
  color: rgba(255, 255, 255, 0.72);
}

.mission-eyebrow i {
  color: #2f04c9;
  font-size: 1.4rem;
}

.mission-content h2 {
  max-width: 650px;
  color: #f5f5f6;
  font-family: var(--n-font-display);
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 1.05;
  margin-bottom: 1.6rem;
}

.mission-content > p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 1.1rem;
  line-height: 1.55;
  margin-bottom: 2.7rem;
}

.mission-image-wrap {
  position: relative;
  max-width: 690px;
  padding-bottom: 2.6rem;
}

.mission-image-wrap img {
  width: 100%;
  min-height: 330px;
  aspect-ratio: 1.38 / 1;
  object-fit: cover;
  border-radius: 0 0 22px 22px;
  display: block;
}

.mission-cta-card {
  position: absolute;
  right: -1rem;
  bottom: 0;
  width: min(360px, 76%);
  padding: 2rem;
  border-radius: 22px;
  background: #101012;
  border: 1px solid rgba(204, 44, 255, 0.32);
  box-shadow: 0 0 26px rgba(204, 44, 255, 0.28), 0 18px 42px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.mission-cta-card:hover {
  border-color: #298FCE;
  box-shadow: 0 0 30px rgba(93, 140, 255, 0.34), 0 18px 42px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}

.mission-cta-card h3 {
  color: #f5f5f6;
  font-family: var(--n-font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.45;
  margin-bottom: 1.6rem;
}

@keyframes missionBorderShift {
  0% { border-color: var(--mission-hover); }
  50% { border-color: #ffffff; }
  100% { border-color: var(--mission-hover); }
}

@media (max-width: 1199.98px) {
  .mission-feature-card {
    grid-template-columns: 82px 1fr;
    padding-right: 1.5rem;
  }

  .mission-icon-wrap {
    width: 76px;
    height: 76px;
  }
}

@media (max-width: 991.98px) {
  .mission-section {
    padding: var(--n-space-xl) 0;
  }

  .mission-content h2 {
    font-size: clamp(2.4rem, 9vw, 4rem);
  }

  .mission-cta-card {
    right: 1rem;
  }
}

@media (max-width: 575.98px) {
  .mission-feature-card {
    grid-template-columns: 1fr;
    padding: 1.4rem;
  }

  .mission-icon-wrap {
    margin-left: 0;
  }

  .mission-image-wrap {
    padding-bottom: 0;
  }

  .mission-cta-card {
    position: relative;
    right: auto;
    width: 100%;
    margin-top: 1rem;
  }

}

/* =====================================================
   PRODUCTS CATALOGUE
   ===================================================== */
.products-header {
  padding: 9rem 0 5rem;
  background: var(--n-bg);
  border-bottom: 1px solid var(--n-border);
  text-align: center;
}

.products-header h1 {
  max-width: 760px;
  margin: 0 auto 1rem;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.08;
}

.products-header p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.products-section {
  background: var(--bg-primary);
}

.products-catalogue .section-header {
  margin-bottom: 2.5rem;
}

.catalog-section {
  margin-top: 2.5rem;
  padding: 2.4rem 0;
  border-top: 1px solid var(--n-border);
  content-visibility: visible;
}

/* Product sections must remain available on touch devices even when the
   optional scroll-reveal observer is delayed or unavailable. */
.products-catalogue .catalog-section.reveal {
  opacity: 1;
  transform: none;
}

.catalog-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.catalog-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  color: var(--n-navy);
}

.catalog-kicker {
  color: var(--n-primary);
  font-family: var(--n-font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.catalog-card {
  min-width: 0;
  background: var(--n-white);
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-md);
  overflow: hidden;
  box-shadow: var(--n-shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--n-shadow-md);
  border-color: var(--n-primary);
}

.catalog-image {
  aspect-ratio: 4 / 3;
  background: var(--n-bg);
  overflow: hidden;
  padding: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #fff;
  content-visibility: auto;
}

/* Media and Production cards use the complete image area. */
.catalog-section-media .catalog-image,
.catalog-section-production .catalog-image {
  padding: 0;
}

.catalog-section-media .catalog-image img,
.catalog-section-production .catalog-image img {
  object-fit: cover;
}

.catalog-details {
  padding: 1.2rem;
}

@media (hover: none), (pointer: coarse) {
  .catalog-card:hover {
    transform: none;
    box-shadow: var(--n-shadow-sm);
    border-color: var(--n-border);
  }
}

.catalog-details h3 {
  margin: 0 0 .7rem;
  font-size: 1.08rem;
  color: var(--n-navy);
}

.catalog-details p {
  min-height: 3.5rem;
  margin-bottom: 1rem;
  color: var(--n-slate);
  font-size: .95rem;
}

.catalog-cta {
  display: block;
  width: 100%;
  padding: .8rem 1.2rem;
  text-align: center;
  background: var(--n-primary);
  color: var(--n-white);
  border-radius: var(--n-radius-sm);
  font-family: var(--n-font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .3s ease, transform .3s ease;
}

.catalog-cta:hover,
.catalog-cta:focus {
  background: var(--n-primary-dark);
  color: var(--n-white);
  text-decoration: none;
}

.products-cta {
  background: var(--n-bg);
  border-top: 1px solid var(--n-border);
}

.products-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.products-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: auto;
  min-width: 220px;
  padding: .8rem 1.4rem;
  font-size: .78rem;
}

.products-cta-button .bi {
  font-size: 1rem;
}

@media (max-width: 991.98px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .products-header {
    padding-top: 7.5rem;
    padding-bottom: 3.5rem;
  }

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

  .catalog-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .products-cta .btn-product {
    width: 100%;
  }
}

/* =====================================================
   PROJECT DETAIL PAGES
   ===================================================== */
.project-header-eyebrow { color: #fff; background: rgba(255,255,255,.12); }
.project-header-eyebrow::before { background: var(--n-primary); }
.project-feature-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--n-radius-lg); box-shadow: var(--n-shadow-lg); }
.project-intro-section { padding-bottom: var(--n-space-xl); }
.project-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0; padding: 1.25rem 0; border-top: 1px solid var(--n-border); border-bottom: 1px solid var(--n-border); }
.project-meta-grid div { display: flex; flex-direction: column; gap: .25rem; }
.project-meta-grid span, .gallery-heading span { color: var(--n-slate-light); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-meta-grid strong { color: var(--n-navy); font-family: var(--n-font-display); font-size: .95rem; }
.project-story-section { background: var(--n-bg); }
.project-lead { color: var(--n-navy); font-family: var(--n-font-display); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.45; }
.project-points { border-top: 1px solid var(--n-border); padding-top: 2rem; }
.project-point { height: 100%; padding: 1.5rem; background: var(--n-white); border: 1px solid var(--n-border); border-radius: var(--n-radius-md); }
.project-point i { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 1.25rem; border-radius: 14px; color: var(--n-primary); background: var(--n-bg-alt); font-size: 1.35rem; }
.project-point h3 { font-size: 1.2rem; }
.project-point p { margin-bottom: 0; }
.gallery-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 2.5rem 0 1.25rem; }
.gallery-heading h3 { margin: 0; font-size: 1.45rem; }
.project-gallery a { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--n-radius-md); background: var(--n-bg); }
.project-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.project-gallery a:hover img { transform: scale(1.05); }
.project-cta-eyebrow { color: rgba(255,255,255,.72); background: rgba(255,255,255,.1); }
.project-cta-eyebrow::before { background: var(--n-primary); }

@media (max-width: 575.98px) {
  .project-meta-grid { gap: .85rem; }
  .project-point { padding: 1.25rem; }
  .gallery-heading { margin-top: 2rem; }
}

/* =====================================================
   SOLUTIONS CARDS — needs to action
   ===================================================== */
.solutions-cards-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.solutions-grid { position: relative; z-index: 1; }

.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 365px;
  height: 100%;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--n-shadow-sm);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.solution-card:hover { transform: translateY(-7px); border-color: var(--border-color); box-shadow: var(--n-shadow-md); }

.solution-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 2.25rem;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-primary);
  background: var(--surface);
  font-size: 1.25rem;
  box-shadow: none;
}

.solution-card h3, .solution-card p, .solution-card-cta { position: relative; z-index: 1; }
.solution-card h3 { max-width: 290px; margin-bottom: .85rem; color: var(--text-primary); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; }
.solution-card p { max-width: 300px; margin-bottom: 2rem; color: var(--text-secondary); line-height: 1.6; }
.solution-card-cta { display: inline-flex; align-items: center; gap: .55rem; margin-top: auto; color: var(--n-secondary); font-family: var(--n-font-display); font-size: .85rem; font-weight: 700; }
.solution-card-cta:hover { color: var(--n-secondary); }
.solution-card-cta i { transition: transform .25s ease; }
.solution-card-cta:hover i { transform: translate(3px, -3px); }

[data-theme="dark"] .solutions-cards-section { background: var(--bg-primary); }
[data-theme="dark"] .solution-card { background: var(--surface); border-color: var(--border-color); box-shadow: var(--n-shadow-sm); }

@media (max-width: 575.98px) {
  .solution-card { min-height: 320px; padding: 1.5rem; border-radius: 22px; }
  .solution-icon { margin-bottom: 1.75rem; }
}

/* Comparison table adapted to needs and solutions */
.needs-solutions-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.need-solution-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--n-shadow-sm);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.need-solution-item:hover { transform: translateY(-6px); border-color: var(--border-color); box-shadow: var(--n-shadow-md); }
.need-solution-item h3, .need-solution-item p, .need-solution-cta, .need-solution-icon { position: relative; z-index: 1; }
.need-solution-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.6rem; border: 1px solid var(--border-color); border-radius: 14px; color: var(--text-primary); background: var(--surface); box-shadow: none; font-size: 1.2rem; }
.need-solution-item h3 { margin: 0 0 .8rem; color: var(--text-primary); font-family: var(--n-font-display); font-size: 1.2rem; line-height: 1.2; }
.need-solution-item p { max-width: 250px; margin: 0; color: var(--text-secondary); font-size: .9rem; line-height: 1.5; }
.need-solution-cta { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; color: var(--n-secondary); font-family: var(--n-font-display); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.need-solution-cta:hover { color: var(--n-secondary); }
.need-solution-cta i { transition: transform .25s ease; }
.need-solution-cta:hover i { transform: translate(3px, -3px); }

[data-theme="dark"] .need-solution-item { background: var(--surface); border-color: var(--border-color); box-shadow: var(--n-shadow-sm); }
[data-theme="dark"] .need-solution-icon { background: var(--surface); border-color: var(--border-color); }

/* =====================================================
   TEAM
   ===================================================== */
.team-section { background: var(--bg-primary); }
.team-card { max-width: 260px; height: 100%; overflow: hidden; border: 1px solid var(--border-color); border-radius: var(--n-radius-lg); background: var(--surface); box-shadow: var(--n-shadow-sm); transition: transform .3s ease, box-shadow .3s ease; margin: 0 auto; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--n-shadow-md); }
.team-card-image { width: 170px; height: 170px; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-secondary); border-radius: 50%; margin: 1rem auto .75rem; border: 2px solid var(--border-color); }
.team-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; transition: transform .45s ease; }
.team-card:hover .team-card-image img { transform: scale(1.03); }
.team-card-content { padding: 1rem 1.2rem 1.2rem; }
.team-card-content h3 { margin-bottom: .3rem; color: var(--text-primary); font-size: 1rem; }
.team-card-content span { display: block; margin-bottom: .7rem; color: var(--n-primary); font-family: var(--n-font-display); font-size: .70rem; font-weight: 700; letter-spacing: .07em; line-height: 1.4; text-transform: uppercase; }
.team-card-content p { margin: 0; color: var(--text-secondary); font-size: .84rem; line-height: 1.55; }
[data-theme="dark"] .team-card-image { background: var(--bg-secondary); }

.team-section .row.g-4 { --bs-gutter-x: 0.55rem; --bs-gutter-y: 0.55rem; }

@media (max-width: 575.98px) {
  .team-card { max-width: 220px; }
  .team-card-image { aspect-ratio: 1 / 1.08; }
  .team-card-content { padding: 1rem; }
}

@media (max-width: 991.98px) {
  .needs-solutions-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .needs-solutions-list { grid-template-columns: 1fr; }
  .need-solution-item { min-height: 235px; padding: 1.5rem; }
  .need-solution-icon { margin-bottom: 1.25rem; }
}
