/* Barra de contacto de los tours 360° (great-grey-house, terreno-5000m2, recorrido-virtual).
   Da a cada tour un H1, sus datos y una salida: WhatsApp y la portada.
   Dentro de la portada (iframe) se oculta: ahí ya están los botones. */
.tc {
  position: fixed; right: 16px; bottom: 16px; z-index: 400; /* sobre la portada del tour (#cover, 300) */
  width: min(350px, calc(100vw - 32px));
  font: 14px/1.45 'Segoe UI', system-ui, -apple-system, Arial, sans-serif; color: #fff;
}
html.en-marco .tc { display: none; }
.tc-panel {
  position: relative;
  background: rgba(8, 16, 34, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px;
  padding: 14px 16px 15px; box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
.tc-inicio { display: inline-block; margin-bottom: 6px; padding-right: 34px; font-size: 12px; color: #9cc3ff; text-decoration: none; }
.tc-inicio:hover { text-decoration: underline; }
.tc h1 { margin: 0 0 5px; font-size: 15px; line-height: 1.3; font-weight: 700; letter-spacing: 0; text-transform: none; }
.tc p { margin: 0 0 11px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.tc-precio { font-weight: 700; color: #f3d68d; white-space: nowrap; }
.tc-botones { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-wa, .tc-sec {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 13px; border-radius: 10px; font-size: 13px; font-weight: 700; text-decoration: none;
}
.tc-wa { flex: 1 1 auto; background: #25D366; color: #06210f; }
.tc-wa svg { width: 16px; height: 16px; fill: currentColor; }
.tc-sec { border: 1px solid rgba(255, 255, 255, .32); color: #fff; font-weight: 600; }
.tc-wa:hover, .tc-sec:hover { filter: brightness(1.08); }
.tc-min {
  position: absolute; top: 9px; right: 9px; width: 28px; height: 28px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
  font-size: 18px; line-height: 1; display: grid; place-items: center;
}
.tc-abrir {
  display: none; margin-left: auto; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(8, 16, 34, .88); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font: 600 13px 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
.tc-abrir svg { width: 17px; height: 17px; fill: #25D366; }
.tc.cerrada { width: auto; }
.tc.cerrada .tc-panel { display: none; }
.tc.cerrada .tc-abrir { display: inline-flex; }
.tc a:focus-visible, .tc button:focus-visible { outline: 2px solid #f3d68d; outline-offset: 2px; }
@media (max-width: 640px) {
  .tc { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
  .tc.cerrada { width: auto; }
  /* Casa Punta Banda: arriba de los botones de piso */
  .tc.tc-alto { bottom: 92px; }
}
