/**
 * Nori.mx - Luxury Tech Studio Theme
 * Custom software development since 2004
 * Fonts loaded via <link> in head.php to avoid render-blocking @import
 */

/* ========================================
   DESIGN TOKENS
   ======================================== */
:root {
  --nori-bg: #08080c;
  --nori-bg-surface: #111118;
  --nori-bg-elevated: #1a1a24;
  --nori-primary: #7c3aed;
  --nori-primary-dark: #6d28d9;
  --nori-primary-glow: rgba(124, 58, 237, 0.15);
  --nori-accent: #f59e0b;
  --nori-accent-glow: rgba(245, 158, 11, 0.15);
  --nori-text: #eeeef0;
  --nori-text-muted: #8b8b9e;
  --nori-text-dim: rgba(255, 255, 255, 0.4);
  --nori-border: rgba(255, 255, 255, 0.06);
  --nori-shadow: 0 0 40px rgba(124, 58, 237, 0.06);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  line-height: 1.6;
  font-family: "Space Grotesk", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  color: var(--nori-text-muted);
  font-weight: 400;
  background-color: var(--nori-bg);
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--nori-text);
}

h1, .h1 {
  font-size: 2.5rem;
}

h2, .h2 {
  font-size: 44px;
  line-height: 1.3;
}

h3, .h3 {
  font-size: 1.5rem;
}

h4, .h4 {
  font-size: 1.3rem;
  line-height: 30px;
}

h5, .h5 {
  font-size: 1.25rem;
}

h6, .h6 {
  font-size: 1rem;
}

p {
  line-height: 30px;
}

/* ========================================
   ENTRANCE ANIMATIONS
   ======================================== */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Text reveal — letter by letter */
@keyframes charReveal {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* text-reveal: no CSS hiding — JS handles everything */

.text-reveal-char {
  display: inline-block;
  opacity: 0;
  -webkit-animation: charReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation: charReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

/* Wave canvas */
#wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Meteor race canvas */
#meteor-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

@keyframes heroPulseGlow {
  0%, 100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.08);
  }
}

@keyframes gridDrift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 40px;
  }
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4), 0 4px 20px var(--nori-primary-glow);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(124, 58, 237, 0), 0 4px 20px var(--nori-primary-glow);
  }
}

.reveal {
  animation: revealUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.3s; }
.reveal-delay-4 { animation-delay: 0.4s; }
.reveal-delay-5 { animation-delay: 0.5s; }
.reveal-delay-6 { animation-delay: 0.6s; }

/* ========================================
   FORMS
   ======================================== */
.navbar-toggle .icon-bar {
  background: var(--nori-primary);
}

input[type=email],
input[type=password],
input[type=text],
input[type=tel] {
  box-shadow: none;
  height: 45px;
  outline: none;
  font-size: 14px;
  background: var(--nori-bg-surface);
  border: 1px solid var(--nori-border);
  color: var(--nori-text);
  font-family: "Space Grotesk", sans-serif;
}

.form-control {
  box-shadow: none;
  border-radius: 0;
}
.form-control:focus {
  box-shadow: none;
  border: 1px solid var(--nori-primary);
}

/* ========================================
   SPACING UTILITIES
   ======================================== */
.py-7 {
  padding: 7rem 0px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-block;
  font-size: 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.7rem 2rem;
  text-transform: uppercase;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.35s ease;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
}
.btn.btn-icon i {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 5px;
}
.btn:focus {
  outline: 0px;
  box-shadow: none;
}

.btn-main {
  background: var(--nori-primary);
  color: #fff;
  border-color: var(--nori-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 8px rgba(124, 58, 237, 0.25);
}
.btn-main:hover {
  background: var(--nori-primary-dark);
  color: #fff;
  border-color: var(--nori-primary-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-main-2 {
  background: var(--nori-primary);
  color: #fff;
  border-color: var(--nori-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn-main-2:hover {
  background: var(--nori-primary-dark);
  color: #fff;
  border-color: var(--nori-primary-dark);
}

/* Hero primary CTA — amber accent button */
.btn-cta-hero {
  background: var(--nori-accent);
  color: #08080c;
  border-color: var(--nori-accent);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 20px var(--nori-accent-glow);
  animation: ctaPulse 2.8s ease-in-out infinite;
}
.btn-cta-hero:hover {
  background: #d97706;
  color: #08080c;
  border-color: #d97706;
  box-shadow: 0 4px 24px rgba(245, 158, 11, 0.5);
  animation: none;
}

.btn-solid-border {
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--nori-text);
}
.btn-solid-border:hover {
  border-color: var(--nori-accent);
  color: var(--nori-accent);
  background: var(--nori-accent-glow);
}

.btn-transparent {
  background: transparent;
  color: var(--nori-text);
  border-color: var(--nori-text-muted);
}
.btn-transparent:hover {
  background: var(--nori-bg-elevated);
  color: #fff;
}

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

.btn-solid-white {
  border-color: #fff;
  color: #fff;
}
.btn-solid-white:hover {
  background: #fff;
  color: var(--nori-bg);
}

/* CTA section button — amber for maximum contrast */
.btn-cta-amber {
  background: var(--nori-accent);
  color: #08080c;
  border-color: var(--nori-accent);
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 20px var(--nori-accent-glow);
}
.btn-cta-amber:hover {
  background: #d97706;
  color: #08080c;
  border-color: #d97706;
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.45);
}

.btn-round {
  border-radius: 4px;
}

.btn-round-full {
  border-radius: 50px;
}

.btn.active:focus,
.btn:active:focus,
.btn:focus {
  outline: 0;
}

/* ========================================
   BACKGROUNDS
   ======================================== */
.bg-gray {
  background: var(--nori-bg-surface);
}

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

.bg-primary-dark {
  background: var(--nori-primary-dark);
}

.bg-primary-darker {
  background: #3730a3;
}

.bg-dark {
  background: var(--nori-bg);
}

.bg-gradient {
  background-image: linear-gradient(145deg, rgba(124, 58, 237, 0.95) 0%, rgba(245, 158, 11, 0.95) 100%);
  background-repeat: repeat-x;
}

/* ========================================
   LAYOUT
   ======================================== */
.section {
  padding: 100px 0;
}

.section-sm {
  padding: 70px 0;
}

.section-title {
  margin-bottom: 70px;
}
.section-title .title {
  font-size: 50px;
  line-height: 50px;
}
.section-title p {
  color: var(--nori-text-muted);
  font-family: "Space Grotesk", sans-serif;
}

.subtitle {
  color: var(--nori-primary);
  font-size: 14px;
  letter-spacing: 1px;
}

.overly {
  position: relative;
}
.overly:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background: #000;
}

.overly-2 {
  position: relative;
}
.overly-2:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

/* ========================================
   TYPOGRAPHY UTILITIES
   ======================================== */
.text-sm {
  font-size: 14px;
}

.text-md {
  font-size: 2.25rem;
}

.text-lg {
  font-size: 3.75rem;
}

.no-spacing {
  letter-spacing: 0px;
}

.lh-13 {
  line-height: 1.3;
}

/* Links */
a {
  color: var(--nori-text);
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

a:focus,
a:hover {
  color: var(--nori-primary);
  text-decoration: none;
}

a:focus {
  outline: none;
}

.content-title {
  font-size: 40px;
  line-height: 50px;
}

/* ========================================
   PAGE TITLE / PAGE HEADERS
   ======================================== */
.page-title {
  padding: 190px 0px 60px 0px;
  position: relative;
  overflow: hidden;
}
.page-title .block h1 {
  color: #fff;
}
.page-title .block p {
  color: #fff;
}
.page-title .breadcumb-nav {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Page header decorative orb */
.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Noise texture overlay for page headers */
.page-title::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 2;
}

.page-title .container {
  position: relative;
  z-index: 3;
}

.slick-slide:focus,
.slick-slide a {
  outline: none;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */
@media (max-width: 575px) {
  h2,
  .h2 {
    font-size: 1.8rem;
    line-height: 42px;
  }
}
@media screen and (min-width: 1216px) {
  .container:not(.is-max-desktop) {
    max-width: 1140px;
  }
}
@media (max-width: 1023px) {
  .container {
    max-width: 765px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
}

.container,
.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

.container-fluid {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.heading {
  display: block;
  font-size: unset;
  letter-spacing: unset;
  margin-bottom: 90px;
  text-transform: unset;
}

.column {
  padding: 15px;
}

.columns {
  margin-left: -15px;
  margin-right: -15px;
  margin-top: -15px;
}

.columns:last-child {
  margin-bottom: -15px;
}

.list-inline {
  padding-left: 0;
  list-style: none;
}
.list-inline .list-inline-item {
  display: inline-block;
}
.list-inline .list-inline-item:not(:last-child) {
  margin-right: 0.5rem;
}

.w-100 {
  width: 100%;
}

.ml-auto {
  margin-left: auto !important;
}

.text-white {
  color: #fff;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5);
}

.bg-white {
  background-color: var(--nori-bg-elevated);
}

.rounded {
  border-radius: 4px;
}

.bg-light {
  background-color: var(--nori-bg-surface);
}

/* ========================================
   FORM INPUTS (Bulma .input)
   ======================================== */
.input {
  border-radius: 8px;
  box-shadow: unset;
  padding-left: 15px;
  padding-right: 15px;
  background: var(--nori-bg-surface);
  border-color: var(--nori-border);
  color: var(--nori-text);
  font-family: "Space Grotesk", sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input:focus {
  box-shadow: none;
  border: 1px solid var(--nori-primary) !important;
  border-left: 3px solid var(--nori-primary) !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08) !important;
  outline: none;
}
.input::placeholder {
  color: var(--nori-text-muted);
}

select.input {
  background: var(--nori-bg-surface);
  color: var(--nori-text-muted);
  border-radius: 8px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b8b9e' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
select.input option {
  background: var(--nori-bg-elevated);
  color: var(--nori-text);
}

textarea.input {
  padding-top: 15px;
  min-height: 150px;
  border-radius: 8px;
  resize: vertical;
}

/* Contact form submit full-width on mobile */
@media (max-width: 575px) {
  .contact__form .btn {
    width: 100%;
    text-align: center;
  }
}

.media img {
  max-width: initial;
}

.lead {
  font-size: 1.25rem;
}

/* ========================================
   WORK / PORTFOLIO SECTION
   ======================================== */
#wrapper-work {
  overflow: hidden;
  padding-top: 100px;
}
#wrapper-work ul li {
  width: 50%;
  float: left;
  position: relative;
}
#wrapper-work ul li img {
  width: 100%;
  height: 100%;
}
#wrapper-work ul li .items-text {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding-left: 44px;
  padding-top: 140px;
}
#wrapper-work ul li .items-text h2 {
  padding-bottom: 28px;
  padding-top: 75px;
  position: relative;
}
#wrapper-work ul li .items-text h2:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 75px;
  height: 3px;
  background: #fff;
}
#wrapper-work ul li .items-text p {
  padding-top: 30px;
  font-size: 16px;
  line-height: 27px;
  font-weight: 300;
  padding-right: 80px;
}

#features-work {
  padding-top: 50px;
  padding-bottom: 75px;
}
#features-work .block ul li {
  width: 19%;
  text-align: center;
  display: inline-block;
  padding: 40px 0px;
}

.navigation .btn {
  box-shadow: none;
}

/* ========================================
   NAVBAR — GLASSMORPHISM
   ======================================== */
@media (max-width: 1023px) {
  .navbar-brand .navbar-item {
    padding-left: 0;
  }
}
.navbar-brand .navbar-item img {
  max-height: unset;
}

.navbar-burger {
  height: 3rem;
  width: 3rem;
  border: 0;
  margin-top: 0;
  outline: 0 !important;
  color: var(--nori-text);
  align-self: center;
}
.navbar-burger span {
  background-color: var(--nori-text) !important;
}
.navbar-burger:hover {
  background-color: transparent !important;
}

.navbar {
  background-color: transparent;
}

@media (max-width: 1023px) {
  .navbar-menu {
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1.3rem;
    background: rgba(17, 17, 24, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .navbar-menu .navbar-start > .navbar-item {
    padding: 0 !important;
  }
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5658;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(8, 8, 12, 0.8);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

#navbar.navbar-hidden {
  transform: translateY(-100%);
  opacity: 0;
}
#navbar .navbar-link {
  padding-left: 26px;
  font-weight: 500;
  color: var(--nori-text);
  font-family: "Space Grotesk", sans-serif;
  text-transform: capitalize;
  font-size: 18px;
  padding: 8px !important;
  transition: all 0.25s ease;
}
#navbar .navbar-link:hover {
  color: var(--nori-primary) !important;
  background-color: transparent !important;
}

