html, body { height: 100%; }

body {
  margin: 0;
  padding-top: 60px; /* mismo alto que tu header */
  background: #2a2a2a url("./hero.png") center center / contain no-repeat fixed;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}



/* ===== Desktop bubble (md+) ===== */
.chat-bubble {
  position: fixed; left: 58%; top: 55%; transform: translate(-10%, -50%);
  width: clamp(320px, 32vw, 520px);
  height: clamp(320px, 52vh, 72vh);
  resize: both; overflow: hidden; z-index: 20;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  border-radius: 1rem; border: 1px solid rgba(255,255,255,.12);
  background: rgba(70, 70, 70, 0.92); backdrop-filter: blur(2px);
  display: none;
}
@media (min-width: 768px) {
  .chat-bubble { display: block; }
  .mobile-launch { display: none !important; }
}

@media (min-width: 768px) {
  #grab .badge,
  #grab .btn-group {
    display: none !important; /* oculta Chat y S/M/L/Full en desktop */
  }
}

.chat-grab {
  cursor: move; user-select: none;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.chat-iframe { width: 100%; height: calc(100% - 48px); border: 0; display: block; background: #2a2a2a; }

.chat-bubble::after {
  content: ""; position: absolute; left: -18px; top: 30%; width: 0; height: 0;
  border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-right: 18px solid rgba(12,12,12,.92);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.4));
}

.chat-bubble.fullscreen {
  left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important;
  width: 94vw !important;
  height: calc(94dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
  border-radius: 1rem !important;
}
.chat-bubble.fullscreen::after { display: none; }

/* ===== Móvil: botón + offcanvas inferior ===== */
.mobile-launch {
  position: fixed;
  left: 50%; bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 30;
}
.offcanvas-bottom.custom-sheet {
  height: 70dvh;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  background: rgba(12,12,12,.96);
  backdrop-filter: blur(2px);
}
.mobile-iframe { width: 100%; height: calc(100% - 56px); border: 0; display: block; background: #2a2a2a; }

/* Botón de marca */
.btn-brand { background-color: #f0d8b0; color: #000; border: none; }
.btn-brand:hover { background-color: #e6c89a; color: #000; }


/* Header fijo arriba con altura definida */
.social-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;              /* altura fija del header */
  background: #2a2a2a;       /* mismo color que el fondo */
  z-index: 2000;
  display: flex;
  align-items: center;       /* centra verticalmente los íconos */
  justify-content: center;   /* centra horizontalmente */
}

/* Íconos dentro del header */
.social-header a {
  color: #fff;
  font-size: 1.5rem;         /* tamaño íconos */
  margin: 0 12px;
  transition: color 0.2s ease;
}
.social-header a:hover {
  color: #f0d8b0;            /* color de marca al pasar el mouse */
}

/* Fondo del body con espacio arriba */
body {
  margin: 0;
  padding-top: 60px; /* espacio para el header */
  background: #2a2a2a url("./hero.png") center 60px / contain no-repeat fixed;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

