/* ============================================
   MBS Incasso — Pro layer (depth, motion, widgets)
   ============================================ */

:root {
  --navy-950: #07111c;
  --navy-900: #0b1a2e;
  --navy-800: #12253d;
  --charcoal: #121826;
  --slate: #2f3b4d;
  --slate-light: #4a586c;
  --cream: #eef1f5;
  --cream-dark: #e2e7ee;
  --gold: #c4a06a;
  --gold-light: #dfc18f;
  --gold-dark: #9a7848;
  --surface: #ffffff;
  --header-h: 88px;
}

body {
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(196, 160, 106, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 10%, rgba(18, 48, 79, 0.22), transparent 50%),
    linear-gradient(180deg, #d9e0ea 0%, #e6ebf2 35%, #dde4ee 100%);
  color: var(--charcoal);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(rgba(11, 26, 46, 0.07) 1px, transparent 1px),
    linear-gradient(135deg, rgba(11, 26, 46, 0.03) 25%, transparent 25%, transparent 50%, rgba(11, 26, 46, 0.03) 50%, rgba(11, 26, 46, 0.03) 75%, transparent 75%, transparent);
  background-size: 28px 28px, 56px 56px;
  animation: gridDrift 50s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  top: -22vmax;
  right: -20vmax;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(196, 160, 106, 0.18), transparent 65%);
  animation: orbFloat 18s ease-in-out infinite alternate;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  /* keep fixed — never force relative here */
  z-index: 1000;
}

.survey-popup {
  position: fixed !important;
  inset: 0 !important;
  z-index: 5000 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.survey-popup[hidden] {
  display: none !important;
}

@keyframes gridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(48px); }
}

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-4%, 6%) scale(1.08); }
}

/* ---- Header ---- */
.site-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  background: linear-gradient(90deg, #050b14, #0b1a2e 40%, #12253d);
  border-bottom: 1px solid rgba(196, 160, 106, 0.22);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}

.site-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 34px;
  flex-wrap: wrap;
  padding-block: 0.35rem;
}

.site-topbar a {
  color: var(--gold-light);
  font-weight: 600;
}

.site-topbar__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
}

.site-topbar__meta span {
  opacity: 0.85;
}

.site-header {
  height: auto !important;
  min-height: 76px;
  top: 0;
  overflow: visible !important;
  padding: 0.75rem 0;
  background:
    linear-gradient(180deg, #07111c, #0b1a2e),
    radial-gradient(ellipse 60% 120% at 0% 0%, rgba(196, 160, 106, 0.12), transparent 55%);
  border-bottom: 1px solid rgba(196, 160, 106, 0.28);
  box-shadow: 0 10px 40px rgba(7, 17, 28, 0.35);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.has-topbar .site-header {
  top: 36px !important;
}

.site-header .header-inner {
  height: auto !important;
  min-height: 56px;
  align-items: center;
  overflow: visible !important;
  padding-block: 0.15rem;
}

.site-header.is-scrolled {
  background: rgba(7, 17, 28, 0.99);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

:root {
  --header-h: 84px;
}

body.has-topbar .hero {
  padding-top: calc(var(--header-h) + 34px + 4.5rem);
}

body.has-topbar .page-hero {
  padding-top: calc(var(--header-h) + 34px + 4rem);
}

@media (max-width: 720px) {
  .site-topbar .site-topbar__meta:last-child {
    display: none;
  }

  .site-topbar {
    font-size: 0.72rem;
  }
}

.logo__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow:
    0 0 0 2px rgba(196, 160, 106, 0.45),
    0 8px 20px rgba(0, 0, 0, 0.35);
  background: transparent;
}

.logo__full {
  height: 48px;
  width: auto;
  max-width: min(240px, 52vw);
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  max-width: min(100%, 300px);
  overflow: visible !important;
  flex-shrink: 0;
}

.logo__icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50%;
  object-fit: cover !important;
  flex-shrink: 0;
  background: #0b1a2e !important;
  box-shadow:
    0 0 0 2px rgba(196, 160, 106, 0.5),
    0 6px 16px rgba(0, 0, 0, 0.35);
}

.logo__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
  overflow: visible !important;
}

