/* ==========================================================================
   KAJA GROUP — personal landing page
   ========================================================================== */

:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --dark: #0b1220;
  --dark-2: #121b2e;
  --ink: #16213a;
  --paper: #f7f8fa;
  --muted: #6b7686;
  --white: #ffffff;

  --oilgas-accent: #c8102e;
  --oilgas-accent-2: #0b2a4a;
  --oilgas-bg: #fdf6f4;

  --workforce-accent: #2953e6;
  --workforce-accent-2: #10214f;
  --workforce-bg: #f2f5ff;

  --avionics-accent: #2f8fd1;
  --avionics-accent-2: #0e4f7c;
  --avionics-bg-top: #dff1fc;
  --avionics-bg-bot: #f7fbfe;

  --wa-green: #25d366;
  --wa-green-dark: #1ebe5b;

  --ease: cubic-bezier(.22,1,.36,1);
  --ease-soft: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

button { font-family: inherit; cursor: pointer; }

/* Subtle film-grain texture, applied globally for a less "flat" surface */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------- */
/* Section flow                                                            */
/* ---------------------------------------------------------------------- */
/* Switched away from a stacked position:sticky layout. That gave a nice
   "next card covers the last" effect going forward, but a section taller
   than one screen can't reveal its own overflow while pinned, which is
   what caused the stuck/overlapping/can't-go-back glitches. Plain normal
   flow + a scroll-reveal (fade/slide-up, see .reveal / .reveal-card below
   and the spyObserver fade logic in main.js) gets a similar "sophisticated
   entrance" feel with zero directionality bugs — scrolling up always just
   works, because there's no pinning to fight. */
.section {
  position: relative;
  width: 100%;
  min-height: 100svh;
}

.site-footer {
  position: relative;
}

/* ---------------------------------------------------------------------- */
/* Floating nav                                                            */
/* ---------------------------------------------------------------------- */
.floating-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translate(-50%, -18px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.floating-nav.revealed {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.floating-nav__inner {
  display: flex;
  gap: 4px;
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  max-width: 92vw;
  overflow-x: auto;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease);
}

.nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }

.nav-link.active { color: #0b1220; background: #fff; }

/* ---------------------------------------------------------------------- */
/* WhatsApp floating button                                                */
/* ---------------------------------------------------------------------- */
/* Reserves real layout space in the hero flow so the fixed WhatsApp button
   (which visually docks here before scrolling) doesn't overlap the name/socials. */
.whatsapp-anchor { width: 210px; max-width: 60vw; height: 52px; visibility: hidden; }

.whatsapp-btn {
  position: fixed;
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-green-dark));
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 14px;
  bottom: 24px;
  right: 24px;
  transition: transform .6s var(--ease), padding .4s var(--ease), box-shadow .3s;
  will-change: transform;
}

.whatsapp-btn:hover { box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55); }

.wa-icon { width: 22px; height: 22px; flex-shrink: 0; }

.wa-label { transition: opacity .3s var(--ease), max-width .3s var(--ease); overflow: hidden; }

.whatsapp-btn.docked .wa-label { opacity: 0; max-width: 0; }

.whatsapp-btn.docked { padding: 14px; }

/* ---------------------------------------------------------------------- */
/* HERO                                                                    */
/* ---------------------------------------------------------------------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 0%, #1b2740 0%, var(--dark) 55%, #060a13 100%);
  color: #fff;
  text-align: center;
  padding: 40px 24px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 420px at 18% 22%, rgba(200,16,46,0.16), transparent 70%),
    radial-gradient(460px 460px at 82% 78%, rgba(41,83,230,0.16), transparent 70%),
    radial-gradient(600px 600px at 50% 100%, rgba(47,143,209,0.12), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 560px;
}

.group-name {
  letter-spacing: 0.35em;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.portrait {
  width: clamp(160px, 24vw, 220px);
  height: clamp(160px, 24vw, 220px);
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(145deg, #4a5a86, #8a95b8 45%, #3a4a70);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--dark);
}

.my-name {
  font-size: clamp(20px, 3.4vw, 28px);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.01em;
}

.my-position {
  margin: -12px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.socials {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 4px;
}

.social-link {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background .25s, transform .25s;
}

.social-link:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

.social-link--disabled { cursor: default; opacity: 0.55; }
.social-link--disabled:hover { background: rgba(255,255,255,0.08); transform: none; }

.icon { width: 18px; height: 18px; }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50% { transform: translateY(6px); opacity: .8; }
}

/* ---------------------------------------------------------------------- */
/* Business sections (shared)                                             */
/* ---------------------------------------------------------------------- */
.business-section {
  padding: 90px 24px 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.section-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.business-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.business-logo {
  height: 88px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.12));
  /* The global `img{display:block}` reset means text-align:center on the
     header has zero effect here — text-align only centers inline content,
     never a block box. This element needs its own auto side margins to
     actually center. This was the real, standing bug the whole time. */
  margin: 0 auto 14px;
}

