:root{
  /* Paleta principal */
  --paper:#ffffff;
  --paper-alt:#f7f7f7;
  --ink:#0b0b0b;
  --muted:#6b7280;
  --gold:#D8B880;
  --gold-strong:#caa760;
  --gold-hi:#f3e2b7;
  --navy:#142b4a;
  --navy2:#19385e;
  --slate:#1f2937;
  --line:rgba(0,0,0,.10);

  --header-h:68px;
}
*{ box-sizing:border-box }
html,body{height:100%}
body{
  margin:0;
  color:var(--ink);
  background:#fff;
  font:16px/1.7 "Poppins", sans-serif; 
  font-size: 14px;
  padding-top:var(--offset-total);
  overflow-x:hidden;
}
img{
  display:block;
  max-width:100%
}
.container{
  max-width:1200px;
  margin-inline:auto;
  padding:0 1.25rem
}
*{ box-sizing:border-box }
html,body{height:100%}
body{
  margin:0;
  color:var(--ink);
  background:#fff;
  font:16px/1.7 "Poppins", sans-serif; 
  font-size: 14px;
  padding-top:var(--offset-total);
  overflow-x:hidden;
}
img{
  display:block;
  max-width:100%
}
.container{
  max-width:1200px;
  margin-inline:auto;
  padding:0 1.25rem
}

/* ===== MENÚ ===== */
.site-header{
  position:fixed; 
  top:var(--topbar-h,0); 
  left:0;
  right:0; 
  z-index:9999;
  background:#fff; 
  height:var(--header-h);
  
}
.header-inner{ 
  display:flex; 
  align-items:center; 
  gap:8rem; 
  padding:.5rem 0; 
  height:100% 
}
.logo{ 
  height:40px 
}
.nav{ 
  margin-left:auto 
}
.nav-toggle, .nav-toggle.m{
  display:inline-flex; 
  align-items:center; 
  justify-content:center;
  padding:.4rem .55rem; 
  border:1px solid var(--line); 
  background:#fff; 
  border-radius:10px; 
  font-size:.95rem; 
  cursor:pointer;
  color:gray;
}
.nav-list{ 
  list-style:none; 
  margin:0; 
  padding:0; 
  gap:.6rem; 
  align-items:center 
}
.nav-list a{
  color:var(--ink); 
  text-decoration:none; 
  padding:.7rem .6rem; 
  border-radius:5px; 
  font-weight:500;
}
.nav-list a.is-active{
  font-weight:700;
  background:transparent;
  text-decoration: underline var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  text-decoration-skip-ink: auto;
}
.nav-list a:hover{ 
  color:rgb(78, 78, 78); 
  font-weight:600 
}
.lang-switch{ 
  display:flex; 
  align-items:center; 
  gap:.4rem; 
  margin-left:4.5rem; 
  border-radius:5px 
}
.lang,.m-lang .lang{ 
  border:1px solid var(--line); 
  background:#fff; 
  padding:.28rem 12px; 
  font-size:.9rem; 
  border-radius:7px;
  border: 1px solid black;
  color:black;
}
.lang:hover{ 
  border: 1px solid var(--gold);
  color:var(--gold-strong)
}
.lang.is-active{ 
  background:black; 
  font-weight:600; 
  color:white;
  border: 1px solid gray;
}

@media (min-width:980px){
  .nav-toggle{ display:none }
  .nav-list{ display:flex }
}
.header-mobile{ display:none }
@media (max-width:979px){
  .header-inner{display:none}
  .header-mobile{
    display:grid; 
    grid-template-columns:48px 1fr 100px; 
    align-items:center; 
    padding:.2rem .6rem; 
    gap:.25rem; 
    height:100%;
    border-top:1px solid rgb(207, 207, 207)
  }
  .nav-toggle.m{
    justify-self:start
  }
  .m-center{
    justify-self:center; 
    display:flex; 
    align-items:center; 
    justify-content:center
  }
  .m-brand{gap:.45rem}
  .m-logo{ 
    height:40px; 
    width:auto; 
    object-fit:contain
   }
  .m-lang{ 
    display:flex; 
    justify-self:end; 
    gap:.35rem; 
    padding-right:.25rem 
  }
  .m-lang .lang{ 
    padding:.25rem .6rem; 
    font-size:.8rem; 
    text-align:center;
  }
  #site-nav{
    position:fixed; 
    top:calc(var(--topbar-h) + var(--header-h) + 8px); 
    left:12px; 
    right:12px; 
    z-index:10001;
    background-color: rgba(255, 255, 255, 0.945); 
    border:1px solid var(--line); 
    border-radius:12px;
    display:none; 
    flex-direction:column; 
    gap:.2rem; 
    padding:.5rem;
    box-shadow:0 10px 30px rgba(0,0,0,.10); 
    max-height:50vh; 
    overflow:auto;
  }
  #site-nav.open{
    display:flex
  }
  #site-nav a{
    padding:.6rem;
    border-radius:8px;
    color:#111 !important}
}


