/* ============================================================
   NexaDocs — style.css  (Design Reference Match)
   Brand: #180054 | #9c2afc  |  Font: Google Sans Flex
   Follows: Apple UI visual hierarchy + reference screenshot layout
   ============================================================ */

/* ── Variables ── */
:root {
  --p1: #180054;
  --p2: #9c2afc;
  --p3: #3d0099;
  --p4: #c67ffe;
  --p5: #f0e6ff;
  --p6: #6b0ed6;

  --white:    #ffffff;
  --off:      #fafafa;
  --surface:  #f7f3ff;
  --border:   #e8deff;
  --txt1:     #0f0023;
  --txt2:     #3a3550;
  --txt3:     #7a7490;

  --nav-h: 72px;
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-2xl: 40px;
  --r-3xl: 20px;

  --shadow-sm:  0 2px 8px rgba(24,0,84,.07);
  --shadow-md:  0 8px 32px rgba(24,0,84,.12);
  --shadow-lg:  0 20px 60px rgba(24,0,84,.18);
  --shadow-card: 0 4px 24px rgba(156,42,252,.10);

  --ease: cubic-bezier(.25,.46,.45,.94);
  --t: .32s;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* prevent fixed/absolute elements painting beyond viewport */
}
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--txt2);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ── Animated gradient orbs — positions driven by JS rAF loop ── */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  will-change: translate;
}
.bg-orb--1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(156,42,252,.30) 0%, transparent 70%);
  top: -250px; left: -250px;
}
.bg-orb--2 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(24,0,84,.22) 0%, transparent 70%);
  bottom: 5%; right: -200px;
}
.bg-orb--3 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(107,14,214,.25) 0%, transparent 70%);
  top: 45%; left: 15%;
}
.bg-orb--4 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(198,127,254,.20) 0%, transparent 70%);
  top: 5%; right: -150px;
}
.bg-orb--5 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(61,0,153,.18) 0%, transparent 70%);
  bottom: 0%; left: -100px;
}

/* All content sits above orbs */
nav, section, footer, .partner-strip, .section-stats, .section-cta-banner { position: relative; z-index: 1; }

/* ── Rounded helpers ── */
.rounded-2xl { border-radius: var(--r-xl) !important; }
.rounded-3xl { border-radius: var(--r-2xl) !important; }

/* ── Typography Shared ── */
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--p2);
  background: var(--p5);
  padding: .3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.eyebrow--white { color: var(--p4); background: rgba(255,255,255,.12); }

.section-h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--txt1);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.section-h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--txt1);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.h2-accent {
  background: linear-gradient(135deg, var(--p2) 0%, var(--p4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.body-lg {
  font-size: 1.05rem;
  color: var(--txt3);
  line-height: 1.72;
}

/* ── Section block ── */
.section-block { padding: 6rem 0; overflow-x: clip; }
.section-block--surface { background: var(--surface); }
.mb-section { margin-bottom: 4rem; }

/* ── Buttons ── */
/* Registered properties allow CSS to animate gradient colours */
@property --btn-c1 { syntax: '<color>'; inherits: false; initial-value: #9c2afc; }
@property --btn-c2 { syntax: '<color>'; inherits: false; initial-value: #3d0099; }

.btn-brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--btn-c1) 0%, var(--btn-c2) 100%);
  color: var(--white) !important;
  border: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: .92rem;
  padding: .72rem 1.75rem;
  letter-spacing: .02em;
  box-shadow: 0 4px 20px rgba(156,42,252,.35);
  transition: --btn-c1 var(--t) var(--ease), --btn-c2 var(--t) var(--ease),
              transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.btn-brand-pill:hover {
  --btn-c1: #3d0099;
  --btn-c2: #180054;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(156,42,252,.45);
}

.btn-ghost-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--p2) !important;
  border: 1.5px solid var(--p2);
  border-radius: 100px;
  font-weight: 700;
  font-size: .92rem;
  padding: .68rem 1.75rem;
  transition: all var(--t) var(--ease);
}
.btn-ghost-pill:hover {
  background: var(--p2);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(156,42,252,.28);
}

/* Ghost button variant for dark/video hero background */
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.10);
  color: var(--white) !important;
  border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 100px;
  font-weight: 700;
  font-size: .92rem;
  padding: .68rem 1.75rem;
  backdrop-filter: blur(8px);
  transition: all var(--t) var(--ease);
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,.22);
  border-color: var(--white);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.btn-white-pill {
  background: var(--white);
  color: var(--p1) !important;
  border-radius: 100px;
  font-weight: 800;
  font-size: .92rem;
  padding: .72rem 1.75rem;
  border: none;
  transition: all var(--t);
}
.btn-white-pill:hover {
  background: var(--p5);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  color: var(--p1) !important;
}

