/* ==========================================================================
   Centros de Copiado — estilos del sitio (header, FABs, popup).
   Valores medidos del sitio Wix publicado (1440px y viewport móvil de 320px).
   ========================================================================== */

html { scroll-behavior: smooth; }
/* Wix fija esta base en <body>; los Custom Elements la heredan (botones, inputs, em/rem). */
body { margin: 0; background: #fff; font: 10px Arial, Helvetica, sans-serif; }
.cc-main { display: block; }
.cc-fallback { max-width: 980px; margin: 0 auto; padding: 60px 20px; font-family: Arial, Helvetica, sans-serif; }

servicios-print-slider,
centro-copiado,
centro-blog,
centro-blog-post,
cc-servicio-digital,
cc-servicio-copias,
cc-servicio-planos,
cc-servicio-fineart,
cc-servicio-gran-formato { display: block; width: 100%; margin: 0; }

/* ---------- Header ---------- */
.cc-header {
  position: sticky; top: 0; z-index: 10;
  height: 62px;
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, .5);
}
.cc-header__inner { position: relative; width: 980px; max-width: 100%; height: 100%; margin: 0 auto; }

.cc-logo { position: absolute; left: 0; top: 3px; display: block; width: 96px; height: 96px; z-index: 2; }
.cc-logo img {
  display: block; box-sizing: content-box;
  width: 88px; height: 88px;
  border: 4px solid #fff; border-radius: 50%; background: #fff; object-fit: cover;
}

.cc-nav { position: absolute; top: 18px; right: 0; }
.cc-nav ul { display: flex; margin: 0; padding: 0; list-style: none; }
.cc-nav li { height: 27px; padding: 0 15px 0 22px; }
.cc-nav a {
  display: block;
  font: 400 20px/27px anton, sans-serif;
  color: #000; text-decoration: none; white-space: nowrap;
}

.cc-burger, .cc-mobile-menu { display: none; }

/* ---------- FABs ---------- */
.tii-popup-fab-wrap { position: fixed; bottom: 95px; right: 20px; z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tii-popup-chat-btn { text-decoration: none; width: 64px; height: 64px; border-radius: 50%; background-color: rgb(106, 213, 23); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.tii-popup-chat-btn i { color: #fff; font-size: 24px; }

/* Réplica visual del botón de chat de Wix (círculo negro con el logo). */
.cc-chat-btn { position: fixed; bottom: 20px; right: 20px; z-index: 80; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); overflow: hidden; }
/* El logo tiene la "Cc" calada (transparente): sobre fondo blanco se lee blanca dentro del círculo negro. */
.cc-chat-btn img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Móvil ----------
   Wix publica la versión móvil con viewport width=320 (todo escala por 100vw/320).
   --u reproduce esa escala para header y menú. */
@media (max-width: 750px) {
  :root { --u: calc(100vw / 320); }

  .cc-header { height: calc(var(--u) * 90); }
  .cc-header__inner { width: 100%; }
  .cc-logo { top: calc(var(--u) * 10); width: calc(var(--u) * 73); height: calc(var(--u) * 73); }
  .cc-logo img { width: calc(var(--u) * 65); height: calc(var(--u) * 65); border-width: calc(var(--u) * 4); }
  .cc-nav { display: none; }

  .cc-burger {
    display: block; position: absolute; top: calc(var(--u) * 20); left: calc(var(--u) * 250);
    width: calc(var(--u) * 50); height: calc(var(--u) * 50); padding: 0; cursor: pointer;
    background: #0fbc71; border: 1px solid #fff; border-radius: 4px;
  }
  .cc-burger svg { position: absolute; left: 50%; top: 50%; width: calc(var(--u) * 20); height: calc(var(--u) * 17); transform: translate(-50%, -50%); overflow: visible; }
  .cc-burger line { stroke: #fff; stroke-width: 2; }

  .cc-mobile-menu { position: fixed; inset: 0; z-index: 999990; background: #0fbc71; }
  .cc-mobile-menu:not([hidden]) { display: block; overflow-y: auto; }
  .cc-mobile-menu__close { position: absolute; top: calc(var(--u) * 20); left: calc(var(--u) * 250); width: calc(var(--u) * 50); height: calc(var(--u) * 50); background: none; border: 0; padding: 0; cursor: pointer; }
  .cc-mobile-menu__close svg { width: calc(var(--u) * 15); height: calc(var(--u) * 15); fill: none; stroke: #fff; stroke-width: 3; }
  .cc-mobile-menu ul { list-style: none; margin: 0; padding: 0; position: absolute; top: calc(var(--u) * 80); left: calc(var(--u) * 60); width: calc(var(--u) * 200); }
  .cc-mobile-menu li { border-bottom: 1px solid #fff; }
  .cc-mobile-menu li:last-child { border-bottom: 0; }
  .cc-mobile-menu a { display: block; padding: calc(var(--u) * 10) 0; text-align: center; font: 400 calc(var(--u) * 13) / calc(var(--u) * 18) tahoma, "tahoma-w01-regular", sans-serif; letter-spacing: .2em; color: #fff; text-decoration: none; }
  .cc-mobile-menu li.is-current a { color: rgb(110, 110, 103); }

  .tii-popup-fab-wrap { right: 10px; bottom: 75px; }
  .tii-popup-chat-btn { width: 50px; height: 50px; }
  .cc-chat-btn { right: 10px; bottom: 15px; width: 50px; height: 50px; }

}