.navbar-item.has-dropdown:hover .navbar-link {
  background-color: transparent !important;
  color: var(--nori-primary) !important;
}

.navbar-brand {
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}

/* Navbar toggle buttons (theme + language) */
.nav-toggle-btn {
  background: transparent;
  border: 1px solid var(--nori-border);
  color: var(--nori-text-muted);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.3s ease;
  padding: 0;
}
.nav-toggle-btn:hover {
  border-color: var(--nori-primary);
  color: var(--nori-primary);
  background: var(--nori-primary-glow);
}
.nav-lang-btn {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
}

@media (max-width: 1023px) {
  .nav-toggle-btn {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
  .navbar-end {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
}

/* Logo */
.nori-logo {
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nori-logo:hover {
  color: inherit;
}

/* Logo mark — neural symbol */
.nori-logo-mark {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.nori-logo-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: var(--nori-primary);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.6), 0 0 24px rgba(124, 58, 237, 0.2);
  transition: all 0.4s ease;
}
.nori-logo:hover .nori-logo-core {
  background: var(--nori-accent);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.7), 0 0 28px rgba(245, 158, 11, 0.25);
}

/* Orbiting dots */
.nori-logo-dot {
  position: absolute;
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.nori-logo-dot--1 {
  width: 5px;
  height: 5px;
  top: 1px;
  left: 2px;
  background: var(--nori-accent);
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}
.nori-logo-dot--2 {
  width: 4px;
  height: 4px;
  top: 3px;
  right: 1px;
  background: var(--nori-primary);
  opacity: 0.7;
}
.nori-logo-dot--3 {
  width: 5px;
  height: 5px;
  bottom: 2px;
  right: 4px;
  background: var(--nori-accent);
  opacity: 0.8;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.3);
}

/* Dots orbit on hover */
.nori-logo:hover .nori-logo-dot--1 {
  top: -2px;
  left: 5px;
}
.nori-logo:hover .nori-logo-dot--2 {
  top: 0px;
  right: -2px;
}
.nori-logo:hover .nori-logo-dot--3 {
  bottom: -1px;
  right: 1px;
}

/* Ring around core */
.nori-logo-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 1px solid var(--nori-primary);
  border-radius: 50%;
  opacity: 0.25;
  transition: all 0.4s ease;
}
.nori-logo:hover .nori-logo-mark::before {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-color: var(--nori-accent);
  opacity: 0.35;
}

/* Connection lines via gradient */
.nori-logo-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: 1px dashed var(--nori-primary);
  border-radius: 50%;
  opacity: 0.12;
  animation: logoSpin 12s linear infinite;
}

@keyframes logoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hide CSS pseudo-elements when canvas is active */
.nori-logo-mark--canvas::before,
.nori-logo-mark--canvas::after {
  display: none !important;
}

/* Logo text */
.nori-logo-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
  color: var(--nori-text);
  line-height: 1;
  transition: all 0.3s ease;
}
.nori-logo-mx {
  background: linear-gradient(135deg, var(--nori-primary) 0%, var(--nori-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nori-logo:hover .nori-logo-text {
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
}

.navbar-dropdown {
  visibility: hidden;
  filter: alpha(opacity=0);
  opacity: 0;
  transition: all 0.2s ease-in, visibility 0s linear 0.2s, transform 0.2s linear;
  width: 250px;
  padding: 8px 0;
  border-radius: 0px;
  display: block;
  border: 1px solid var(--nori-border);
  background: rgba(17, 17, 24, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (max-width: 1023px) {
  .navbar-dropdown {
    visibility: visible;
    filter: alpha(opacity=1);
    opacity: 1;
    display: none;
    margin-left: auto;
    margin-right: auto;
  }
}

.navbar-link::after {
  display: none !important;
}

.has-dropdown:hover .navbar-dropdown {
  visibility: visible;
  transition: all 0.45s ease 0s;
  opacity: 1;
}

.navbar-dropdown .navbar-item {
  padding: 0.7rem 1.5rem;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--nori-text-muted);
}
.navbar-dropdown .navbar-item:hover {
  background: var(--nori-primary) !important;
  color: #fff !important;
}

ul.dropdown-menu li {
  padding-left: 0px !important;
}

#navbar.nav-text-white .navbar-link,
#navbar.nav-text-white .navbar-brand {
  color: #fff;
}
@media (max-width: 1023px) {
  #navbar.nav-text-white .navbar-link,
  #navbar.nav-text-white .navbar-brand {
    color: var(--nori-text);
  }
}

.navbar-item.has-dropdown {
  padding: 0.5rem 0.75rem;
}

/* ========================================
   PAGE HEADER BACKGROUND (bg-1)
   ======================================== */
.bg-1 {
  background: linear-gradient(160deg, var(--nori-bg) 0%, var(--nori-bg-elevated) 100%);
  background-size: cover;
  position: relative;
}

/* Neural canvas in page headers */
.neural-header-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.page-title .container {
  position: relative;
  z-index: 3;
}

.bg-2 {
  background: var(--nori-bg-surface);
  background-size: cover;
}

/* ========================================
   HERO / BANNER
   ======================================== */
.banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--nori-bg) 0%, var(--nori-bg-elevated) 100%);
  padding: 120px 0px;
}

/* Neural network canvas */
#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 0;
}

/* Fallback dot grid for prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  #neural-canvas {
    display: none;
  }
  .banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(124, 58, 237, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  }
}

/* Glow orb behind headline */
.hero-glow {
  position: absolute;
  top: 15%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.18) 0%, rgba(124, 58, 237, 0.06) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: heroPulseGlow 6s ease-in-out infinite;
}

/* Ensure hero content sits above canvas and decorative layers */
.banner .container {
  position: relative;
  z-index: 2;
}
.banner .block,
.banner .block * {
  position: relative;
  z-index: 3;
}

@media (max-width: 575px) {
  .banner {
    padding: 80px 0px;
  }
}
.banner .block {
  padding-top: 120px;
}
@media (max-width: 575px) {
  .banner .block {
    padding-top: 100px;
  }
}
.banner .block h1 {
  font-size: 75px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.5px;
  text-transform: none;
  color: var(--nori-text);
  font-family: "Space Grotesk", sans-serif;
}
/* Gradient applied to each animated letter span so it works with text-reveal */
.banner .block h1 .text-reveal-char {
  background: linear-gradient(135deg, var(--nori-text) 0%, rgba(245, 158, 11, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.banner .block span.text-sm {
  color: var(--nori-primary);
}

.letter-spacing {
  letter-spacing: 2px;
}

.text-color {
  color: var(--nori-primary);
}

@media (max-width: 1215px) {
  .banner {
    background: linear-gradient(135deg, var(--nori-bg) 0%, var(--nori-bg-elevated) 100%) !important;
  }
}
@media (max-width: 1023px) {
  .banner {
    background: linear-gradient(135deg, var(--nori-bg) 0%, var(--nori-bg-elevated) 100%) !important;
  }
}
@media (max-width: 768px) {
  .banner .block h1 {
    font-size: 56px;
    line-height: 70px;
  }
  .banner {
    background: linear-gradient(135deg, var(--nori-bg) 0%, var(--nori-bg-elevated) 100%) !important;
  }
}
@media (max-width: 575px) {
  .banner .block h1 {
    font-size: 38px;
    line-height: 50px;
  }
  .banner {
    background: linear-gradient(135deg, var(--nori-bg) 0%, var(--nori-bg-elevated) 100%) !important;
  }
}
@media (max-width: 400px) {
  .banner .block h1 {
    font-size: 28px;
    line-height: 40px;
  }
  .banner {
    background: linear-gradient(135deg, var(--nori-bg) 0%, var(--nori-bg-elevated) 100%) !important;
  }
}

/* ========================================
   ABOUT / PROCESS
   ======================================== */
.about-item i {
  font-size: 50px;
  color: var(--nori-primary);
}
.about-item a {
  color: var(--nori-primary);
  font-weight: 500;
}
.about-item .icon {
  float: left;
  height: unset;
  width: unset;
}
.about-item .content {
  padding-left: 80px;
}

.about {
  background: var(--nori-bg);
}

.process {
  position: relative;
  background: var(--nori-bg);
}
.process:before {
  display: none;
}

/* ========================================
   ICON BLOCKS
   ======================================== */
.icon-block {
  padding: 50px 40px;
  background: var(--nori-bg-surface);
  border-radius: 10px;
  border: 1px solid var(--nori-border);
  box-shadow: var(--nori-shadow);
  transition: all 0.3s ease;
}
.icon-block:hover {
  border-color: var(--nori-primary);
  transform: translateY(-4px);
}

/* About page — industry cards (no client names) */
.about-industry-card {
  padding: 32px 28px;
  background: var(--nori-bg-elevated);
  border-radius: 10px;
  border: 1px solid var(--nori-border);
  transition: all 0.3s ease;
  height: 100%;
}
.about-industry-card:hover {
  border-color: var(--nori-primary);
  transform: translateY(-2px);
}
.about-industry-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 16px;
}
.about-industry-card h5 {
  margin-top: 0;
  margin-bottom: 12px;
}
.about-industry-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.icon-block i {
  font-size: 35px;
  background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.25), rgba(124, 58, 237, 0.08));
  width: 70px;
  height: 70px;
  text-align: center;
  padding-top: 16px;
  border-radius: 10px;
  display: inline-block;
  color: var(--nori-primary);
}
.icon-block h5 {
  margin-top: 25px;
  margin-bottom: 15px;
}
.icon-block p {
  margin-bottom: 0px;
}

.feature-list ul li {
  margin-bottom: 15px;
  color: var(--nori-text);
}
.feature-list ul li i {
  color: var(--nori-accent);
}

/* ========================================
   VIDEO
   ======================================== */
.video-img {
  position: relative;
}
.video-img video {
  border-radius: 10px;
  width: 100%;
}
.video-img .video-play {
  position: absolute;
  content: "";
  left: 0px;
  right: 0px;
  top: 50%;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  margin-top: -50px;
  text-align: center;
}
.video-img .video-play i {
  font-size: 30px;
  width: 100px;
  height: 100px;
  background: var(--nori-bg-surface);
  color: var(--nori-primary);
  border-radius: 100%;
  text-align: center;
  display: inline-block;
  line-height: 100px;
  box-shadow: var(--nori-shadow);
}

.award-img-block {
  height: 160px;
  border: 1px solid var(--nori-border);
  align-items: center;
  display: flex;
  justify-content: center;
  background: var(--nori-bg-surface);
}

.video-play:hover {
  cursor: pointer;
}

/* ========================================
   SPACING HELPERS
   ======================================== */
.mt-30 {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .custom-grid .mt-30 {
    margin-top: 0 !important;
  }
  .custom-grid .pb-0 {
    padding-bottom: 15px !important;
  }
  .custom-grid .pt-0 {
    padding-top: 15px !important;
  }
}

/* ========================================
   FEATURE / COUNTER
   ======================================== */
.feature {
  background: linear-gradient(to bottom, var(--nori-primary), var(--nori-accent));
}

.feature-block {
  background: var(--nori-bg-surface);
  padding: 30px;
  text-align: center;
}
.feature-block i {
  font-size: 40px;
  color: var(--nori-primary);
}
.feature-block h5 {
  margin-top: 20px;
}

