/* =========================================================
   Nova Technologies — Shared Stylesheet
   Brand: navy #0118a5 · red #e6302a · magenta #6d1e5a
   ========================================================= */

:root {
  --navy: #0118a5;
  --navy-dark: #010f66;
  --navy-deep: #000a40;
  --red: #e6302a;
  --red-dark: #c81f19;
  --magenta: #6d1e5a;
  --magenta-light: #8a2f74;
  --orange: #f7941d;
  --ink: #121c3a;
  --slate: #4a5478;
  --muted: #6b7396;
  --line: #e3e7f5;
  --soft: #f5f7ff;
  --soft-2: #eef1fc;
  --white: #ffffff;
  --grad-brand: linear-gradient(135deg, #0118a5 0%, #2a3fd8 55%, #6d1e5a 130%);
  --grad-cta: linear-gradient(135deg, #e6302a 0%, #ff5f38 100%);
  --grad-magenta: linear-gradient(135deg, #6d1e5a 0%, #0118a5 100%);
  --shadow-sm: 0 2px 8px rgba(9, 18, 64, 0.06);
  --shadow: 0 10px 30px rgba(9, 18, 64, 0.10);
  --shadow-lg: 0 24px 60px rgba(9, 18, 64, 0.16);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1400px;
  --font-head: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 92px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--red);
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

p {
  color: var(--slate);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  position: relative;
}

.section-soft {
  background: var(--soft);
}

::selection {
  background: var(--navy);
  color: #fff;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.eyebrow-center {
  justify-content: center;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.05rem;
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.text-red {
  color: var(--red);
}

.text-magenta {
  color: var(--magenta);
}

.text-muted {
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  line-height: 1.2;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: 0 10px 24px rgba(230, 48, 42, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(230, 48, 42, 0.4);
  color: #fff;
}

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

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--navy);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--navy);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-ghost-light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.02rem;
}

/* ---------- Top contact bar ---------- */
.topbar {
  position: relative;
  z-index: 1001;
  background: var(--navy);
  color: #c9d0ec;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding-block: 5px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 26px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar a,
.topbar-loc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.topbar a:hover {
  color: var(--orange);
}

.topbar svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--orange);
}

.topbar .topbar-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.16);
  flex: none;
}

.topbar-lang {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
}