.btn-wa-pill {
  background: #25d366;
  color: var(--white) !important;
  border-radius: 100px;
  font-weight: 700;
  font-size: .92rem;
  padding: .72rem 1.75rem;
  border: none;
  transition: all var(--t);
}
.btn-wa-pill:hover {
  background: #20ba57;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  color: var(--white) !important;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  /* Floating pill — pull in from viewport edges in both states */
  left: 1.25rem !important;
  right: 1.25rem !important;
  top: .875rem !important;
  width: auto !important;          /* let left+right control width; prevents Bootstrap width:100% conflict */
  max-width: calc(100vw - 2.5rem); /* hard cap so it never bleeds on any device */
  border-radius: 100px;
  height: auto;
  padding-top: .5rem;
  padding-bottom: .5rem;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 4px 28px rgba(24,0,84,.13);
  transition: background var(--t), box-shadow var(--t);
  z-index: 1000;
}
/* Prevent brand/actions from blowing out flex row */
#mainNav .navbar-brand { min-width: 0; flex-shrink: 1; }
#mainNav .nav-actions   { min-width: 0; flex-shrink: 0; }
#mainNav.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 40px rgba(24,0,84,.18);
}

.nav-logo {
  height: 56px;
  width: auto;
  filter: none;
}

#mainNav .nav-link {
  font-weight: 600;
  font-size: .88rem;
  color: var(--txt2);
  padding: .5rem .8rem !important;
  border-radius: var(--r-sm);
  transition: all var(--t);
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: var(--p2) !important; background: var(--p5); }

/* Dropdown */
#mainNav .dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: .5rem;
  min-width: 270px;
  margin-top: 8px;
  animation: ddFade .2s ease;
}
@keyframes ddFade {
  from { opacity:0; transform:translateY(-8px); }
  to   { opacity:1; transform:translateY(0); }
}
#mainNav .dropdown-item {
  font-weight: 600;
  font-size: .85rem;
  color: var(--txt2);
  border-radius: var(--r-sm);
  padding: .6rem 1rem;
  transition: all var(--t);
}
#mainNav .dropdown-item i { color: var(--p2); }
#mainNav .dropdown-item:hover { background: var(--p5); color: var(--p2); }

.nav-phone {
  font-size: .8rem;
  font-weight: 700;
  color: var(--txt3);
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color var(--t);
}
.nav-phone i { color: var(--p2); }
.nav-phone:hover { color: var(--p2); }

/* Hamburger */
.navbar-toggler { border: none; background: none; padding: .4rem; }
.navbar-toggler:focus { box-shadow: none; }
.hamburger { display: flex; flex-direction: column; gap: 5px; width: 24px; }
.hamburger span { display: block; height: 2px; background: var(--p1); border-radius: 2px; transition: all .3s; }

/* Mobile nav — floating pill with absolute dropdown panel */
@media (max-width:991.98px) {
  #mainNav {
    border-radius: var(--r-2xl);
    left: .75rem !important;
    right: .75rem !important;
    top: .625rem !important;
    max-width: calc(100vw - 1.5rem) !important;
    overflow: visible; /* allow dropdown to escape pill boundary */
    padding-left: .75rem;
    padding-right: .75rem;
  }
  #mainNav > .container,
  #mainNav > .container-fluid {
    padding-left: .5rem;
    padding-right: .5rem;
  }
  .nav-logo { height: 56px; }
  #navbarNav {
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;
    right: 0;
    max-width: 100%;            /* never wider than the pill it hangs from */
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--r-lg);
    padding: 1.25rem 1.25rem 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(24,0,84,.18);
    z-index: 999;
    overflow: hidden;           /* clip any inner content that might try to push wider */
  }
  #mainNav .nav-link { color: var(--txt2) !important; }
  #mainNav .btn-brand-pill { width: 100%; margin-top: .75rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Full-screen video background */