.logo__mark {
  font-size: 1.05rem !important;
  letter-spacing: 0.1em;
  line-height: 1.2 !important;
  white-space: nowrap;
  overflow: visible !important;
}

.logo__sub {
  font-size: 0.58rem !important;
  letter-spacing: 0.1em;
  line-height: 1.2 !important;
  white-space: nowrap;
  overflow: visible !important;
  text-overflow: clip;
  max-width: none;
}

.logo__mark {
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
}

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

.logo__sub {
  letter-spacing: 0.16em;
}

.nav__list a {
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.nav__cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: none;
  color: var(--navy-950);
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(196, 160, 106, 0.35);
}

.nav__cta:hover {
  background: linear-gradient(135deg, #edd4a4, var(--gold-light));
  color: var(--navy-950);
}

/* ---- Contrast fixes on light surfaces ---- */
.section,
.section--alt,
.contact-form-wrap,
.portal-form-wrap,
.service-block,
.testimonial,
.legal-content,
.team-member {
  color: var(--charcoal);
}

.section .eyebrow,
.section--alt .eyebrow,
.contact-form-wrap .eyebrow,
.portal-form-wrap .eyebrow {
  color: #8a6a3d !important;
}

.lead,
.service-block p,
.service-block ul li,
.testimonial__role,
.team-member__bio,
.check-list li,
.form-privacy,
.portal-notice,
.legal-content p,
.legal-content li,
.legal-content,
.contact-card p,
.contact-card a,
.info-card p {
  color: #3a4556 !important;
}

.section h1, .section h2, .section h3,
.section--alt h1, .section--alt h2, .section--alt h3,
.service-block h3,
.testimonial__quote,
.testimonial__author,
.team-member h3,
.legal-content h2,
.legal-content h3,
.contact-form-wrap h2,
.portal-form-wrap h2 {
  color: #0b1a2e !important;
}

.btn--outline-dark {
  color: #0b1a2e !important;
  border-color: rgba(11, 26, 46, 0.45) !important;
}

.btn--outline-dark:hover {
  background: #0b1a2e !important;
  color: #fff !important;
}

.section--alt {
  background:
    linear-gradient(180deg, rgba(226, 231, 238, 0.9), rgba(238, 241, 245, 0.95));
}

/* Rich section surfaces — no empty white voids */
.section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(232, 237, 245, 0.92), rgba(245, 247, 251, 0.96));
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(ellipse 40% 50% at 0% 50%, rgba(196, 160, 106, 0.08), transparent 60%),
    radial-gradient(ellipse 35% 45% at 100% 30%, rgba(11, 26, 46, 0.06), transparent 55%);
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section--alt {
  background:
    linear-gradient(160deg, #e2e8f0 0%, #eef2f7 40%, #e6ebf3 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.section--alt::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: repeating-linear-gradient(
    -18deg,
    transparent,
    transparent 22px,
    rgba(11, 26, 46, 0.025) 22px,
    rgba(11, 26, 46, 0.025) 23px
  );
}

