  @layer base {
    html, body { margin: 0; padding: 0; }
    body { overscroll-behavior: none; }
  }
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: #050709; }
  ::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.35); border-radius: 4px; }

  html {
    scroll-padding-top: 5.75rem;
  }

  body {
    background-color: #050709;
    background-image:
      radial-gradient(ellipse 80% 50% at 20% -10%, rgba(212, 175, 55, 0.08), transparent 50%),
      radial-gradient(ellipse 60% 40% at 90% 20%, rgba(0, 230, 118, 0.05), transparent 45%);
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  .glass-panel {
    background: rgba(11, 15, 20, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid transparent;
    background-clip: padding-box;
    box-shadow:
      inset 0 1px 0 0 rgba(212, 175, 55, 0.12),
      0 0 0 1px rgba(212, 175, 55, 0.15);
  }

  .glass-elevated {
    background: rgba(18, 24, 32, 0.85);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    box-shadow:
      0 20px 40px -15px rgba(212, 175, 55, 0.08),
      0 0 1px 1px rgba(212, 175, 55, 0.3);
  }

  .cta-gold {
    background: linear-gradient(135deg, #F5D77F 0%, #D4AF37 50%, #C5A059 100%);
    color: #050709;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
    transition: filter 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  }
  .cta-gold:hover {
    filter: brightness(1.08);
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.5);
  }

  .cta-aura {
    position: relative;
  }
  .cta-aura::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(245, 215, 127, 0.4), transparent 50%, rgba(197, 160, 89, 0.2));
    z-index: -1;
    filter: blur(8px);
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  .cta-aura:hover::after { opacity: 1; }

  .badge-emerald {
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: #00E676;
  }

  .field-focus:focus {
    border-color: #D4AF37 !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
  }

  .interest-card:has(input:checked),
  .capital-card:has(input:checked) {
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
  }

  .hero-card-mask {
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  }

  .nav-blur {
    background: rgba(11, 15, 20, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .form-error {
    border-color: #ffb4ab !important;
    box-shadow: 0 0 0 2px rgba(255, 180, 171, 0.2);
  }

  html, body {
    overflow-x: clip;
    max-width: 100%;
  }

  #mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  #mobileMenu.open {
    max-height: min(75dvh, 85vh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .site-header-bar {
    min-width: 0;
  }
  .site-brand {
    min-width: 0;
    max-width: min(52vw, 11.5rem);
  }
  .site-brand-text {
    min-width: 0;
    overflow: hidden;
  }
  .site-brand-text > span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .break-safe {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .metric-card-body {
    min-width: 0;
  }

  .capital-card .capital-value {
    font-size: clamp(0.85rem, 3.6vw, 1.125rem);
    line-height: 1.25;
  }

  @media (max-width: 1023px) {
    .cta-label-long {
      white-space: normal;
      text-align: center;
      line-height: 1.35;
    }
  }

  .wa-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: #25D366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  }
  .wa-float:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
  }
  .wa-float svg { width: 1.75rem; height: 1.75rem; display: block; }
  .wa-link {
    color: #25D366;
    transition: color 0.2s ease, opacity 0.2s ease;
  }
  .wa-link:hover { color: #6dff9a; }
  .cta-whatsapp {
    background: #25D366;
    color: #052e16;
    font-weight: 700;
    box-shadow: 0 0 18px rgba(37, 211, 102, 0.35);
    transition: filter 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  }
  .cta-whatsapp:hover {
    filter: brightness(1.06);
    box-shadow: 0 0 26px rgba(37, 211, 102, 0.5);
  }

  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js-reveal .reveal.is-inview {
    opacity: 1;
    transform: translateY(0);
  }

  .js-reveal .reveal-stagger > .reveal-child {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js-reveal .reveal-stagger.is-inview > .reveal-child {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-stagger.is-inview > .reveal-child:nth-child(1) { transition-delay: 0ms; }
  .reveal-stagger.is-inview > .reveal-child:nth-child(2) { transition-delay: 70ms; }
  .reveal-stagger.is-inview > .reveal-child:nth-child(3) { transition-delay: 140ms; }
  .reveal-stagger.is-inview > .reveal-child:nth-child(4) { transition-delay: 210ms; }
  .reveal-stagger.is-inview > .reveal-child:nth-child(5) { transition-delay: 280ms; }
  .reveal-stagger.is-inview > .reveal-child:nth-child(6) { transition-delay: 350ms; }
  .reveal-stagger.is-inview > .reveal-child:nth-child(7) { transition-delay: 420ms; }
  .reveal-stagger.is-inview > .reveal-child:nth-child(8) { transition-delay: 490ms; }

  .js-reveal .reveal-media img {
    transform: scale(1.04);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js-reveal .reveal-media.is-inview img {
    transform: scale(1);
  }

  @media (hover: hover) and (pointer: fine) {
    .js-reveal .glass-panel.is-inview:hover,
    .js-reveal .reveal-stagger.is-inview > .reveal-child.glass-panel:hover {
      transform: translateY(-3px);
      box-shadow:
        inset 0 1px 0 0 rgba(212, 175, 55, 0.16),
        0 0 0 1px rgba(212, 175, 55, 0.28),
        0 12px 28px -16px rgba(212, 175, 55, 0.25);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
    .cta-aura::after { display: none; }
    body::before { opacity: 0.02; }
    .reveal,
    .reveal-stagger > .reveal-child {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
    }
    .reveal-media img {
      transform: none !important;
      transition: none !important;
    }
  }