@media (max-width: 820px) {
  .hide-on-mobile {
    display: none !important;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(9, 18, 64, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
}

.brand-logo {
  width: 170px;
  height: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: 0.18em;
  color: var(--navy);
}

.brand-sub {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.56rem;
  letter-spacing: 0.3em;
  color: var(--red);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  font-weight: 500;
  font-size: 1.075rem;
  color: var(--ink);
  padding: 9px 15px;
  border-radius: 30px;
}

.nav-links a:hover {
  color: var(--navy);
  background: var(--soft-2);
}

.nav-links a.active {
  color: var(--red);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-actions .btn {
  padding: 11px 22px;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f3ff 0%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(230, 48, 42, 0.07), transparent 60%),
    radial-gradient(500px 300px at 10% 90%, rgba(109, 30, 90, 0.08), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--magenta);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(230, 48, 42, 0.15);
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 .accent {
  position: relative;
  color: var(--red);
  white-space: nowrap;
}

.hero-lead {
  font-size: 1.13rem;
  max-width: 540px;
  margin-bottom: 30px;
  color: var(--slate);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 3vw, 2.6rem);
}

.hero-stat .num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.hero-stat .lbl {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 26px;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hero-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card-title .pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.hero-card-menu {
  color: var(--muted);
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}

.hero-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
  margin-bottom: 18px;
}

.hero-chart .bar {
  flex: 1;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #2a3fd8 0%, #0118a5 100%);
  opacity: 0.85;
  animation: grow 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-chart .bar.hot {
  background: linear-gradient(180deg, #ff5f38 0%, var(--red) 100%);
  opacity: 1;
}

@keyframes grow {
  from {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.hero-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--soft);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
}

.hero-card-foot .val {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
}

.hero-card-foot .up {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #16a34a;
}

.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--ink);
  z-index: 3;
}

.float-chip .ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
}

.float-chip b {
  color: var(--navy);
  display: block;
  font-size: 0.86rem;
  line-height: 1.2;
}

.float-chip span {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.3;
}

.float-chip-1 {
  top: 30px;
  left: -34px;
  animation: floaty 5s ease-in-out infinite;
}

.float-chip-2 {
  bottom: 40px;
  right: -26px;
  animation: floaty 6s ease-in-out 0.8s infinite;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ---------- Marquee / logos ---------- */
.partner-strip {
  background: #fff;
  border-block: 1px solid var(--line);
  padding-block: 20px;
}

.partner-strip .container {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  flex-wrap: wrap;
  justify-content: center;
}

.partner-strip span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  opacity: 0.85;
  white-space: nowrap;
}

/* ---------- Service cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid rgba(9, 18, 64, 0.05);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 12px rgba(9, 18, 64, 0.02);
}

.svc-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(9, 18, 64, 0.06), 0 0 0 1px rgba(9, 18, 64, 0.03);
  border-color: transparent;
  background: #fff;
}

.svc-card:hover::before {
  transform: scaleX(1);
}

.svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  opacity: 0.08;
  z-index: 0;
  transition: opacity 0.5s ease;
}

.svc-card:hover .svc-icon {
  transform: translateY(-4px) scale(1.05);
}

.svc-card:hover .svc-icon::after {
  opacity: 0.15;
}

.svc-icon svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}

.svc-icon.navy {
  color: #0b2bbd;
}

.svc-icon.navy::after {
  background: #0b2bbd;
}

.svc-icon.red {
  color: #e6302a;
}

.svc-icon.red::after {
  background: #e6302a;
}

.svc-icon.magenta {
  color: #8e1e79;
}

.svc-icon.magenta::after {
  background: #8e1e79;
}

.svc-icon.orange {
  color: #f7941d;
}

.svc-icon.orange::after {
  background: #f7941d;
}

.svc-icon.indigo {
  color: #4338ca;
}

.svc-icon.indigo::after {
  background: #4338ca;
}

.svc-icon.green {
  color: #16a34a;
}

.svc-icon.green::after {
  background: #16a34a;
}

.svc-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.svc-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex: 1;
}

.svc-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  transition: color 0.3s ease;
}

.svc-link:hover {
  color: var(--cta);
}

.svc-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.svc-link:hover svg {
  transform: translateX(4px);
}

/* ---------- Feature list ---------- */
.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--slate);
  font-size: 0.98rem;
}

.check-list .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
}

.check-list .tick svg {
  width: 13px;
  height: 13px;
}

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split.rev .split-visual {
  order: 2;
}

.split-visual {
  position: relative;
}

.visual-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--soft);
  aspect-ratio: 4 / 3.4;
  display: grid;
  place-items: center;
  position: relative;
}

.visual-frame svg {
  width: 60%;
  height: auto;
  opacity: 0.95;
}

.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--ink);
}

.mini-card b {
  color: var(--navy);
  display: block;
}

.mini-card .ic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}

.mini-card .ic svg {
  width: 17px;
  height: 17px;
}

.mini-card-m1 {
  top: -18px;
  right: 12px;
}

.mini-card-m2 {
  bottom: -18px;
  left: 14px;
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--grad-brand);
  color: #fff;
}

.stats-band h2,
.stats-band p {
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

.stat {
  text-align: center;
}

.stat .num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
}

.stat .lbl {
  opacity: 0.85;
  font-size: 0.9rem;
  margin-top: 8px;
}

/* ---------- Steps / process ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  transition: all 0.25s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step .num-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--soft-2);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.92rem;
}

/* ---------- Testimonials ---------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.quote-stars {
  color: var(--orange);
  letter-spacing: 2px;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.quote-card blockquote {
  color: var(--ink);
  font-size: 0.98rem;
  margin-bottom: 20px;
}

.quote-who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  flex: none;
}

.quote-who b {
  color: var(--navy);
  display: block;
  font-size: 0.95rem;
}

.quote-who span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 4rem) clamp(1.6rem, 4vw, 3.5rem);
  text-align: center;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  opacity: 0.85;
  max-width: 620px;
  margin: 14px auto 28px;
}

.cta-band .btn-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Page hero ---------- */
.page-hero {
  background: linear-gradient(180deg, #eef1fc 0%, #ffffff 100%);
  padding-block: clamp(2.8rem, 5vw, 4.5rem) clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 14px;
}

.page-hero .lead {
  max-width: 680px;
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--navy);
  font-weight: 600;
}

