/* ═══════════════════════════════════════════
   SAAM Auditoria — Design System
   Referência: TOTVS + Alianzo (B2B Corporativo)
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0B1630;
  --navy-mid:   #112040;
  --navy-deep:  #070E20;
  --blue:       #1B3F8B;
  --blue-mid:   #2251B8;
  --blue-light: #3B6FE8;
  --blue-pale:  #EEF3FF;
  --gold:       #B8841A;
  --gold-light: #D4A84B;
  --gold-pale:  #FDF6E8;
  --white:      #FFFFFF;
  --gray-50:    #F7F9FC;
  --gray-100:   #EEF2F8;
  --gray-200:   #DDE3EE;
  --gray-400:   #8D9BBF;
  --gray-600:   #4A5568;
  --text:       #0F1C38;
  --text-muted: #6B7A99;
  --border:     #E2E8F4;
  --green:      #16A34A;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-50); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── NAVBAR ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11, 22, 48, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.nav-transparent {
  background: rgba(7, 14, 32, 0.22);
  backdrop-filter: blur(6px);
  border-bottom-color: rgba(255,255,255,0.03);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.logo-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.logo-name span { color: var(--gold-light); }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}

.nav-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: white; background: rgba(255,255,255,0.08); }

.nav-right { display: flex; align-items: center; gap: 8px; }

.btn-ghost-nav {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.18);
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.btn-ghost-nav:hover { color: white; border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.07); }

.btn-gold-nav {
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 7px;
  background: var(--gold-light);
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.btn-gold-nav:hover { background: #E0B84E; transform: translateY(-1px); }

/* ─── HERO DARK ─── */
.hero-dark {
  background: var(--navy);
  padding: 148px 32px 96px;
  position: relative;
  overflow: hidden;
}

.hero-dark::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 75% 50%, rgba(27,63,139,0.3) 0%, transparent 65%),
    radial-gradient(ellipse 500px 400px at 15% 80%, rgba(37,81,184,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* ─── HERO WITH BACKGROUND PHOTO ─── */
.hero-dark.hero-photo {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 116px 32px 72px;
}

.hero-dark.hero-photo::before {
  background: linear-gradient(
    160deg,
    rgba(4,9,22,0.94) 0%,
    rgba(6,13,36,0.90) 50%,
    rgba(4,9,22,0.94) 100%
  );
}

.hero-dark.hero-photo h1.hero-h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.hero-dark.hero-photo .hero-desc {
  font-size: 0.94rem;
}

.hero-dark-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-dark-inner.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: var(--gold-light);
}

.eyebrow.blue { color: var(--blue-light); }
.eyebrow.blue::before { background: var(--blue-light); }

h1.hero-h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 22px;
}

h1.hero-h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue-light), #7BAEFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1.hero-h1 .gold-em {
  background: linear-gradient(90deg, var(--gold-light), #EDD06A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
  font-weight: 400;
}

.btn-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
  text-decoration: none;
}

.btn-blue {
  padding: 12px 24px;
  background: var(--blue-mid);
  color: white;
  font-size: 0.9rem;
}

.btn-blue:hover { background: var(--blue-light); transform: translateY(-1px); }

.btn-blue-lg {
  padding: 14px 28px;
  background: var(--blue-mid);
  color: white;
  font-size: 0.95rem;
}

.btn-blue-lg:hover { background: var(--blue-light); transform: translateY(-1px); }

.btn-ghost {
  padding: 11px 22px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover { color: white; border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); }

.btn-gold {
  padding: 13px 26px;
  background: var(--gold-light);
  color: var(--navy);
  font-size: 0.9rem;
}