.counter {
  background: linear-gradient(135deg, var(--nori-primary) 0%, #a78bfa 100%);
}
.counter .counter-item h2 {
  color: #fff;
}
.counter .counter-item p {
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0px;
}

.counter--style i {
  font-size: 40px;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  color: #fafafa;
  background: var(--nori-primary);
  display: inline-block;
  padding-top: 28px;
}

/* ========================================
   TEAM / PORTFOLIO
   ======================================== */
.team-block img {
  border-radius: 5px;
}

.service-item-list {
  padding: 15px 30px;
  background: var(--nori-bg-surface);
  box-shadow: var(--nori-shadow);
  border: 1px solid var(--nori-border);
  border-radius: 5px;
  margin: 0 0 20px;
}
.service-item-list i {
  font-size: 30px;
  line-height: 1.1;
  margin-right: 20px;
  float: left;
  color: var(--nori-primary);
}
.service-item-list p {
  padding-left: 50px;
  line-height: 1.6;
  margin-bottom: 0px;
  color: var(--nori-text);
}

.mb-50 {
  margin-bottom: 50px;
}

.content-padding {
  padding: 100px 0px;
}

.service-img {
  padding-right: 20px;
}
.service-img img {
  border-radius: 10px;
  box-shadow: var(--nori-shadow);
}

.case-img,
.case-content {
  padding: 30px;
}
@media (max-width: 768px) {
  .case-img,
  .case-content {
    padding: 0;
  }
}

.case-timeline {
  position: relative;
}
@media (max-width: 768px) {
  .case-timeline {
    margin-bottom: 60px;
  }
}

.case-timeline-divider {
  display: block;
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 2px;
  height: auto;
  margin-left: -1px;
  background-color: var(--nori-border);
}

.case-timeline-dot {
  display: block;
  position: absolute;
  top: calc(50% - 10px);
  left: 50%;
  z-index: 1;
  content: " ";
  width: 20px;
  height: 20px;
  margin-left: -10px;
  background-color: var(--nori-bg-surface);
  border-width: 5px;
  border-style: solid;
  border-color: var(--nori-primary);
  border-radius: 50%;
}

.mh-100 {
  min-height: 100%;
}

@media (max-width: 575px) {
  .case-timeline-dot,
  .case-timeline-divider {
    display: none;
  }
}
@media (max-width: 768px) {
  .case-timeline-dot,
  .case-timeline-divider {
    display: none;
  }
}
@media (max-width: 1023px) {
  .case-timeline-dot,
  .case-timeline-divider {
    display: none;
  }
}

/* ========================================
   CTA SECTIONS
   ======================================== */
.cta {
  background: linear-gradient(135deg, var(--nori-bg-elevated) 0%, var(--nori-bg-surface) 100%);
  position: relative;
}

.cta-content {
  padding: 40px;
  background: var(--nori-bg-surface);
  border: 1px solid var(--nori-border);
  border-radius: 10px;
}
@media (max-width: 575px) {
  .cta-content {
    padding: 40px 25px;
  }
}

.mb-30 {
  margin-bottom: 30px;
}

.text-color-primary {
  color: var(--nori-primary);
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-wrap {
  margin-right: -10%;
  margin-top: -30px;
}

.testimonial-block {
  margin: 0px 10px;
  padding: 30px 0px;
  margin-left: 12px;
  padding-left: 15px;
  padding-right: 0px;
}
.testimonial-block p {
  background: var(--nori-bg-surface);
  box-shadow: var(--nori-shadow);
  padding: 60px 40px;
  position: relative;
  margin-bottom: 30px;
  font-size: 18px;
  border: 1px solid var(--nori-border);
}
.testimonial-block p:after {
  position: absolute;
  content: "";
  left: 20px;
  bottom: -20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 25px 30px 0 0;
  border-color: var(--nori-bg-surface) transparent transparent;
}
.testimonial-block .client-info .client-img {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}
.testimonial-block .client-info .client-img img {
  border-radius: 100%;
}
.testimonial-block .client-info .info h6 {
  margin-bottom: 0px;
}

@media (max-width: 575px) {
  .testimonial-wrap {
    margin-left: 0px;
  }
}
@media (max-width: 768px) {
  .testimonial-wrap {
    margin-left: 0px;
  }
}
@media (max-width: 1023px) {
  .testimonial-wrap {
    margin-left: 0px;
  }
}

/* ========================================
   PRICING
   ======================================== */
.pricing-block {
  padding: 20px 0px 50px 0px;
  border-top: 7px solid var(--nori-primary);
  border-radius: 10px;
  box-shadow: var(--nori-shadow);
  background: var(--nori-bg-surface);
  border: 1px solid var(--nori-border);
}
.pricing-block .price-header {
  padding: 30px 0px;
}
.pricing-block .price-header h2 {
  font-weight: 700;
  margin: 15px 0px;
}
.pricing-block .price-body {
  padding: 30px 0px;
  border-top: 2px solid var(--nori-border);
  border-bottom: 2px solid var(--nori-border);
  margin-bottom: 30px;
}
.pricing-block .price-body ul li {
  padding: 10px 0px;
}
.pricing-block .price-footer {
  margin-bottom: 30px;
}

/* ========================================
   PORTFOLIO
   ======================================== */
.text-underline {
  text-decoration: underline;
}

.portfolio {
  position: relative;
}
.portfolio:before {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  width: 100%;
  height: 500px;
  background-color: var(--nori-bg-surface);
}

.portflio-item:before {
  content: " ";
  display: block;
  left: 0;
  height: 100%;
  width: 0%;
  position: absolute;
  transition: all 0.25s cubic-bezier(0.86, 0, 0.07, 1);
  background: rgba(124, 58, 237, 0.95);
  opacity: 0;
  overflow: hidden;
}
.portflio-item .portfolio-item-content {
  position: absolute;
  content: "";
  left: 30px;
  bottom: 0px;
  opacity: 0;
  transition: all 0.35s ease;
}
.portflio-item:hover:before {
  opacity: 1;
  width: 100%;
}
.portflio-item:hover .portfolio-item-content {
  opacity: 1;
  bottom: 20px;
}
.portflio-item .overlay-item {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  bottom: 0px;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #fff;
  opacity: 0;
  transition: all 0.35s ease;
}
.portflio-item .overlay-item i {
  width: 80px;
  height: 80px;
  text-align: center;
  border-radius: 100%;
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  line-height: 80px;
}
.portflio-item:hover .overlay-item {
  opacity: 1;
}

.portfolio-gallery {
  padding: 0px 30px;
}

.project-info-list {
  margin-top: 25px;
}
.project-info-list li {
  margin-bottom: 13px;
}
.project-info-list li strong {
  font-weight: 500;
  color: var(--nori-text);
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-form-wrap .form-group {
  padding-bottom: 15px;
  margin: 0px;
}
.contact-form-wrap .form-group .form-control {
  height: 48px;
  border: 1px solid var(--nori-border);
  border-radius: 8px;
  box-shadow: none;
  width: 100%;
  background: var(--nori-bg-surface);
  color: var(--nori-text);
}
.contact-form-wrap .form-group-2 {
  margin-bottom: 13px;
}
.contact-form-wrap .form-group-2 textarea {
  height: 135px;
  border: 1px solid var(--nori-border);
  border-radius: 8px;
  box-shadow: none;
  width: 100%;
  background: var(--nori-bg-surface);
  color: var(--nori-text);
}

/* ========================================
   ADDRESS / CONTACT INFO
   ======================================== */
.address-block li {
  margin-bottom: 15px;
  color: var(--nori-text-muted);
}
.address-block li i {
  font-size: 20px;
  width: 20px;
  color: var(--nori-primary);
}

.short-info li {
  margin-bottom: 25px;
}

/* ========================================
   SOCIAL ICONS
   ======================================== */
.social-icons li {
  margin: 0 6px;
}
.social-icons a {
  margin-right: 10px;
  font-size: 18px;
  color: var(--nori-text-muted);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.social-icons a:hover {
  color: #fff;
  background: var(--nori-primary);
}

/* ========================================
   MAP
   ======================================== */
.google-map {
  position: relative;
}

.google-map #map {
  width: 100%;
  height: 450px;
  border-radius: 10px;
}

.short-info {
  padding: 40px;
  border: 1px solid var(--nori-border);
  background: var(--nori-bg-surface);
  border-radius: 10px;
}
.short-info h5 {
  color: var(--nori-text);
}

.mt-90 {
  margin-top: 90px;
}

/* ========================================
   BLOG
   ======================================== */
.blog-thumb {
  width: 70%;
  margin-right: 40px;
}

.blog-item-content {
  padding: 20px;
}
.blog-item-content h3 {
  font-weight: 500;
}

.nav-links .page-numbers {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  background: var(--nori-bg-surface);
  text-align: center;
  padding-top: 13px;
  font-weight: 600;
  margin-right: 10px;
  color: var(--nori-text);
}
.nav-links .page-numbers:hover {
  background: var(--nori-primary);
  color: #fff;
}

.comment-area .comment-thumb {
  margin-right: 20px;
  margin-bottom: 10px;
}
.comment-area .comment-thumb img {
  width: 70px;
  border-radius: 5px;
  max-width: unset;
}
.comment-area h5 {
  font-size: 18px;
  font-weight: 500;
}
.comment-area span {
  font-size: 14px;
}

.posts-nav h6 {
  font-weight: 500;
}

.quote {
  font-size: 22px;
  color: var(--nori-text);
  padding: 40px;
  font-style: italic;
  background: var(--nori-bg-surface);
  border-left: 5px solid var(--nori-primary);
  margin: 25px 0px;
}

.comment-form .input {
  background: var(--nori-bg-surface);
  border-radius: 8px;
  border-color: var(--nori-border);
  height: 50px;
  color: var(--nori-text);
}
.comment-form textarea.input {
  height: auto;
}

@media (max-width: 575px) {
  .blog-thumb {
    width: 100%;
    float: none;
    margin-right: 0px;
    margin-bottom: 15px;
  }
  .blog-thumb img {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .blog-thumb {
    width: 100%;
    float: none;
    margin-right: 0px;
    margin-bottom: 15px;
  }
  .blog-thumb img {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .tag-option {
    display: block;
  }
}

.posts-nav .border {
  border: 1px solid var(--nori-border);
  height: 80px;
}
@media (max-width: 768px) {
  .posts-nav .border {
    height: 2px;
    width: 100%;
    margin: 30px 0;
  }
}
@media (max-width: 768px) {
  .posts-nav {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .tag-option {
    display: block !important;
  }
  .tag-option .list-inline:first-child {
    margin-bottom: 20px;
  }
}

@media (max-width: 575px) {
  .comment-content,
  .comment-area-box {
    display: block !important;
  }
}

.post.post-single {
  border: none;
}
.post.post-single .post-thumb {
  margin-top: 30px;
}

.post-sub-heading {
  border-bottom: 1px solid var(--nori-border);
  padding-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 20px;
}

.post-social-share {
  margin-bottom: 50px;
}

.post-comments {
  margin: 30px 0;
}
.post-comments .media {
  margin-top: 20px;
}
.post-comments .media > .pull-left {
  padding-right: 20px;
}
.post-comments .comment-author {
  margin-top: 0;
  margin-bottom: 0px;
  font-weight: 500;
}
.post-comments .comment-author a {
  color: var(--nori-primary);
  font-size: 14px;
  text-transform: uppercase;
}
.post-comments time {
  margin: 0 0 5px;
  display: inline-block;
  color: var(--nori-text-muted);
  font-size: 12px;
}
.post-comments .comment-button {
  color: var(--nori-primary);
  display: inline-block;
  margin-left: 5px;
  font-size: 12px;
}
.post-comments .comment-button i {
  margin-right: 5px;
  display: inline-block;
}
.post-comments .comment-button:hover {
  color: var(--nori-primary);
}

.post-excerpt {
  margin-bottom: 60px;
}
.post-excerpt h3 a {
  color: var(--nori-text);
}
.post-excerpt p {
  margin: 0 0 30px;
}
.post-excerpt blockquote.quote-post {
  margin: 20px 0;
}
.post-excerpt blockquote.quote-post p {
  line-height: 30px;
  font-size: 20px;
  color: var(--nori-primary);
}

.single-blog {
  background-color: var(--nori-bg-surface);
  margin-bottom: 50px;
  padding: 20px;
}

.blog-subtitle {
  font-size: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--nori-border);
  margin-bottom: 25px;
  text-transform: uppercase;
}

.next-prev {
  border-bottom: 1px solid var(--nori-border);
  border-top: 1px solid var(--nori-border);
  margin: 20px 0;
  padding: 25px 0;
}
.next-prev a {
  color: var(--nori-text);
}
.next-prev a:hover {
  color: var(--nori-primary);
}
.next-prev .prev-post i {
  margin-right: 10px;
}
.next-prev .next-post i {
  margin-left: 10px;
}

.social-profile ul li {
  margin: 0 10px 0 0;
  display: inline-block;
}
.social-profile ul li a {
  color: var(--nori-text-muted);
  display: block;
  font-size: 16px;
}
.social-profile ul li a i:hover {
  color: var(--nori-primary);
}

.comments-section {
  margin-top: 35px;
}

.author-about {
  margin-top: 40px;
}

.post-author {
  margin-right: 20px;
}

.post-author > img {
  border: 1px solid var(--nori-border);
  max-width: 120px;
  padding: 5px;
  width: 100%;
}

.comment-list ul {
  margin-top: 20px;
}
.comment-list ul li {
  margin-bottom: 20px;
}

.comment-wrap {
  border: 1px solid var(--nori-border);
  border-radius: 1px;
  margin-left: 20px;
  padding: 10px;
  position: relative;
  background: var(--nori-bg-surface);
}
.comment-wrap .author-avatar {
  margin-right: 10px;
}
.comment-wrap .media .media-heading {
  font-size: 14px;
  margin-bottom: 8px;
}
.comment-wrap .media .media-heading a {
  color: var(--nori-primary);
  font-size: 13px;
}
.comment-wrap .media .comment-meta {
  font-size: 12px;
  color: var(--nori-text-muted);
}
.comment-wrap .media p {
  margin-top: 15px;
}

.comment-reply-form {
  margin-top: 80px;
}
.comment-reply-form input, .comment-reply-form textarea {
  height: 35px;
  border-radius: 0;
  box-shadow: none;
  background: var(--nori-bg-surface);
  color: var(--nori-text);
  border-color: var(--nori-border);
}
.comment-reply-form input:focus, .comment-reply-form textarea:focus {
  box-shadow: none;
  border: 1px solid var(--nori-primary);
}
.comment-reply-form textarea, .comment-reply-form .btn-main {
  height: auto;
}

/* ========================================
   SIDEBAR
   ======================================== */
.sidebar-wrap {
  padding-left: 40px;
}
@media (max-width: 1023px) {
  .sidebar-wrap {
    padding-left: 0;
  }
}

.sidebar-widget {
  margin-bottom: 30px;
  padding-bottom: 35px;
}
.sidebar-widget h5 {
  margin-bottom: 25px;
}
.sidebar-widget.latest-post .media img {
  border-radius: 7px;
}
.sidebar-widget.latest-post .media h6 {
  font-weight: 500;
  line-height: 1.4;
}
.sidebar-widget.latest-post .media p {
  font-size: 12px;
}
.sidebar-widget.category ul li {
  margin-bottom: 10px;
}
.sidebar-widget.category ul li a {
  color: var(--nori-text-muted);
  transition: all 0.3s ease;
}
.sidebar-widget.category ul li a:hover {
  color: var(--nori-primary);
  padding-left: 5px;
}
.sidebar-widget.category ul li span {
  margin-left: 10px;
}
.sidebar-widget.tags a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  line-height: 41px;
  height: 41px;
  font-weight: 500;
  border-radius: 20px;
  color: var(--nori-text-muted);
  display: inline-block;
  background-color: var(--nori-bg-elevated);
  margin: 0 7px 10px 0;
  padding: 0 25px;
  transition: all 0.2s ease;
}
.sidebar-widget.tags a:hover {
  color: #fff;
  background: var(--nori-primary);
}

.search-form {
  position: relative;
}
.search-form i {
  position: absolute;
  right: 15px;
  top: 35%;
  color: var(--nori-text-muted);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding-top: 80px;
  padding-bottom: 10px;
  background: var(--nori-bg);
  border-top: none;
  position: relative;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.footer > .container {
  padding-top: 30px;
}

/* Gradient line at top of footer */
.footer::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--nori-primary) 0%, var(--nori-accent) 100%);
  width: 100%;
}

.footer .copyright a {
  font-weight: 600;
}

.lh-35 {
  line-height: 35px;
}

.logo {
  font-weight: 700;
  letter-spacing: 1px;
  font-family: "Space Grotesk", sans-serif;
}
.logo h3 {
  color: #fff;
}
.logo span {
  color: var(--nori-primary);
}

.widget h4 {
  color: #fff;
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
}
.widget a {
  color: rgba(255, 255, 255, 0.7);
}
.widget a:hover {
  color: var(--nori-primary);
}
.widget p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-btm {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-socials li a {
  margin-right: 7px;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
}
.copyright a {
  color: rgba(255, 255, 255, 0.8);
}
.copyright a:hover {
  color: var(--nori-primary);
}

.widget-contact h6 {
  font-weight: 500;
  margin-bottom: 18px;
}
.widget-contact h6 i {
  color: var(--nori-primary);
}
.widget-contact h6 a {
  color: rgba(255, 255, 255, 0.7);
}

/* Footer social icon hover */
.footer-socials .list-inline-item a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  transition: all 0.3s ease;
}
.footer-socials .list-inline-item a:hover {
  background: var(--nori-primary);
  color: #fff;
}

/* ========================================
   SERVICE PAGE
   ======================================== */
.service-2 {
  background: var(--nori-bg);
}

.service-info {
  color: var(--nori-text-muted);
}
.service-info strong {
  color: var(--nori-text);
}

.case-study {
  background: var(--nori-bg-surface);
}

.case-study-content p {
  color: var(--nori-text-muted);
}

.case-img img {
  border-radius: 10px;
}

/* Service showcase canvas */
.showcase-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.showcase-canvas {
  width: 100%;
  height: 420px;
  display: block;
  border-radius: 12px;
}
@media (max-width: 768px) {
  .showcase-canvas {
    height: 300px;
    margin-top: 20px;
  }
}

/* Process canvas visuals */
.process-canvas {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  display: block;
}
@media (max-width: 768px) {
  .process-canvas {
    height: 200px;
    margin-bottom: 15px;
  }
}

.process-step-number {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--nori-accent);
  letter-spacing: 2px;
  margin-bottom: 8px;
  position: relative;
  padding-right: 50px;
}
.process-step-number::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 35px;
  height: 1px;
  background: linear-gradient(90deg, var(--nori-accent), transparent);
}

