/* =========================================================
   KAYA CORE — Navy + White Design System v4
   ========================================================= */

/* ─── 01. Design Tokens ──────────────────────────────────── */
:root {
  /* Navy (header, hero, footer, CTA, dark sections) */
  --navy:          #0d1f40;
  --navy-mid:      #152a52;
  --navy-light:    #1e3560;
  --navy-border:   rgba(255,255,255,.1);

  /* White/light (body sections) */
  --bg-white:      #ffffff;
  --bg-soft:       #f5f7fb;
  --bg-muted:      #edf0f6;

  /* Card borders & shadows on white */
  --border-card:   rgba(15,23,42,.09);
  --border-soft:   rgba(15,23,42,.05);
  --shadow-card:   0 2px 10px rgba(0,0,0,.06);
  --shadow-hover:  0 10px 32px rgba(26,107,254,.15);

  /* Accent */
  --blue:          #1a6bfe;
  --blue-dark:     #0d52d6;
  --blue-light:    #4e90ff;
  --cyan:          #00b4d8;

  /* Text on white */
  --text-dark:     #0f172a;
  --text-body:     #475569;
  --text-muted-w:  #94a3b8;

  /* Text on navy */
  --text-light:    #f0f4ff;
  --text-soft-n:   rgba(255,255,255,.72);

  /* Status */
  --success:       #10b981;
  --warning:       #f59e0b;
  --danger:        #ef4444;

  /* Misc */
  --section-gap:   96px;
  --radius-card:   14px;
  --radius-sm:     10px;
  --trans-fast:    .18s ease;
  --trans-med:     .28s ease;
}

/* ─── 02. Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-white);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; }
p { color: var(--text-body); }
h1, h2, h3, h4, h5, h6 { color: var(--text-dark); }
img { max-width: 100%; }

/* ─── 03. Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ─── 04. Scroll Progress Bar ────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  z-index: 9999;
  transition: width .08s linear;
  pointer-events: none;
  width: 0;
}

/* ─── 05. Navigation ─────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--trans-med), box-shadow var(--trans-med);
  background: transparent;
}

.site-header.is-scrolled {
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
}

.site-header .navbar {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.brand-logo {
  height: 34px;
  width: auto;
}

.header-clock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-left: 16px;
  padding: 5px 8px 5px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.88);
}

.header-clock i {
  color: var(--cyan);
  font-size: .9rem;
}

.header-clock strong {
  min-width: 64px;
  font-variant-numeric: tabular-nums;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: 0;
}

.header-clock select {
  max-width: 132px;
  min-height: 28px;
  border: 0;
  border-radius: 6px;
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: 0 8px;
  font-size: .76rem;
  font-weight: 700;
  outline: none;
}

.header-clock select:focus {
  box-shadow: 0 0 0 3px rgba(0,180,216,.18);
}

.header-clock option {
  color: var(--text-dark);
  background: #fff;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-weight: 600;
  font-size: .88rem;
  padding: 7px 13px !important;
  border-radius: 8px;
  letter-spacing: .01em;
  transition: color var(--trans-fast), background var(--trans-fast);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 1px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: width var(--trans-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,.08);
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after { width: 16px; }

.navbar-toggler {
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  padding: 6px 10px;
  background: transparent;
}

.navbar-toggler-icon { filter: invert(1); }
.navbar-toggler:focus { box-shadow: none; outline: none; }

@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--navy);
    border: 1px solid var(--navy-border);
    border-radius: 14px;
    padding: 16px 8px;
    margin-top: 10px;
  }

  .navbar-nav .nav-link { padding: 10px 16px !important; }
  .navbar-nav .nav-link::after { display: none; }
  .header-clock {
    margin-left: auto;
    margin-right: 10px;
  }
  .header-clock select { max-width: 104px; }
}

/* ─── 06. Buttons ────────────────────────────────────────── */
.btn {
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .01em;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  transition: all var(--trans-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
  line-height: 1.4;
}

.btn-primary,
a.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(26,107,254,.28);
}

.btn-primary:hover,
a.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 100%);
  box-shadow: 0 4px 22px rgba(26,107,254,.42);
  transform: translateY(-1px);
  color: #fff !important;
}

.btn-primary:active { transform: translateY(0); }

.btn-outline-primary,
a.btn-outline-primary {
  background: transparent;
  color: var(--blue) !important;
  border: 1.5px solid rgba(26,107,254,.4) !important;
}

.btn-outline-primary:hover,
a.btn-outline-primary:hover {
  background: rgba(26,107,254,.06);
  border-color: var(--blue) !important;
  color: var(--blue-dark) !important;
  transform: translateY(-1px);
}

.btn-outline-light,
a.btn-outline-light {
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.45) !important;
}

.btn-outline-light:hover,
a.btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.8) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-lg { padding: 13px 28px; font-size: .93rem; border-radius: 12px; }
.btn-sm { padding: 7px 16px; font-size: .82rem; border-radius: 8px; }

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  transform: scale(0);
  animation: rippleAnim .5s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to { transform: scale(2.8); opacity: 0; }
}

/* AI chatbot */
.kc-chatbot {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 1060;
}

.kc-chatbot-toggle,
.kc-chatbot-close,
.kc-chatbot-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.kc-chatbot-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 14px 36px rgba(26,107,254,.34);
  font-size: 1.35rem;
}

.kc-chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(360px, calc(100vw - 32px));
  height: 560px;
  max-height: calc(100vh - 132px);
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(15,23,42,.22);
  overflow: hidden;
}

.kc-chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: var(--navy);
  color: #fff;
}

.kc-chatbot-head strong,
.kc-chatbot-head span {
  display: block;
  color: #fff;
}

.kc-chatbot-head span {
  font-size: .78rem;
  opacity: .72;
}

.kc-chatbot-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  color: #fff;
}

.kc-chatbot-messages {
  height: calc(100% - 178px);
  padding: 16px;
  overflow-y: auto;
  background: var(--bg-soft);
}

.kc-chatbot-message {
  width: fit-content;
  max-width: 86%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: .9rem;
  line-height: 1.45;
  word-break: break-word;
}

.kc-chatbot-message.bot {
  background: #fff;
  color: var(--text-dark);
  border: 1px solid var(--border-soft);
}

.kc-chatbot-message.user {
  margin-left: auto;
  background: var(--blue);
  color: #fff;
}

.kc-chatbot-form {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border-soft);
  background: #fff;
}

.kc-chatbot-form input {
  min-width: 0;
  height: 44px;
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 0 12px;
  outline: none;
}

.kc-chatbot-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,107,254,.12);
}

.kc-chatbot-form button {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
}

.kc-chatbot-form.is-loading {
  opacity: .78;
  pointer-events: none;
}

.kc-chatbot-agent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 12px 12px;
  height: 38px;
  border-radius: 10px;
  background: rgba(16,185,129,.1);
  color: #047857;
  font-weight: 700;
  font-size: .86rem;
  border: 1px solid rgba(16,185,129,.24);
}

.kc-chatbot-agent:hover {
  color: #065f46;
  background: rgba(16,185,129,.16);
}