.breadcrumb .sep {
  color: var(--line);
}

/* ---------- About ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-card .ic {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 18px;
}

.value-card .ic svg {
  width: 26px;
  height: 26px;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 9px;
}

.value-card p {
  font-size: 0.94rem;
}

/* ---------- Services detailed ---------- */
.svc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3rem);
}

.svc-block+.svc-block {
  border-top: 1px solid var(--line);
}

.svc-block.rev .svc-visual {
  order: 2;
}

.svc-visual {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  min-height: 300px;
  display: grid;
  place-content: center;
}

.svc-visual .inner {
  text-align: center;
}

.svc-visual .inner .ic {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
}

.svc-visual .inner .ic svg {
  width: 36px;
  height: 36px;
}

.svc-visual .inner h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.svc-visual .inner p {
  font-size: 0.9rem;
  max-width: 300px;
  margin-inline: auto;
}

.svc-block h2 {
  margin-bottom: 12px;
}

.svc-block .desc {
  margin-bottom: 20px;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 22px 26px;
}

.svc-tags span {
  background: var(--soft-2);
  color: var(--navy);
  border-radius: 30px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---------- Portfolio ---------- */
.port-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .port-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .port-grid {
    grid-template-columns: 1fr;
  }
}

.port-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
}

.port-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.port-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  display: grid;
  place-items: center;
}

.port-thumb svg {
  width: 46px;
  height: 46px;
  color: rgba(255, 255, 255, 0.9);
}

.port-logo {
  max-width: 220px;
  max-height: 110px;
  object-fit: contain;
  z-index: 1;
  margin-top: 48px;
}

.port-thumb .tag {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 30px;
  padding: 5px 12px;
  text-align: center;
  width: max-content;
  max-width: 90%;
}

.port-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.port-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.port-body p {
  font-size: 0.92rem;
  flex: 1;
  text-align: justify;
  line-height: 1.6;
}

.port-meta {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.port-meta span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--magenta);
  background: rgba(109, 30, 90, 0.08);
  padding: 5px 10px;
  border-radius: 6px;
}

.port-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: 20px;
}

.port-link:hover {
  color: var(--red);
}

.port-link-disabled {
  color: var(--muted);
  pointer-events: none;
  opacity: 0.5;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(9, 18, 64, 0.08);
}

.blog-thumb {
  aspect-ratio: 16 / 8.5;
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--soft);
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.03);
}

.blog-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-body h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 12px;
}

.blog-body p {
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
  color: var(--slate);
  margin-bottom: 24px;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
}

.blog-link:hover {
  color: var(--red);
}

.cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.cat-pill {
  padding: 10px 22px;
  border-radius: 30px;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(9, 18, 64, 0.03);
}

.cat-pill:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 14px;
}

.blog-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
}

.blog-meta .cat {
  color: var(--red);
}

.blog-body h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.blog-body h3 a {
  color: var(--navy);
}

.blog-body h3 a:hover {
  color: var(--red);
}

.blog-body p {
  font-size: 0.92rem;
  flex: 1;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.open {
  border-color: rgba(1, 24, 165, 0.4);
  box-shadow: var(--shadow);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  line-height: 1.4;
}

.faq-q .icon {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--soft-2);
  color: var(--navy);
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
}

.faq-q .icon svg {
  width: 15px;
  height: 15px;
}