.hero-vid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-vid-bg .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-vid-bg .hero-vid {
  z-index: 2;
}
.hero-vid-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(0, 0, 0, 0.58);
}

/* Content sits above the video overlay */
.hero-content {
  position: relative;
  z-index: 5;
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 6rem;
}

/* Hero text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.12);
  color: var(--p4);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .35rem 1rem .35rem .7rem;
  border-radius: 100px;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(198,127,254,.35);
  backdrop-filter: blur(8px);
}
.hb-dot {
  width: 8px; height: 8px;
  background: var(--p2);
  border-radius: 50%;
  animation: pulse 1.8s ease infinite;
}
@keyframes pulse {
  0%,100% { transform:scale(1); opacity:1; }
  50%      { transform:scale(1.4); opacity:.6; }
}

.hero-h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin-bottom: 1.5rem;
}
.h1-stroke {
  font-style: normal;
  position: relative;
  color: var(--p4);
}
.h1-stroke::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--p2), var(--p4));
  border-radius: 4px;
}
.h1-gradient {
  background: linear-gradient(135deg, var(--p2) 0%, var(--p4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.80);
  max-width: 540px;
  line-height: 1.72;
  margin-bottom: 2.5rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.ht-item { display: flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.88); }
.ht-item i { color: var(--p4); font-size: .85rem; }
.ht-sep { width: 1px; height: 14px; background: rgba(255,255,255,.2); }

/* Hero visual */
.hero-visual {
  position: relative;
  height: 540px;
}
.hero-media {
  position: absolute;
  inset: 0;
  border-radius: var(--r-2xl);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-vid.loaded { opacity: 1; }
.hero-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(24,0,84,.08) 0%, rgba(24,0,84,.3) 100%);
}

/* Floating cards */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: .85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  box-shadow: 0 12px 40px rgba(24,0,84,.18);
  border: 1px solid rgba(255,255,255,.9);
  z-index: 10;
  backdrop-filter: blur(12px);
  animation: floatBob 4s ease-in-out infinite;
}
.float-card:nth-child(2) { animation-delay: .5s; }
.float-card:nth-child(3) { animation-delay: 1s; }

@keyframes floatBob {
  0%,100% { transform:translateY(0); }
  50%      { transform:translateY(-8px); }
}

.fc--tl { top: 2rem;  left: -2.5rem; }
.fc--br { bottom: 3rem; left: -2rem; }
.fc--rm { top: 50%; right: -2rem; transform: translateY(-50%); }

.fc-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.fc-icon--green  { background: #dcfce7; color: #16a34a; }
.fc-icon--purple { background: var(--p5); color: var(--p2); }
.fc-icon--gold   { background: #fef3c7; color: #d97706; }

.fc-body { display: flex; flex-direction: column; }
.fc-title { font-size: .72rem; font-weight: 600; color: var(--txt3); }
.fc-sub   { font-size: .82rem; font-weight: 700; color: var(--txt1); }
.fc-big   { font-size: 1.3rem; font-weight: 900; color: var(--p2); }
.fc-plus  { font-size: .9rem; }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.scroll-cue span {
  display: block;
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 100px;
  position: relative;
}
.scroll-cue span::after {
  content: '';
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--p2);
  border-radius: 100px;
  animation: scrollBounce 1.8s ease infinite;
}
@keyframes scrollBounce {
  0%,100% { transform:translateX(-50%) translateY(0); opacity:1; }
  50%      { transform:translateX(-50%) translateY(10px); opacity:.3; }
}

/* Blur reveal */
.reveal-blur {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(22px);
  transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease);
}
.reveal-blur.revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ── Section heading blur-to-sharp animation ── */
.section-h2, .eyebrow {
  transition: opacity .75s var(--ease), filter .75s var(--ease), transform .75s var(--ease);
  opacity: 0;
  filter: blur(10px);
  transform: translateY(14px);
}
.section-h2.h-visible, .eyebrow.h-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ── Google Map ── */
.contact-map {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-map iframe { display: block; }
.map-view-link {
  display: block;
  text-align: center;
  padding: .6rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--p2);
  background: var(--surface);
  border-top: 1px solid var(--border);
  transition: background var(--t);
}
.map-view-link:hover { background: var(--p5); }