@media (max-width: 575px) {
  .kc-chatbot {
    right: 16px;
    bottom: 86px;
  }

  .kc-chatbot-panel {
    height: min(500px, calc(100vh - 120px));
  }
}

.kc-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: all var(--trans-fast);
  cursor: pointer;
}

.kc-action-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 2px 12px rgba(26,107,254,.3);
}

.kc-action-primary:hover {
  box-shadow: 0 4px 22px rgba(26,107,254,.45);
  transform: translateY(-1px);
  color: #fff;
}

.kc-action-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}

.kc-action-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.75);
  color: #fff;
}

/* ─── 07. Eyebrow ────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.eyebrow i { font-size: .9em; }

/* eyebrow on navy backgrounds */
.kc-eyebrow-light,
.hero .eyebrow,
.page-hero .eyebrow,
.kc-grid-bg .eyebrow,
.cta-section .eyebrow {
  color: var(--cyan) !important;
}

/* ─── 08. Typography ─────────────────────────────────────── */
.section-title {
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--text-dark);
  margin-bottom: .75rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead-copy {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.72;
}

/* Typography overrides in navy sections */
.hero .section-title,
.page-hero .section-title,
.kc-grid-bg .section-title,
.kc-stats-dark .section-title,
.cta-section .section-title {
  color: #fff;
}

.hero p, .hero .lead-copy,
.page-hero p, .page-hero .lead-copy,
.kc-grid-bg p, .kc-grid-bg .lead-copy,
.cta-section p,
.kc-stats-dark p {
  color: var(--text-soft-n);
}

.text-white-soft { color: rgba(255,255,255,.78) !important; }
.text-muted { color: var(--text-muted-w) !important; }

.hero .text-muted,
.page-hero .text-muted,
.kc-grid-bg .text-muted,
.cta-section .text-muted,
.kc-stats-dark .text-muted {
  color: rgba(255,255,255,.55) !important;
}

.hero-title-shadow {
  color: #fff;
  text-shadow: 0 2px 40px rgba(0,0,0,.28);
}

/* ─── 09. Sections ───────────────────────────────────────── */
.section { padding: var(--section-gap) 0; }
.section-tight { padding: 52px 0; }
.section-soft { background: var(--bg-soft); }
.framework-shell { background: var(--bg-white); }

/* ─── 10. Hero (Home) ────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 38px 38px;
  animation: gridDrift 40s linear infinite;
  opacity: .7;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100vw);
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(26,107,254,.18) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}

.proof-pill i { color: var(--cyan); font-size: .85em; }

/* Showcase (right side of hero) */
.interactive-showcase {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06);
  transition: transform var(--trans-med), box-shadow var(--trans-med);
}

.interactive-showcase:hover {
  box-shadow: 0 24px 72px rgba(0,0,0,.4), 0 0 0 1px rgba(26,107,254,.3), 0 0 60px rgba(26,107,254,.1);
}

.showcase-carousel .carousel-inner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.showcase-status {
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.showcase-status span { display: flex; align-items: center; gap: 6px; }
.showcase-status span i { color: var(--success); }
.showcase-status strong { font-size: .88rem; color: #fff; font-weight: 600; }

.showcase-dock {
  display: flex;
  border-top: 1px solid rgba(255,255,255,.07);
}

.showcase-dock span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  font-size: .76rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  border-right: 1px solid rgba(255,255,255,.07);
  transition: color var(--trans-fast), background var(--trans-fast);
  cursor: default;
}

.showcase-dock span:last-child { border-right: none; }
.showcase-dock span:hover { color: rgba(255,255,255,.8); background: rgba(255,255,255,.04); }
.showcase-dock span i { color: var(--cyan); }

.scroll-indicator {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: floatGlow 2.5s ease-in-out infinite;
}

.scroll-indicator i { font-size: 1rem; }

/* ─── 11. Page Hero (inner pages) ────────────────────────── */
.page-hero {
  padding: 120px 0 72px;
  background:
    linear-gradient(to right, rgba(13,31,64,.93) 0%, rgba(13,31,64,.72) 100%),
    url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: .6;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -80px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(26,107,254,.14) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-hero .container > * { position: relative; z-index: 1; }

/* ─── 12. Cards ──────────────────────────────────────────── */
.kc-card,
.framework-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--trans-med), border-color var(--trans-med), box-shadow var(--trans-med);
  height: 100%;
}

.kc-card:hover,
.framework-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26,107,254,.2);
  box-shadow: var(--shadow-hover);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: rgba(26,107,254,.08);
  border: 1px solid rgba(26,107,254,.15);
  border-radius: 11px;
  font-size: 1.15rem;
  color: var(--blue);
  flex-shrink: 0;
}

.kc-card h5, .framework-card h5 {
  font-size: .97rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .4rem;
}

.kc-card h6 { color: var(--text-dark); }

.kc-card-label {
  font-size: .93rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .3rem;
}

.framework-title { font-size: .97rem; font-weight: 700; color: var(--text-dark); margin-bottom: .4rem; }
.framework-muted { color: var(--text-body); font-size: .9rem; }

/* ─── 13. Status Pills / Tags ────────────────────────────── */
.status-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(26,107,254,.08);
  color: var(--blue-dark);
  border: 1px solid rgba(26,107,254,.18);
  border-radius: 100px;
  padding: 3px 11px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.kc-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(26,107,254,.06);
  border: 1px solid rgba(26,107,254,.15);
  border-radius: 6px;
  padding: 2px 10px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--blue);
}

.stock-pill-available {
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.2);
  color: #059669;
  border-radius: 100px;
  padding: 3px 11px;
  font-size: .74rem;
  font-weight: 700;
  display: inline-block;
}

.stock-pill-low {
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.2);
  color: #b45309;
  border-radius: 100px;
  padding: 3px 11px;
  font-size: .74rem;
  font-weight: 700;
  display: inline-block;
}

.stock-pill-unavailable,
.stock-pill-sold {
  background: rgba(239,68,68,.06);
  border: 1px solid rgba(239,68,68,.18);
  color: #b91c1c;
  border-radius: 100px;
  padding: 3px 11px;
  font-size: .74rem;
  font-weight: 700;
  display: inline-block;
}

/* ─── 14. Stat Grid ──────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-tile {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--trans-med), box-shadow var(--trans-med);
}

.stat-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.stat-tile strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-tile span {
  display: block;
  font-size: .8rem;
  color: var(--text-muted-w);
  margin-top: 6px;
  font-weight: 500;
}

/* Stat tiles on navy (sobre.php kc-stats-dark) */
.kc-stats-dark { background: var(--navy-mid); }

.kc-stat-tile {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
  transition: transform var(--trans-med), background var(--trans-med);
  cursor: default;
}

.kc-stat-tile:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.09);
}

.kc-stat-tile strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.kc-stat-tile span {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-top: 8px;
}

/* ─── 15. Experience Board ───────────────────────────────── */
.experience-section { background: var(--bg-soft); }

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.experience-board {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.experience-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.experience-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted-w);
  transition: all var(--trans-med);
  cursor: default;
  text-align: center;
}