.faq-item.open .faq-q .icon {
  background: var(--navy);
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a-inner {
  padding: 0 22px 22px;
  font-size: 0.96rem;
}

.faq-a-inner p {
  margin-bottom: 8px;
}

.faq-a-inner p:last-child {
  margin-bottom: 0;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-details-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}

.contact-row {
  display: flex;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.contact-row .ic {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--soft-2);
  display: grid;
  place-items: center;
  color: var(--navy);
  flex: none;
  transition: all 0.3s ease;
}

.contact-row .ic.ic-office {
  background: #fff3e0;
  color: #ef6c00;
}

.contact-row .ic.ic-call {
  background: #e3f2fd;
  color: #1565c0;
}

.contact-row .ic.ic-email {
  background: #f3e5f5;
  color: #6a1b9a;
}

.contact-row .ic.ic-whatsapp {
  background: #e8f5e9;
  color: #2e7d32;
}

.contact-row .ic.ic-social {
  background: #e8eaf6;
  color: #283593;
}

.contact-row:hover .ic {
  background: var(--orange);
  color: #fff;
}

.contact-row .ic svg {
  width: 20px;
  height: 20px;
}

.contact-row h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.contact-row p,
.contact-row a {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.55;
}

.contact-row a {
  font-weight: 500;
  color: var(--ink);
}

.contact-row a:hover {
  color: var(--red);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-whatsapp:hover {
  background: #128c7e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.socials-links a {
  display: block;
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 4px;
}

.socials-links a:hover {
  color: var(--red);
}

.social-icons-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.social-icons-row a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  transition: all 0.2s ease;
}

.social-icons-row a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-3px);
}

.social-icons-row svg {
  width: 17px;
  height: 17px;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(1, 24, 165, 0.1);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field .error-msg {
  display: none;
  color: var(--red);
  font-size: 0.78rem;
  margin-top: 5px;
}

.field.invalid input,
.field.invalid textarea,
.field.invalid select {
  border-color: var(--red);
}

.field.invalid .error-msg {
  display: block;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--soft);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 16px;
}

.form-note svg {
  width: 16px;
  height: 16px;
  color: var(--navy);
  flex: none;
  margin-top: 2px;
}

.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #22c55e;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-success.active {
  opacity: 1;
  transform: translateY(0);
}

.form-success .tick {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: grid;
  place-items: center;
}

.form-success .tick svg {
  width: 24px;
  height: 24px;
}

.form-success h3 {
  color: #166534;
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-weight: 700;
}

.form-success p {
  color: #15803d;
  font-size: 0.95rem;
  margin: 0;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  filter: saturate(0.9);
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-ping 2.2s ease-out infinite;
}

@keyframes wa-ping {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #cdd3ec;
  margin-top: clamp(2rem, 4vw, 4rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(2.6rem, 5vw, 4rem);
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

.footer-about p {
  color: #aab2d6;
  font-size: 0.92rem;
  margin-block: 16px 20px;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col ul a {
  color: #aab2d6;
  font-size: 0.93rem;
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 0.92rem;
  color: #aab2d6;
  align-items: flex-start;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--orange);
  flex: none;
  margin-top: 3px;
}

.footer-contact a {
  color: #aab2d6;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: 9px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.footer-socials a svg {
  width: 17px;
  height: 17px;
}

.footer-socials a:hover {
  transform: translateY(-3px);
}

.footer-socials a.social-fb:hover {
  background: #1877F2;
}

.footer-socials a.social-ig:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-socials a.social-tt:hover {
  background: #000000;
}

.footer-socials a.social-in:hover {
  background: #0A66C2;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: 20px;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #8b93b8;
}

.footer-bottom a {
  color: #aab2d6;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {

  .brand-logo {
    width: 135px;
  }

  .nav-links,
  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(9, 18, 64, 0.1);
    padding: 18px 22px 24px;
  }

  .nav-links.open a {
    padding: 12px 14px;
    font-size: 1.125rem;
    border-radius: 10px;
  }

  .nav-links.open a:hover {
    background: var(--soft);
  }

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

  .hero-visual {
    max-width: 560px;
    margin-inline: auto;
  }

  .float-chip-1 {
    left: -10px;
  }

  .float-chip-2 {
    right: -8px;
  }

  .split,
  .svc-block,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split.rev .split-visual {
    order: 0;
  }

  .svc-block.rev .svc-visual {
    order: 0;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .section {
    padding-block: 3rem;
  }

  .value-grid,
  .stats-grid,
  .footer-top,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: auto;
  }

  .hero-stats {
    gap: 1.4rem;
  }

  .float-chip-1 {
    display: none;
  }

  .float-chip-2 {
    bottom: 20px;
    right: 8px;
  }

  .hero-ctas .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .footer-bottom .container {
    justify-content: center;
    text-align: center;
  }

  .header-actions {
    gap: 8px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-logo {
    width: 110px;
  }
}

@media (max-width: 560px) {
  .topbar {
    font-size: 0.75rem;
  }

  .topbar-inner {
    gap: 6px;
    min-height: 36px;
    flex-wrap: wrap;
    justify-content: center;
    padding-block: 6px;
  }

  .topbar-right {
    gap: 12px;
    justify-content: center;
    width: 100%;
  }

  .topbar a,
  .topbar-loc {
    gap: 6px;
  }

  .topbar svg {
    width: 13px;
    height: 13px;
  }

  .topbar .topbar-sep {
    height: 14px;
  }
}

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 3px solid rgba(1, 24, 165, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Hero Visual Animations ---------- */
.hero-visual-animated {
  position: relative;
  z-index: 1;
}

.hero-visual-animated .hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(13, 43, 222, 0.06) 0%, rgba(220, 38, 38, 0.03) 40%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
  animation: glow-spin 18s linear infinite;
  pointer-events: none;
}

@keyframes glow-spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.05);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
  }
}