.service {
  background: var(--nori-bg);
}

/* CTA-2 section */
.cta-2 {
  background: var(--nori-bg-surface) !important;
}

/* Visual separation for services CTA vs process */
.case-study {
  padding-top: 4rem;
  padding-bottom: 3rem;
  background: radial-gradient(circle at top, rgba(124, 58, 237, 0.12), transparent 55%);
}

/* Services page tweaks */
@media (max-width: 768px) {
  .cta-2 .btn {
    width: 100%;
    justify-content: center;
  }

  /* Metro grid — stack 2×2 on tablet */
  .i40-metro {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "erp  erp"
      "crm  wms"
      "cta  cta";
    min-height: auto;
    gap: 2px;
  }
  .i40-tile {
    padding: 28px 24px;
  }

  .case-study {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .products-section .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .ai-manifesto .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ========================================
   NAV — Presentacion link + floating tooltip
   ======================================== */
.nav-pres-wrapper {
  position: relative;
}
.nav-pres-link {
  color: var(--nori-accent) !important;
}
.nav-pres-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  white-space: nowrap;
  background: var(--nori-accent);
  color: #08080c;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  pointer-events: none;
  z-index: 999;
  animation: navTooltipBob 2.5s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}
.nav-pres-tooltip-arrow {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--nori-accent);
}
@keyframes navTooltipBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* Auto-hide tooltip after some scrolling */
.navigation.nav-scrolled .nav-pres-tooltip {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .nav-pres-tooltip { display: none; }
}

/* ========================================
   PRESENTACION SHOWCASE SECTION
   ======================================== */
.pres-showcase {
  position: relative;
  overflow: hidden;
  background: var(--nori-bg);
  padding: 80px 0;
}
.pres-showcase-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.pres-showcase-glow--left {
  left: -12%;
  top: -40%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 65%);
}
.pres-showcase-glow--right {
  right: -8%;
  bottom: -30%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.10) 0%, transparent 65%);
}
.pres-showcase .container {
  position: relative;
  z-index: 1;
}

/* CTA Button — big interactive link */
.pres-showcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(245, 158, 11, 0.10) 100%);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 16px;
  padding: 18px 28px;
  text-decoration: none;
  color: var(--nori-text);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.pres-showcase-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25) 0%, rgba(245, 158, 11, 0.18) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pres-showcase-btn:hover {
  border-color: var(--nori-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.2), 0 0 60px rgba(124, 58, 237, 0.1);
  color: var(--nori-text);
}
.pres-showcase-btn:hover::before {
  opacity: 1;
}
.pres-showcase-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--nori-accent);
  color: #08080c;
  font-size: 1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  animation: presIconPulse 2.5s ease-in-out infinite;
}
@keyframes presIconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
}
.pres-showcase-btn-text {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.pres-showcase-btn-text strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--nori-text);
}
.pres-showcase-btn-text small {
  font-size: 0.8rem;
  color: var(--nori-text-muted);
  margin-top: 2px;
}
.pres-showcase-btn-arrow {
  font-size: 1.2rem;
  color: var(--nori-accent);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}
.pres-showcase-btn:hover .pres-showcase-btn-arrow {
  transform: translateX(5px);
}

/* Preview mock — browser frame */
.pres-showcase-preview {
  display: block;
  text-decoration: none;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.pres-showcase-preview:hover {
  transform: translateY(-6px) scale(1.02);
}
.pres-preview-frame {
  background: var(--nori-bg-surface);
  border: 1px solid var(--nori-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(124, 58, 237, 0.08);
  transition: box-shadow 0.5s ease;
}
.pres-showcase-preview:hover .pres-preview-frame {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 100px rgba(245, 158, 11, 0.12);
  border-color: rgba(124, 58, 237, 0.25);
}
.pres-preview-titlebar {
  background: var(--nori-bg-elevated);
  padding: 12px 16px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.pres-preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.pres-preview-screen {
  padding: 30px 28px 36px;
  background: linear-gradient(180deg, #0a0a10 0%, #111118 100%);
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pres-preview-logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--nori-text);
  text-align: center;
}
.pres-preview-logo span {
  color: var(--nori-primary);
}
.pres-preview-subtitle {
  font-size: 0.75rem;
  color: var(--nori-accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 6px;
  text-align: center;
}
.pres-preview-bars {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 60%;
}
.pres-preview-bar {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--nori-primary), var(--nori-accent));
  opacity: 0.25;
}
.pres-preview-bar:nth-child(1) { animation: presBarShimmer 2.5s ease-in-out infinite; }
.pres-preview-bar:nth-child(2) { animation: presBarShimmer 2.5s ease-in-out 0.3s infinite; }
.pres-preview-bar:nth-child(3) { animation: presBarShimmer 2.5s ease-in-out 0.6s infinite; }
@keyframes presBarShimmer {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.5; }
}
.pres-preview-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pres-showcase-preview:hover .pres-preview-play {
  opacity: 1;
}
.pres-preview-play i {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nori-accent);
  color: #08080c;
  border-radius: 50%;
  font-size: 1.2rem;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}
.pres-preview-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nori-accent);
  text-align: center;
}