.experience-node i { font-size: 1.3rem; }

.experience-node.is-live {
  background: rgba(26,107,254,.06);
  border-color: rgba(26,107,254,.25);
  color: var(--blue);
  box-shadow: 0 0 0 1px rgba(26,107,254,.1), 0 4px 18px rgba(26,107,254,.1);
}

.experience-node.is-live i { color: var(--blue); }

.experience-pulse {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--text-muted-w);
}

.experience-pulse span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.experience-pulse strong { color: var(--text-body); font-weight: 600; }

/* ─── 16. Split Panel ────────────────────────────────────── */
.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ─── 17. Product Stage (home) ───────────────────────────── */
.product-stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-stage-carousel {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.product-slide-card { display: flex; flex-direction: column; }

.product-slide-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.product-slide-card > div { padding: 18px 20px; }

.product-slide-card h5 {
  font-size: .93rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 8px 0 4px;
}

.product-slide-card p { font-size: .84rem; color: var(--text-body); margin: 0; }

.product-stage-controls {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--border-soft);
}

.product-stage-controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: var(--bg-soft);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.product-stage-controls button:hover {
  background: rgba(26,107,254,.08);
  border-color: rgba(26,107,254,.3);
  color: var(--blue);
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-gallery img {
  width: 100%;
  height: 76px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-card);
  transition: border-color var(--trans-fast), transform var(--trans-fast);
  cursor: pointer;
}

.mini-gallery img:hover {
  border-color: var(--blue);
  transform: scale(1.04);
}

/* ─── 18. Process Steps ──────────────────────────────────── */
.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  position: relative;
}

.process-line::before {
  content: '';
  position: absolute;
  top: 28px; left: 44px; right: 44px;
  height: 1px;
  background: var(--border-card);
}

.products-process-line { grid-template-columns: repeat(4, 1fr); }

.process-step {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 20px 14px;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-card);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}

.process-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,107,254,.1);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: rgba(26,107,254,.08);
  border: 1px solid rgba(26,107,254,.2);
  border-radius: 50%;
  font-size: .76rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 10px;
}

.process-step h5 { font-size: .88rem; font-weight: 700; color: var(--text-dark); margin-bottom: .25rem; }

/* ─── 19. Timeline ───────────────────────────────────────── */
.kc-timeline {
  position: relative;
  padding-left: 40px;
}

.kc-timeline::before {
  content: '';
  position: absolute;
  top: 8px; bottom: 0; left: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue) 0%, rgba(26,107,254,.1) 100%);
}

.kc-timeline-item { position: relative; margin-bottom: 24px; }
.kc-timeline-item:last-child { margin-bottom: 0; }

.kc-timeline-marker {
  position: absolute;
  left: -40px; top: 6px;
  width: 20px; height: 20px;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(26,107,254,.1);
}

.kc-timeline-year {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.kc-timeline-content { padding: 20px 24px; }
.kc-timeline-content h5 { font-size: .93rem; font-weight: 700; color: var(--text-dark); margin-bottom: .35rem; }

/* ─── 20. Team Cards ─────────────────────────────────────── */
.kc-team-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--trans-med), box-shadow var(--trans-med);
}

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

.team-avatar {
  width: 66px; height: 66px;
  background: linear-gradient(135deg, rgba(26,107,254,.12), rgba(0,180,216,.12));
  border: 2px solid rgba(26,107,254,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue);
  margin: 0 auto 16px;
}

.team-name { font-size: .93rem; font-weight: 700; color: var(--text-dark); margin-bottom: .2rem; }
.team-role { font-size: .78rem; font-weight: 600; color: var(--blue); letter-spacing: .04em; margin-bottom: 10px; }

/* ─── 21. Values ─────────────────────────────────────────── */
.kc-value-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: .88rem;
  color: var(--text-body);
}

.kc-value-item i { color: var(--success); font-size: .85em; }

/* ─── 22. Problem Cards ──────────────────────────────────── */
.problem-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 24px;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: transform var(--trans-med), box-shadow var(--trans-med);
}

.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,107,254,.12);
}

.problem-card > i { font-size: 1.7rem; color: var(--blue); margin-bottom: 12px; display: block; }
.problem-card h5 { font-size: .9rem; font-weight: 700; color: var(--text-dark); margin-bottom: .35rem; }
.problem-card p { font-size: .85rem; color: var(--text-body); margin: 0; }

/* ─── 23. Tech Board (page heroes — on navy) ─────────────── */
.tech-board,
.contact-benefits {
  padding: 8px 0;
}

.tech-board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tech-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: .83rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  transition: all var(--trans-fast);
  cursor: default;
}

.tech-chip:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}

.tech-chip i { color: var(--cyan); font-size: 1.1rem; }

/* ─── 24. Trust Tiles ────────────────────────────────────── */
.trust-tile {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-card);
  transition: transform var(--trans-med), box-shadow var(--trans-med);
}

.trust-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,107,254,.1);
}

.trust-tile i { font-size: 1.5rem; color: var(--blue); }
.trust-tile strong { font-size: .9rem; font-weight: 700; color: var(--text-dark); }
.trust-tile span { font-size: .84rem; color: var(--text-body); }

/* ─── 25. Filter Bar ─────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 7px 18px;
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--trans-fast);
  box-shadow: var(--shadow-card);
}

.filter-btn:hover {
  border-color: rgba(26,107,254,.3);
  color: var(--blue);
}

.filter-btn.is-active {
  background: rgba(26,107,254,.07);
  border-color: rgba(26,107,254,.35);
  color: var(--blue-dark);
  font-weight: 700;
}

[data-product-card],
[data-project-card] {
  transition: opacity .3s, transform .3s;
}

[data-product-card].is-filtered-out,
[data-project-card].is-filtered-out {
  opacity: 0;
  pointer-events: none;
  transform: scale(.96);
}

/* ─── 26. Products ───────────────────────────────────────── */
.product-showcase-card { padding: 0; overflow: hidden; }

.product-image-button {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  position: relative;
  overflow: hidden;
}

.product-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.product-image-button:hover .product-card-image { transform: scale(1.05); }

.product-image-button span {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: .74rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-showcase-card .product-meta-row,
.product-showcase-card h5,
.product-showcase-card .product-brand-line,
.product-showcase-card .text-muted,
.product-showcase-card .product-price,
.product-showcase-card .product-actions-public {
  padding-left: 20px;
  padding-right: 20px;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
}

.product-showcase-card h5 { margin-top: 10px; margin-bottom: 4px; }
.product-brand-line { font-size: .82rem; color: var(--text-muted-w) !important; margin-bottom: 4px; }

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -.01em;
  padding-bottom: 4px;
}

.product-actions-public {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  padding-top: 6px;
}

.product-actions-public .btn {
  flex: 1;
  min-width: 82px;
  justify-content: center;
  font-size: .79rem;
  padding: 7px 10px;
}

/* ─── 27. Blog ───────────────────────────────────────────── */
.blog-card { display: flex; flex-direction: column; }