.btn-gold:hover { background: #E0B84E; transform: translateY(-1px); }

.btn-gold-lg {
  padding: 15px 32px;
  background: var(--gold-light);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

.btn-gold-lg:hover { background: #E0B84E; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(212,168,75,0.4); }

.btn-green {
  padding: 13px 26px;
  background: var(--green);
  color: white;
  font-size: 0.9rem;
}

.btn-green:hover { background: #15803D; transform: translateY(-1px); }

.btn-outline-dark {
  padding: 12px 24px;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  border: 1px solid var(--border);
}

.btn-outline-dark:hover { border-color: var(--blue-mid); color: var(--blue-mid); background: var(--blue-pale); }

/* ─── STATS STRIP ─── */
.stats-strip {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stats-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.ss-item {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.ss-item:last-child { border-right: none; }

.ss-num {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: white;
  line-height: 1;
  margin-bottom: 5px;
}

.ss-lbl { font-size: 0.78rem; color: rgba(255,255,255,0.38); font-weight: 500; }

/* ─── SECTIONS ─── */
.section { padding: 88px 32px; }
.section-light { background: var(--white); }
.section-gray  { background: var(--gray-50); }
.section-navy  { background: var(--navy); }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header.centered .sec-sub { margin: 0 auto; }

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 12px;
}

.sec-eyebrow::before {
  content: '';
  display: block;
  width: 18px; height: 1.5px;
  background: var(--blue-mid);
}

.sec-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
}

.sec-title em { font-style: normal; color: var(--blue-mid); }
.sec-title .gold { color: var(--gold); }

.sec-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 540px;
  font-weight: 400;
}

/* ─── CARD GRIDS ─── */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  background: var(--white);
  padding: 32px;
  transition: background 0.2s;
}

.card:hover { background: var(--gray-50); }

.card-gray { background: var(--gray-50); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.card-gray:hover { border-color: var(--blue-mid); }

.card-navy {
  background: var(--navy);
  border-radius: 12px;
  padding: 28px;
}

/* ─── CLIENTS ─── */
.clients-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}

.ctab {
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
}

.ctab:hover { color: var(--text); }
.ctab.active { color: var(--blue-mid); border-bottom-color: var(--blue-mid); }

.clients-panel { display: none; padding-top: 32px; }
.clients-panel.active { display: block; }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.client-item {
  background: var(--white);
  padding: 26px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  transition: background 0.2s;
}

.client-item:hover { background: var(--blue-pale); }
.client-item.empty { background: var(--gray-50); }

.client-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.clients-logo-wrap {
  padding: 24px 0 8px;
  text-align: center;
}

.clients-logo-img {
  width: 100%;
  max-width: 860px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* ─── CTA SECTION ─── */
.cta-block {
  background: var(--navy);
  padding: 88px 32px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-block::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 500px at 50% 100%, rgba(27,63,139,0.35) 0%, transparent 65%);
  pointer-events: none;
}

.cta-block-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.cta-block h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: white;
  margin-bottom: 14px;
  line-height: 1.1;
}

.cta-block p {
  font-size: 1rem;
  color: rgba(255,255,255,0.48);
  max-width: 460px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.trust-i {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
}

.trust-i svg { width: 14px; height: 14px; stroke: var(--blue-light); flex-shrink: 0; fill: none; }

/* ─── FOOTER ─── */
footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 32px 28px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.32);
  line-height: 1.75;
  margin-top: -8px;
  margin-bottom: 22px;
  max-width: 270px;
}

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

.soc-btn {
  width: 33px; height: 33px;
  border-radius: 7px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.soc-btn:hover { background: rgba(59,111,232,0.2); border-color: rgba(59,111,232,0.3); }
.soc-btn svg { width: 14px; height: 14px; stroke: rgba(255,255,255,0.45); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.soc-btn:hover svg { stroke: var(--blue-light); }

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 16px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.75); }

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 9px;
}

.footer-contact-row svg { width: 13px; height: 13px; stroke: var(--blue-light); flex-shrink: 0; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact-row a { color: rgba(255,255,255,0.38); transition: color 0.2s; }
.footer-contact-row a:hover { color: rgba(255,255,255,0.7); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p { font-size: 0.77rem; color: rgba(255,255,255,0.22); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { font-size: 0.77rem; color: rgba(255,255,255,0.22); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.45); }

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.vis { opacity: 1; transform: translateY(0); }

/* ─── UTILITIES ─── */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 5px;
  color: var(--blue-mid);
  background: var(--blue-pale);
}

.tag-gold { color: var(--gold); background: var(--gold-pale); }
.tag-green { color: #15803D; background: #F0FDF4; }

.divider { height: 1px; background: var(--border); margin: 40px 0; }

.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ─── NAVBAR LOGO IMAGE ─── */
#navbar .nav-logo {
  display: flex;
  align-items: center;
  overflow: visible;
  padding-top: 18px;
}

.nav-logo-img {
  height: 130px;
  width: auto;
  max-width: 440px;
  display: block;
  object-fit: contain;
  transition: opacity 0.22s, filter 0.22s;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.18));
}
.nav-logo-img:hover { opacity: 0.82; }
footer .nav-logo {
  overflow: hidden;
  height: 100px;
}
footer .nav-logo-img {
  height: 160px;
  max-width: 480px;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.12));
}

