:root {
  --mamba-primary: #0F1720;
  --mamba-primary-2: #111E2A;
  --mamba-primary-3: #162838;
  --mamba-secondary: #2D9CDB;
  --mamba-secondary-2: #61C7FF;
  --mamba-accent: #E6ECF1;
  --mamba-soft: #F5F8FB;
  --mamba-text: #1F2B36;
  --mamba-muted: #667789;
  --mamba-line: rgba(15, 23, 32, .1);
  --mamba-line-light: rgba(230, 236, 241, .16);
  --mamba-shadow: 0 1.45rem 4.5rem rgba(15, 23, 32, .20);
  --mamba-shadow-soft: 0 .9rem 2.8rem rgba(15, 23, 32, .10);
  --mamba-radius: 1.45rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  color: var(--mamba-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  padding-top: 104px;
  overflow-x: hidden;
}
a { color: var(--mamba-secondary); text-decoration: none; }
a:hover { color: #1784be; }
img { max-width: 100%; }
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: #fff;
  color: var(--mamba-primary);
  z-index: 9999;
  padding: .75rem 1rem;
  border-radius: .75rem;
}

.mamba-navbar {
  min-height: 104px;
  background: rgba(15, 23, 32, .86);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(230, 236, 241, .12);
  transition: min-height .24s ease, background .24s ease, box-shadow .24s ease;
}
.mamba-navbar.navbar-scrolled {
  min-height: 86px;
  background: rgba(9, 17, 26, .94);
  box-shadow: 0 .9rem 2.5rem rgba(0,0,0,.22);
}
.brand-logo {
  height: 76px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.20));
}
.mamba-navbar.navbar-scrolled .brand-logo { height: 64px; }
.navbar .nav-link {
  color: rgba(255,255,255,.76);
  font-weight: 760;
  letter-spacing: .01em;
  border-radius: 999px;
  padding: .55rem .85rem !important;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: #fff; background: rgba(255,255,255,.08); }
.navbar-toggler { border-color: rgba(255,255,255,.25); }
.navbar-toggler:focus { box-shadow: 0 0 0 .18rem rgba(45,156,219,.35); }

.btn-mamba-primary {
  --bs-btn-bg: var(--mamba-secondary);
  --bs-btn-border-color: var(--mamba-secondary);
  --bs-btn-hover-bg: #2189c4;
  --bs-btn-hover-border-color: #2189c4;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  font-weight: 820;
  border-radius: 999px;
  padding: .76rem 1.22rem;
  box-shadow: 0 .9rem 2rem rgba(45,156,219,.25);
}
.btn-mamba-primary:hover { transform: translateY(-2px); box-shadow: 0 1.2rem 2.6rem rgba(45,156,219,.34); }
.btn-mamba-outline {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255,255,255,.36);
  --bs-btn-hover-color: var(--mamba-primary);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  font-weight: 820;
  border-radius: 999px;
  padding: .76rem 1.22rem;
}
.btn-mamba-light {
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-color: var(--mamba-primary);
  --bs-btn-hover-bg: var(--mamba-accent);
  --bs-btn-hover-border-color: var(--mamba-accent);
  font-weight: 820;
  border-radius: 999px;
  padding: .76rem 1.22rem;
}
.btn-mamba-ghost {
  --bs-btn-color: var(--mamba-primary);
  --bs-btn-border-color: rgba(15,23,32,.18);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--mamba-primary);
  --bs-btn-hover-border-color: var(--mamba-primary);
  font-weight: 820;
  border-radius: 999px;
  padding: .76rem 1.22rem;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 104px);
  display: flex;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 78% 12%, rgba(45,156,219,.32), transparent 32%),
    radial-gradient(circle at 8% 88%, rgba(97,199,255,.15), transparent 34%),
    linear-gradient(135deg, #0F1720 0%, #111E2A 52%, #172D3F 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 62% 32%, #000, transparent 75%);
  animation: gridDrift 22s linear infinite;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -26% auto;
  width: 54rem;
  height: 54rem;
  background: radial-gradient(circle, rgba(45,156,219,.20), transparent 62%);
  animation: breathe 7s ease-in-out infinite;
}
.hero .container { position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(2.45rem, 5.4vw, 5.7rem);
  line-height: .94;
  letter-spacing: -.07em;
  font-weight: 950;
}
.hero-title span {
  display: block;
  background: linear-gradient(135deg, #fff 0%, #D3F1FF 40%, #61C7FF 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  color: rgba(230,236,241,.88);
  max-width: 790px;
}
.hero-logo-badge {
  width: min(420px, 86vw);
  margin-bottom: 1.25rem;
  opacity: .96;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.24));
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #cfefff;
  background: rgba(45,156,219,.14);
  border: 1px solid rgba(45,156,219,.32);
  border-radius: 999px;
  padding: .45rem .88rem;
  font-weight: 860;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: #5DE0A5;
  box-shadow: 0 0 0 .34rem rgba(93,224,165,.14);
}
.badge-mamba {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.84);
  border: 1px solid rgba(255,255,255,.14);
  padding: .56rem .78rem;
  font-weight: 750;
}
.hero-visual-wrap { position: relative; min-height: 610px; }
.orbit {
  position: absolute;
  inset: 3% 1% 2% 4%;
  border-radius: 50%;
  border: 1px solid rgba(45,156,219,.24);
  animation: rotate 18s linear infinite;
}
.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: .78rem;
  height: .78rem;
  border-radius: 50%;
  background: var(--mamba-secondary);
  box-shadow: 0 0 2rem var(--mamba-secondary);
}
.orbit::before { top: 10%; left: 18%; }
.orbit::after { right: 10%; bottom: 18%; }
.hero-dashboard-card {
  position: relative;
  z-index: 3;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 2rem;
  box-shadow: 0 1.8rem 5rem rgba(0,0,0,.38);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(18px);
  padding: .75rem;
  transform: perspective(1100px) rotateY(-5deg) rotateX(3deg);
  animation: floatCard 6.5s ease-in-out infinite;
}
.hero-dashboard-card img { border-radius: 1.55rem; }
.floating-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  background: rgba(13, 25, 36, .84);
  border: 1px solid rgba(230,236,241,.16);
  border-radius: 999px;
  padding: .72rem 1rem;
  box-shadow: 0 1rem 2.6rem rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
  animation: floatChip 5.6s ease-in-out infinite;
}
.floating-chip .chip-dot {
  width: .78rem;
  height: .78rem;
  border-radius: 50%;
  background: var(--mamba-secondary);
  box-shadow: 0 0 1.5rem var(--mamba-secondary);
}
.floating-chip.top { top: 3%; right: 0; }
.floating-chip.bottom { bottom: 8%; left: -2%; animation-delay: -2.3s; }