.blog-card h3 {
  font-size: .97rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 10px 0 8px;
  line-height: 1.4;
}

.blog-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .79rem;
  color: var(--text-muted-w);
}

.blog-meta span { display: flex; align-items: center; gap: 5px; }
.blog-meta i { color: var(--blue); }

.blog-article { max-width: 760px; margin: 0 auto; }
.blog-content { font-size: 1rem; line-height: 1.82; color: var(--text-body); }

.blog-card-cover {
  width: calc(100% + 56px);
  margin: -28px -28px 18px;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  height: 180px;
}

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

.blog-card:hover .blog-card-cover img { transform: scale(1.04); }

.blog-cover-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
}

.blog-cover-video {
  width: 100%;
  max-height: 520px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  background: #000;
  display: block;
}

.blog-slideshow {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-card);
}

.blog-slideshow .carousel-inner img,
.blog-slideshow .carousel-inner video {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  background: var(--bg-soft);
}

.blog-gallery { position: relative; }

.video-thumb-icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  font-size: 1.1rem;
}

.home-ad-section { background: var(--navy-mid); }

.home-ad-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.home-ad-section .section-title,
.home-ad-section .lead-copy { color: #fff; }

.home-ad-video {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: #000;
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
}

.home-ad-video video {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

.home-ad-title {
  margin: 18px 0 12px;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 800;
}

.home-ad-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.home-ad-card {
  display: grid;
  grid-template-columns: minmax(180px, .9fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,.07);
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.home-ad-card video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: #000;
}

.home-ad-card h3 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.32;
  font-weight: 800;
}

.home-ad-card p {
  display: -webkit-box;
  margin: 0 0 10px;
  color: rgba(255,255,255,.68);
  font-size: .86rem;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-ad-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
}

/* ─── 28. Contact ────────────────────────────────────────── */
.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-panel {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.contact-info-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin: 12px 0 8px; }
.contact-info-card p { color: var(--text-body); font-size: .9rem; margin-bottom: 8px; }
.contact-info-card strong { color: var(--text-dark); }

.form-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 6px;
  display: block;
}

.form-control {
  background: var(--bg-soft) !important;
  border: 1px solid var(--border-card) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-dark) !important;
  padding: 10px 14px !important;
  font-size: .88rem !important;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast) !important;
  width: 100%;
}

.form-control:focus {
  background: var(--bg-white) !important;
  border-color: rgba(26,107,254,.45) !important;
  box-shadow: 0 0 0 3px rgba(26,107,254,.1) !important;
  outline: none !important;
}

.form-control::placeholder { color: var(--text-muted-w) !important; }
textarea.form-control { resize: vertical; min-height: 130px; }

.alert {
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  font-size: .88rem;
  font-weight: 500;
  border: none;
  margin-bottom: 20px;
}

.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0 !important; }
.alert-danger  { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca !important; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a !important; }

/* ─── 29. CTA Section ────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(26,107,254,.2) 0%, transparent 65%);
  pointer-events: none;
}

/* ─── 30. Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 60px 0 0;
}

.site-footer h6 {
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}

.site-footer p { color: rgba(255,255,255,.62); font-size: .87rem; }
.site-footer .footer-icon { color: var(--cyan); margin-right: 7px; }

.footer-links { display: flex; flex-direction: column; gap: 9px; }

.footer-links a {
  color: rgba(255,255,255,.62);
  font-size: .87rem;
  transition: color var(--trans-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

.footer-bottom a { color: rgba(255,255,255,.35); transition: color var(--trans-fast); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ─── 31. WhatsApp Float ─────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  background: #25d366;
  border-radius: 50%;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 4px 18px rgba(37,211,102,.4);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 26px rgba(37,211,102,.55);
  color: #fff;
}

/* ─── 32. Modals ─────────────────────────────────────────── */
.modal-content {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.1) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.2) !important;
  color: var(--text-dark) !important;
}

.modal-header {
  border-bottom: 1px solid var(--border-soft) !important;
  padding: 20px 24px !important;
}

.modal-body { padding: 22px 24px !important; }

.modal-footer {
  border-top: 1px solid var(--border-soft) !important;
  padding: 14px 24px !important;
}

.modal-title { color: var(--text-dark) !important; font-size: .97rem !important; font-weight: 700 !important; }

.product-details-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  object-fit: contain;
  max-height: 300px;
  background: var(--bg-soft);
}

.product-gallery-carousel .carousel-inner img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  background: var(--bg-soft);
}

.product-gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 0 2px;
  flex-wrap: wrap;
}

.product-gallery-thumbs button {
  width: 68px; height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border-card);
  background: none;
  padding: 0;
  cursor: pointer;
  transition: border-color var(--trans-fast);
}

.product-gallery-thumbs button.active,
.product-gallery-thumbs button:hover { border-color: var(--blue); }

.product-gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }

.spec-table {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 10px 0;
}

.spec-table > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: .84rem;
}

.spec-table > div:nth-child(odd) { background: var(--bg-soft); }
.spec-table > div span { color: var(--text-muted-w); }
.spec-table > div strong { color: var(--text-dark); font-weight: 600; }

.product-details-description { font-size: .87rem; color: var(--text-body); line-height: 1.65; margin-top: 10px; }

/* ─── 33. Empty State ────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 64px 24px;
  color: var(--text-muted-w);
  text-align: center;
}

.empty-state i { font-size: 2.8rem; color: var(--text-muted-w); }
.empty-state strong { color: var(--text-body); font-size: .97rem; }
.empty-state span { font-size: .86rem; max-width: 300px; }

/* ─── 34. Reveal & GSAP ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}

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

/* ─── 35. kc-grid-bg ─────────────────────────────────────── */
.kc-grid-bg {
  background: var(--navy-mid);
  position: relative;
}

.kc-grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: .8;
  pointer-events: none;
  z-index: 0;
}

.kc-grid-bg > .container { position: relative; z-index: 1; }

/* ─── 36. Animations ─────────────────────────────────────── */
@keyframes gridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 38px 38px; }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: .45; }
}

@keyframes floatGlow {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .5; }
  50% { transform: translateX(-50%) translateY(7px); opacity: .85; }
}