/* ============================================================
   PARTNER STRIP
   ============================================================ */
.partner-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 0 3.5rem;
}
.ps-heading-block {
  text-align: center;
  margin-bottom: 3rem;
}
.ps-label {
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  color: var(--txt3);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.ps-logos-static {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem 5rem;
}
.ps-logo-img {
  height: 68px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: transform var(--t);
}
.ps-logo-img:hover { transform: scale(1.08); }

/* ============================================================
   SPLIT MEDIA (Why/About)
   ============================================================ */
.split-media {
  position: relative;
  height: 500px;
}
.sm-main {
  position: absolute;
  top: 0; left: 0;
  width: 72%; height: 84%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.sm-sub {
  position: absolute;
  bottom: 0; right: 0;
  width: 54%; height: 52%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.sm-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 5;
}
.sm-badge--a { bottom: 4.5rem; left: -.5rem; }
.sm-badge--b { top: 3rem; right: -.5rem; }
.smb-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--p2);
  line-height: 1;
  letter-spacing: -.03em;
}
.smb-lbl {
  font-size: .68rem;
  font-weight: 700;
  color: var(--txt3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .2rem;
  text-align: center;
}

/* ── Why grid ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.why-item {
  display: flex;
  gap: .85rem;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--t);
}
.why-item:hover {
  border-color: var(--p4);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.wi-icon {
  width: 40px; height: 40px;
  background: var(--p5);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--p2);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--t);
}
.why-item:hover .wi-icon { background: var(--p2); color: var(--white); }
.wi-body h5 { font-size: .88rem; font-weight: 800; color: var(--txt1); margin-bottom: .25rem; }
.wi-body p  { font-size: .8rem; color: var(--txt3); line-height: 1.5; margin: 0; }

/* ============================================================
   PILLAR CARDS (About)
   ============================================================ */
.pillar-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: all var(--t);
  text-align: center;
}
.pillar-card:hover {
  border-color: var(--p4);
  box-shadow: var(--shadow-card);
  transform: translateY(-5px);
}
.pillar-icon {
  width: 56px; height: 56px;
  background: var(--p5);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--p2);
  font-size: 1.3rem;
  margin: 0 auto 1.25rem;
  transition: all var(--t);
}
.pillar-card:hover .pillar-icon { background: var(--p2); color: var(--white); }
.pillar-card h5 { font-size: .95rem; font-weight: 800; color: var(--txt1); margin-bottom: .6rem; }
.pillar-card p  { font-size: .85rem; color: var(--txt3); line-height: 1.6; margin: 0; }

/* ── About duo images ── */
.about-duo { position: relative; height: 540px; }
.ad-main {
  position: absolute;
  top: 0; left: 0;
  width: 70%; height: 88%;  /* taller so less top/bottom crop */
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.ad-sub {
  position: absolute;
  bottom: 0; right: 0;
  width: 52%; height: 55%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

/* Mission checks */
.mission-checks { display: flex; flex-direction: column; gap: .85rem; margin-top: 1.5rem; }
.mc-item {
  display: flex; align-items: center; gap: .75rem;
  font-size: .92rem; font-weight: 600; color: var(--txt2);
}
.mc-item i { color: var(--p2); font-size: 1rem; flex-shrink: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-features { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }

.svc-feature-row {
  display: grid;
  grid-template-columns: 56px 1fr 280px;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 2.5rem;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.svc-feature-row::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--p2), var(--p4));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.svc-feature-row:hover { box-shadow: var(--shadow-lg); border-color: var(--p4); transform: translateY(-4px); }
.svc-feature-row:hover::before { transform: scaleX(1); }
.svc-feature-row--rev { grid-template-columns: 280px 1fr 56px; }
.svc-feature-row--rev .sfr-icon { order: 3; }
.svc-feature-row--rev .sfr-img  { order: 1; }
.svc-feature-row--rev .sfr-body { order: 2; }

.sfr-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--p5) 0%, rgba(156,42,252,.12) 100%);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--p2);
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: all var(--t);
}
.svc-feature-row:hover .sfr-icon { background: var(--p2); color: var(--white); }

.sfr-body h4 { font-size: 1.15rem; font-weight: 800; color: var(--txt1); margin-bottom: .6rem; }
.sfr-body p  { font-size: .9rem; color: var(--txt3); line-height: 1.65; margin-bottom: 1rem; }