/* --- SaaS Hero Redesign --- */
.saas-hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
  max-width: 600px;
  margin: 0 auto;
}

.saas-hero-visual .data-flow-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.saas-hero-visual .data-line {
  stroke-dasharray: 6 12;
  animation: flow-line-saas 12s linear infinite;
}

@keyframes flow-line-saas {
  to {
    stroke-dashoffset: -100;
  }
}

.saas-dashboard {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(9, 18, 64, 0.12), 0 0 0 1px rgba(255, 255, 255, 1), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  overflow: hidden;
  animation: float-saas 10s ease-in-out infinite;
  z-index: 2;
}

@keyframes float-saas {

  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, calc(-50% - 12px));
  }
}

.saas-dash-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.saas-dash-dots {
  display: flex;
  gap: 6px;
}

.saas-dash-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.4;
}

.saas-dash-dots span:first-child {
  background: #ef4444;
  opacity: 1;
}

.saas-dash-dots span:nth-child(2) {
  background: #f59e0b;
  opacity: 1;
}

.saas-dash-dots span:nth-child(3) {
  background: #10b981;
  opacity: 1;
}

.saas-dash-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.saas-dash-body {
  padding: 20px;
}

.saas-dash-grid {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.saas-dash-metrics {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.saas-metric {
  background: #ffffff;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(9, 18, 64, 0.02), inset 0 0 0 1px rgba(9, 18, 64, 0.04);
}

.sm-label {
  font-size: 0.7rem;
  color: var(--slate);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.sm-value {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sm-value svg {
  width: 16px;
  height: 16px;
}

.sm-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sm-success {
  color: #10b981;
}

.saas-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 110px;
  gap: 6px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(9, 18, 64, 0.03);
}

.s-bar {
  flex: 1;
  background: var(--brand);
  border-radius: 4px 4px 0 0;
  opacity: 0.12;
  transform-origin: bottom;
  animation: s-bar-grow 5s ease-in-out infinite;
}

.s-bar-active {
  opacity: 0.9;
  background: var(--cta);
}

@keyframes s-bar-grow {

  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(0.85);
  }
}

.s-bar:nth-child(2) {
  animation-delay: 0.2s;
}

.s-bar:nth-child(3) {
  animation-delay: 0.4s;
}

.s-bar:nth-child(4) {
  animation-delay: 0.6s;
}

.s-bar:nth-child(5) {
  animation-delay: 0.8s;
}

.s-bar:nth-child(6) {
  animation-delay: 1.0s;
}

.s-bar:nth-child(7) {
  animation-delay: 1.2s;
}

.saas-dash-footer {
  border-top: 1px dashed rgba(9, 18, 64, 0.1);
  padding-top: 16px;
}

.ai-insight {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(109, 30, 90, 0.04);
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--magenta);
  font-size: 0.8rem;
  font-weight: 500;
}

.ai-icon svg {
  width: 18px;
  height: 18px;
}

/* Rotating Service Badges */
.service-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 10px 20px 10px 10px;
  border-radius: 50px;
  box-shadow: 0 20px 40px rgba(9, 18, 64, 0.08), 0 0 0 1px rgba(9, 18, 64, 0.03);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

.sb-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: transparent;
}