.business-title {
  font-size: clamp(22px, 2.8vw, 30px);
  margin: 0 0 10px;
  font-weight: 800;
}

.business-statement {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* ---------------------------------------------------------------------- */
/* Solution stage: central card + scattered bubbles                        */
/* ---------------------------------------------------------------------- */
.solution-stage {
  position: relative;
  min-height: 820px;
  margin: 0 auto;
}

.detail-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(460px, 88vw);
  max-height: 86vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  overflow-x: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.16);
  z-index: 3;
  text-align: center;
}

/* All sections centered */

.detail-card__header {
  padding: 26px 26px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.detail-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eee;
}

.detail-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .5s var(--ease-soft), transform .6s var(--ease-soft);
}

.detail-card__img.is-visible { opacity: 1; transform: scale(1); }

.detail-card__body { padding: 20px 24px 0; text-align: left; }

.detail-title { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.detail-text { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14.5px; text-align: justify; text-justify: inter-word; }

.detail-card .download-btn { margin: 18px 24px 26px; }

.bubble-field {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.bubble {
  position: absolute;
  border: none;
  background: none;
  padding: 0;
  width: 108px;
}

/* Shared fade in/out (bidirectional) for bubbles + decorative backgrounds
   in sections 2-4 — unlike the cards, these fade as they enter/leave view
   rather than sliding in once. */
.fade-inout { opacity: 0; transition: opacity .9s ease; }
.fade-inout.faded-in { opacity: 1; }

.bubble__float {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: float-bubble 5s ease-in-out infinite;
}

.bubble__img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,0.16);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.bubble__label {
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  color: var(--ink);
  background: rgba(255,255,255,0.9);
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  max-width: 130px;
}

.bubble:hover .bubble__img { transform: translateY(-4px) scale(1.05); }

.bubble.active .bubble__img,
.bubble.preview .bubble__img {
  box-shadow: 0 0 0 4px var(--ring-color, rgba(41,83,230,0.35)), 0 14px 30px rgba(0,0,0,0.24);
  transform: scale(1.08);
}

@keyframes float-bubble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.download-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  transition: background .3s, color .3s, transform .2s;
  margin-top: 6px;
}

.download-btn:hover { transform: translateY(-2px); }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-card { opacity: 0; transform: translate(-50%, -46%) scale(.92); }
.reveal-card.revealed { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft); }

/* ---------------------------------------------------------------------- */
/* Theme: Oil & Gas                                                        */
/* ---------------------------------------------------------------------- */
/* The section itself stays transparent (no sliding color block) — the tint
   lives on .section-decor instead, which only ever fades in/out, never
   slides, so switching sections never shows a hard color seam. */
.theme-oilgas .section-decor {
  background-color: var(--oilgas-bg);
  background-image:
    radial-gradient(480px 480px at 88% 8%, rgba(200,16,46,0.10), transparent 70%),
    radial-gradient(520px 520px at 6% 92%, rgba(11,42,74,0.08), transparent 70%);
}
.theme-oilgas .bubble__label { color: var(--oilgas-accent-2); }
.theme-oilgas .bubble.active .bubble__img,
.theme-oilgas .bubble.preview .bubble__img { --ring-color: rgba(200,16,46,0.4); border-color: var(--oilgas-accent); }
.theme-oilgas .download-btn { border-color: var(--oilgas-accent); color: var(--oilgas-accent-2); }
.theme-oilgas .download-btn:hover { background: var(--oilgas-accent); color: #fff; border-color: var(--oilgas-accent); }

/* ---------------------------------------------------------------------- */
/* Theme: Workforce                                                        */
/* ---------------------------------------------------------------------- */
.theme-workforce .section-decor {
  background-color: var(--workforce-bg);
  background-image:
    radial-gradient(480px 480px at 10% 10%, rgba(41,83,230,0.10), transparent 70%),
    radial-gradient(520px 520px at 92% 90%, rgba(16,33,79,0.08), transparent 70%);
}
.theme-workforce .bubble__label { color: var(--workforce-accent-2); }
.theme-workforce .bubble.active .bubble__img,
.theme-workforce .bubble.preview .bubble__img { --ring-color: rgba(41,83,230,0.4); border-color: var(--workforce-accent); }
.theme-workforce .download-btn { border-color: var(--workforce-accent); color: var(--workforce-accent-2); }
.theme-workforce .download-btn:hover { background: var(--workforce-accent); color: #fff; border-color: var(--workforce-accent); }

/* ---------------------------------------------------------------------- */
/* Theme: Avionics (sky)                                                   */
/* ---------------------------------------------------------------------- */
.theme-avionics { position: relative; }

.sky-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, var(--avionics-bg-top) 0%, var(--avionics-bg-bot) 100%);
}