.video-section.section {
  background:
    linear-gradient(180deg, #0b1a2e 0%, #12253d 55%, #163252 100%);
  color: #fff;
}

.video-section .eyebrow {
  color: var(--gold-light) !important;
}

.video-section h2,
.video-section .lead {
  color: #fff !important;
}

.video-section .lead {
  opacity: 0.78;
}

.service-block,
.testimonial,
.contact-form-wrap,
.portal-form-wrap {
  background: linear-gradient(165deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow:
    0 18px 50px rgba(11, 26, 46, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 31, 56, 0.06);
}

.form-group input,
.form-group textarea {
  background: #fff;
  color: var(--charcoal);
  border-color: rgba(15, 31, 56, 0.18);
}

.form-group label {
  color: var(--navy-900);
}

/* ---- Hero depth ---- */
.hero {
  background:
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(196, 160, 106, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(30, 70, 110, 0.45), transparent 50%),
    linear-gradient(135deg, #07111c 0%, #0b1a2e 42%, #163252 100%);
  overflow: hidden;
}

.hero::before {
  background:
    radial-gradient(circle at 70% 30%, rgba(196, 160, 106, 0.18), transparent 40%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 36px,
      rgba(255, 255, 255, 0.015) 36px,
      rgba(255, 255, 255, 0.015) 37px
    );
  animation: heroSheen 14s linear infinite;
}

@keyframes heroSheen {
  from { transform: translateX(0); }
  to { transform: translateX(40px); }
}

.hero__visual-frame {
  border: 1px solid rgba(196, 160, 106, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: perspective(900px) rotateY(-4deg);
  transform-style: preserve-3d;
}

@media (max-width: 960px) {
  .hero__visual-frame {
    transform: none;
  }
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #07111c;
  box-shadow: 0 12px 28px rgba(196, 160, 106, 0.35);
  border: none;
}

.btn--outline {
  border-color: rgba(223, 193, 143, 0.55);
}

/* ---- Stats / social proof ---- */
.stats-band {
  margin-top: 0;
  position: relative;
  z-index: 3;
  padding: 0 0 0.5rem;
  overflow: visible;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(135deg, #0b1a2e, #163252);
  border: 1px solid rgba(196, 160, 106, 0.3);
  box-shadow: 0 24px 60px rgba(7, 17, 28, 0.35);
  padding: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.stat-item {
  text-align: center;
  color: #fff;
  padding: 1.25rem 0.85rem;
  border-right: 1px solid rgba(196, 160, 106, 0.2);
  min-width: 0;
}

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

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--gold-light);
  line-height: 1.1;
  word-break: normal;
}

.stat-item span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

/* ---- Video ---- */
.video-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(196, 160, 106, 0.28);
  box-shadow: 0 30px 80px rgba(11, 26, 46, 0.2);
  background: #0b1a2e;
  aspect-ratio: 16 / 9;
}

.video-shell--cinematic .video-shell__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: videoKen 22s ease-in-out infinite alternate;
}

@keyframes videoKen {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-2%, -1%, 0); }
}

.video-shell__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem;
  color: #fff;
  background:
    radial-gradient(circle at center, rgba(7, 17, 28, 0.25), rgba(7, 17, 28, 0.72));
}

.video-shell__overlay h3 {
  color: #fff !important;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0;
}