.sb-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  opacity: 0.1;
  z-index: 0;
}

.sb-icon svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
}

.sb-icon.navy {
  color: #0b2bbd;
}

.sb-icon.navy::after {
  background: #0b2bbd;
}

.sb-icon.red {
  color: #e6302a;
}

.sb-icon.red::after {
  background: #e6302a;
}

.sb-icon.magenta {
  color: #8e1e79;
}

.sb-icon.magenta::after {
  background: #8e1e79;
}

.sb-icon.orange {
  color: #f7941d;
}

.sb-icon.orange::after {
  background: #f7941d;
}

.sb-icon.indigo {
  color: #4338ca;
}

.sb-icon.indigo::after {
  background: #4338ca;
}

.sb-icon.green {
  color: #16a34a;
}

.sb-icon.green::after {
  background: #16a34a;
}

.sb-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
}

.sb-text b {
  font-size: 0.85rem;
  color: var(--navy);
  line-height: 1;
}

.sb-text span {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1;
}

/* Badge Positioning and Rotation Animations */
.slot-tl {
  top: 10px;
  left: -40px;
}

.slot-tr {
  top: 50px;
  right: -50px;
}

.slot-bl {
  bottom: 60px;
  left: -30px;
}

.slot-br {
  bottom: 15px;
  right: -25px;
}

/* Swapping animations (16s total loop) */
.badge-web {
  animation: badge-float-tl 8s ease-in-out infinite;
  opacity: 1;
}

.badge-whatsapp {
  animation: badge-float-br 9s ease-in-out infinite;
  opacity: 1;
}

.badge-software {
  animation: badge-swap-1 16s ease-in-out infinite;
}

.badge-marketing {
  animation: badge-swap-2 16s ease-in-out infinite;
}

.badge-mobile {
  animation: badge-swap-1 16s ease-in-out infinite;
}

.badge-ai {
  animation: badge-swap-2 16s ease-in-out infinite;
}

/* badge-swap-1: Visible from 0-45% */
@keyframes badge-swap-1 {

  0%,
  45% {
    opacity: 1;
    transform: translateY(0);
  }

  50%,
  55% {
    opacity: 0;
    transform: translateY(-12px);
  }

  95%,
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* badge-swap-2: Visible from 50-95% */
@keyframes badge-swap-2 {

  0%,
  45% {
    opacity: 0;
    transform: translateY(12px);
  }

  50%,
  95% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-12px);
  }
}

@keyframes badge-float-tl {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ---------- Legal / Privacy Pages ---------- */
.legal-hero {
  padding-bottom: 2rem;
}

.legal-section {
  background-color: #f8f9fc;
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.legal-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.03);
  padding: clamp(3rem, 7vw, 5rem);
}

.legal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
  font-size: 0.95rem;
  color: var(--navy-light);
}

.legal-meta strong {
  color: var(--navy);
  font-size: 1.1rem;
}

.legal-intro {
  margin-bottom: 4.5rem;
  font-size: 1.125rem;
  color: var(--ink);
  line-height: 1.85;
  text-align: justify;
}

.policy-block {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}

.policy-block.border-none {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.policy-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.policy-block p {
  font-size: 1.125rem;
  color: var(--ink);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.policy-block p:last-child {
  margin-bottom: 0;
}

.policy-list {
  margin-bottom: 2rem;
  padding-left: 0;
  list-style: none;
}

.policy-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  color: var(--ink);
  line-height: 1.85;
  text-align: justify;
}

.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.policy-list strong {
  color: var(--navy);
  font-weight: 600;
}

.legal-address {
  font-style: normal;
  line-height: 1.8;
  color: var(--ink);
  background: #f8f9fc;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-top: 1.5rem;
}

.legal-address a {
  color: var(--brand);
  font-weight: 500;
}

.legal-address a:hover {
  text-decoration: underline;
}

@keyframes badge-float-br {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* =========================================================
   Careers Page Styles
   ========================================================= */

/* Hero visual */
.careers-hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

/* Why Join Grid */
.why-join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0 auto;
}

.join-card {
  background: var(--white);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.join-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(9, 18, 64, 0.08);
  border-color: rgba(230, 48, 42, 0.15);
}

.join-card:hover .jc-icon svg {
  transform: scale(1.15);
}

.jc-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(230, 48, 42, 0.08), rgba(109, 30, 90, 0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--magenta);
  margin-bottom: 28px;
}