/* ─── CLIENT LOGO MARQUEE ─── */
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Outer wrapper (holds marquee + arrows) ── */
.logo-marquee-outer {
  position: relative;
  padding: 0 48px;
}

/* ── Arrow buttons — invisíveis, aparecem no hover ── */
.marquee-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(34,81,184,0.18);
  background: rgba(255,255,255,0.95);
  color: #2251B8;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, box-shadow 0.22s, background 0.2s;
  box-shadow: 0 4px 16px rgba(34,81,184,0.10);
  font-size: 1.2rem;
  line-height: 1;
}
.marquee-btn.prev { left: 0; }
.marquee-btn.next { right: 0; }
.logo-marquee-outer:hover .marquee-btn {
  opacity: 1;
  pointer-events: auto;
}
.marquee-btn:hover {
  background: #2251B8;
  color: white;
  box-shadow: 0 6px 20px rgba(34,81,184,0.28);
}

.logo-marquee-wrap {
  overflow: hidden;
  position: relative;
  padding: 36px 0 12px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}

/* Célula fixa: todos os itens têm a mesma largura = espaçamento idêntico */
.logo-marquee-item {
  flex-shrink: 0;
  width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-marquee-item img {
  width: 160px;
  height: 60px;
  display: block;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.52);
  transition: filter 0.35s ease, transform 0.28s ease;
}

#panel-superm .logo-marquee-item img {
  width: 160px;
  height: 60px;
  object-fit: contain;
}

.logo-marquee-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.07);
}

/* ─── SOLUTION CARD — HOVER VIDEO EFFECT ─── */
.card-sol {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.card-sol::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(245, 249, 255, 0.98) 0%,
    rgba(220, 234, 255, 0.95) 55%,
    rgba(200, 220, 255, 0.92) 100%
  );
  opacity: 0;
  transition: opacity 0.38s ease;
  z-index: 0;
  border-radius: inherit;
}
.card-sol::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-mid) 0%, var(--blue-light) 60%, rgba(107,159,255,0.6) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
  z-index: 2;
}
.card-sol:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(34,81,184,0.13), 0 0 0 1px rgba(59,111,232,0.18), inset 0 1px 0 rgba(255,255,255,0.95);
  border-color: rgba(59,111,232,0.28) !important;
}
.card-sol:hover::before { opacity: 1; }
.card-sol:hover::after { transform: scaleX(1); }
.card-sol > * { position: relative; z-index: 1; }
.card-sol .tag { transition: color 0.3s, border-color 0.3s, background 0.3s; }
.card-sol:hover .tag { color: var(--blue-mid) !important; background: rgba(34,81,184,0.08) !important; border-color: rgba(34,81,184,0.2) !important; }
.card-sol h3 { transition: color 0.3s; }
.card-sol:hover h3 { color: var(--navy) !important; }
.card-sol p { transition: color 0.3s; }
.card-sol:hover p { color: var(--text-muted) !important; }
.card-sol a { transition: color 0.3s; }
.card-sol:hover a { color: var(--blue-mid) !important; }
.card-sol:hover div[style*="color"] { color: var(--text-muted) !important; }
.card-sol:hover span[style*="color"] { color: var(--text-muted) !important; }