.video-shell__overlay p {
  color: rgba(223, 193, 143, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.video-play {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #07111c;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.5rem;
}

.video-play__icon {
  font-size: 1.25rem;
  margin-left: 3px;
}

.video-play__ring {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(223, 193, 143, 0.55);
  border-radius: 50%;
  animation: playPulse 2.4s ease-out infinite;
}

@keyframes playPulse {
  0% { transform: scale(0.92); opacity: 0.9; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ---- Clients strip ---- */
.clients-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.clients-strip span {
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(223, 193, 143, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.video-section .clients-strip span {
  border-color: rgba(223, 193, 143, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

/* ---- Floating tools ---- */
.float-tools {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.float-wa,
.float-chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.float-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 999px;
}

.float-chat-toggle {
  background: linear-gradient(135deg, #163252, #0b1a2e);
  border: 1px solid rgba(196, 160, 106, 0.4);
  border-radius: 999px;
  color: var(--gold-light);
}

.float-wa:hover,
.float-chat-toggle:hover {
  transform: translateY(-2px);
}

.chat-panel {
  width: min(92vw, 360px);
  background: #fff;
  border-top: 3px solid var(--gold);
  box-shadow: 0 24px 70px rgba(7, 17, 28, 0.4);
  overflow: hidden;
}

.chat-panel[hidden] {
  display: none !important;
}

.chat-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #0b1a2e, #163252);
  color: #fff;
}

.chat-panel__head strong {
  display: block;
  font-size: 0.95rem;
}

.chat-panel__head em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--gold-light);
  margin-top: 0.2rem;
}

.chat-panel__x {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.chat-panel__body {
  height: auto;
  min-height: 200px;
  max-height: min(42vh, 280px);
  overflow: auto;
  padding: 0.9rem;
  background: #f4f6f9;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1 1 auto;
}

.chat-msg {
  max-width: 88%;
  padding: 0.65rem 0.8rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.chat-msg--bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid rgba(15, 31, 56, 0.08);
  color: var(--charcoal);
}

.chat-msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #163252, #0b1a2e);
  color: #fff;
}

.chat-panel__form {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem;
  border-top: 1px solid rgba(15, 31, 56, 0.08);
  background: #fff;
}

.chat-panel__form input {
  flex: 1;
  border: 1px solid rgba(15, 31, 56, 0.15);
  padding: 0.65rem 0.75rem;
  background: #f7f9fc;
  color: var(--charcoal);
}

.chat-panel__form button {
  width: 42px;
  border: none;
  background: var(--gold);
  color: #07111c;
  font-weight: 700;
  cursor: pointer;
}

.chat-panel__note {
  font-size: 0.68rem;
  color: var(--slate-light);
  padding: 0 0.75rem 0.65rem;
  background: #fff;
}

.footer-brand .logo {
  color: #fff;
}

.footer-brand .logo__mark {
  color: #fff;
}

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(196, 160, 106, 0.2);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 72px;
  }

  .logo__icon {
    width: 40px !important;
    height: 40px !important;
  }

  .logo__mark {
    font-size: 0.92rem !important;
  }

  .logo__sub {
    display: none;
  }

  .float-wa span,
  .float-chat-toggle span {
    display: none;
  }

  .float-wa,
  .float-chat-toggle {
    width: 54px;
    height: 54px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    margin-inline: 0;
  }

  .stats-band .container {
    width: min(100% - 1.5rem, var(--max));
  }
}

/* ---- Page hero depth ---- */
.page-hero {
  background:
    radial-gradient(ellipse 50% 60% at 90% 10%, rgba(196, 160, 106, 0.2), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(30, 70, 110, 0.35), transparent 50%),
    linear-gradient(135deg, #07111c 0%, #0b1a2e 45%, #163252 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: gridDrift 50s linear infinite;
}

/* ---- 3D card lift ---- */
.service-block,
.testimonial,
.team-member,
.contact-form-wrap,
.portal-form-wrap {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-block:hover,
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 60px rgba(11, 26, 46, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ---- Happy clients ribbon ---- */
.trust-ribbon {
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: linear-gradient(135deg, #fff, #f3f6fa);
  border: 1px solid rgba(15, 31, 56, 0.08);
  box-shadow: 0 16px 40px rgba(11, 26, 46, 0.08);
}

.trust-ribbon__item {
  text-align: center;
  padding: 0.5rem;
}

.trust-ribbon__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: #0b1a2e;
  line-height: 1.2;
}

.trust-ribbon__item span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.84rem;
  color: #3a4556;
}

@media (max-width: 700px) {
  .trust-ribbon {
    grid-template-columns: 1fr;
  }
}

.cta-banner h2 {
  color: #fff !important;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.hero h1,
.page-hero h1 {
  color: #fff !important;
}

.hero .lead,
.page-hero .lead {
  color: rgba(255, 255, 255, 0.78) !important;
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .hero::before,
  .page-hero::before,
  .video-shell--cinematic .video-shell__bg,
  .video-play__ring,
  .site-loader__ring,
  .float-pulse,
  .hero__bg-img {
    animation: none !important;
  }
}

/* ---- Boot loader ---- */
body.is-loading {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(196, 160, 106, 0.16), transparent 60%),
    linear-gradient(160deg, #050b14, #0b1a2e 55%, #12253d);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__glow {
  position: absolute;
  width: 40vmax;
  height: 40vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 160, 106, 0.18), transparent 70%);
  animation: orbFloat 4s ease-in-out infinite alternate;
}

.site-loader__inner {
  position: relative;
  text-align: center;
  color: #fff;
  animation: fadeUp 0.6s var(--ease) both;
}

.site-loader__mark {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 1.1rem;
}

.site-loader__mark img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.site-loader__ring {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(223, 193, 143, 0.55);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1.1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.site-loader__brand {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.site-loader__brand span {
  color: var(--gold-light);
}

.site-loader__tag {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.4rem;
}

.site-loader__bar {
  width: 160px;
  height: 2px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.site-loader__bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  animation: loadBar 1.6s ease-in-out infinite;
}

@keyframes loadBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

/* ---- Hero pro ---- */
.hero--pro {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #07111c;
}

.hero--pro .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero--pro .hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: videoKen 28s ease-in-out infinite alternate;
  filter: saturate(0.85) contrast(1.05);
}

.hero--pro .hero__bg-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 11, 20, 0.94) 0%, rgba(7, 17, 28, 0.82) 42%, rgba(11, 26, 46, 0.55) 100%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(196, 160, 106, 0.18), transparent 55%);
}

.hero--pro .hero__bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: gridDrift 45s linear infinite;
  mask-image: linear-gradient(90deg, #000 20%, transparent 85%);
}

.hero--pro .hero__layout {
  position: relative;
  z-index: 1;
}

.hero--pro .hero__brand {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-body);
  color: #fff;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero--pro .hero__brand span {
  color: var(--gold-light);
}

.hero--pro h1 {
  max-width: 14ch;
  animation: fadeUp 0.9s 0.08s var(--ease) both;
}

.hero--pro .lead {
  animation: fadeUp 0.9s 0.14s var(--ease) both;
}

.hero--pro .btn-group {
  animation: fadeUp 0.9s 0.2s var(--ease) both;
}

.btn--glow {
  box-shadow: 0 0 0 0 rgba(196, 160, 106, 0.45);
  animation: ctaPulse 2.8s ease-out infinite;
}

@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(196, 160, 106, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(196, 160, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 160, 106, 0); }
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.6rem;
  list-style: none;
  animation: fadeUp 0.9s 0.28s var(--ease) both;
}

.hero__pills li {
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(223, 193, 143, 0.35);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__glass {
  background: rgba(8, 16, 28, 0.55);
  border: 1px solid rgba(196, 160, 106, 0.32);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  padding: 1.35rem 1.35rem 1.2rem;
  transform: perspective(1000px) rotateY(-5deg);
  animation: fadeUp 1s 0.18s var(--ease) both;
}

.hero__glass-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(196, 160, 106, 0.22);
}

.hero__glass-top img {
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(196, 160, 106, 0.4);
}

.hero__glass-top strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.hero__glass-top em {
  display: block;
  font-style: normal;
  color: var(--gold-light);
  font-size: 0.78rem;
}

.hero--pro .hero__process {
  margin: 0;
}

.hero--pro .hero__process li {
  border-color: rgba(196, 160, 106, 0.18);
}

.hero--pro .hero__visual-link {
  display: inline-block;
  margin-top: 1rem;
}

@media (max-width: 960px) {
  .hero__glass {
    transform: none;
  }
}

/* ---- Real video player ---- */
.video-shell--player,
.video-shell--custom {
  display: flex;
  flex-direction: column;
  aspect-ratio: auto;
  overflow: hidden;
}

.video-shell__media {
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #0b1a2e;
}

.video-shell--custom {
  position: relative;
}

.video-shell--custom .video-shell__media {
  display: block;
}

.mbs-player {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: auto;
  height: calc(100% - 68px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(7, 17, 28, 0.65) 0%, transparent 35%, transparent 55%, rgba(7, 17, 28, 0.75) 100%);
  transition: opacity 0.3s ease;
}

.video-shell--custom.is-playing .mbs-player {
  opacity: 0;
  pointer-events: none;
}

.video-shell--custom.is-playing .mbs-player:hover,
.video-shell--custom.is-playing .mbs-player:focus-within,
.video-shell--custom.is-playing:hover .mbs-player {
  opacity: 1;
  pointer-events: auto;
}

.mbs-player__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
}

