/* RankVivo shared chrome: header, footer, mobile bar, WhatsApp button.
   Loaded on EVERY page (before site.css where site.css is used). One source of truth. */
:where(.top,.foot)>.wrap{max-width:1200px;margin:0 auto;padding-inline:clamp(1.25rem,4vw,3rem)}

/* header */
.top{position:absolute;top:0;left:0;right:0;z-index:40;font-family:'Inter',system-ui,sans-serif}
.top .wrap{display:flex;align-items:center;justify-content:space-between;padding-top:1.35rem;padding-bottom:1.35rem}
.top.solid{background:#0B1B33}
.brand-text{font-family:'Fraunces',Georgia,serif;font-weight:600;font-variation-settings:"opsz" 144;
  font-size:1.62rem;letter-spacing:-.02em;color:#F4EFE6}
.brand-text em{font-style:italic;font-weight:400;color:#C9A961;letter-spacing:-.01em}
.nav{display:flex;align-items:center;gap:2rem}
.nav a{font-size:.82rem;font-weight:500;letter-spacing:.04em;color:rgba(244,239,230,.82);text-decoration:none}
.nav a:hover{color:#F4EFE6}
.nav .btn-top{border:1px solid rgba(201,169,97,.6);border-radius:2px;padding:.55rem 1.1rem;
  color:#F4EFE6;font-weight:600;letter-spacing:.03em}
.nav .btn-top:hover{background:#C9A961;color:#0B1B33;border-color:#C9A961}
@media(max-width:860px){.nav a:not(.btn-top){display:none}.brand-text{font-size:1.4rem}}

/* header pinned: appears when scrolling back up, hides when scrolling down */
.top.pinned{position:fixed;background:rgba(11,27,51,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  box-shadow:0 8px 24px rgba(0,0,0,.18);transform:translateY(-105%);transition:transform .3s ease}
.top.pinned .wrap{padding-top:.8rem;padding-bottom:.8rem}
.top.pinned.show{transform:none}
@media(prefers-reduced-motion:reduce){.top.pinned{transition:none}}

/* footer */
.foot{background:#0B1B33;color:#F4EFE6;font-family:'Inter',system-ui,sans-serif}
.foot a{text-decoration:none}
.foot .wrap{padding-block:clamp(3rem,7vw,5rem)}
.foot-top{display:grid;grid-template-columns:2fr 1fr 1fr;gap:clamp(1rem,3vw,2rem);
  padding-bottom:2.5rem;border-bottom:1px solid rgba(244,239,230,.16)}
.foot .brand-text{font-size:1.9rem}
.foot-tag{margin-top:1rem;color:rgba(244,239,230,.7);max-width:32ch;
  font-family:'Fraunces',Georgia,serif;font-style:italic;font-size:1.05rem;line-height:1.4}
.fcol h5{font-family:'Inter',sans-serif;font-size:.68rem;font-weight:600;letter-spacing:.2em;
  text-transform:uppercase;color:#C9A961;margin:0 0 1rem}
.fcol a,.fcol span{display:block;color:rgba(244,239,230,.82);font-size:.95rem;margin-bottom:.6rem}
.fcol a:hover{color:#C9A961}
.foot-bot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;
  padding-top:1.6rem;font-size:.78rem;color:rgba(244,239,230,.6)}
.foot-bot .made{color:#C9A961}
.foot-bot .legal{color:rgba(244,239,230,.45)}
.foot-bot .legal a{color:rgba(244,239,230,.72)}
.foot-bot .legal a:hover{color:#C9A961}
@media(max-width:720px){.foot-top{grid-template-columns:1fr;gap:2rem}}

/* mobile bottom bar (WhatsApp + Llamar) */
.sticky{position:fixed;left:0;right:0;bottom:0;z-index:60;display:none;
  grid-template-columns:1fr 1fr;gap:1px;background:rgba(11,27,51,.18);box-shadow:0 -8px 24px rgba(0,0,0,.16)}
.sticky a{display:flex;align-items:center;justify-content:center;gap:.5rem;text-decoration:none;
  padding:.95rem;font-weight:700;font-size:.95rem;letter-spacing:.02em;font-family:'Inter',system-ui,sans-serif}
.sticky .s-wa{background:#25D366;color:#062b13}
.sticky .s-tel{background:#0B1B33;color:#F4EFE6}
@media(max-width:820px){.sticky{display:grid}body{padding-bottom:3.4rem}}

/* floating WhatsApp (laptop/desktop; phones use the bottom bar) */
.wa-float{position:fixed;right:22px;bottom:22px;z-index:61;width:58px;height:58px;border-radius:50%;background:#25D366;
  display:flex;align-items:center;justify-content:center;box-shadow:0 12px 28px rgba(0,0,0,.28);transition:transform .2s ease}
.wa-float:hover{transform:scale(1.06)}
.wa-float svg{width:30px;height:30px;fill:#fff}
@media(max-width:820px){.wa-float{display:none}}