@media (max-width: 768px) {
  .pres-showcase { padding: 50px 0; }
  .pres-showcase-btn {
    padding: 14px 20px;
    gap: 14px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .pres-showcase-btn-icon { width: 40px; height: 40px; }
}

/* ========================================
   PRODUCTS SECTION — SaaS Product Cards
   ======================================== */
.products-section {
  position: relative;
  overflow: hidden;
}

/* Product Card Hero — large featured card */
.product-card-hero {
  display: block;
  text-decoration: none;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card-hero:hover {
  transform: translateY(-6px);
}
.product-card-hero-glow {
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff6b2b 0%, #fbbf24 50%, #ff6b2b 100%);
  opacity: 0.3;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.product-card-hero:hover .product-card-hero-glow {
  opacity: 0.6;
}
.product-card-hero-inner {
  position: relative;
  z-index: 1;
  background: #0c0a08;
  border-radius: 15px;
  padding: 28px 24px;
  margin: 1px;
}
.product-card-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.product-logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #f5f0ea;
}
.product-logo span {
  color: #ff6b2b;
}
.product-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Mini mockup inside product card */
.product-card-mockup {
  background: #161310;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 180, 60, 0.08);
}
.product-mockup-bar {
  background: #1e1a16;
  padding: 8px 12px;
  display: flex;
  gap: 5px;
}
.product-mockup-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.product-mockup-screen {
  padding: 14px;
}
.product-mockup-kpi {
  background: #161310;
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  border: 1px solid rgba(255, 180, 60, 0.06);
}

/* Play prompt */
.product-card-hero-play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ff6b2b;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.product-card-hero:hover .product-card-hero-play {
  opacity: 1;
}
.product-card-hero-play i {
  font-size: 0.7rem;
}

@media (max-width: 768px) {
  .product-card-hero-inner { padding: 20px 18px; }
}

/* ========================================
   GLOBAL CTA SECTION
   ======================================== */
.cta-global {
  background: linear-gradient(135deg, var(--nori-bg-elevated) 0%, #2d1654 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.particles-cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Noise texture overlay */
.cta-global::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

/* Floating gradient orb — left */
.cta-global::before {
  content: "";
  position: absolute;
  left: -15%;
  top: -30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.cta-global-inner {
  position: relative;
  z-index: 2;
}

/* Second floating orb — right, via inner pseudo */
.cta-global .container::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -40%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.cta-global .container {
  position: relative;
}

.cta-global h2 {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}
.cta-global p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
/* Ocultar banner "We are here" / attention grabber de Tawk.to */
#tawkAttentionGrabberIframe,
[id*="tawk"][id*="ttention"],
[class*="tawk-attention-grabber"] {
  display: none !important;
}

.whatsapp-float {
  position: fixed;
  bottom: 110px; /* Above Tawk.to widget */
  right: 30px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  background: #128C7E;
  color: #fff;
  transform: scale(1.1);
}

/* ========================================
   TEXT UTILITIES
   ======================================== */
.text-muted {
  color: var(--nori-text-muted) !important;
}

.text-black {
  color: var(--nori-text) !important;
}

/* Contact page */
.contact-content h4,
.contact-info h4 {
  color: var(--nori-text);
}

/* ========================================
   SERVICE CARDS — CARDINAL GRID
   Cells share borders, gradient border effect,
   modern spotlight hover.
   ======================================== */

/* Grid wrapper — 3×2 on desktop, no outer border, internal dividers overflow */
.service-cards-grid {
  --grid-border: 1px;
  --grid-overflow: 18px; /* how far internal lines extend past the grid */
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  overflow: visible;
  background: none;
  padding: 0;
  border-radius: 0;
}

/* Override Bulma columns behavior inside the grid */
.service-cards-grid.columns {
  flex-wrap: unset;
  margin: 0;
}
.service-cards-grid > .column {
  padding: 0;
  width: auto !important;
  flex: none;
}

/* Each cell */
.service-card {
  background: var(--nori-bg-surface);
  border: none;
  border-radius: 0;
  padding: 44px 34px;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  z-index: 1;
  /* Inner gradient borders between cells */
  outline: var(--grid-border) solid transparent;
}

/* Spotlight glow overlay — follows mouse via JS, but has a nice default center glow */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(99, 102, 241, 0.10) 0%,
    rgba(34, 211, 238, 0.05) 25%,
    transparent 60%
  );
  z-index: 0;
  pointer-events: none;
}
.service-card:hover::before {
  opacity: 1;
}

/* Subtle border glow on hover — a second radial for the edge highlight */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(99, 102, 241, 0.08) 0%,
    transparent 50%
  );
  z-index: 0;
  pointer-events: none;
}
.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  background: color-mix(in srgb, var(--nori-bg-surface) 94%, var(--nori-primary) 6%);
  z-index: 2;
  box-shadow:
    inset 0 0 0 1px rgba(99, 102, 241, 0.2),
    0 0 40px rgba(99, 102, 241, 0.06);
}

/* No corner radius — borderless outer edges */

/* Inner cell separators as pseudo-elements that overflow the grid */
.service-cards-grid > .column {
  position: relative;
}

/* Vertical dividers — on columns 1,2 and 4,5 (not the last in each row) */
.service-cards-grid > .column:nth-child(3n+1)::after,
.service-cards-grid > .column:nth-child(3n+2)::after {
  content: "";
  position: absolute;
  right: 0;
  top: calc(-1 * var(--grid-overflow));
  bottom: calc(-1 * var(--grid-overflow));
  width: var(--grid-border);
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(99, 102, 241, 0.06) 8%,
    rgba(99, 102, 241, 0.14) 30%,
    rgba(34, 211, 238, 0.10) 50%,
    rgba(99, 102, 241, 0.14) 70%,
    rgba(99, 102, 241, 0.06) 92%,
    transparent 100%);
  z-index: 4;
  pointer-events: none;
}

/* Horizontal divider — bottom of first-row cells (1,2,3) */
.service-cards-grid > .column:nth-child(-n+3)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(-1 * var(--grid-overflow));
  right: calc(-1 * var(--grid-overflow));
  height: var(--grid-border);
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(99, 102, 241, 0.06) 8%,
    rgba(99, 102, 241, 0.14) 30%,
    rgba(34, 211, 238, 0.10) 50%,
    rgba(99, 102, 241, 0.14) 70%,
    rgba(99, 102, 241, 0.06) 92%,
    transparent 100%);
  z-index: 4;
  pointer-events: none;
}

/* Icon — aligned left, smaller, cleaner */
.service-card-icon {
  margin: 0 0 20px;
  position: relative;
  width: 56px;
  height: 56px;
  z-index: 3;
}
.service-card-icon i {
  font-size: 28px;
  color: var(--nori-primary);
  background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.14), rgba(99, 102, 241, 0.03));
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(99, 102, 241, 0.10);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.service-card-icon::before,
.service-card-icon::after {
  display: none; /* Remove old ring effects */
}

.service-card:hover .service-card-icon i {
  background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.28), rgba(34, 211, 238, 0.08));
  border-color: rgba(99, 102, 241, 0.30);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.12), 0 0 8px rgba(34, 211, 238, 0.08);
  transform: scale(1.08);
}

/* Number label */
.service-card-number {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--nori-accent);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  z-index: 3;
  position: relative;
}
.service-card-number::after {
  content: "";
  flex: 1;
  max-width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--nori-accent), transparent);
  opacity: 0.5;
  display: block;
}

/* Title */
.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.3;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  z-index: 3;
  position: relative;
}

/* Description */
.service-card-desc {
  flex-grow: 1;
  margin-bottom: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  z-index: 3;
  position: relative;
}

/* Link */
.service-card-link {
  color: var(--nori-primary);
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  position: relative;
}
.service-card-link:hover,
.service-card:hover .service-card-link {
  color: var(--nori-accent);
  gap: 12px;
}

/* Service cards as links */
a.service-card {
  text-decoration: none;
  color: var(--nori-text-muted);
  cursor: pointer;
}
a.service-card:hover {
  color: var(--nori-text-muted);
}

/* Featured card (AI) — subtle accent, no heavy styling */
.service-card-featured {
  background: color-mix(in srgb, var(--nori-bg-surface) 97%, var(--nori-accent) 3%);
}
.service-card-featured .service-card-icon i {
  color: var(--nori-accent);
  background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.15), rgba(34, 211, 238, 0.03));
  border-color: rgba(34, 211, 238, 0.15);
}
.service-card-featured:hover {
  background: color-mix(in srgb, var(--nori-bg-surface) 92%, var(--nori-accent) 8%);
  box-shadow:
    inset 0 0 0 1px rgba(34, 211, 238, 0.20),
    0 0 40px rgba(34, 211, 238, 0.06);
}
.service-card-featured:hover .service-card-icon i {
  background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.30), rgba(34, 211, 238, 0.08));
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.15);
}
.service-card-featured::before {
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(34, 211, 238, 0.10) 0%,
    rgba(99, 102, 241, 0.04) 30%,
    transparent 60%
  ) !important;
}

/* Stagger reveal animation delays */
.service-cards-grid .column:nth-child(1) .service-card { animation-delay: 0.05s; }
.service-cards-grid .column:nth-child(2) .service-card { animation-delay: 0.10s; }
.service-cards-grid .column:nth-child(3) .service-card { animation-delay: 0.15s; }
.service-cards-grid .column:nth-child(4) .service-card { animation-delay: 0.20s; }
.service-cards-grid .column:nth-child(5) .service-card { animation-delay: 0.25s; }
.service-cards-grid .column:nth-child(6) .service-card { animation-delay: 0.30s; }

/* Card hover particle canvas */
.card-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* ========================================
   TRUST BAR — ENHANCED
   ======================================== */
.trust-bar {
  padding: 60px 0;
  background: var(--nori-bg-surface);
  border-bottom: 1px solid var(--nori-border);
  position: relative;
}

/* Thin vertical dividers between stat columns */
.trust-bar .column + .column {
  border-left: 1px solid var(--nori-border);
}
@media (max-width: 768px) {
  .trust-bar .column + .column {
    border-left: none;
  }
}

.trust-number {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
  color: var(--nori-primary);
  margin-bottom: 6px;
  line-height: 1;
  text-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
  display: inline-block;
  position: relative;
}

/* Gradient underline below each number */
.trust-number::after {
  content: "";
  display: block;
  width: 50%;
  height: 2px;
  margin: 8px auto 0;
  background: linear-gradient(90deg, var(--nori-primary), transparent);
  border-radius: 2px;
}

.trust-label {
  font-size: 13px;
  color: var(--nori-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
  font-weight: 500;
  font-family: "Space Grotesk", sans-serif;
}

/* ========================================
   INDUSTRIA 4.0 SECTION
   ======================================== */
/* ---- Industria 4.0 — Metro Tiles ---- */
.industria40-section {
  background: var(--nori-bg-surface);
  position: relative;
  overflow: visible;
}

/* Section header */
.i40-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}
.i40-eyebrow {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--nori-accent);
  margin-bottom: 16px;
}
.i40-header h2 {
  margin-bottom: 0;
}

/* ---- Metro Grid ----
   [  ERP (wide)  ] [ CRM (tall) ]
   [ WMS ] [ CTA  ] [    ↑       ]
*/
.i40-metro {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    "erp  erp  crm"
    "wms  cta  crm";
  gap: 2px;
  min-height: 420px;
}

/* Assign grid areas */
.i40-tile--erp { grid-area: erp; }
.i40-tile--crm { grid-area: crm; }
.i40-tile--wms { grid-area: wms; }
.i40-tile--cta { grid-area: cta; }

/* Base tile */
.i40-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 30px;
  background: var(--nori-bg);
  text-decoration: none;
  color: var(--nori-text-muted);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  border: none;
}

/* Subtle inner glow on hover */
.i40-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: radial-gradient(
    600px circle at var(--mouse-x, 30%) var(--mouse-y, 40%),
    rgba(99,102,241,0.10) 0%,
    rgba(34,211,238,0.04) 30%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}
.i40-tile:hover::before {
  opacity: 1;
}
.i40-tile:hover {
  background: color-mix(in srgb, var(--nori-bg) 93%, var(--nori-primary) 7%);
  z-index: 2;
}

/* Tag */
.i40-tile-tag {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--nori-primary);
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.12);
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  align-self: flex-start;
  position: relative;
  z-index: 1;
  transition: all 0.35s ease;
}
.i40-tile:hover .i40-tile-tag {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.28);
  color: var(--nori-accent);
}
/* Accent variant for CTA */
.i40-tile-tag--accent {
  color: var(--nori-accent);
  background: rgba(34,211,238,0.06);
  border-color: rgba(34,211,238,0.12);
}

/* Tile content */
.i40-tile-content {
  flex-grow: 1;
  position: relative;
  z-index: 1;
}
.i40-tile-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nori-text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.i40-tile-content p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--nori-text-muted);
  margin-bottom: 0;
}

/* Module chips (ERP tile) */
.i40-tile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}
.i40-tile-chips span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--nori-text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--nori-border);
  padding: 4px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.i40-tile:hover .i40-tile-chips span {
  border-color: rgba(99,102,241,0.18);
  color: var(--nori-text);
}

/* Arrow icon — bottom-right */
.i40-tile-arrow {
  position: absolute;
  bottom: 28px;
  right: 28px;
  font-size: 14px;
  color: rgba(99,102,241,0.3);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  z-index: 1;
}
.i40-tile:hover .i40-tile-arrow {
  color: var(--nori-accent);
  transform: translate(4px, -4px);
}

/* ---- Tile-specific overrides ---- */

/* ERP — wide tile */
.i40-tile--erp .i40-tile-content h3 {
  font-size: 1.5rem;
}