/* =========================================
   BOTONES / UTILIDADES
   ========================================= */
.btn{
  display:inline-block;
  padding: 10px 15px;
  border-radius:12px;
  text-decoration:none;
  cursor:pointer;
  font-weight:800;
  letter-spacing:.2px;
  background:linear-gradient(180deg, var(--gold) 0%, var(--gold-strong) 120%);
  color:#111;
  border:1px solid gray; 
  box-shadow:0 6px 14px rgba(201,168,104,.22);
}
.btn-dark{
  background: black;
  color: white;
  padding:10px 30px;
  border: 2px solid rgba(128, 128, 128, 0.185)
}
.btn-gold{
  background:black;
  color: white;
  border: 2px solid rgba(128, 128, 128, 0.185)
}

.btn:hover{
  background-color: var(--gold-strong);
  color: white;
  border:2px solid var(--gold)
}
.center{text-align:center}


/* HERO*/
.fr-hero{
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--offset-total, 68px));
  display: grid;
  place-items: center;

  background-image:
    linear-gradient(to right, rgba(255,255,255,.88) 0%, rgba(255,255,255,.55) 45%, rgba(255,255,255,0) 75%),
    url("../Img/Franquicia/Oficina.png");
  background-size: 100% 100%, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: left center, left center;
  background-color: #fff; /* body blanco */
}

/* Velo sutil encima */
.fr-hero::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.25), rgba(255,255,255,0) 60%);
  pointer-events:none;
  z-index:0;
}
/* Asegura que el contenido quede por encima del degradado/velo */
.fr-hero > *{ position: relative; z-index: 1; }

/* Grid desktop */
.fr-hero__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  align-items:center;
  text-align: justify;
}
.fr-hero__copy{
  padding-right: 80px;
}
.fr-title{
  font-size:23px;
  line-height:1.1;
  margin:.9rem 0 .7rem;
  color:#111;
  text-align: center;
}
.fr-lead{
  font-size:14px;
  color:black;
  margin-top: 25px;
  margin-bottom: 25px;
}
.fr-ctas{
  display:flex;
  gap:1.2rem;
  flex-wrap:wrap;
  justify-content: center;
}

/* ======= SOLO RESPONSIVE ======= */
@media (max-width: 980px){
  .fr-hero{
    background-image:
      linear-gradient(to top, rgba(255, 255, 255, 0.473) 0%, rgba(255, 255, 255, 0.466) 40%, rgba(255, 255, 255, 0) 50%),
      url("../Img/Franquicia/Oficina2.png");
    background-position: center, right center;
    background-size: 100% 100%, cover;
    display:flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    min-height: calc(100svh - var(--offset-total, 68px));
    padding: 18px 16px 22px;
  }
  .fr-hero__grid{
    grid-template-columns: 1fr;
    align-items: end;
    gap: 12px;
    width:100%;
  }
  .fr-hero__copy{
    padding-right: 0;
    text-align: left;
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    grid-row: 1;
  }
  .fr-ctas{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    gap:10px
  }
  .fr-title{
    text-align: center;
    font-size: 22px;
    margin-top: 30px;
  }
  .btn-dark{
    padding: 10px 15px;

  }
  .fr-lead{
    font-size: 13px;
    margin-top: 14px;
    margin-bottom: 20px;
    text-align: justify;
  }
}

/* ==============================
   SECCIÓN DE AJEDREZ (STAGE)
   ============================== */

.fr-stage{
  padding:20px 0;
  background:#fff;
  color:#111;
}