.section-pad { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section-pad-sm { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-label {
  color: var(--mamba-secondary);
  font-weight: 920;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: .83rem;
}
.section-title {
  color: var(--mamba-primary);
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 950;
  letter-spacing: -.052em;
  line-height: 1.04;
}
.section-subtitle {
  color: var(--mamba-muted);
  font-size: 1.1rem;
  max-width: 770px;
}
.bg-mamba-soft {
  background:
    radial-gradient(circle at 92% 8%, rgba(45,156,219,.13), transparent 25%),
    var(--mamba-soft);
}
.bg-mamba-dark {
  background:
    radial-gradient(circle at 15% 15%, rgba(45,156,219,.25), transparent 30%),
    linear-gradient(135deg, #0F1720 0%, #101D28 100%);
  color: #fff;
}
.bg-mamba-dark .section-title { color: #fff; }
.bg-mamba-dark .section-subtitle { color: rgba(230,236,241,.74); }
.glass-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--mamba-radius);
  box-shadow: var(--mamba-shadow);
  backdrop-filter: blur(18px);
}
.dark-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--mamba-radius);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.18);
}
.service-card,
.stat-card,
.step-card,
.legal-card,
.plan-card,
.portal-card {
  position: relative;
  height: 100%;
  border: 1px solid rgba(15,23,32,.08);
  border-radius: var(--mamba-radius);
  padding: 1.5rem;
  background: #fff;
  box-shadow: var(--mamba-shadow-soft);
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.service-card::after,
.portal-card::after,
.step-card::after {
  content: "";
  position: absolute;
  right: -48px;
  top: -48px;
  width: 126px;
  height: 126px;
  background: rgba(45,156,219,.12);
  border-radius: 50%;
  transition: transform .35s ease, opacity .35s ease;
}
.service-card:hover,
.stat-card:hover,
.step-card:hover,
.portal-card:hover,
.plan-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--mamba-shadow);
  border-color: rgba(45,156,219,.34);
}
.service-card:hover::after,
.portal-card:hover::after,
.step-card:hover::after { transform: scale(1.18); opacity: .9; }
.icon-pill {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: rgba(45,156,219,.13);
  color: var(--mamba-secondary);
  font-size: 1.58rem;
  font-weight: 920;
  margin-bottom: 1rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .46rem 0;
  color: #516273;
}
.feature-list li::before {
  content: "✓";
  flex: 0 0 1.35rem;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(45,156,219,.14);
  color: var(--mamba-secondary);
  font-size: .85rem;
  font-weight: 900;
  margin-top: .1rem;
}
.stat-number {
  color: var(--mamba-secondary);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 950;
  line-height: 1;
}
.portal-showcase {
  border-radius: 2.2rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: linear-gradient(135deg, rgba(45,156,219,.18), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 1.5rem 4.5rem rgba(0,0,0,.24);
  position: relative;
  overflow: hidden;
}
.portal-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.14) 35%, transparent 55%);
  transform: translateX(-100%);
  animation: scanner 5s ease-in-out infinite;
}
.portal-showcase img { position: relative; border-radius: 1.6rem; }
.workflow-img {
  border-radius: var(--mamba-radius);
  box-shadow: var(--mamba-shadow);
}
.timeline-line {
  position: relative;
}
.timeline-line::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: rgba(45,156,219,.28);
}
.timeline-item {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 1.5rem;
}
.timeline-item .num {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: var(--mamba-secondary);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 .8rem 1.8rem rgba(45,156,219,.28);
}
.form-control,
.form-select {
  border-radius: 1rem;
  border-color: rgba(15,23,32,.16);
  padding: .85rem 1rem;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--mamba-secondary);
  box-shadow: 0 0 0 .22rem rgba(45,156,219,.16);
}
.range-result {
  background: rgba(45,156,219,.12);
  border: 1px solid rgba(45,156,219,.24);
  border-radius: 1.25rem;
  padding: 1rem;
  height: 100%;
}
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1055;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-card {
  max-width: 980px;
  margin-inline: auto;
  background: rgba(15,23,32,.96);
  color: #fff;
  border: 1px solid rgba(230,236,241,.15);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.34);
  padding: 1rem;
}
.footer {
  color: rgba(230,236,241,.74);
  background: #0B1118;
  border-top: 1px solid rgba(230,236,241,.12);
}
.footer-logo { width: min(360px, 82vw); height: auto; filter: drop-shadow(0 18px 26px rgba(0,0,0,.2)); }
.footer a { color: rgba(230,236,241,.78); }
.footer a:hover { color: #fff; }
.back-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1050;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: 0 1rem 2.5rem rgba(15,23,32,.28);
}
.page-hero {
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(45,156,219,.28), transparent 32%),
    linear-gradient(135deg, #0F1720, #132536);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  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: 42px 42px;
  animation: gridDrift 24s linear infinite;
}
.page-hero .container { position: relative; z-index: 1; }
.legal-content h2,
.legal-content h3 { color: var(--mamba-primary); font-weight: 900; }
.legal-content p,
.legal-content li { color: #4d5e6e; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .78s ease, transform .78s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
@keyframes gridDrift { from { background-position: 0 0, 0 0; } to { background-position: 44px 44px, 44px 44px; } }
@keyframes breathe { 0%,100% { transform: scale(.96); opacity: .65; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes floatCard { 0%,100% { transform: perspective(1100px) rotateY(-5deg) rotateX(3deg) translateY(0); } 50% { transform: perspective(1100px) rotateY(-3deg) rotateX(2deg) translateY(-15px); } }
@keyframes floatChip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes scanner { 0%, 48% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }

@media (max-width: 1399.98px) {
  .brand-logo { height: 64px; max-width: 310px; }
  .mamba-navbar { min-height: 92px; }
  body { padding-top: 92px; }
  .navbar-collapse {
    background: rgba(9, 17, 26, .98);
    border: 1px solid rgba(230,236,241,.13);
    border-radius: 1.25rem;
    margin-top: .85rem;
    padding: 1rem;
  }
}
@media (max-width: 991.98px) {
  .hero { min-height: auto; }
  .hero-visual-wrap { min-height: auto; margin-top: 1rem; }
  .hero-dashboard-card { transform: none; animation: none; }
  .orbit, .floating-chip { display: none; }
}
@media (max-width: 575.98px) {
  body { padding-top: 86px; }
  .mamba-navbar { min-height: 86px; }
  .brand-logo { height: 54px; max-width: 235px; }
  .hero-logo-badge { width: min(300px, 90vw); }
  .hero-title { letter-spacing: -.055em; }
  .section-pad { padding: 3.5rem 0; }
  .timeline-line::before { left: 20px; }
  .timeline-item { padding-left: 3.5rem; }
  .timeline-item .num { width: 42px; height: 42px; border-radius: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* MAMBA PACS social + veterinary extension */
.page-logo {
  width: min(460px, 84vw);
  filter: drop-shadow(0 20px 34px rgba(0,0,0,.28));
}
.shadow-soft { box-shadow: var(--mamba-shadow-soft); }
.btn-icon { width: 1.05em; height: 1.05em; margin-right: .38rem; vertical-align: -.18em; }
.icon-svg { width: 1.25rem; height: 1.25rem; }
.btn-mamba-whatsapp {
  --bs-btn-bg: #25D366;
  --bs-btn-border-color: #25D366;
  --bs-btn-hover-bg: #1fbd5b;
  --bs-btn-hover-border-color: #1fbd5b;
  --bs-btn-color: #06120a;
  --bs-btn-hover-color: #06120a;
  font-weight: 850;
  border-radius: 999px;
  padding: .76rem 1.14rem;
  box-shadow: 0 .9rem 2rem rgba(37,211,102,.22);
}
.btn-mamba-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 1.2rem 2.6rem rgba(37,211,102,.30); }
.social-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.social-row a {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(230,236,241,.16);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.social-row a:hover { transform: translateY(-3px); background: rgba(45,156,219,.20); border-color: rgba(45,156,219,.45); }
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1054;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 3.25rem;
  padding: .82rem 1.05rem;
  border-radius: 999px;
  color: #06120a;
  background: #25D366;
  font-weight: 900;
  box-shadow: 0 1.1rem 2.8rem rgba(37,211,102,.34), 0 .8rem 2rem rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.35);
  animation: softPulse 3.5s ease-in-out infinite;
}
.whatsapp-float:hover { color: #06120a; transform: translateY(-3px); }
.back-top { bottom: 5.15rem; }
.cookie-banner { bottom: 5.25rem; }
.trend-card {
  background: #fff;
  border: 1px solid rgba(15,23,32,.09);
  border-radius: var(--mamba-radius);
  padding: 1.35rem;
  height: 100%;
  box-shadow: var(--mamba-shadow-soft);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.trend-card:hover { transform: translateY(-6px); border-color: rgba(45,156,219,.34); box-shadow: var(--mamba-shadow); }
.trend-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--mamba-primary), var(--mamba-secondary));
  margin-bottom: 1rem;
  box-shadow: 0 .9rem 2rem rgba(45,156,219,.18);
}
.mini-feature {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(15,23,32,.09);
  border-radius: 1.15rem;
  padding: 1rem;
  box-shadow: 0 .8rem 2.1rem rgba(15,23,32,.07);
}
.mini-feature strong { display: block; color: var(--mamba-primary); font-weight: 900; margin-bottom: .25rem; }
.mini-feature span { display: block; color: var(--mamba-muted); font-size: .94rem; }
.social-cta-grid { display: grid; gap: .85rem; }
.social-cta {
  display: flex;
  align-items: center;
  gap: .95rem;
  padding: 1rem;
  border-radius: 1.15rem;
  color: var(--mamba-primary);
  background: #fff;
  border: 1px solid rgba(15,23,32,.09);
  box-shadow: 0 .85rem 2.3rem rgba(15,23,32,.08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.social-cta:hover { transform: translateY(-4px); color: var(--mamba-primary); box-shadow: var(--mamba-shadow-soft); border-color: rgba(45,156,219,.26); }
.social-cta .icon-svg { width: 2rem; height: 2rem; flex: 0 0 auto; }
.social-cta strong { display: block; font-weight: 920; }
.social-cta small { display: block; color: var(--mamba-muted); }
.social-cta.whatsapp .icon-svg { color: #25D366; }
.social-cta.facebook .icon-svg { color: #1877F2; }
.social-cta.instagram .icon-svg { color: #D62976; }
.social-cta.email .icon-svg { color: var(--mamba-secondary); }
.navbar .btn-mamba-whatsapp.btn-sm,
.navbar .btn-mamba-primary.btn-sm { padding: .52rem .82rem; font-size: .88rem; }
.navbar .btn-mamba-whatsapp .btn-icon { margin-right: .28rem; }
.footer .icon-svg { width: 1.18rem; height: 1.18rem; }

@keyframes softPulse { 0%, 100% { box-shadow: 0 1.1rem 2.8rem rgba(37,211,102,.34), 0 0 0 0 rgba(37,211,102,.28); } 50% { box-shadow: 0 1.1rem 2.8rem rgba(37,211,102,.34), 0 0 0 .55rem rgba(37,211,102,.08); } }

@media (max-width: 1399.98px) {
  .navbar .btn-mamba-whatsapp.btn-sm,
  .navbar .btn-mamba-primary.btn-sm { width: 100%; justify-content: center; margin-top: .35rem; }
}
@media (max-width: 575.98px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float { width: 3.35rem; height: 3.35rem; padding: 0; justify-content: center; }
  .whatsapp-float .icon-svg { width: 1.45rem; height: 1.45rem; }
  .back-top { right: 1rem; bottom: 4.65rem; }
  .cookie-banner { bottom: 4.9rem; }
  .social-cta { padding: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none !important; }
}


/* ---- MAMBA PACS v3 additions: RIS-PACS first, separate remote interpretation and second opinion ---- */
.mamba-dropdown {
  background: rgba(15,23,32,.98);
  border: 1px solid rgba(230,236,241,.14);
  border-radius: 1rem;
  padding: .55rem;
  box-shadow: 0 1.4rem 3rem rgba(0,0,0,.28);
}
.mamba-dropdown .dropdown-item { color: rgba(255,255,255,.82); border-radius: .75rem; font-weight: 760; }
.mamba-dropdown .dropdown-item:hover,
.mamba-dropdown .dropdown-item:focus { color: #fff; background: rgba(45,156,219,.22); }
.form-panel, .legal-card {
  background: #fff;
  border: 1px solid rgba(15,23,32,.09);
  border-radius: var(--mamba-radius);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--mamba-shadow-soft);
}
.legal-card { max-width: 960px; margin-inline: auto; }
.legal-card h2 { font-size: 1.35rem; font-weight: 900; margin-top: 1.75rem; color: var(--mamba-primary); }
.legal-card h2:first-child { margin-top: 0; }
.upload-card {
  background: #fff;
  border: 1px solid rgba(15,23,32,.09);
  border-radius: 1.6rem;
  padding: 1.25rem;
  box-shadow: var(--mamba-shadow-soft);
}
.upload-header { display:flex; align-items:center; justify-content:space-between; gap:.75rem; margin-bottom:1rem; }
.upload-header strong { color: var(--mamba-primary); font-weight: 920; }
.upload-header small { color: var(--mamba-muted); font-weight: 760; }
.upload-dot { width:.9rem; height:.9rem; border-radius:999px; background: var(--mamba-secondary); box-shadow: 0 0 0 .42rem rgba(45,156,219,.14); }
.upload-zone {
  border: 2px dashed rgba(45,156,219,.55);
  background: linear-gradient(135deg, rgba(230,236,241,.75), rgba(255,255,255,.9));
  border-radius: 1.35rem;
  min-height: 160px;
  display:grid;
  place-items:center;
  text-align:center;
  padding:1.25rem;
}
.upload-zone strong { display:block; color:var(--mamba-primary); font-weight:920; }
.upload-zone small { display:block; color:var(--mamba-muted); }
.upload-icon { width:3.2rem; height:3.2rem; border-radius:999px; background:var(--mamba-secondary); color:#fff; display:grid; place-items:center; font-size:1.7rem; margin-bottom:.65rem; }
.upload-file { display:flex; justify-content:space-between; gap:1rem; margin-top:1rem; font-weight:800; color: var(--mamba-primary); }
.upload-progress { height:.75rem; border-radius:999px; overflow:hidden; background:#E6ECF1; margin-top:.6rem; }
.upload-progress span { display:block; height:100%; background:linear-gradient(90deg, var(--mamba-primary), var(--mamba-secondary)); border-radius:999px; }
.ai-note { margin-top:1rem; padding:1rem; background:rgba(45,156,219,.09); border:1px solid rgba(45,156,219,.2); border-radius:1rem; color:var(--mamba-primary); }
.timeline-list { list-style:none; padding:0; margin:0; display:grid; gap:.85rem; }
.timeline-list li { position:relative; padding-left:2.2rem; }
.timeline-list li::before { content:""; position:absolute; left:0; top:.15rem; width:1.25rem; height:1.25rem; border-radius:999px; background:linear-gradient(135deg,var(--mamba-primary),var(--mamba-secondary)); box-shadow:0 0 0 .32rem rgba(45,156,219,.14); }
.timeline-list strong { display:block; color:var(--mamba-primary); font-weight:900; }
.timeline-list span { color:var(--mamba-muted); font-size:.94rem; }
.selected-files { border:1px solid rgba(15,23,32,.1); border-radius:1rem; background:#F5F8FB; padding:1rem; }
.selected-files ul { margin:0; padding-left:1.2rem; }
.file-pill { display:inline-flex; align-items:center; gap:.35rem; padding:.45rem .7rem; border-radius:999px; background:#fff; border:1px solid rgba(15,23,32,.1); font-size:.86rem; margin:.18rem; color:var(--mamba-primary); font-weight:760; }
.trend-icon { font-weight: 950; font-size: 1.05rem; }
.sticky-lg-top { top: 126px; }
@media (max-width: 991.98px) { .sticky-lg-top { position: static !important; } }
@media (max-width: 1399.98px) { body { padding-top: 96px; } .brand-logo { height: 66px; } .mamba-navbar { min-height: 96px; } }
@media (max-width: 575.98px) { .form-panel, .legal-card, .upload-card { border-radius:1.1rem; } .hero-title { font-size: clamp(2.2rem, 13vw, 3.1rem); } }


/* ---- v3 navigation and content refinements ---- */
.navbar-expand-xl .navbar-nav .dropdown-menu { min-width: 270px; }
.mamba-navbar .navbar-nav { font-size: .96rem; }
.service-kicker { display:inline-flex; align-items:center; gap:.45rem; padding:.35rem .7rem; border-radius:999px; background:rgba(45,156,219,.11); color:var(--mamba-secondary); font-weight:850; font-size:.82rem; }
.mamba-navbar .brand-logo { min-height: 0; }
.hero-title { text-wrap: balance; }
.section-title { text-wrap: balance; }
.legal-card a { font-weight: 800; }
.bg-mamba-dark .timeline-list strong { color: #fff; }
.bg-mamba-dark .timeline-list span { color: rgba(230,236,241,.72); }
.bg-mamba-dark .feature-list li { color: rgba(230,236,241,.78); }
.bg-mamba-dark .mini-feature { background: rgba(255,255,255,.08); border-color: rgba(230,236,241,.13); }
.bg-mamba-dark .mini-feature strong { color:#fff; }
.bg-mamba-dark .mini-feature span { color:rgba(230,236,241,.72); }
@media (min-width: 1200px) {
  .navbar .nav-link { padding: .52rem .72rem !important; }
  .navbar .btn-mamba-whatsapp.btn-sm, .navbar .btn-mamba-primary.btn-sm { padding: .5rem .76rem; }
}
@media (max-width: 1199.98px) {
  .brand-logo { height: 62px; max-width: 300px; }
  .mamba-navbar { min-height: 92px; }
  body { padding-top: 92px; }
  .navbar-collapse {
    background: rgba(9, 17, 26, .98);
    border: 1px solid rgba(230,236,241,.13);
    border-radius: 1.25rem;
    margin-top: .85rem;
    padding: 1rem;
  }
}