.jc-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.join-card h3 {
  margin-bottom: 16px;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.join-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--slate);
}

/* Culture Section */
.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.culture-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.culture-content h2 {
  margin-bottom: 24px;
}

.culture-content p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.culture-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.culture-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--navy-deep);
}

.ci-check {
  width: 32px;
  height: 32px;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ci-check svg {
  width: 18px;
  height: 18px;
}

/* Positions Grid */
.positions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.job-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(230, 48, 42, 0.2);
}

.job-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

.job-dept {
  color: var(--magenta);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.job-type {
  color: var(--muted);
  background: var(--soft);
  padding: 4px 10px;
  border-radius: 4px;
}

.job-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.job-skills span {
  background: var(--soft-2);
  color: var(--slate);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
}

.job-apply {
  width: 100%;
  margin-top: auto;
}

/* Hiring Process Timeline */
.timeline-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  margin-top: 40px;
}

.timeline-grid::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 1;
}

.timeline-item {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.ti-number {
  width: 60px;
  height: 60px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  transition: all 0.3s ease;
}

.timeline-item:hover .ti-number {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 0 0 6px rgba(1, 24, 165, 0.1);
}

.timeline-item h4 {
  font-size: 1.1rem;
}

/* Responsive Overrides */
@media (max-width: 992px) {

  .why-join-grid,
  .positions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .culture-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline-grid {
    flex-direction: column;
    gap: 40px;
  }

  .timeline-grid::before {
    top: 0;
    left: 30px;
    width: 2px;
    height: 100%;
  }

  .timeline-item {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 24px;
  }

  .ti-number {
    margin: 0;
  }
}

@media (max-width: 768px) {

  .why-join-grid,
  .positions-grid {
    grid-template-columns: 1fr;
  }

  .culture-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Chatbot Widget Styles
   ========================================================= */

/* Floating Pill Button */
@keyframes floatSubtle {

  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.35);
  }

  50% {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(30, 64, 175, 0.40);
  }
}

.chatbot-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(30, 64, 175, 0.35);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background 0.3s ease;
  animation: floatSubtle 4s ease-in-out infinite;
}

.chatbot-float:hover {
  animation: none;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 35px rgba(30, 64, 175, 0.4);
  background: var(--navy-dark);
}

.chatbot-icon {
  width: 36px;
  height: 36px;
  background: var(--white);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.chatbot-icon svg {
  width: 20px;
  height: 20px;
}

.chatbot-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-body);
}

.chatbot-text>span {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}

.chatbot-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

@keyframes statusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: #25d366;
  /* Online Green */
  border-radius: 50%;
  animation: statusPulse 2s infinite;
}

.status-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

/* Chatbot Popup Panel */
.chatbot-popup {
  position: fixed;
  bottom: 85px;
  right: 22px;
  z-index: 9991;
  width: 380px;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid rgba(30, 64, 175, 0.20);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.3s;
}

.chatbot-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
  background: var(--soft);
  border-radius: 18px 18px 0 0;
}

.chatbot-header-text h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.chatbot-header-text p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.4;
  margin: 0;
}

.chatbot-close {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.chatbot-close:hover {
  background: var(--line);
  color: var(--ink);
}

.chatbot-close svg {
  width: 20px;
  height: 20px;
}

.chatbot-options {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 60vh;
  overflow-y: auto;
}

.chatbot-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  font-family: var(--font-body);
}

.chatbot-card:hover {
  background: var(--soft);
  border-color: rgba(30, 64, 175, 0.25);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 16px rgba(30, 64, 175, 0.08);
}

.chatbot-card-wa:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.05);
}

.chatbot-card-call:hover {
  border-color: var(--navy);
}

.chatbot-card-callback:hover {
  border-color: var(--red);
  background: rgba(230, 48, 42, 0.05);
}