/* CRM — tall tile */
.i40-tile--crm {
  justify-content: flex-start;
}
.i40-tile--crm .i40-tile-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* CTA tile — gradient heading */
.i40-tile--cta {
  background: linear-gradient(135deg,
    rgba(99,102,241,0.06) 0%,
    rgba(34,211,238,0.03) 100%);
}
.i40-tile--cta:hover {
  background: linear-gradient(135deg,
    rgba(99,102,241,0.12) 0%,
    rgba(34,211,238,0.06) 100%);
}
.i40-tile--cta .i40-tile-content h3 {
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--nori-primary) 0%, var(--nori-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.i40-tile--cta .i40-tile-content p {
  font-size: 13px;
  opacity: 0.7;
  letter-spacing: 0.5px;
}
.i40-tile--cta .btn {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  font-size: 12px;
  padding: 10px 22px;
}

/* ========================================
   SERVICE DETAIL PAGE
   ======================================== */
.service-detail-content {
  color: var(--nori-text-muted);
}
.service-detail-content h2,
.service-detail-content h3 {
  color: var(--nori-text);
}
.service-detail-content strong {
  color: var(--nori-text);
}

/* ========================================
   SVG ILLUSTRATIONS
   ======================================== */
.svg-illustration {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.svg-illustration svg {
  width: 100%;
  height: auto;
  display: block;
}

/* SVG Animations */
@keyframes svgPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes svgFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.svg-pulse {
  animation: svgPulse 3s ease-in-out infinite;
}
.svg-float {
  animation: svgFloat 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .svg-pulse, .svg-float {
    animation: none;
  }
}

/* Blog listing — text only cards (no illustration) */
.blog-item--text-only {
  display: block;
  padding: 0;
}
.blog-item--text-only .blog-item-content {
  padding: 30px;
  border-left: 3px solid var(--nori-primary);
}
.blog-item--text-only:hover {
  border-color: var(--nori-primary);
}
.blog-item--text-only:hover .blog-item-content {
  border-left-color: var(--nori-accent);
}

/* ========================================
   BLOG PAGINATION
   ======================================== */
.pagination-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid var(--nori-border);
  border-radius: 8px;
  color: var(--nori-text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.pagination-btn:hover {
  border-color: var(--nori-primary);
  color: var(--nori-primary);
  background: var(--nori-primary-glow);
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pagination-num {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--nori-text-muted);
  transition: all 0.3s ease;
}
.pagination-num:hover {
  background: var(--nori-bg-elevated);
  color: var(--nori-text);
}
.pagination-current {
  background: var(--nori-primary);
  color: #fff;
}
.pagination-current:hover {
  background: var(--nori-primary);
  color: #fff;
}

.pagination-dots {
  color: var(--nori-text-dim);
  padding: 0 4px;
}

@media (max-width: 575px) {
  .pagination-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  .pagination-num {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
}

/* ========================================
   BLOG ARTICLE BODY
   ======================================== */
.blog-article-body h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--nori-border);
}
.blog-article-body h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--nori-accent);
}
.blog-article-body p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.blog-article-body strong {
  color: var(--nori-text);
}
.blog-article-body ul {
  margin-bottom: 1.5rem;
}
.blog-article-body ul li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.blog-article-body ol.blog-ol {
  margin-bottom: 1.5rem;
  padding-left: 0;
  counter-reset: blog-counter;
  list-style: none;
}
.blog-article-body ol.blog-ol li {
  margin-bottom: 1rem;
  line-height: 1.7;
  padding-left: 45px;
  position: relative;
  counter-increment: blog-counter;
}
.blog-article-body ol.blog-ol li::before {
  content: counter(blog-counter);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  background: var(--nori-primary-glow);
  color: var(--nori-primary);
  border-radius: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-article-body .quote {
  border-left: 3px solid var(--nori-accent);
  background: var(--nori-bg-elevated);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--nori-text);
}
.blog-article-body code {
  background: var(--nori-bg-elevated);
  color: var(--nori-accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
}
.blog-article-body pre {
  background: var(--nori-bg-elevated);
  border: 1px solid var(--nori-border);
  border-radius: 8px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.blog-article-body pre code {
  background: none;
  padding: 0;
  color: var(--nori-text-muted);
}
.blog-article-body a {
  color: var(--nori-primary);
  text-decoration: underline;
  text-decoration-color: rgba(124, 58, 237, 0.3);
  text-underline-offset: 3px;
}
.blog-article-body a:hover {
  text-decoration-color: var(--nori-primary);
}
.blog-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.blog-article-body table th,
.blog-article-body table td {
  padding: 10px 15px;
  border: 1px solid var(--nori-border);
  text-align: left;
}
.blog-article-body table th {
  background: var(--nori-bg-elevated);
  color: var(--nori-text);
  font-weight: 600;
}
.blog-article-body hr {
  border: none;
  border-top: 1px solid var(--nori-border);
  margin: 2rem 0;
}

/* Blog list item improvements */
.blog-item {
  display: flex;
  margin-bottom: 30px;
  background: var(--nori-bg-surface);
  border: 1px solid var(--nori-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.blog-item:hover {
  border-color: var(--nori-primary);
  transform: translateY(-3px);
}
.blog-item .blog-thumb {
  width: 280px;
  min-width: 280px;
  margin-right: 0;
  overflow: hidden;
}
.blog-item .blog-thumb .svg-illustration {
  border-radius: 0;
  height: 100%;
}
.blog-item .blog-thumb .svg-illustration svg {
  height: 100%;
  object-fit: cover;
}
.blog-item .blog-item-content {
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-item .blog-item-content h3 a {
  color: var(--nori-text);
}
.blog-item .blog-item-content h3 a:hover {
  color: var(--nori-primary);
}
@media (max-width: 768px) {
  .blog-item {
    display: block;
  }
  .blog-item .blog-thumb {
    width: 100%;
    min-width: unset;
    height: 200px;
  }
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-content h3 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--nori-text);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--nori-border);
}
.legal-content h4 {
  font-size: 1.05rem;
  color: var(--nori-accent);
  margin-bottom: 0.75rem;
}
.legal-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-content ul li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* ========================================
   GLOBAL POLISH & MISSING STYLES
   ======================================== */

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: rgba(124, 58, 237, 0.3);
  color: var(--nori-text);
}

/* Scrollbar styling (Webkit) */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--nori-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--nori-bg-elevated);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--nori-primary);
}

/* Fix btn-small that's used in blog */
.btn-small {
  padding: 0.5rem 1.4rem;
  font-size: 0.75rem;
}

/* Mobile CTA buttons stack vertically */
@media (max-width: 575px) {
  .banner .block .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
  }
  .banner .block .btn.ml-3 {
    margin-left: 0 !important;
  }
}

/* ========================================
   CONTACT FORM — Full experience
   ======================================== */

/* Form wrapper */
.form-wrapper {
  position: relative;
}

/* Overlay states */
.form-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}
.form-overlay--active {
  display: flex;
  animation: overlayIn 0.4s ease forwards;
}
.form-overlay--sending {
  background: rgba(8, 8, 12, 0.85);
}
.form-overlay--success {
  background: rgba(8, 8, 12, 0.92);
}
.form-overlay--error {
  background: rgba(8, 8, 12, 0.92);
}

@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.form-overlay-content {
  text-align: center;
  max-width: 320px;
}
.form-overlay-content h4 {
  color: var(--nori-text);
  margin-bottom: 8px;
  font-size: 1.4rem;
}
.form-overlay-content p {
  color: var(--nori-text-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* Spinner */
.form-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--nori-border);
  border-top-color: var(--nori-primary);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spinnerRotate 0.8s linear infinite;
}
@keyframes spinnerRotate {
  to { transform: rotate(360deg); }
}

/* Success check icon */
.form-check-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}
.form-check-icon svg {
  width: 100%;
  height: 100%;
}
.form-check-circle {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  animation: checkCircleDraw 0.6s ease forwards;
}
.form-check-path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: checkPathDraw 0.4s ease forwards 0.5s;
}
@keyframes checkCircleDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes checkPathDraw {
  to { stroke-dashoffset: 0; }
}

/* Error X icon */
.form-error-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}
.form-error-icon svg {
  width: 100%;
  height: 100%;
}
.form-error-icon line {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  animation: checkPathDraw 0.3s ease forwards 0.3s;
}
.form-error-icon circle {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  animation: checkCircleDraw 0.6s ease forwards;
}

/* Field validation */
.input--error {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15) !important;
}
.field-error {
  display: block;
  color: #f87171;
  font-size: 12px;
  margin-top: 6px;
  animation: fieldErrorIn 0.3s ease;
}
@keyframes fieldErrorIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* About page video */
.video-block .video-img video {
  border-radius: 12px;
  width: 100%;
}

/* Service detail page icon-block in grid */
.service-detail-content ul li strong {
  color: var(--nori-text);
}

/* CTA section button full width on mobile */
@media (max-width: 575px) {
  .cta-global .btn {
    width: 100%;
  }
  .i40-tile {
    padding: 24px 20px;
  }
}

/* Contact form full width submit on mobile */
@media (max-width: 575px) {
  .contact-form-wrap .btn {
    width: 100%;
    text-align: center;
  }
}

/* ========================================
   RESPONSIVE — MOBILE FIXES
   ======================================== */

/* --- Navbar mobile --- */
@media (max-width: 1023px) {
  .navbar-burger {
    margin-top: 10px;
    height: 3.5rem;
    width: 3.5rem;
  }
  .navbar-burger span {
    height: 2px !important;
    width: 22px !important;
    left: calc(50% - 11px) !important;
  }
  .nori-logo-text {
    font-size: 20px;
  }
  .nori-logo-mark {
    width: 28px;
    height: 28px;
  }
  .navbar-menu {
    border-top: 1px solid var(--nori-border);
    padding: 1.5rem 0;
  }
  .navbar-menu .navbar-link {
    font-size: 16px !important;
    padding: 12px 0 !important;
    display: block;
  }
  .navbar-menu .navbar-end {
    padding-top: 15px;
    margin-left: 0 !important;
  }
  .navbar-menu .navbar-end .btn {
    width: 80%;
    text-align: center;
    display: block;
    margin: 0 auto;
  }
}

/* --- Hero mobile --- */
@media (max-width: 768px) {
  .banner {
    padding: 100px 0 60px;
  }
  .banner .block {
    padding-top: 80px;
  }
  .banner .block h1 {
    font-size: 42px;
    line-height: 1.15;
  }
  .banner .block p {
    font-size: 15px;
  }
}
@media (max-width: 400px) {
  .banner .block {
    padding-top: 60px;
  }
  .banner .block h1 {
    font-size: 32px;
  }
}

/* --- Trust bar mobile --- */
@media (max-width: 768px) {
  .trust-bar {
    padding: 30px 0;
  }
  .trust-number {
    font-size: 1.8rem;
  }
  .trust-label {
    font-size: 11px;
  }
  .trust-bar .column {
    padding: 10px;
    border-left: none !important;
  }
}

/* --- Service cards tablet — 2 columns --- */
@media (max-width: 1023px) {
  .service-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Reset all pseudo dividers for 2-col layout */
  .service-cards-grid > .column::after,
  .service-cards-grid > .column::before { content: none !important; }

  /* Vertical divider — odd columns (1,3,5) get right-edge line */
  .service-cards-grid > .column:nth-child(odd)::after {
    content: "" !important;
    position: absolute;
    right: 0;
    top: calc(-1 * var(--grid-overflow));
    bottom: calc(-1 * var(--grid-overflow));
    width: var(--grid-border);
    background: linear-gradient(180deg,
      transparent 0%, rgba(99,102,241,0.06) 6%,
      rgba(99,102,241,0.14) 30%, rgba(34,211,238,0.10) 50%,
      rgba(99,102,241,0.14) 70%, rgba(99,102,241,0.06) 94%,
      transparent 100%);
    z-index: 4; pointer-events: none;
  }

  /* Horizontal dividers — bottom of rows 1 & 2 (columns 1-4) */
  .service-cards-grid > .column:nth-child(2)::before,
  .service-cards-grid > .column:nth-child(4)::before {
    content: "" !important;
    position: absolute;
    bottom: 0;
    left: calc(-1 * var(--grid-overflow));
    right: calc(-1 * var(--grid-overflow));
    height: var(--grid-border);
    background: linear-gradient(90deg,
      transparent 0%, rgba(99,102,241,0.06) 6%,
      rgba(99,102,241,0.14) 30%, rgba(34,211,238,0.10) 50%,
      rgba(99,102,241,0.14) 70%, rgba(99,102,241,0.06) 94%,
      transparent 100%);
    z-index: 4; pointer-events: none;
  }
  /* Extend horizontal line across both columns via the even-column ::before */
  .service-cards-grid > .column:nth-child(1)::before {
    content: "" !important;
    position: absolute;
    bottom: 0;
    left: calc(-1 * var(--grid-overflow));
    right: calc(-1 * var(--grid-overflow));
    height: var(--grid-border);
    background: linear-gradient(90deg,
      transparent 0%, rgba(99,102,241,0.06) 6%,
      rgba(99,102,241,0.14) 30%, rgba(34,211,238,0.10) 50%,
      rgba(99,102,241,0.14) 70%, rgba(99,102,241,0.06) 94%,
      transparent 100%);
    z-index: 4; pointer-events: none;
  }
  .service-cards-grid > .column:nth-child(3)::before {
    content: "" !important;
    position: absolute;
    bottom: 0;
    left: calc(-1 * var(--grid-overflow));
    right: calc(-1 * var(--grid-overflow));
    height: var(--grid-border);
    background: linear-gradient(90deg,
      transparent 0%, rgba(99,102,241,0.06) 6%,
      rgba(99,102,241,0.14) 30%, rgba(34,211,238,0.10) 50%,
      rgba(99,102,241,0.14) 70%, rgba(99,102,241,0.06) 94%,
      transparent 100%);
    z-index: 4; pointer-events: none;
  }
}