.sfr-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.sfr-tags span {
  font-size: .75rem;
  font-weight: 700;
  color: var(--p2);
  background: var(--p5);
  padding: .25rem .7rem;
  border-radius: 100px;
}

.sfr-img { height: 160px; border-radius: var(--r-md); overflow: hidden; }
.sfr-img img { width: 100%; height: 100%; object-fit: cover; }

/* Service cards (bottom 2) */
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--p2), var(--p4));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.svc-card:hover { box-shadow: var(--shadow-lg); border-color: var(--p4); transform: translateY(-5px); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card-icon {
  width: 52px; height: 52px;
  background: var(--p5);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--p2);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  transition: all var(--t);
}
.svc-card:hover .svc-card-icon { background: var(--p2); color: var(--white); }
.svc-card h4 { font-size: 1.1rem; font-weight: 800; color: var(--txt1); margin-bottom: .75rem; }
.svc-card p  { font-size: .9rem; color: var(--txt3); line-height: 1.65; }
.svc-learn-more {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--p2);
  margin-top: auto;
  transition: gap var(--t);
}
.svc-learn-more:hover { color: var(--p1); gap: .85rem; }

/* ============================================================
   STATS BANNER
   ============================================================ */
.section-stats { background: linear-gradient(135deg, var(--p1) 0%, var(--p3) 55%, var(--p2) 100%); padding: 5rem 0; }

.stats-wrap {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.stat-block {
  padding: 2.5rem 2rem;
  text-align: center;
}
.stat-block--b { border-left: 1px solid rgba(255,255,255,.12); }
.stat-num-wrap { display: flex; justify-content: center; align-items: baseline; gap: .1rem; }
.stat-count {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.04em;
  line-height: 1;
}
.stat-suf {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--p4);
  line-height: 1;
}
.stat-block p {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  margin-top: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
/* featured card */
.testi-card--featured { background: linear-gradient(135deg, var(--p1) 0%, var(--p3) 60%, var(--p2) 100%); }

.testi-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; right: 1.25rem;
  font-size: 6rem;
  font-weight: 900;
  color: var(--p5);
  line-height: 1;
  font-family: Georgia,serif;
  pointer-events: none;
  z-index: 0;
}
/* Featured card — hide the quote glyph so nothing competes with content */
.testi-card--featured { overflow: visible; }
.testi-card--featured::before { content: none; }
/* CSS-driven fade-in for featured card (bypasses AOS opacity/transform entirely) */
.testi-card--fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .68s cubic-bezier(.25,.46,.45,.94), transform .68s cubic-bezier(.25,.46,.45,.94);
  transition-delay: .12s;
}
.testi-card--fade.tc-visible {
  opacity: 1;
  transform: translateY(0);
}
.testi-card:hover { box-shadow: var(--shadow-md); border-color: var(--p4); transform: translateY(-4px); }
.testi-card--featured:hover { border-color: transparent; }