.mbs-player__brand img {
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(196, 160, 106, 0.45);
}

.mbs-player__brand strong {
  display: block;
  font-size: 0.9rem;
}

.mbs-player__brand em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--gold-light);
}

.mbs-player__play {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #07111c;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.video-shell--custom.is-playing .mbs-player__play {
  display: none;
}

.mbs-player__ring {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(223, 193, 143, 0.55);
  border-radius: 50%;
  animation: playPulse 2.4s ease-out infinite;
}

.mbs-player__bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  background: rgba(7, 17, 28, 0.82);
  border: 1px solid rgba(196, 160, 106, 0.28);
  backdrop-filter: blur(10px);
}

.mbs-player__toggle {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--gold);
  color: #07111c;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.mbs-player__track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  position: relative;
}

.mbs-player__progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
}

.mbs-player__time {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  min-width: 2.5rem;
}

.video-shell__caption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.95rem 1.15rem;
  background: linear-gradient(135deg, #0b1a2e, #163252);
  color: #fff;
  border-top: 1px solid rgba(196, 160, 106, 0.28);
  position: relative;
  z-index: 2;
}

.video-shell__caption strong {
  font-size: 0.95rem;
}

.video-shell__caption span {
  font-size: 0.78rem;
  color: rgba(223, 193, 143, 0.9);
}