/* --- Service cards mobile — 1 column --- */
@media (max-width: 575px) {
  .service-cards-grid {
    grid-template-columns: 1fr !important;
  }
  .service-card {
    padding: 30px 24px;
  }
  .service-card-title {
    font-size: 1.15rem;
  }
  /* Reset all pseudo dividers for 1-col */
  .service-cards-grid > .column::after { content: none !important; }
  .service-cards-grid > .column::before { content: none !important; }

  /* Horizontal dividers — bottom of every cell except last */
  .service-cards-grid > .column:not(:last-child)::before {
    content: "" !important;
    position: absolute;
    bottom: 0;
    left: calc(-1 * var(--grid-overflow));
    right: calc(-1 * var(--grid-overflow));
    height: var(--grid-border);
    background: linear-gradient(90deg,
      transparent 0%, rgba(99,102,241,0.06) 8%,
      rgba(99,102,241,0.14) 30%, rgba(34,211,238,0.10) 50%,
      rgba(99,102,241,0.14) 70%, rgba(99,102,241,0.06) 92%,
      transparent 100%);
    z-index: 4; pointer-events: none;
  }
}

/* --- I4.0 Metro mobile — full stack --- */
@media (max-width: 575px) {
  .i40-metro {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "erp"
      "crm"
      "wms"
      "cta";
  }
  .i40-header {
    margin-bottom: 36px;
  }
  .i40-tile-content h3 {
    font-size: 1.15rem !important;
  }
  .i40-tile-arrow {
    bottom: 20px;
    right: 20px;
  }
}

/* --- Page header mobile --- */
@media (max-width: 768px) {
  .page-title {
    padding: 140px 0 40px;
  }
  .page-title h1 {
    font-size: 1.8rem !important;
    line-height: 1.25;
  }
}

/* --- Section spacing mobile --- */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section h2 {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  .content-padding {
    padding: 50px 0;
  }
}

/* --- Footer mobile --- */
@media (max-width: 768px) {
  .footer {
    padding-top: 50px;
  }
  .footer > .container {
    padding-top: 15px;
  }
  .footer .columns.is-multiline > .column {
    padding-bottom: 5px;
  }
  .footer .widget {
    margin-bottom: 25px;
  }
  .footer .widget h4 {
    font-size: 1rem;
    margin-bottom: 10px !important;
  }
  .footer .logo {
    justify-content: center;
  }
  .footer .widget p,
  .footer .widget a,
  .footer .widget-contact h6 {
    font-size: 14px;
  }
  .footer .footer-menu {
    line-height: 30px;
  }
  .footer-btm {
    text-align: center;
  }
  .footer .copyright {
    font-size: 13px;
  }
  .footer .footer-socials {
    justify-content: center;
    display: flex;
  }
}
@media (max-width: 575px) {
  .footer .columns.is-multiline > .column {
    text-align: center;
  }
  .footer .widget-contact h6 {
    margin-bottom: 12px;
  }
}

/* --- CTA global mobile --- */
@media (max-width: 768px) {
  .cta-global {
    padding: 60px 0;
  }
  .cta-global h2 {
    font-size: 1.5rem;
  }
  .cta-global p {
    font-size: 14px;
  }
}

/* --- Blog mobile --- */
@media (max-width: 768px) {
  .sidebar-wrap {
    padding-left: 0;
    margin-top: 30px;
  }
}

/* --- About/Why us section mobile --- */
@media (max-width: 768px) {
  .ai-manifesto .column.is-5-desktop {
    margin-top: 30px;
  }
  .feature-list h2 {
    font-size: 1.5rem;
  }
}

/* --- Service detail pages mobile --- */
@media (max-width: 768px) {
  .service-img {
    padding-right: 0;
    margin-bottom: 20px;
  }
  .service-info {
    padding: 0;
  }
  .service-detail-content ul li {
    font-size: 14px;
  }
}

/* --- Contact form mobile --- */
@media (max-width: 768px) {
  .short-info {
    padding: 25px;
    margin-top: 20px;
  }
  .google-map {
    margin-top: 40px !important;
  }
  .mt-90 {
    margin-top: 40px;
  }
}

/* --- WhatsApp button mobile --- */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 85px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* --- Legal pages mobile --- */
@media (max-width: 768px) {
  .legal-content h3 {
    font-size: 1.1rem;
  }
}

/* --- SVG illustrations mobile --- */
@media (max-width: 768px) {
  .svg-illustration svg {
    max-height: 280px;
  }
}

/* --- Process timeline mobile --- */
@media (max-width: 768px) {
  .case-study .case-img {
    margin-bottom: 15px;
  }
}

/* Reduce motion for all animations */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none !important;
    opacity: 1 !important;
  }
  .btn-cta-hero {
    animation: none !important;
  }
  .hero-glow {
    animation: none !important;
  }
  .neural-header-canvas {
    display: none;
  }
  .particles-cta-canvas {
    display: none;
  }
}

/* ========================================
   TESTIMONIOS — Grid estático
   ======================================== */
.testi-section {
  background: var(--nori-bg-surface);
}