.tc-stars { color: #f59e0b; font-size: 1rem; letter-spacing: .1em; margin-bottom: .75rem; position: relative; z-index: 1; }
.tc-stars--white { color: rgba(255,255,255,.9); }
.tc-quote {
  font-size: .92rem;
  color: var(--txt2);
  line-height: 1.72;
  font-style: italic;
  margin: 0;
  position: relative;
  z-index: 1;
  flex: 1;
}
.testi-card--featured .tc-quote { color: rgba(255,255,255,.85); }

.tc-author { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); position: relative; z-index: 1; }
.testi-card--featured .tc-author { border-top-color: rgba(255,255,255,.15); }
.tc-author h6 { font-size: .88rem; font-weight: 700; color: var(--txt1); margin: 0 0 .15rem; }
.testi-card--featured .tc-author h6 { color: var(--white); }
.tc-author span { font-size: .75rem; color: var(--txt3); }
.testi-card--featured .tc-author span { color: rgba(255,255,255,.65); }
.tc-source { font-size: .72rem; font-weight: 600; color: var(--txt3); margin-top: .75rem; position: relative; z-index: 1; }
.tc-source--white { color: rgba(255,255,255,.55); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq-item:has(.show) { border-color: var(--p2); box-shadow: var(--shadow-card); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--txt1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: color var(--t);
  font-family: inherit;
}
.faq-q:hover { color: var(--p2); }
.faq-ico {
  font-size: .75rem;
  color: var(--p2);
  flex-shrink: 0;
  transition: transform var(--t);
}
.faq-q:not(.collapsed) .faq-ico { transform: rotate(45deg); }

.faq-a {
  padding: 0 1.5rem 1.25rem;
  font-size: .9rem;
  color: var(--txt3);
  line-height: 1.7;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.section-cta-banner { padding: 5rem 0; }
.cta-banner-box {
  background: linear-gradient(135deg, var(--p1) 0%, var(--p3) 55%, var(--p2) 100%);
  border-radius: var(--r-2xl);
  padding: 4rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-orb--1 {
  width: 350px; height: 350px;
  background: rgba(255,255,255,.05);
  top: -100px; right: -80px;
}
.cta-orb--2 {
  width: 200px; height: 200px;
  background: rgba(255,255,255,.04);
  bottom: -60px; left: 30%;
}
.cta-h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.025em;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}
.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  margin-top: .85rem;
  position: relative;
  z-index: 1;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info-stack { display: flex; flex-direction: column; gap: 1rem; }
.ci-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.1rem 1.25rem;
  transition: all var(--t);
  color: inherit;
}
.ci-card:hover { border-color: var(--p4); box-shadow: var(--shadow-card); transform: translateX(4px); }
.ci-card--wa:hover { border-color: #25d366; box-shadow: 0 4px 20px rgba(37,211,102,.15); }
.ci-card--map { cursor: default; }
.ci-icon {
  width: 44px; height: 44px;
  background: var(--p5);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--p2);
  font-size: 1rem;
  flex-shrink: 0;
}
.ci-icon--green { background: #dcfce7; color: #16a34a; }
.ci-card h6 { font-size: .78rem; font-weight: 700; color: var(--txt3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
.ci-card span { font-size: .88rem; color: var(--txt2); font-weight: 500; line-height: 1.5; }

/* Contact form */
.contact-form-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-box h4 { font-size: 1.3rem; font-weight: 800; color: var(--txt1); margin-bottom: .4rem; }
.form-note { font-size: .82rem; color: var(--txt3); margin-bottom: 1.75rem; }

.flabel { font-size: .82rem; font-weight: 700; color: var(--txt2); display: block; margin-bottom: .45rem; }
.req { color: var(--p2); }

.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: .75rem 1rem;
  font-size: .9rem;
  font-family: inherit;
  color: var(--txt1);
  background: var(--off);
  transition: all var(--t);
}
.form-control:focus, .form-select:focus {
  border-color: var(--p2);
  box-shadow: 0 0 0 3px rgba(156,42,252,.12);
  background: var(--white);
  outline: none;
}
.form-control::placeholder { color: var(--txt3); }
textarea.form-control { resize: vertical; min-height: 120px; }

.submit-btn { font-weight: 800; font-size: 1rem; }

#formMsg.success {
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  color: #15803d;
  border-radius: var(--r-md);
  padding: .875rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
}
#formMsg.error {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  color: #dc2626;
  border-radius: var(--r-md);
  padding: .875rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--p1); color: rgba(255,255,255,.7); }