.chatbot-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  color: var(--navy);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.chatbot-card:hover .chatbot-card-icon {
  transform: scale(1.08);
}

.chatbot-card-wa .chatbot-card-icon {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
}

.chatbot-card-callback .chatbot-card-icon {
  background: rgba(230, 48, 42, 0.1);
  color: var(--red);
}

.chatbot-card-icon svg {
  width: 24px;
  height: 24px;
}

.chatbot-card-text {
  flex-grow: 1;
}

.chatbot-card-text h4 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 2px;
  font-family: var(--font-head);
  font-weight: 600;
}

.chatbot-card-text p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.chatbot-card-arrow {
  color: var(--muted);
}

.chatbot-card-arrow svg {
  width: 20px;
  height: 20px;
}

.chatbot-card:hover .chatbot-card-arrow {
  color: var(--ink);
  transform: translateX(3px);
  transition: transform 0.2s ease;
}

/* Callback Modal */
.chatbot-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.chatbot-modal.active {
  opacity: 1;
  visibility: visible;
}

.chatbot-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 64, 0.6);
  backdrop-filter: blur(4px);
}

.chatbot-modal-card {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 440px;
  margin: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s ease;
}

.chatbot-modal.active .chatbot-modal-card {
  transform: scale(1) translateY(0);
}

.chatbot-modal-header {
  padding: 32px 32px 24px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  border-radius: var(--radius) var(--radius) 0 0;
}

.chatbot-modal-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.chatbot-modal-header p {
  font-size: 0.95rem;
  color: var(--slate);
  margin: 0;
}

.chatbot-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: var(--shadow-sm);
}

.chatbot-modal-close:hover {
  background: var(--soft);
  color: var(--ink);
}

.chatbot-modal-close svg {
  width: 18px;
  height: 18px;
}

.chatbot-form {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chatbot-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chatbot-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.chatbot-form input,
.chatbot-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}

.chatbot-form input:focus,
.chatbot-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

.chatbot-form textarea {
  resize: vertical;
}

.chatbot-submit-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.chatbot-submit-btn:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .chatbot-popup {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform-origin: bottom center;
  }

  .chatbot-float {
    bottom: 16px;
    right: 16px;
    padding: 10px;
  }

  .chatbot-text {
    display: none;
    /* Hide text on mobile for small pill */
  }

  .chatbot-modal-card {
    margin: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
  }

  .chatbot-modal-header {
    border-radius: 0;
  }
}

/* =========================================================
   Client Voices Slider
   ========================================================= */

.client-voices-section {
  background: var(--soft);
  overflow: hidden;
}

.cv-slider-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 15px 4vw 75px 4vw;
  /* Added balanced outer margins */
  overflow: hidden;
}

.cv-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.cv-slide {
  flex: 0 0 calc((100% - 96px) / 5);
  min-width: 0;
  display: flex;
}

.cv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  text-align: center;
}

.cv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.cv-logo-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cv-logo {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.cv-rating {
  color: var(--orange);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.cv-text {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.6;
}

.cv-meta {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: 20px;
}

.cv-client-name {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
  font-weight: 700;
}

.cv-client-name span {
  font-weight: 400;
  color: var(--slate);
  font-size: 0.9rem;
}

.cv-company {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.cv-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.cv-project,
.cv-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cv-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
}

.cv-link:hover {
  color: var(--red);
}

.cv-link-disabled {
  color: var(--muted);
  pointer-events: none;
  opacity: 0.5;
}

.cv-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.cv-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

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

.cv-pagination {
  display: flex;
  gap: 8px;
}

.cv-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.cv-dot.active {
  background: var(--navy);
  width: 20px;
  border-radius: 10px;
}

/* Responsive CV Slider */
@media (max-width: 992px) {
  .cv-slide {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .cv-slider-track {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .cv-slide {
    flex: 0 0 100%;
  }

  .cv-slider-track {
    gap: 0;
  }

  .cv-card {
    padding: 24px;
  }
}

/* ---------- Article Page ---------- */
.article-featured-image {
  margin-bottom: 2rem;
  width: 100%;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(9, 18, 64, 0.06);
}