.testi-card {
  background: var(--nori-bg-elevated);
  border: 1px solid var(--nori-border);
  border-radius: 14px;
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.testi-card:hover {
  border-color: var(--nori-primary);
  transform: translateY(-3px);
}

.testi-stars {
  color: var(--nori-accent);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testi-quote {
  color: var(--nori-text-muted);
  font-size: 15px;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--nori-border);
}

.testi-author-info strong {
  display: block;
  color: var(--nori-text);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.testi-author-info span {
  color: var(--nori-text-muted);
  font-size: 12px;
}

/* ========================================
   CÓMO TRABAJAMOS — Proceso de 3 pasos
   ======================================== */
.how-section {
  background: var(--nori-bg);
}

.how-step {
  background: var(--nori-bg-elevated);
  border: 1px solid var(--nori-border);
  border-radius: 14px;
  padding: 36px 28px;
  height: 100%;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.how-step:hover {
  border-color: var(--nori-primary);
  transform: translateY(-3px);
}

.how-step--accent {
  border-color: rgba(124, 58, 237, 0.4);
  background: linear-gradient(145deg, var(--nori-bg-elevated), rgba(124, 58, 237, 0.06));
}

.how-step-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--nori-primary);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 16px;
}

.how-step--accent .how-step-num {
  opacity: 1;
}

.how-step-title {
  color: var(--nori-text);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.how-step-desc {
  color: var(--nori-text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.how-step-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  color: var(--nori-accent);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Light theme overrides for new sections */
[data-theme="light"] .testi-card {
  background: #ffffff;
  border-color: #e5e7eb;
}

[data-theme="light"] .testi-card:hover {
  border-color: var(--nori-primary);
}

[data-theme="light"] .testi-quote {
  color: #4b5563;
}

[data-theme="light"] .testi-author-info strong {
  color: #111827;
}

[data-theme="light"] .testi-author-info span {
  color: #6b7280;
}

[data-theme="light"] .testi-author {
  border-top-color: #e5e7eb;
}

[data-theme="light"] .how-step {
  background: #ffffff;
  border-color: #e5e7eb;
}

[data-theme="light"] .how-step--accent {
  border-color: rgba(124, 58, 237, 0.3);
  background: linear-gradient(145deg, #ffffff, rgba(124, 58, 237, 0.04));
}

[data-theme="light"] .how-step-desc {
  color: #4b5563;
}

/* ========================================
   LIGHT THEME OVERRIDES
   Apple/Linear-style clean light mode.
   Applied when <html data-theme="light">.
   All dark theme rules remain untouched —
   only additive overrides are defined here.
   ======================================== */

/* ---- Design tokens ---- */
[data-theme="light"] {
  --nori-bg: #f5f5f7;
  --nori-bg-surface: #ffffff;
  --nori-bg-elevated: #eeeef2;
  --nori-primary: #6d28d9;
  --nori-primary-dark: #5b21b6;
  --nori-primary-glow: rgba(109, 40, 217, 0.1);
  --nori-accent: #d97706;
  --nori-accent-glow: rgba(217, 119, 6, 0.1);
  --nori-text: #1a1a2e;
  --nori-text-muted: #5a5a72;
  --nori-text-dim: rgba(0, 0, 0, 0.4);
  --nori-border: rgba(0, 0, 0, 0.08);
  --nori-shadow: 0 0 40px rgba(109, 40, 217, 0.06);
}

/* ---- Global selection & scrollbar ---- */
[data-theme="light"] ::selection {
  background: rgba(109, 40, 217, 0.15);
  color: #1a1a2e;
}

[data-theme="light"] ::-webkit-scrollbar-track {
  background: #f5f5f7;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: #d1d1db;
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: #6d28d9;
}

/* ---- Navbar ---- */
[data-theme="light"] #navbar {
  background: rgba(245, 245, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] #navbar .navbar-link {
  color: #1a1a2e !important;
}

[data-theme="light"] #navbar .navbar-link:hover {
  color: var(--nori-primary) !important;
}

[data-theme="light"] #navbar.nav-text-white .navbar-link {
  color: #1a1a2e !important;
}

[data-theme="light"] .nav-toggle-btn {
  color: #5a5a72;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .nav-toggle-btn:hover {
  color: var(--nori-primary);
  border-color: var(--nori-primary);
}

[data-theme="light"] .navbar-burger span {
  background-color: #1a1a2e !important;
}

[data-theme="light"] .navbar-burger {
  color: #1a1a2e;
}

@media (max-width: 1023px) {
  [data-theme="light"] .navbar-menu {
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
  [data-theme="light"] .navbar-menu .navbar-link {
    color: #1a1a2e !important;
  }
}

[data-theme="light"] .navbar-dropdown {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .navbar-dropdown .navbar-item {
  color: #5a5a72;
}

/* ---- Logo ---- */
[data-theme="light"] .nori-logo-text {
  color: #1a1a2e;
}

[data-theme="light"] .nori-logo-core {
  box-shadow: 0 0 12px rgba(109, 40, 217, 0.4), 0 0 24px rgba(109, 40, 217, 0.12);
}

[data-theme="light"] .nori-logo:hover .nori-logo-core {
  box-shadow: 0 0 14px rgba(217, 119, 6, 0.5), 0 0 28px rgba(217, 119, 6, 0.18);
}

[data-theme="light"] .nori-logo:hover .nori-logo-text {
  text-shadow: 0 0 20px rgba(109, 40, 217, 0.1);
}

/* ---- Hero / Banner ---- */
[data-theme="light"] .banner {
  background: linear-gradient(135deg, #f5f5f7 0%, #eeeef2 100%) !important;
}

[data-theme="light"] .banner .block h1 {
  color: #1a1a2e;
}
[data-theme="light"] .banner .block h1 .text-reveal-char {
  background: linear-gradient(135deg, #1a1a2e 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .hero-glow {
  background: radial-gradient(circle at center, rgba(109, 40, 217, 0.10) 0%, rgba(109, 40, 217, 0.03) 40%, transparent 70%);
}

/* ---- Page header (bg-1) ---- */
[data-theme="light"] .bg-1 {
  background: linear-gradient(160deg, #f5f5f7 0%, #eeeef2 100%);
}

[data-theme="light"] .page-title .block h1 {
  color: #1a1a2e;
}

[data-theme="light"] .page-title .block p {
  color: #5a5a72;
}

[data-theme="light"] .page-title .breadcumb-nav {
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .page-title::before {
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(109, 40, 217, 0.08) 0%, transparent 70%);
}

/* ---- Trust bar ---- */
[data-theme="light"] .trust-bar {
  background: #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .trust-bar .column + .column {
  border-left-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .trust-number {
  text-shadow: 0 0 30px rgba(109, 40, 217, 0.2);
}

/* ---- Service cards (cardinal grid) ---- */
[data-theme="light"] .service-cards-grid {
  background: none;
}
/* Light theme divider lines */
[data-theme="light"] .service-cards-grid > .column::after {
  background: linear-gradient(180deg,
    transparent 0%, rgba(109,40,217,0.04) 8%,
    rgba(109,40,217,0.10) 30%, rgba(217,119,6,0.06) 50%,
    rgba(109,40,217,0.10) 70%, rgba(109,40,217,0.04) 92%,
    transparent 100%) !important;
}
[data-theme="light"] .service-cards-grid > .column::before {
  background: linear-gradient(90deg,
    transparent 0%, rgba(109,40,217,0.04) 8%,
    rgba(109,40,217,0.10) 30%, rgba(217,119,6,0.06) 50%,
    rgba(109,40,217,0.10) 70%, rgba(109,40,217,0.04) 92%,
    transparent 100%) !important;
}
[data-theme="light"] .service-card {
  background: #ffffff;
}
[data-theme="light"] .service-card:hover {
  background: color-mix(in srgb, #ffffff 96%, #6d28d9 4%);
  box-shadow: inset 0 0 0 1px rgba(109, 40, 217, 0.15), 0 0 40px rgba(109, 40, 217, 0.05);
}
[data-theme="light"] .service-card::before {
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(109, 40, 217, 0.07) 0%,
    rgba(217, 119, 6, 0.03) 25%,
    transparent 60%
  );
}
[data-theme="light"] .service-card-icon i {
  background: radial-gradient(circle at 30% 30%, rgba(109, 40, 217, 0.10), rgba(109, 40, 217, 0.02));
  border-color: rgba(109, 40, 217, 0.08);
}
[data-theme="light"] .service-card:hover .service-card-icon i {
  background: radial-gradient(circle at 30% 30%, rgba(109, 40, 217, 0.18), rgba(109, 40, 217, 0.05));
  border-color: rgba(109, 40, 217, 0.25);
  box-shadow: 0 0 24px rgba(109, 40, 217, 0.08);
}
/* (inner borders now handled via column pseudo-elements above) */
/* Featured card light */
[data-theme="light"] .service-card-featured {
  background: color-mix(in srgb, #ffffff 98%, #d97706 2%);
}
[data-theme="light"] .service-card-featured:hover {
  background: color-mix(in srgb, #ffffff 95%, #d97706 5%);
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.15), 0 0 40px rgba(217, 119, 6, 0.04);
}

/* ---- Industria 4.0 section & cards ---- */
[data-theme="light"] .industria40-section {
  background: #f5f5f7;
}
[data-theme="light"] .i40-tile {
  background: #ffffff;
}
[data-theme="light"] .i40-tile:hover {
  background: color-mix(in srgb, #ffffff 94%, #6d28d9 6%);
}
[data-theme="light"] .i40-tile::before {
  background: radial-gradient(
    600px circle at var(--mouse-x, 30%) var(--mouse-y, 40%),
    rgba(109,40,217,0.07) 0%,
    rgba(217,119,6,0.03) 30%,
    transparent 60%
  );
}
[data-theme="light"] .i40-tile-tag {
  color: #6d28d9;
  background: rgba(109,40,217,0.06);
  border-color: rgba(109,40,217,0.10);
}
[data-theme="light"] .i40-tile:hover .i40-tile-tag {
  background: rgba(109,40,217,0.12);
  border-color: rgba(109,40,217,0.22);
  color: #6d28d9;
}
[data-theme="light"] .i40-tile-chips span {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .i40-tile-arrow {
  color: rgba(109,40,217,0.25);
}
[data-theme="light"] .i40-tile:hover .i40-tile-arrow {
  color: #d97706;
}
[data-theme="light"] .i40-tile--cta {
  background: linear-gradient(135deg,
    rgba(109,40,217,0.04) 0%,
    rgba(217,119,6,0.02) 100%);
}
[data-theme="light"] .i40-tile--cta:hover {
  background: linear-gradient(135deg,
    rgba(109,40,217,0.08) 0%,
    rgba(217,119,6,0.04) 100%);
}
[data-theme="light"] .i40-tile--cta .i40-tile-content h3 {
  background: linear-gradient(135deg, #6d28d9 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Global CTA section ---- */
[data-theme="light"] .cta-global {
  background: linear-gradient(135deg, #eeeef2 0%, #e0d8f7 100%);
}

[data-theme="light"] .cta-global::before {
  background: radial-gradient(circle, rgba(109, 40, 217, 0.12) 0%, transparent 65%);
}

[data-theme="light"] .cta-global h2 {
  color: #1a1a2e;
}

[data-theme="light"] .cta-global p {
  color: rgba(26, 26, 46, 0.75);
}

/* ---- Footer ---- */
[data-theme="light"] .footer {
  background: #ffffff;
}

[data-theme="light"] .footer-btm {
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .widget h4 {
  color: #1a1a2e;
}

[data-theme="light"] .widget a {
  color: rgba(26, 26, 46, 0.65);
}

[data-theme="light"] .widget a:hover {
  color: #6d28d9;
}

[data-theme="light"] .widget p {
  color: rgba(26, 26, 46, 0.65);
}

[data-theme="light"] .widget-contact h6 a {
  color: rgba(26, 26, 46, 0.65);
}

[data-theme="light"] .copyright {
  color: rgba(26, 26, 46, 0.6);
}

[data-theme="light"] .copyright a {
  color: rgba(26, 26, 46, 0.75);
}

[data-theme="light"] .copyright a:hover {
  color: #6d28d9;
}

[data-theme="light"] .footer-socials .list-inline-item a {
  color: rgba(26, 26, 46, 0.5);
}

[data-theme="light"] .footer-socials .list-inline-item a:hover {
  background: #6d28d9;
  color: #fff;
}

/* ---- Icon blocks ---- */
[data-theme="light"] .icon-block {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .icon-block i {
  background: radial-gradient(circle at 30% 30%, rgba(109, 40, 217, 0.12), rgba(109, 40, 217, 0.03));
}

/* ---- Testimonials ---- */
[data-theme="light"] .testimonial-block p {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .testimonial-block p:after {
  border-color: #ffffff transparent transparent;
}

/* ---- Pricing blocks ---- */
[data-theme="light"] .pricing-block {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* ---- Contact / short info ---- */
[data-theme="light"] .short-info {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

/* ---- Form overlays ---- */
[data-theme="light"] .form-overlay--sending {
  background: rgba(245, 245, 247, 0.90);
}

[data-theme="light"] .form-overlay--success {
  background: rgba(245, 245, 247, 0.95);
}

[data-theme="light"] .form-overlay--error {
  background: rgba(245, 245, 247, 0.95);
}

/* ---- Blog list items ---- */
[data-theme="light"] .blog-item {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .blog-item:hover {
  border-color: #6d28d9;
  box-shadow: 0 8px 30px rgba(109, 40, 217, 0.08);
}

[data-theme="light"] .single-blog {
  background-color: #ffffff;
}

[data-theme="light"] .sidebar-widget.tags a {
  background-color: #eeeef2;
  color: #5a5a72;
}

[data-theme="light"] .sidebar-widget.tags a:hover {
  background: #6d28d9;
  color: #fff;
}

[data-theme="light"] .nav-links .page-numbers {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #1a1a2e;
}

[data-theme="light"] .nav-links .page-numbers:hover {
  background: #6d28d9;
  color: #fff;
}

/* ---- Quote block ---- */
[data-theme="light"] .quote {
  background: #f5f5f7;
  color: #1a1a2e;
}

[data-theme="light"] .blog-article-body .quote {
  background: #eeeef2;
  color: #1a1a2e;
}

/* ---- Comment form & comment wrap ---- */
[data-theme="light"] .comment-form .input {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #1a1a2e;
}

[data-theme="light"] .comment-wrap {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .comment-reply-form input,
[data-theme="light"] .comment-reply-form textarea {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #1a1a2e;
}

/* ---- Buttons ---- */
[data-theme="light"] .btn-solid-border {
  border-color: rgba(0, 0, 0, 0.2);
  color: #1a1a2e;
}

[data-theme="light"] .btn-solid-border:hover {
  border-color: #d97706;
  color: #d97706;
  background: rgba(217, 119, 6, 0.08);
}

[data-theme="light"] .btn-transparent {
  color: #1a1a2e;
  border-color: #5a5a72;
}

[data-theme="light"] .btn-transparent:hover {
  background: #eeeef2;
  color: #1a1a2e;
}

/* btn-cta-hero and btn-cta-amber use amber bg with dark text —
   this already reads correctly on both themes. No override needed. */

/* ---- Case study / service section backgrounds ---- */
[data-theme="light"] .case-study {
  background: #ffffff;
}

[data-theme="light"] .service-2 {
  background: #f5f5f7;
}

[data-theme="light"] .service {
  background: #f5f5f7;
}

[data-theme="light"] .about {
  background: #f5f5f7;
}

[data-theme="light"] .process {
  background: #f5f5f7;
}

[data-theme="light"] .cta {
  background: linear-gradient(135deg, #eeeef2 0%, #ffffff 100%);
}

[data-theme="light"] .cta-content {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .cta-2 {
  background: #ffffff !important;
}

/* ---- Portfolio ---- */
[data-theme="light"] .portfolio:before {
  background-color: #ffffff;
}

/* ---- Utility backgrounds ---- */
[data-theme="light"] .bg-gray {
  background: #ffffff;
}

[data-theme="light"] .bg-dark {
  background: #f5f5f7;
}

[data-theme="light"] .bg-white {
  background-color: #eeeef2;
}

[data-theme="light"] .bg-light {
  background-color: #ffffff;
}

/* ---- Section title ---- */
[data-theme="light"] .section-title p {
  color: #5a5a72;
}

/* ---- Feature block ---- */
[data-theme="light"] .feature-block {
  background: #ffffff;
}

/* ---- Case timeline dot ---- */
[data-theme="light"] .case-timeline-dot {
  background-color: #ffffff;
}

/* ---- Service item list ---- */
[data-theme="light"] .service-item-list {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* ---- Award / video blocks ---- */
[data-theme="light"] .award-img-block {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .video-img .video-play i {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ---- Post author image ---- */
[data-theme="light"] .post-author > img {
  border-color: rgba(0, 0, 0, 0.08);
}

/* ---- Notification states ---- */
[data-theme="light"] .notification.is-success {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .notification.is-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #7f1d1d;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ---- Showcase canvas wrapper ---- */
[data-theme="light"] .showcase-wrapper {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* ---- Breadcrumb ---- */
[data-theme="light"] .breadcrumb a {
  color: #5a5a72;
}

[data-theme="light"] .breadcrumb a:hover {
  color: #6d28d9;
}

[data-theme="light"] .breadcrumb .is-active a {
  color: #1a1a2e;
}

/* ---- Select dropdown arrow & option bg ---- */
[data-theme="light"] select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5a72' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

[data-theme="light"] select.input option {
  background: #eeeef2;
  color: #1a1a2e;
}

/* ---- Blog article code & pre blocks ---- */
[data-theme="light"] .blog-article-body code {
  background: #eeeef2;
  color: #d97706;
}

[data-theme="light"] .blog-article-body pre {
  background: #eeeef2;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .blog-article-body pre code {
  color: #5a5a72;
}

/* ---- Blog article table ---- */
[data-theme="light"] .blog-article-body table th {
  background: #eeeef2;
  color: #1a1a2e;
}

[data-theme="light"] .blog-article-body table th,
[data-theme="light"] .blog-article-body table td {
  border-color: rgba(0, 0, 0, 0.08);
}

/* ---- Legal content borders ---- */
[data-theme="light"] .legal-content h3 {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* ---- Blog ol counter bubbles ---- */
[data-theme="light"] .blog-article-body ol.blog-ol li::before {
  background: rgba(109, 40, 217, 0.08);
  color: #6d28d9;
}

/* ---- Process step number decorative line ---- */
[data-theme="light"] .process-step-number::after {
  background: linear-gradient(90deg, #d97706, transparent);
}

/* ---- Text utilities that reference #fff ---- */
[data-theme="light"] .text-white {
  color: #1a1a2e;
}

[data-theme="light"] .text-white-50 {
  color: rgba(26, 26, 46, 0.5);
}