/* ---------- Head ---------- */
.sec-head{
  text-align:center;
  max-width:880px;
  margin:0 auto 1.6rem;
}
.sec-head h2{
  font-size:clamp(26px,3vw,34px);
  margin:.2rem 0 .5rem;
}
.sec-head h2::after{
  content:"";
  display:block;
  width:110px;height:4px;margin:.55rem auto 0;
  background:linear-gradient(90deg,var(--gold,#d2a657),var(--gold-strong,#b8892b));
  border-radius:999px;
}
.sec-head .muted{opacity:.85}

/* ---------- Escenario ---------- */
.stage{
  position:relative;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  min-height:40svh;
  display:grid; place-items:center;
  background:linear-gradient(0deg,#111,var(--gold));;
  overflow:hidden;
  box-shadow:0 16px 36px rgba(0,0,0,.10);
}

/* Tablero centrado */
.board-img{
  width:500px; height:400px; object-fit:contain; display:block;
  z-index:2; filter: drop-shadow(0 8px 24px rgba(0,0,0,.15));
}

/* ==============================
   CAÍDA DE CHIPS
   ============================== */

.dropper{
  position:absolute; inset:0;
  display:grid;
  place-items:center;
  pointer-events:none;
}
.chip.fall{
  position:relative;
  padding:.6rem .8rem;
  border-radius:12px;
  background:white; 
  color:black;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
  display:flex; 
  align-items:center; 
  gap:.55rem; 
  font-weight:500;
  opacity:0;
}
.chip.fall .ico{
  display:inline-grid; 
  place-items:center;
  width:22px; height:22px; 
  border-radius:6px; 
  color:black; 
  font-size:15px;
}
.fall.run{ animation: drop 1.6s ease-in-out forwards; }
@keyframes drop{
  0%   { transform: translateY(-60%); opacity:0 }
  15%  { opacity:1 }
  60%  { transform: translateY(0%);   opacity:1 }
  100% { transform: translateY(100%); opacity:0 }
}

/* ==============================
   RESPONSIVE stage
   ============================== */
@media (max-width: 820px){
  .fr-stage{ 
    padding: 30px 20px; 
  }
  .stage{ min-height: 420px; }
  .board-img{ width:360px; height:360px; }
}
@media (max-width: 520px){
  .stage{ min-height: 360px; }
  .board-img{ width:300px; height:300px; }
  .container.stage-wrap{
    padding: 0;
  }
  .chip.fall{
  font-size: 12px;
}
}

/* Accesibilidad movimiento reducido */
@media (prefers-reduced-motion: reduce){
  .fall.run{ animation-duration: 0.001s; }
}
.chip.fall{
  position:absolute;
}

/* Mapa */
.fr-map{ 
  padding:26px 0 36px;
  background:var(--paper) 
}
.map-title{
  margin:0 0 10px;
  text-align:center;
  font-size:clamp(22px,2.6vw,32px);
  color:#111
}
.map-sub{
  text-align:center;
  margin:0 0 22px;
  color:#4a4a4a
}
.map-box{
  position:relative;
  border:1px solid #e7e1d3;
  border-radius:10px;
  overflow:hidden;
  background:rgb(83, 83, 83);
  box-shadow:0 20px 44px rgba(0,0,0,.10);
  margin-inline:auto;
  max-width:800px
}
.map-box::before{
  content:"";
  display:block;
  background:linear-gradient(90deg,var(--gold),var(--gold-strong))
}
.map-box>svg{
  display:block;
  width:100%;
  height: 100%;
}

.fr-map .fr-ctas{margin-top:22px}
.fr-map .fr-ctas .btn{min-width:220px}

.routeDash{
  stroke:#7c7469;
  stroke-width:2.2;fill:none;
  stroke-dasharray:12 10;
  stroke-linecap:round;
  opacity:.98
}
.routeGlow{
  stroke:#ffffff;
  stroke-width:5;
  fill:none;
  stroke-dasharray:14 12;
  stroke-linecap:round;
  opacity:.35;filter:url(#streakGlow)
}
.comet{
  fill:#ffffff;
  filter:url(#streakGlow)
}
.state-lit{fill:var(--gold)!important;stroke:var(--gold)!important;filter:url(#stateGlow)}
.sm-overlay{
  position:absolute;
  inset:0;
  background:black center/cover no-repeat;
  opacity:0;
  pointer-events:none
}

/* ============================
   BENEFICIOS
===============================*/
.fr-benefits { padding: clamp(2rem, 6vw, 5rem) 0; background: #fff; position: relative; }
.fr-benefits .sec-head h2 { color: #000; text-align: center; margin-bottom: 1rem; text-shadow: 0 1px 0 rgba(0, 0, 0, .12); }
.fr-benefits .sec-head .muted { color: #4b4b4b; text-align: center; margin-bottom: 2rem; }
.fr-benefits .cards { display: grid; gap: clamp(1rem, 2.2vw, 1.4rem); grid-template-columns: repeat(4, 1fr); align-items: stretch; position: relative; }
@media (max-width:980px) { .fr-benefits .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width:560px) { .fr-benefits .cards { grid-template-columns: 1fr; } }
.fr-benefits .card { position: relative; border-radius: 18px; padding: 22px 18px 24px; box-shadow: 0 14px 28px rgba(0, 0, 0, .08); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; min-height: 320px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; border: 1px solid #e3dbc9; color: #fff; text-align: left; background-size: cover; background-position: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fr-benefits .card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 100%); opacity: .6; transition: opacity .3s ease, background .3s ease; }
.fr-benefits .card:hover, .fr-benefits .card:focus-within { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0,0,0,.12); }
.fr-benefits .card:hover::before, .fr-benefits .card:focus-within::before { background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.72) 50%, rgba(0,0,0,.4) 75%, rgba(0,0,0,0) 100%); opacity: .95; }
.fr-benefits .card h3 { position: relative; z-index: 1; font-size: 1.05rem; margin: 0 0 .4rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.fr-benefits .card p { position: relative; z-index: 1; font-size: 13px; line-height: 1.5; color: #fff; text-align: justify; margin: 0; opacity: 0; max-height: 0; overflow: hidden; transform: translateY(6px); transition: opacity .3s ease, max-height .3s ease, transform .3s ease; }
.fr-benefits .card:hover p, .fr-benefits .card:focus-within p, .fr-benefits .card:focus p { opacity: 1; max-height: 240px; transform: translateY(0); }
@media (hover: none) { .fr-benefits .card:hover { transform: none; box-shadow: 0 14px 28px rgba(0,0,0,.08); } }
.fr-benefits .card .toggle { display: none; }
.fr-benefits .card .toggle:checked + h3 + p { opacity: 1; max-height: 240px; transform: translateY(0); }

/* REVEAL */
.reveal { --rx: 0; --ry: 14px; --d: 0ms; opacity: 0; transform: translate3d(var(--rx), var(--ry), 0); }
.reveal.is-in { animation: reveal-in .65s cubic-bezier(.22, .8, .22, 1) var(--d) forwards; }
@keyframes reveal-in { to { opacity: 1; transform: translate3d(0, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none !important; opacity: 1 !important; transform: none !important; } }

/* FAQ */
.fr-faq{background: var(--paper-alt); padding: clamp(2rem, 6vw, 5rem) 0;}
.fr-faq .sec-head h2{ color:#111; } .fr-faq .sec-head .muted{ color:#4b4b4b; }
.fr-faq .accordion{max-width: 920px; margin: 0 auto; display: grid; gap: 0.9rem;}
.fr-faq .acc-item{border: 1px solid #e6dfce;border-radius: 14px;background: #fff;box-shadow: 0 12px 28px rgba(0,0,0,.07);overflow: hidden;transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;}
.fr-faq .acc-item:hover{transform: translateY(-2px);box-shadow: 0 18px 38px rgba(0,0,0,.10);}
.fr-faq .acc-summary{position: relative;cursor: pointer;list-style: none;padding: 1rem 3rem 1rem 1.1rem;font-weight: 700;color: #1c1c1c;background: linear-gradient(0deg, rgba(216,184,128,.08), rgba(216,184,128,0) 55%) no-repeat;}
.fr-faq .acc-summary::-webkit-details-marker{ display:none; }
.fr-faq .acc-summary::after{ content:""; position:absolute; right:1.1rem; top:50%; transform:translateY(-50%) rotate(0deg); width:10px; height:10px; border-right:2px solid #111; border-bottom:2px solid #111; transition: transform .25s ease; }
.fr-faq .acc-item[open] .acc-summary::after{ transform:translateY(-50%) rotate(45deg); }
.fr-faq .acc-item[open]{ border-color: var(--gold); box-shadow: 0 18px 44px rgba(0,0,0,.12); }
.fr-faq .acc-item[open] .acc-summary{ background: linear-gradient(0deg, rgba(216,184,128,.12), rgba(216,184,128,0) 60%) no-repeat; }
.fr-faq .acc-panel{ padding: 0 1.1rem 1.1rem 1.1rem; color: #4b4b4b; line-height: 1.7; }

/* Cierre */
.fr-end{ background:#0f0f0f; color:#fff; padding: clamp(2.2rem, 6vw, 4rem) 0; position: relative; isolation:isolate; }
.fr-end::before{ content:""; position:absolute; inset:0 auto auto 0; height:5px; width:100%; background: linear-gradient(90deg, var(--gold), var(--gold-strong)); opacity:.95; }
.fr-end__grid{ max-width:1100px; margin:0 auto; display:grid; grid-template-columns:3fr 1fr; gap:18px; align-items:center; background:#fff; color:#1a1a1a; border:1px solid #e6dfce; border-radius:16px; padding:1.2rem; box-shadow:0 22px 48px rgba(0,0,0,.35); }
.fr-end__grid h3{ margin:.2rem 0 .55rem; color:#111; }
.fr-end__grid p{ color:#3a3a3a; }
.fr-end__cta{ justify-self:end; }
.fr-end .btn-dark{ background:#111; color:#fff; border-color:#111; box-shadow: 0 10px 24px rgba(0,0,0,.28); }
.fr-end .btn-dark:hover{ filter:brightness(1.05); }
@media (max-width:979px){ .fr-end__grid{ grid-template-columns:1fr } .fr-end__cta{ justify-self:start } }

/*  Footer  */
.site-footer{ 
  margin-top:15px; 
  border-top:1px solid #111; 
  background:#000; 
  color:#fff 
}
.footer-grid{
  display:grid; 
  grid-template-columns:repeat(4, minmax(0,1fr)); /* 4 columnas iguales y proporcionadas */
  gap:150px; 
  padding:22px 0; 
  align-items:start; 
  justify-items:center; 
  text-align:left; 
  width:100%;
}
@media (max-width:979px){
  .footer-grid{
    grid-template-columns:1fr; 
    justify-items:center; 
    text-align:center;
    gap:28px; 
  }
}

.f-col{ 
  display:flex; 
  flex-direction:column;
  align-items: center; 
  justify-content: center;
  gap:.8rem 
}
@media (max-width:979px){
  .f-col{ align-items:center }
}

.f-invert{ 
  filter:brightness(0) invert(1) 
}
.f-brand .isotipo{ 
  display:none 
}
.f-brand .logo{ 
  margin-top: 10px;
  margin-bottom:10px; 
  height:45px 
}
.f-social{ 
  display:flex; 
  gap:.7rem; 
  justify-content:flex-start; 
  align-items:center 
}
.f-social .sbtn:hover{
  color:gray;                  
  transform: translateY(-1px);
  outline: none;
}
@media (max-width:979px){ .f-social{ justify-content:center } }
.sbtn{
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  min-width:36px; 
  height:36px; 
  padding:0 .6rem;
  border:1px solid var(--line); 
  border-radius:10px; 
  color:#1f2937; 
  text-decoration:none; 
  background:#fff
}

.f-links h5,.f-cta h5,.f-info h5{ 
  margin:.2rem 0 .4rem; 
  font-size:1rem; 
  color:#fff 
}
.f-links ul{ 
  list-style:none; 
  margin:0; 
  padding:0 
}
.f-links ul.cols-2{ 
  columns:2; 
  column-gap:28px 
}
.f-links ul.left{ 
  text-align:left 
}
.f-links li{ 
  break-inside:avoid; 
  margin-bottom:.35rem;
  font-weight: 500; 
}
.f-links a{ 
  color:#eee; 
  text-decoration:none; 
  opacity:.9 
}
.f-links a:hover{ 
  font-weight: 700;
}
.f-cta .schedule{ 
  font-weight:600; 
  margin-bottom:0; 
  color:#e5e7eb 
}

/* Nueva columna de info con íconos */
.f-info-list{ 
  list-style:none; 
  margin:0; 
  padding:0; 
  display:flex; 
  flex-direction:column; 
  gap:.6rem;
  font-weight: 500;
}
.fi-item{ 
  display:flex; 
  align-items:flex-start; 
  gap:.6rem 
}
@media (max-width:979px){ .fi-item{ 
  justify-content:left;
  padding: 0 35px; 
  text-align: justify;
} 
}
.fi-icon{ 
  display:inline-grid; 
  place-items:center; 
  width:28px; 
  height:28px; 
  border-radius:8px; 
  background:rgba(216,184,128,.12); 
  border:1px solid rgba(216,184,128,.35) 
}
.fi-icon.ubi{
  padding: 0 6px 0 4px;
}
.svg-gold{ 
  fill:var(--gold) 
}
.fi-text{ 
  display:flex; 
  flex-direction:column; 
  gap:2px 
}
.fi-label{ 
  font-weight:700; 
  color:#fff 
}
.fi-value{ 
  color:#e7e7e7; 
  text-decoration:none 
}
.fi-value:hover{ 
  font-weight: 600;
}

/* Botón del footer */
.btn-footer{
  background:#fff; 
  color:#111; 
  border:1px solid #111; 
  padding:.55rem 1rem; 
  border-radius:12px; 
  font-weight:800;
  text-decoration: none;
}
.btn-footer:hover{ 
  color:black;
  font-size: 15px;
  background: var(--gold);
}

/* Franja inferior DORADA*/
.copy{
  display:flex; 
  justify-content:center; 
  align-items:center;
  border-top:1px solid var(--line); 
  padding:12px; 
  background:var(--gold); 
  color:black; 
  font-weight:600; 
  letter-spacing:.3px;
}

/* Footer — responsive extras */
@media (max-width:979px){
  .f-brand .logo{display:none}
  .f-brand .isotipo{display:block;height:40px}
  .f-links h5,.f-cta h5,.f-info h5{font-size:.95rem}
    .copy{
    font-size:.85rem;
    text-align: center;
  }
}

/* WhatsApp flotante */
.whatsapp-float{ position:fixed; right:16px; bottom:16px; width:56px; height:56px; display:grid; place-items:center; border-radius:50%; text-decoration:none; z-index:1000; background: white; }
.whatsapp-float:hover{ background-color:black }

/* ÓRBITA (no se usa en esta versión de chips de caída, pero mantenido si aplicas rueda) */
@property --spin { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
#orbitRotator{ position:absolute; left:0; top:0; border-radius:50%; animation: orbit-spin 22s linear infinite; --spin: 0deg; pointer-events:none; }
@keyframes orbit-spin { to { --spin: 360deg; } }
#orbitRotator .chip{ position:absolute; left:50%; top:50%; transform: rotate(calc(var(--a) + var(--spin))) translate(var(--r)) rotate(calc(-1 * (var(--a) + var(--spin)))); transform-origin: center center; opacity:1; pointer-events:auto; }
#orbitRotator .chip .chip-inner{ display:inline-flex; align-items:center; gap:.5rem; background:#fff; border:1px solid #eee; border-radius:12px; padding:.55rem .8rem; box-shadow:0 10px 24px rgba(0,0,0,.2); font-weight:700; white-space:nowrap; color:#111; }
#orbitRotator .chip .ico{ display:inline-grid; place-items:center; width:22px; height:22px; border-radius:6px; background:#111; color:#fff; font-size:12px; }
@media (max-width: 700px){ #orbitRotator{ display:none; } }

/* Estados iluminados y rutas */
.state-lit { filter: url(#stateGlow); fill: #d8b880 !important; transition: fill .25s ease, opacity .25s ease; opacity: 0.95; }
.routeGlow{ fill:none; stroke:#d8b880; stroke-width:6; opacity:.35; filter: url(#streakGlow); stroke-dasharray: 700; }
.routeDash{ fill:none; stroke:#111; stroke-width:2.2; stroke-dasharray: 6 10; }
.comet{ fill:#d8b880; filter: drop-shadow(0 0 6px rgba(216,184,128,.9)); }
.fr-map .map-box{ position:relative; }
.fr-map .map-box .sm-overlay{ position:absolute; inset:0; background-size:contain; background-repeat:no-repeat; background-position:center; opacity:0; pointer-events:none; }