.footer-logo { height: 56px; width: auto; filter: brightness(0) invert(1); }
.footer-desc { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.7; max-width: 300px; }
.footer-heading { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--white); margin-bottom: 1.25rem; }
.footer-ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-ul a { font-size: .875rem; color: rgba(255,255,255,.6); font-weight: 500; transition: color var(--t); }
.footer-ul a:hover { color: var(--p4); }
.footer-contact-list { display: flex; flex-direction: column; gap: .85rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; color: rgba(255,255,255,.6); }
.footer-contact-list i { color: var(--p4); margin-top: .15rem; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,.6); transition: color var(--t); }
.footer-contact-list a:hover { color: var(--p4); }
.social-row { display: flex; gap: .75rem; }
.social-row a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  transition: all var(--t);
}
.social-row a:hover { background: var(--p2); border-color: var(--p2); color: var(--white); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.bliz-link { color: var(--p2); font-weight: 700; }
.bliz-link:hover { color: var(--p3); text-decoration: underline; }
.heart { color: var(--p4); }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-fab {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 9999;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: all var(--t);
  text-decoration: none;
}
.wa-fab i { font-size: 1.8rem; color: var(--white); line-height: 1; }
.wa-fab:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 8px 30px rgba(37,211,102,.55); background: #20ba57; }
.wa-fab::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.45);
  animation: waPulse 2s ease infinite;
}
@keyframes waPulse {
  0%   { transform:scale(1); opacity:1; }
  100% { transform:scale(1.55); opacity:0; }
}
.wa-tip {
  position: absolute;
  right: calc(100% + 14px);
  background: #1a1a2e;
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .4rem .85rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.wa-tip::after {
  content: '';
  position: absolute;
  right: -5px; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1a1a2e;
  border-right: none;
}
.wa-fab:hover .wa-tip { opacity: 1; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.btt-btn {
  position: fixed;
  bottom: 7rem; right: 2rem; /* WA fab = 58px + 2rem ≈ 5.6rem; +1.4rem gap above it */
  z-index: 9998;
  width: 44px; height: 44px;
  background: var(--p2);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t);
  font-size: .875rem;
}
.btt-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.btt-btn:hover { background: var(--p1); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {
  .svc-feature-row { grid-template-columns: 56px 1fr 200px; }
  .svc-feature-row--rev { grid-template-columns: 200px 1fr 56px; }
}

@media (max-width: 991.98px) {
  .hero-visual { height: 400px; margin-top: 2rem; }
  .fc--tl { top: 1rem; left: -1rem; }
  .fc--br { bottom: 1.5rem; left: -.5rem; }
  .fc--rm { right: -.5rem; }

  .split-media { height: 360px; margin-bottom: 3rem; }
  .about-duo { height: 440px; margin-bottom: 3rem; }
  .sm-badge--a { left: 0; bottom: 3.5rem; }
  .sm-badge--b { right: 0; top: 2rem; }

  .svc-feature-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .svc-feature-row--rev {
    grid-template-columns: 1fr;
  }
  .svc-feature-row--rev .sfr-icon { order: 1; }
  .svc-feature-row--rev .sfr-body { order: 2; }
  .svc-feature-row--rev .sfr-img  { order: 3; }
  .sfr-icon { width: 48px; height: 48px; }
  .sfr-img { height: 220px; }

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

  .cta-banner-box { padding: 2.5rem 2rem; }
  .why-grid { grid-template-columns: 1fr; }

  .stat-block--b { border-left: none; border-top: 1px solid rgba(255,255,255,.12); }

  .footer-bottom { flex-direction: column; text-align: center; }

  .wa-fab { bottom: 1.25rem; right: 1.25rem; }
  .btt-btn { bottom: 6.25rem; right: 1.25rem; } /* WA=58px+1.25rem≈4.9rem; +1.4rem gap */
}

@media (max-width: 767.98px) {
  .hero-h1 { font-size: 2.2rem; }
  .hero-content { padding-top: calc(var(--nav-h) + 2.5rem); padding-bottom: 4rem; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-brand-pill,
  .hero-ctas .btn-hero-ghost { width: 100%; }

  .split-media, .about-duo { height: 280px; }

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

  .section-block { padding: 4rem 0; }
  .section-stats  { padding: 3.5rem 0; }

  .stat-block { padding: 1.75rem 1rem; }
  .stat-block--b { border-left: none; border-top: 1px solid rgba(255,255,255,.12); }

  .stats-wrap { border-radius: var(--r-lg); }

  .contact-form-box { padding: 1.75rem; }
  .partner-strip { padding: 3rem 0 2rem; } /* keep room for heading on mobile */

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

@media (max-width: 575.98px) {
  .cta-banner-box { padding: 2rem 1.25rem; border-radius: var(--r-xl); }
  .hero-trust { gap: .5rem .5rem; flex-wrap: wrap; }
  .hero-trust .ht-sep { display: none; }        /* drop separators on tiny screens */
  .ps-logos { gap: .5rem 1rem; }

  /* Prevent any Bootstrap row negative-margin bleed */
  .hero-content .row,
  .section-block .row,
  .footer-top.row { --bs-gutter-x: 1rem; }

  /* Logos slightly smaller on phones */
  .ps-logo-img { height: 52px; max-width: 140px; }
  .partner-strip { padding: 2.5rem 0 1.5rem; }

  .nav-logo { height: 56px; }
}