/* ─── PAGE LOAD ENTRANCE ANIMATIONS ─── */
@keyframes saamFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes saamFadeRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes saamScaleIn {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes saamStatSlide {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes saamBluePulse {
  0%,100% { box-shadow: 0 4px 20px rgba(34,81,184,0.45); }
  50%     { box-shadow: 0 6px 32px rgba(34,81,184,0.75), 0 0 0 4px rgba(34,81,184,0.12); }
}
@keyframes saamGoldPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(212,168,75,0.45); }
  50%     { box-shadow: 0 6px 32px rgba(212,168,75,0.78), 0 0 0 4px rgba(212,168,75,0.14); }
}
@keyframes saamGridLine {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim-fade-up    { animation: saamFadeUp 0.74s cubic-bezier(0.22,1,0.36,1) both; }
.anim-fade-right { animation: saamFadeRight 0.82s cubic-bezier(0.22,1,0.36,1) both; }
.anim-scale-in   { animation: saamScaleIn 0.78s cubic-bezier(0.22,1,0.36,1) both; }
.anim-d1  { animation-delay: 0.04s; }
.anim-d2  { animation-delay: 0.16s; }
.anim-d3  { animation-delay: 0.30s; }
.anim-d4  { animation-delay: 0.46s; }
.anim-d5  { animation-delay: 0.64s; }
.anim-d6  { animation-delay: 0.82s; }
.anim-d7  { animation-delay: 1.00s; }

.hero-saam-stat { animation: saamStatSlide 0.6s cubic-bezier(0.22,1,0.36,1) both; }
.hero-saam-stat:nth-child(1) { animation-delay: 0.80s; }
.hero-saam-stat:nth-child(2) { animation-delay: 0.92s; }
.hero-saam-stat:nth-child(3) { animation-delay: 1.04s; }
.hero-saam-stat:nth-child(4) { animation-delay: 1.16s; }
.hero-saam-stat:nth-child(5) { animation-delay: 1.28s; }

.btn-blue-pulse { animation: saamBluePulse 2.8s ease-in-out infinite; }
.btn-gold-pulse { animation: saamGoldPulse 2.8s ease-in-out infinite; }

/* Animated background grid for hero-saam */
.hero-saam-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(59,111,232,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,111,232,0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: saamGridLine 1.4s ease both;
  animation-delay: 0.3s;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-dark-inner.two-col { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-strip-inner { grid-template-columns: repeat(3, 1fr); }
  .logo-marquee-track { gap: 40px; animation-duration: 22s; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  #nav-toggle { display: flex; }
  .nav-right { display: none; }
  .nav-inner { padding: 0 16px; }
  .hero-dark.hero-photo { padding: 108px 20px 68px !important; min-height: 54vh !important; }
  .section { padding: 60px 20px; }
  .hero-dark { padding: 116px 20px 72px; }
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .ss-item:nth-child(3) { border-right: none; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-marquee-track { gap: 32px; animation-duration: 18s; }
  .logo-marquee-outer { padding: 0 36px; }
  .logo-marquee-item { width: 180px; }
  .logo-marquee-item img { width: 130px; height: 49px; }
  .btn-group { flex-direction: column; align-items: flex-start; }
  .cta-trust { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ─── HAMBURGER BUTTON ─── */
#nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  border: none;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s;
}
#nav-toggle:hover { background: rgba(255,255,255,0.15); }
#nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
#nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; }
#nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE NAV PANEL ─── */
#mobile-nav {
  position: fixed;
  top: 88px; left: 0; right: 0;
  background: rgba(5,10,28,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  z-index: 998;
  padding: 4px 20px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  max-height: calc(100vh - 88px);
  overflow-y: auto;
}
#mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mn-link {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: block;
  transition: color 0.2s;
}
.mn-link:last-of-type { border-bottom: none; }
.mn-link:hover, .mn-link.active { color: white; }
.mn-ctas {
  padding: 14px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mn-ctas .btn-ghost-nav,
.mn-ctas .btn-gold-nav {
  text-align: center;
  display: block;
  padding: 13px 18px;
}

/* ─── EXTRA SMALL (480px) ─── */
@media (max-width: 480px) {
  .section { padding: 52px 16px; }
  .nav-logo-img { height: 100px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom-links { gap: 12px; flex-wrap: wrap; }
  .hero-dark.hero-photo { padding: 94px 16px 52px !important; min-height: 48vh !important; }
  .btn-gold-lg, .btn-blue-lg { padding: 13px 22px; font-size: 0.9rem; }
  .cta-trust { flex-direction: column; align-items: flex-start; gap: 12px; }
}