.plane { position: absolute; width: 46px; height: 46px; color: rgba(14, 79, 124, 0.28); transform: rotate(90deg); }
.plane--1 { top: 14%; left: -80px; animation: fly-across 26s linear infinite; }
.plane--2 { top: 62%; left: -80px; color: rgba(14, 79, 124, 0.16); animation: fly-across 34s linear infinite 6s; }

@keyframes fly-across {
  from { transform: translateX(0) rotate(90deg); }
  to { transform: translateX(calc(100vw + 160px)) rotate(90deg); }
}

.cloud-drift { position: absolute; background: #fff; border-radius: 50%; opacity: .7; filter: blur(1px); }
.cloud-drift::before, .cloud-drift::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }

.cloud-drift--a { width: 110px; height: 40px; top: 10%; left: -140px; animation: cloud-move 40s linear infinite; }
.cloud-drift--a::before { width: 60px; height: 60px; top: -26px; left: 10px; }
.cloud-drift--a::after { width: 50px; height: 50px; top: -18px; left: 55px; }

.cloud-drift--b { width: 150px; height: 50px; top: 40%; left: -180px; animation: cloud-move 55s linear infinite 10s; opacity: .55; }
.cloud-drift--b::before { width: 70px; height: 70px; top: -30px; left: 20px; }
.cloud-drift--b::after { width: 60px; height: 60px; top: -20px; left: 80px; }

.cloud-drift--c { width: 90px; height: 34px; top: 75%; left: -120px; animation: cloud-move 48s linear infinite 20s; opacity: .5; }
.cloud-drift--c::before { width: 46px; height: 46px; top: -20px; left: 8px; }
.cloud-drift--c::after { width: 40px; height: 40px; top: -14px; left: 44px; }

@keyframes cloud-move {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 260px)); }
}