.float-tools {
  position: fixed !important;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 2500 !important;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.float-wa,
.float-chat-toggle {
  position: relative;
  overflow: visible;
  min-width: 148px;
  justify-content: center;
  letter-spacing: 0.02em;
  border-radius: 14px !important;
  z-index: 2;
}

.float-pulse {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid rgba(37, 211, 102, 0.55);
  animation: playPulse 2.2s ease-out infinite;
  pointer-events: none;
}

.float-pulse--gold {
  border-color: rgba(223, 193, 143, 0.55);
}

.chat-panel {
  position: absolute !important;
  right: 0 !important;
  bottom: calc(100% + 0.75rem) !important;
  left: auto !important;
  top: auto !important;
  width: min(92vw, 360px) !important;
  max-height: min(70vh, 520px) !important;
  display: flex !important;
  flex-direction: column !important;
  transform-origin: bottom right;
  transform: translateY(12px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease), visibility 0.28s;
  border-radius: 16px;
  z-index: 3;
  overflow: hidden;
  background: #fff;
  border-top: 3px solid var(--gold);
  box-shadow: 0 24px 70px rgba(7, 17, 28, 0.4);
}

.chat-panel[hidden] {
  display: none !important;
}

.chat-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.chat-panel__who {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.chat-panel__who img {
  border-radius: 50%;
  background: #0b1a2e;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem 0;
  background: #f4f6f9;
}

.chat-chip {
  border: 1px solid rgba(15, 31, 56, 0.12);
  background: #fff;
  color: #0b1a2e;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.chat-chip:hover {
  border-color: rgba(196, 160, 106, 0.55);
  background: #fff8ef;
}

.chat-msg--in {
  animation: msgIn 0.35s var(--ease) both;
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-typing {
  display: inline-flex !important;
  gap: 4px;
  align-items: center;
  padding: 0.75rem 0.9rem !important;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8a6a3d;
  animation: typingDot 1s infinite ease-in-out;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingDot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* ---- Reveal polish (never hide content) ---- */
.reveal {
  opacity: 1 !important;
  transform: none !important;
}

.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

.logo__icon {
  background: transparent !important;
  object-fit: contain !important;
}