/* ─── 37. Bootstrap Carousel overrides ───────────────────── */
.carousel-control-prev,
.carousel-control-next {
  width: 44px;
  top: 50%; bottom: auto;
  transform: translateY(-50%);
  height: 44px;
  background: rgba(0,0,0,.3);
  border-radius: 50%;
  margin: 0 8px;
  opacity: .8;
  transition: opacity var(--trans-fast), background var(--trans-fast);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background: rgba(26,107,254,.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon { width: 18px; height: 18px; }

.carousel-indicators [data-bs-target] {
  background-color: rgba(255,255,255,.4);
  width: 6px; height: 6px;
  border-radius: 50%;
  border: none;
}

.carousel-indicators .active {
  background-color: var(--cyan);
  width: 20px;
  border-radius: 3px;
}

/* ─── 38. Responsive ─────────────────────────────────────── */
@media (max-width: 1199px) {
  .split-panel { gap: 40px; }
  .experience-grid { gap: 36px; }
}

@media (max-width: 991px) {
  :root { --section-gap: 64px; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .process-line { grid-template-columns: repeat(2, 1fr); }
  .process-line::before { display: none; }
  .split-panel { grid-template-columns: 1fr; gap: 36px; }
  .home-ad-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-ad-list { grid-template-columns: 1fr; }
  .experience-grid { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-hero-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 575px) {
  :root { --section-gap: 52px; }

  .hero { padding: 100px 0 60px; }
  .page-hero { padding: 100px 0 52px; }
  .header-clock {
    order: 3;
    width: 100%;
    margin: 10px 0 0;
    justify-content: center;
  }
  .header-clock select {
    max-width: min(180px, 48vw);
  }
  .stat-grid { gap: 12px; }
  .process-line { grid-template-columns: 1fr 1fr; }
  .products-process-line { grid-template-columns: 1fr 1fr; }
  .mini-gallery { display: none; }
  .home-ad-card { grid-template-columns: 1fr; }
  .contact-panel { padding: 22px 18px; }
  .experience-track { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   KAYA CORE — Whole Site Design Refresh v5
   ========================================================= */
:root {
  --navy: #071923;
  --navy-mid: #0c2431;
  --navy-light: #12384a;
  --navy-border: rgba(255,255,255,.14);
  --bg-white: #ffffff;
  --bg-soft: #f4f8fb;
  --bg-muted: #e9f0f5;
  --border-card: rgba(7,25,35,.11);
  --border-soft: rgba(7,25,35,.07);
  --shadow-card: 0 1px 2px rgba(7,25,35,.04), 0 14px 36px rgba(7,25,35,.08);
  --shadow-hover: 0 22px 54px rgba(7,25,35,.14);
  --blue: #246bfe;
  --blue-dark: #164bd8;
  --blue-light: #5b95ff;
  --cyan: #00a88f;
  --amber: #f4a629;
  --text-dark: #071923;
  --text-body: #4a5c68;
  --text-muted-w: #82919b;
  --text-light: #f5fbff;
  --text-soft-n: rgba(245,251,255,.76);
  --success: #00a88f;
  --warning: #f4a629;
  --danger: #e5484d;
  --section-gap: 104px;
  --radius-card: 8px;
  --radius-sm: 7px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    linear-gradient(180deg, rgba(244,248,251,.95) 0, #fff 360px),
    #fff;
  color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title-shadow,
.navbar-brand,
.admin-topbar h1 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  letter-spacing: 0;
}

p { color: var(--text-body); }
::selection { background: rgba(0,168,143,.2); color: var(--text-dark); }

.site-header {
  top: 12px;
  left: 0;
  right: 0;
  background: transparent;
  padding: 0 12px;
}

.site-header .navbar {
  width: min(1180px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 10px 14px !important;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(7,25,35,.66);
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: transparent;
  box-shadow: none;
}

.site-header.is-scrolled .navbar {
  background: rgba(7,25,35,.91);
  border-color: rgba(255,255,255,.1);
}

.brand-logo { height: 30px; }

.header-clock {
  min-height: 34px;
  border-radius: 7px;
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.12);
}

.header-clock strong { letter-spacing: 0; }
.header-clock select { border-radius: 6px; }

.navbar-nav .nav-link {
  border-radius: 7px;
  font-size: .84rem;
}

.navbar-nav .nav-link::after { display: none; }

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: rgba(255,255,255,.1);
}

.btn,
.kc-action,
.filter-btn {
  border-radius: 7px;
  letter-spacing: 0;
}

.btn-primary,
a.btn-primary,
.kc-action-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 28px rgba(0,168,143,.24);
}

.btn-primary:hover,
a.btn-primary:hover,
.kc-action-primary:hover {
  background: linear-gradient(135deg, #12bfa7, var(--blue-dark));
  box-shadow: 0 16px 36px rgba(36,107,254,.28);
}

.btn-outline-primary,
a.btn-outline-primary {
  background: rgba(36,107,254,.04);
  border-color: rgba(36,107,254,.24) !important;
}

.btn-outline-primary:hover,
a.btn-outline-primary:hover {
  background: rgba(0,168,143,.08);
  border-color: rgba(0,168,143,.42) !important;
  color: #007d6c !important;
}

.hero,
.page-hero,
.cta-section,
.kc-grid-bg,
.home-ad-section {
  background:
    linear-gradient(135deg, rgba(7,25,35,.97) 0%, rgba(10,39,51,.93) 46%, rgba(12,72,82,.88) 100%),
    linear-gradient(90deg, rgba(36,107,254,.12), rgba(0,168,143,.12));
}

.hero {
  min-height: 96vh;
  padding: 136px 0 84px;
}

.hero::before,
.page-hero::before,
.kc-grid-bg::before,
.cta-section::before {
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

.hero::after,
.page-hero::after,
.cta-section::after {
  inset: auto 0 0;
  width: 100%;
  height: 1px;
  transform: none;
  background: linear-gradient(90deg, transparent, rgba(0,168,143,.72), rgba(244,166,41,.42), transparent);
}

.hero-title-shadow {
  font-size: clamp(42px, 6.2vw, 82px);
  line-height: .98;
  max-width: 760px;
  text-shadow: 0 18px 60px rgba(0,0,0,.32);
}

.section-title {
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.06;
  max-width: 860px;
}

.gradient-text {
  background: linear-gradient(120deg, #7cf6df 0%, #8fb5ff 58%, #ffd18a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  color: #007d6c;
  letter-spacing: .1em;
}

.proof-pill,
.status-pill {
  border-radius: 999px;
}

.proof-pill {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.18);
}

.interactive-showcase,
.product-stage,
.tech-board,
.contact-panel,
.kc-chatbot-panel {
  border-radius: 8px;
}

.interactive-showcase {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 28px 72px rgba(0,0,0,.34);
  backdrop-filter: blur(12px);
}

.showcase-carousel .carousel-inner img {
  height: 340px;
}

.showcase-status,
.showcase-dock {
  background: rgba(7,25,35,.76);
}

.section-soft {
  background:
    linear-gradient(180deg, #f7fafc, #eef5f8);
}

.framework-shell {
  background:
    linear-gradient(180deg, #fff, #f9fbfc);
}

.kc-card,
.framework-card,
.stat-tile,
.trust-tile,
.experience-board,
.process-step,
.kc-team-card,
.blog-card,
.contact-panel {
  border-radius: 8px;
  border-color: var(--border-card);
  box-shadow: var(--shadow-card);
}

.kc-card,
.framework-card,
.trust-tile,
.experience-board,
.contact-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92));
}

.kc-card:hover,
.framework-card:hover,
.trust-tile:hover,
.stat-tile:hover,
.kc-team-card:hover {
  border-color: rgba(0,168,143,.28);
  box-shadow: var(--shadow-hover);
}

.icon-box {
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0,168,143,.13), rgba(36,107,254,.1));
  color: #007d6c;
}

.stat-tile {
  overflow: hidden;
  position: relative;
}

.stat-tile::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--amber));
}

.stat-tile strong,
.kc-stat-tile strong,
.admin-stat strong {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.experience-section {
  background:
    linear-gradient(90deg, rgba(0,168,143,.06), transparent 42%),
    var(--bg-soft);
}

.experience-node {
  border-radius: 8px;
}

.experience-node.is-live {
  background: rgba(0,168,143,.09);
  border-color: rgba(0,168,143,.26);
  color: #007d6c;
}

.experience-node.is-live i { color: #007d6c; }

.product-stage {
  background: #fff;
  border-color: var(--border-card);
  box-shadow: var(--shadow-card);
}

.product-card-image,
.blog-card-cover,
.product-slide-card img,
.home-ad-video,
.blog-cover-img,
.blog-cover-video,
.blog-slideshow,
.product-details-image {
  border-radius: 8px;
}

.product-image-button span {
  border-radius: 999px;
  background: rgba(7,25,35,.72);
}

.product-price {
  color: #007d6c;
}

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

.filter-btn.is-active {
  background: #071923;
  border-color: #071923;
  color: #fff;
}

.form-control,
.admin-body .form-control,
.admin-body .form-select {
  border-radius: 7px !important;
}

.modal-content,
.login-box {
  border-radius: 8px !important;
}

.site-footer {
  background:
    linear-gradient(135deg, #071923, #0d2b38);
}

.whatsapp-float,
.kc-chatbot-toggle {
  border-radius: 8px;
}

.whatsapp-float {
  background: linear-gradient(135deg, #25d366, #00a88f);
}

.kc-chatbot-toggle {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

@media (max-width: 991px) {
  .site-header .navbar {
    width: 100%;
  }

  .navbar-collapse {
    border-radius: 8px;
  }

  .hero-title-shadow {
    font-size: clamp(38px, 10vw, 58px);
  }
}

@media (max-width: 575px) {
  .site-header {
    top: 8px;
    padding: 0 8px;
  }

  .site-header .navbar {
    width: calc(100vw - 16px);
    padding: 9px 10px !important;
  }

  .hero {
    min-height: auto;
    padding: 128px 0 64px;
  }

  .showcase-carousel .carousel-inner img {
    height: 230px;
  }

  .hero-actions,
  .product-actions-public {
    align-items: stretch;
  }

  .hero-actions .btn,
  .product-actions-public .btn,
  .kc-action {
    justify-content: center;
    width: 100%;
  }
}

/* =========================================================
   KAYA CORE — Logo-Based Palette Correction v5.1
   ========================================================= */
:root {
  --navy: #091729;
  --navy-mid: #0e2036;
  --navy-light: #172d49;
  --bg-soft: #f4f7fb;
  --bg-muted: #e8eef7;
  --border-card: rgba(9,23,41,.12);
  --border-soft: rgba(9,23,41,.07);
  --shadow-card: 0 1px 2px rgba(9,23,41,.04), 0 14px 36px rgba(9,23,41,.08);
  --shadow-hover: 0 22px 54px rgba(13,85,191,.16);
  --blue: #1257bd;
  --blue-dark: #0a3f91;
  --blue-light: #2f7df0;
  --cyan: #1d67d2;
  --amber: #7daaf2;
  --text-dark: #091729;
  --text-body: #435366;
  --text-muted-w: #7d8b9c;
  --success: #1257bd;
}

body {
  background:
    linear-gradient(180deg, rgba(244,247,251,.94) 0, #fff 360px),
    #fff;
}

.site-header .navbar {
  background: rgba(9,23,41,.7);
  box-shadow: 0 18px 42px rgba(9,23,41,.2);
}

.site-header.is-scrolled .navbar {
  background: rgba(9,23,41,.93);
}

.btn-primary,
a.btn-primary,
.kc-action-primary,
.kc-chatbot-toggle {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  box-shadow: 0 12px 28px rgba(18,87,189,.26);
}

.btn-primary:hover,
a.btn-primary:hover,
.kc-action-primary:hover {
  background: linear-gradient(135deg, #3f8cff, var(--blue));
  box-shadow: 0 16px 36px rgba(18,87,189,.34);
}

.btn-outline-primary:hover,
a.btn-outline-primary:hover {
  background: rgba(18,87,189,.08);
  border-color: rgba(18,87,189,.42) !important;
  color: var(--blue-dark) !important;
}

.hero,
.page-hero,
.cta-section,
.kc-grid-bg,
.home-ad-section {
  background:
    linear-gradient(135deg, rgba(9,23,41,.98) 0%, rgba(13,32,55,.95) 48%, rgba(13,65,132,.9) 100%),
    linear-gradient(90deg, rgba(18,87,189,.16), rgba(47,125,240,.1));
}

.hero::after,
.page-hero::after,
.cta-section::after {
  background: linear-gradient(90deg, transparent, rgba(47,125,240,.76), rgba(255,255,255,.38), transparent);
}

.gradient-text {
  background: linear-gradient(120deg, #ffffff 0%, #8fbaff 42%, #1f6bd6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow,
.product-price,
.experience-node.is-live,
.icon-box {
  color: var(--blue);
}

.kc-eyebrow-light,
.hero .eyebrow,
.page-hero .eyebrow,
.kc-grid-bg .eyebrow,
.cta-section .eyebrow {
  color: #8fbaff !important;
}

.interactive-showcase {
  background: rgba(255,255,255,.075);
  box-shadow: 0 28px 72px rgba(9,23,41,.38);
}

.icon-box {
  background: linear-gradient(135deg, rgba(18,87,189,.13), rgba(47,125,240,.09));
}

.kc-card:hover,
.framework-card:hover,
.trust-tile:hover,
.stat-tile:hover,
.kc-team-card:hover {
  border-color: rgba(18,87,189,.28);
  box-shadow: var(--shadow-hover);
}

.stat-tile::before,
.admin-stat::before {
  background: linear-gradient(90deg, var(--navy-light), var(--blue), var(--blue-light));
}

.stat-tile strong,
.kc-stat-tile strong,
.admin-stat strong {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.experience-section {
  background:
    linear-gradient(90deg, rgba(18,87,189,.06), transparent 42%),
    var(--bg-soft);
}

.experience-node.is-live {
  background: rgba(18,87,189,.09);
  border-color: rgba(18,87,189,.26);
}

.experience-node.is-live i { color: var(--blue); }

.filter-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
}

.whatsapp-float {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

::selection {
  background: rgba(18,87,189,.2);
  color: var(--text-dark);
}

/* =========================================================
   KAYA CORE - Human editorial finish
   ========================================================= */
:root {
  --navy: #0b1726;
  --navy-mid: #13243a;
  --navy-light: #203854;
  --bg-white: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-muted: #eceff3;
  --border-card: rgba(11,23,38,.13);
  --border-soft: rgba(11,23,38,.08);
  --shadow-card: 0 1px 2px rgba(11,23,38,.06);
  --shadow-hover: 0 8px 20px rgba(11,23,38,.10);
  --blue: #1e5fa8;
  --blue-dark: #17497f;
  --blue-light: #4d86c4;
  --cyan: #3c7e91;
  --amber: #b7832f;
  --text-dark: #121923;
  --text-body: #4d5864;
  --text-muted-w: #7b8794;
  --section-gap: 88px;
}

html { scroll-behavior: auto; }

body {
  background: #fff;
  color: var(--text-dark);
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title-shadow,
.navbar-brand {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-weight: 760;
}

.site-header {
  top: 0;
  padding: 0;
}

.site-header .navbar {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(11,23,38,.94);
  box-shadow: none;
  backdrop-filter: none;
  padding: 13px 0 !important;
}

.site-header.is-scrolled .navbar {
  background: rgba(11,23,38,.98);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand-logo { height: 32px; }
.header-clock { display: none; }

.navbar-nav .nav-link {
  background: transparent !important;
  color: rgba(255,255,255,.72) !important;
  font-weight: 560;
  padding: 7px 10px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
}

.btn,
.kc-action,
.filter-btn {
  border-radius: 4px;
  box-shadow: none !important;
  transform: none !important;
}

.btn-primary,
a.btn-primary,
.kc-action-primary,
.kc-chatbot-toggle {
  background: var(--blue);
  border: 1px solid var(--blue) !important;
}

.btn-primary:hover,
a.btn-primary:hover,
.kc-action-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark) !important;
}

.btn-outline-primary,
a.btn-outline-primary {
  background: #fff;
  color: var(--blue-dark) !important;
  border-color: rgba(30,95,168,.36) !important;
}

.btn-outline-primary:hover,
a.btn-outline-primary:hover {
  background: #f3f7fb;
  color: var(--blue-dark) !important;
}

.btn-outline-light:hover,
a.btn-outline-light:hover {
  background: rgba(255,255,255,.10);
}

.scroll-progress,
.ripple,
.scroll-indicator,
.hero::after,
.page-hero::after,
.cta-section::after {
  display: none !important;
}

.hero,
.page-hero,
.cta-section,
.kc-grid-bg,
.home-ad-section {
  background: var(--navy);
}

.hero {
  min-height: auto;
  padding: 142px 0 82px;
}

.hero::before,
.page-hero::before,
.kc-grid-bg::before,
.cta-section::before {
  background-image: none;
}

.page-hero {
  padding: 128px 0 70px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero-title-shadow {
  font-size: clamp(40px, 5.4vw, 70px);
  line-height: 1.03;
  max-width: 720px;
  text-shadow: none;
}

.section-title {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
}

.gradient-text {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #9fc5ee;
}

.eyebrow {
  color: var(--blue);
  letter-spacing: .04em;
  text-transform: none;
  font-size: .84rem;
}

.hero .eyebrow,
.page-hero .eyebrow,
.kc-grid-bg .eyebrow,
.cta-section .eyebrow {
  color: #b7cbe0 !important;
}

.lead-copy { line-height: 1.68; }

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

.framework-shell {
  background: #fff;
}

.kc-card,
.framework-card,
.stat-tile,
.trust-tile,
.experience-board,
.process-step,
.problem-card,
.kc-team-card,
.blog-card,
.contact-panel,
.product-stage-carousel {
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.kc-card:hover,
.framework-card:hover,
.trust-tile:hover,
.stat-tile:hover,
.kc-team-card:hover,
.problem-card:hover {
  transform: none;
  border-color: rgba(11,23,38,.22);
  box-shadow: var(--shadow-hover);
}

.icon-box {
  border-radius: 5px;
  background: #eef4fa;
  border-color: #d8e5f1;
  color: var(--blue-dark);
}

.stat-tile {
  text-align: left;
}

.stat-tile::before { display: none; }

.stat-tile strong,
.kc-stat-tile strong,
.admin-stat strong {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--navy);
}

.proof-pill,
.status-pill,
.kc-tag,
.filter-btn {
  border-radius: 4px;
}

.proof-pill {
  background: rgba(255,255,255,.08);
}

.interactive-showcase {
  border-radius: 6px;
  background: #0f2135;
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 12px 34px rgba(0,0,0,.25);
  backdrop-filter: none;
}

.interactive-showcase:hover {
  box-shadow: 0 12px 34px rgba(0,0,0,.25);
}

.showcase-carousel .carousel-inner img {
  height: 320px;
}

.showcase-status,
.showcase-dock {
  background: #0f2135;
}

.experience-board {
  padding: 22px;
}

.experience-node {
  border-radius: 5px;
  background: #f7f8fa;
}

.experience-node.is-live {
  background: #edf4fb;
  border-color: #cbddeb;
  color: var(--blue-dark);
  box-shadow: none;
}

.experience-pulse span {
  animation: none;
}

.product-image-button:hover .product-card-image,
.blog-card:hover .blog-card-cover img,
.mini-gallery img:hover {
  transform: none;
}

.product-card-image,
.blog-card-cover,
.product-slide-card img,
.home-ad-video,
.blog-cover-img,
.blog-cover-video,
.blog-slideshow,
.product-details-image,
.mini-gallery img {
  border-radius: 6px;
}

.filter-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
}

.kc-chatbot-toggle,
.whatsapp-float {
  border-radius: 50%;
}

.kc-chatbot-toggle {
  background: var(--navy);
  border-color: var(--navy) !important;
}

.kc-chatbot-panel {
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(11,23,38,.18);
}

.kc-chatbot-head {
  background: var(--navy);
}

.site-footer {
  background: #0b1726;
}

.footer-bottom {
  align-items: flex-start;
  gap: 16px;
}

@media (max-width: 991px) {
  .site-header .navbar {
    padding: 12px 0 !important;
  }

  .navbar-collapse {
    border-radius: 0;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 12px;
    padding: 10px 0 4px;
  }
}

@media (max-width: 575px) {
  :root { --section-gap: 54px; }

  .site-header {
    top: 0;
    padding: 0;
  }

  .site-header .navbar {
    width: 100%;
    padding: 11px 0 !important;
  }

  .hero {
    padding: 116px 0 56px;
  }

  .page-hero {
    padding: 108px 0 50px;
  }

  .showcase-carousel .carousel-inner img {
    height: 220px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* =========================================================
   Ant Design Contour Pass
   ========================================================= */
:root {
  --antd-primary: #1677ff;
  --antd-primary-hover: #4096ff;
  --antd-primary-active: #0958d9;
  --antd-border: #d9d9d9;
  --antd-border-light: #f0f0f0;
  --antd-bg-container: #ffffff;
  --antd-bg-layout: #f5f5f5;
  --antd-text: rgba(0,0,0,.88);
  --antd-text-secondary: rgba(0,0,0,.65);
  --antd-shadow-card: 0 1px 2px rgba(0,0,0,.03), 0 6px 16px rgba(0,0,0,.08), 0 9px 28px rgba(0,0,0,.05);
  --antd-shadow-hover: 0 6px 16px rgba(0,0,0,.08), 0 9px 28px rgba(0,0,0,.05), 0 12px 48px rgba(0,0,0,.06);
  --radius-card: 8px;
  --radius-sm: 6px;
  --border-card: var(--antd-border-light);
  --border-soft: var(--antd-border-light);
}

body {
  background: var(--antd-bg-layout);
  color: var(--antd-text);
}

.site-header .navbar {
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #fff !important;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  background: var(--antd-primary);
}

.btn,
.kc-action,
.filter-btn,
.product-stage-controls button,
.kc-chatbot-form button {
  border-radius: 6px !important;
  box-shadow: none !important;
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s !important;
}

.btn-primary,
a.btn-primary,
.kc-action-primary,
.kc-chatbot-toggle {
  background: var(--antd-primary) !important;
  border: 1px solid var(--antd-primary) !important;
  color: #fff !important;
}

.btn-primary:hover,
a.btn-primary:hover,
.kc-action-primary:hover,
.kc-chatbot-toggle:hover {
  background: var(--antd-primary-hover) !important;
  border-color: var(--antd-primary-hover) !important;
}

.btn-primary:active,
a.btn-primary:active,
.kc-action-primary:active {
  background: var(--antd-primary-active) !important;
  border-color: var(--antd-primary-active) !important;
}

.btn-outline-primary,
a.btn-outline-primary,
.kc-action-outline,
.filter-btn {
  background: var(--antd-bg-container) !important;
  border: 1px solid var(--antd-border) !important;
  color: var(--antd-primary) !important;
}

.btn-outline-primary:hover,
a.btn-outline-primary:hover,
.kc-action-outline:hover,
.filter-btn:hover,
.filter-btn.is-active {
  background: #e6f4ff !important;
  border-color: var(--antd-primary-hover) !important;
  color: var(--antd-primary) !important;
}

.kc-card,
.framework-card,
.stat-tile,
.trust-tile,
.experience-board,
.process-step,
.problem-card,
.kc-team-card,
.blog-card,
.contact-panel,
.product-stage-carousel,
.product-slide-card,
.kc-timeline-content,
.kc-value-item,
.modal-content,
.kc-chatbot-panel {
  background: var(--antd-bg-container) !important;
  border: 1px solid var(--antd-border-light) !important;
  border-radius: 8px !important;
  box-shadow: var(--antd-shadow-card) !important;
}

.kc-card:hover,
.framework-card:hover,
.stat-tile:hover,
.trust-tile:hover,
.process-step:hover,
.problem-card:hover,
.kc-team-card:hover,
.blog-card:hover,
.contact-panel:hover,
.product-stage-carousel:hover,
.product-slide-card:hover {
  border-color: #91caff !important;
  box-shadow: var(--antd-shadow-hover) !important;
}

.icon-box,
.kc-tag,
.proof-pill,
.status-pill,
.product-image-button span,
.header-clock {
  border: 1px solid var(--antd-border-light) !important;
  border-radius: 6px !important;
}

.form-control,
.form-select,
.kc-chatbot-form input {
  background: var(--antd-bg-container) !important;
  border: 1px solid var(--antd-border) !important;
  border-radius: 6px !important;
  color: var(--antd-text) !important;
  box-shadow: none !important;
}

.form-control:hover,
.form-select:hover,
.kc-chatbot-form input:hover {
  border-color: var(--antd-primary-hover) !important;
}

.form-control:focus,
.form-select:focus,
.kc-chatbot-form input:focus {
  border-color: var(--antd-primary) !important;
  box-shadow: 0 0 0 2px rgba(5,145,255,.1) !important;
}

.modal-header,
.modal-footer,
.footer-bottom {
  border-color: var(--antd-border-light) !important;
}

.alert {
  border: 1px solid var(--antd-border-light) !important;
  border-radius: 8px !important;
}

.stock-available,
.stock-order,
.stock-sold {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: .74rem;
  font-weight: 700;
}

.stock-available {
  background: #f6ffed;
  border: 1px solid #b7eb8f;
  color: #389e0d;
}

.stock-order {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  color: #ad6800;
}

.stock-sold {
  background: #fff1f0;
  border: 1px solid #ffa39e;
  color: #cf1322;
}

.table,
.table > :not(caption) > * > * {
  border-color: var(--antd-border-light) !important;
}

.product-card-image,
.blog-card-cover,
.product-slide-card img,
.home-ad-video,
.blog-cover-img,
.blog-cover-video,
.blog-slideshow,
.product-details-image,
.mini-gallery img {
  border-radius: 8px !important;
}

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

@media (max-width: 991px) {
  .navbar-collapse {
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 8px !important;
  }
}

/* =========================================================
   Search, filters and commerce helpers
   ========================================================= */
.site-search-mini {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 38px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.site-search-mini input,
.site-search-mini button {
  height: 38px;
  border: 0;
  background: transparent;
  color: #fff;
}

.site-search-mini input {
  min-width: 0;
  padding: 0 10px;
  font-size: .84rem;
  outline: none;
}

.site-search-mini input::placeholder { color: rgba(255,255,255,.55); }
.site-search-mini button { display: grid; place-items: center; }

.search-panel,
.catalog-filter-panel {
  background: var(--antd-bg-container);
  border: 1px solid var(--antd-border-light);
  border-radius: 8px;
  box-shadow: var(--antd-shadow-card);
  padding: 18px;
}

.search-panel-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.search-result-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 190px;
  padding: 18px;
  color: var(--antd-text);
  background: #fff;
  border: 1px solid var(--antd-border-light);
  border-radius: 8px;
  box-shadow: var(--antd-shadow-card);
}

.search-result-card:hover {
  color: var(--antd-text);
  border-color: #91caff;
  box-shadow: var(--antd-shadow-hover);
}

.search-result-card strong {
  color: var(--text-dark);
  font-size: 1rem;
}

.search-result-card p {
  margin: 0;
  font-size: .9rem;
}

.search-result-card small {
  margin-top: auto;
  color: var(--antd-text-secondary);
}

.catalog-clear-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--antd-primary);
  font-size: .84rem;
  font-weight: 700;
}

.footer-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px;
  align-items: center;
  margin-top: 36px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.footer-newsletter input,
.footer-newsletter button {
  min-height: 42px;
  border-radius: 6px;
}

.footer-newsletter input {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 0 12px;
  outline: none;
}

.footer-newsletter input::placeholder { color: rgba(255,255,255,.45); }

.footer-newsletter button {
  border: 1px solid var(--antd-primary);
  background: var(--antd-primary);
  color: #fff;
  font-weight: 700;
  padding: 0 14px;
}

.site-toast {
  position: fixed;
  right: 24px;
  bottom: 154px;
  z-index: 1100;
  max-width: min(360px, calc(100vw - 32px));
  box-shadow: var(--antd-shadow-hover);
}

@media (max-width: 991px) {
  .site-search-mini {
    grid-template-columns: 1fr 42px;
  }

  .search-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 575px) {
  .search-panel-row,
  .footer-newsletter form,
  .search-results {
    grid-template-columns: 1fr;
  }
}