.theme-avionics .bubble__label { color: var(--avionics-accent-2); }
.theme-avionics .bubble.active .bubble__img,
.theme-avionics .bubble.preview .bubble__img { --ring-color: rgba(47,143,209,0.4); border-color: var(--avionics-accent); }
.theme-avionics .download-btn { border-color: var(--avionics-accent); color: var(--avionics-accent-2); }
.theme-avionics .download-btn:hover { background: var(--avionics-accent); color: #fff; border-color: var(--avionics-accent); }

/* ---------------------------------------------------------------------- */
/* Bubble scatter positions — desktop                                      */
/* ---------------------------------------------------------------------- */
/* Card is centered (~50% ±21% horizontally) — bubbles sit in the clear left
   (0–27%) and right (73–100%) margins so they never sit behind the card. */
/* Keyed off data-index (not :nth-child) so the mobile carousel's cloned
   bubbles — which sit before/after the real ones in the DOM — can never
   shift these desktop positions. */
.bubble-field[data-section="oil-gas"] .bubble[data-index="0"] { top: 2%;   left: 2%;  }
.bubble-field[data-section="oil-gas"] .bubble[data-index="1"] { top: 24%;  left: 4%;  }
.bubble-field[data-section="oil-gas"] .bubble[data-index="2"] { top: 50%;  left: 1%;  }
.bubble-field[data-section="oil-gas"] .bubble[data-index="3"] { top: 76%;  left: 5%;  }
.bubble-field[data-section="oil-gas"] .bubble[data-index="4"] { top: 6%;   left: 84%; }
.bubble-field[data-section="oil-gas"] .bubble[data-index="5"] { top: 40%;  left: 88%; }
.bubble-field[data-section="oil-gas"] .bubble[data-index="6"] { top: 82%;  left: 82%; }

.bubble-field[data-section="workforce"] .bubble[data-index="0"] { top: 4%;   left: 3%;  }
.bubble-field[data-section="workforce"] .bubble[data-index="1"] { top: 40%;  left: 1%;  }
.bubble-field[data-section="workforce"] .bubble[data-index="2"] { top: 80%;  left: 6%;  }
.bubble-field[data-section="workforce"] .bubble[data-index="3"] { top: 14%;  left: 86%; }
.bubble-field[data-section="workforce"] .bubble[data-index="4"] { top: 66%;  left: 84%; }

.bubble-field[data-section="avionics"] .bubble[data-index="0"] { top: 6%;   left: 4%;  }
.bubble-field[data-section="avionics"] .bubble[data-index="1"] { top: 70%;  left: 2%;  }
.bubble-field[data-section="avionics"] .bubble[data-index="2"] { top: 20%;  left: 88%; }
.bubble-field[data-section="avionics"] .bubble[data-index="3"] { top: 48%;  left: 84%; }
.bubble-field[data-section="avionics"] .bubble[data-index="4"] { top: 86%;  left: 80%; }

/* Carousel clones exist only for the mobile infinite-scroll row. */
.bubble--clone { display: none; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* ---------------------------------------------------------------------- */
/* Responsive — tablet & phone                                             */
/* Absolute-scatter bubbles only really work with generous desktop width.  */
/* Below 1024px we switch to a calmer, safer layout: card up top, bubbles  */
/* in a wrapped grid underneath — sized differently for tablet vs phone.   */
/* ---------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .business-section { padding: 72px 22px 60px; align-items: flex-start; }

  .solution-stage {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .detail-card {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: min(560px, 100%);
    max-height: none;
    margin: 0 auto;
    order: 1;
  }
  .reveal-card { transform: translateY(24px) scale(.97); }
  .reveal-card.revealed { transform: translateY(0) scale(1); }

  .bubble-field {
    order: 2;
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px 18px;
    max-width: 640px;
    margin: 0 auto;
  }
  .bubble-field .bubble { position: static !important; width: 92px; }
  .bubble-field .bubble__float { animation: none; }
  .bubble__img { width: 76px; height: 76px; }
  .bubble__label { font-size: 11px; }

  .floating-nav { top: 12px; }
  .floating-nav__inner { padding: 5px; gap: 2px; }
  .nav-link { padding: 7px 12px; font-size: 12.5px; }
}

/* Tablet: a bit more breathing room and a two-column-ish bubble grid */
@media (min-width: 601px) and (max-width: 1024px) {
  .bubble-field { max-width: 720px; gap: 26px 22px; }
  .bubble-field .bubble { width: 100px; }
  .bubble__img { width: 82px; height: 82px; }
  .detail-card__header { padding: 30px 30px 20px; }
  .detail-card__body { padding: 22px 28px 0; }
  .detail-card .download-btn { margin: 20px 28px 28px; }
}

/* Phone */
@media (max-width: 600px) {
  .hero { padding: 32px 20px; }
  .my-name { font-size: 19px; }
  .group-name { font-size: 11.5px; letter-spacing: 0.28em; }

  .business-section { padding: 64px 16px 52px; }
  .business-title { font-size: 23px; }
  .business-statement { font-size: 13.5px; }
  .business-logo { height: 72px; }

  .detail-card__header { padding: 20px 20px 16px; }
  .detail-card__body { padding: 18px 20px 0; }
  .detail-card .download-btn { margin: 16px 20px 22px; padding: 11px 18px; font-size: 13px; }
  .detail-title { font-size: 16.5px; }
  .detail-text { font-size: 13.5px; }

  /* Single scrollable row of bubbles, active one enlarged + centered */
  .bubble-field {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    max-width: 100%;
    width: 100%;
    padding: 26px 42vw 14px;
    margin: 0;
  }
  .bubble-field::-webkit-scrollbar { display: none; }
  .bubble-field .bubble {
    position: relative;
    flex: 0 0 auto;
    width: 72px;
    scroll-snap-align: center;
  }
  /* Reveal the cloned before/after sets so the row can be scrolled
     endlessly in either direction — see main.js initInfiniteScroll(). */
  .bubble--clone { display: block; }
  .bubble__img { width: 60px; height: 60px; border-width: 2px; }
  .bubble__label { font-size: 9.5px; padding: 2px 6px; max-width: 82px; }

  .bubble.active,
  .bubble.preview { z-index: 2; }
  .bubble.active .bubble__img,
  .bubble.preview .bubble__img { transform: scale(1.32); }
  .bubble.active .bubble__label,
  .bubble.preview .bubble__label { font-weight: 800; }

  .solution-stage { gap: 22px; }

  .floating-nav { top: 8px; max-width: 96vw; }
  .floating-nav__inner { max-width: 96vw; }
  .nav-link { padding: 6px 10px; font-size: 11.5px; }

  .wa-label { display: none; }
  .whatsapp-btn { bottom: 16px; right: 16px; padding: 12px; }
  .whatsapp-anchor { height: 46px; width: 46px; }

  .site-footer { padding: 24px 18px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .bubble, .plane, .cloud-drift, .scroll-hint { animation: none !important; }
  html { scroll-behavior: auto; }
}
