html{font-synthesis:none}
.btn,a.btn,button.btn{font-family:"Nunito Sans",sans-serif!important;letter-spacing:0!important;font-weight:800}
/* Viabilo — capa común de navegación y respuesta al pulsar (todas las páginas públicas) */
@view-transition { navigation: auto; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, ::view-transition-group(*) { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Cabecera fija con cristal al hacer scroll */
.vb-head { position: sticky; top: 0; z-index: 60; background: var(--fondo, #FFF8EA); box-shadow: 0 0 0 100vmax var(--fondo, #FFF8EA); clip-path: inset(0 -100vmax -1px); transition: box-shadow .2s; }
.vb-head.vb-scrolled { box-shadow: 0 1px 0 var(--linea, #EADFC6), 0 0 0 100vmax var(--fondo, #FFF8EA); }
.vb-head-in { display: flex; align-items: center; gap: 10px; }
.vb-head-in > .logo { margin-right: auto; }
.vb-back, .vb-menu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--linea, #EADFC6); background: var(--panel, #fff); color: var(--tinta, #22223B); font: 700 14px/1 "Nunito Sans", system-ui, sans-serif; cursor: pointer; text-decoration: none; }
.vb-back svg, .vb-menu-btn svg { width: 20px; height: 20px; }
.vb-back:hover, .vb-menu-btn:hover { border-color: var(--campo, #0E8A96); }

/* Respuesta al pulsar + foco visible */
a, button, .btn, [role=button] { transition: transform .12s cubic-bezier(.2, .8, .2, 1), background-color .15s, border-color .15s, box-shadow .15s; }
a.btn:active, button:active:not(:disabled), .cta-mini:active, .vb-bar a:active, .vb-bar button:active, .vb-sheet a:active { transform: scale(.97); }
:focus-visible { outline: 3px solid var(--campo, #0E8A96) !important; outline-offset: 3px; border-radius: 6px; }

/* Panel lateral (menú) */
dialog.vb-dlg { border: 0; padding: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: transparent; }
dialog.vb-dlg::backdrop { background: rgba(12, 31, 25, .5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.vb-sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--panel, #fff); color: var(--tinta, #22223B); display: flex; flex-direction: column; box-shadow: -30px 0 70px -30px rgba(12, 31, 25, .55); animation: vbSide .28s cubic-bezier(.2, .8, .2, 1); font-family: "Nunito Sans", system-ui, sans-serif; }
@keyframes vbSide { from { transform: translateX(100%); } to { transform: none; } }
.vb-sheet-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 12px 22px; border-bottom: 1px solid var(--linea, #EADFC6); }
.vb-sheet-h b { font: 900 22px/1 "Lilita One", system-ui, sans-serif; letter-spacing: -.5px; }
.vb-sheet-h b i { color: var(--campo, #0E8A96); font-style: normal; }
.vb-x { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--suave, #FBEFD6); color: inherit; font-size: 18px; cursor: pointer; }
.vb-sheet nav { padding: 10px 12px; overflow-y: auto; flex: 1; }
.vb-sheet nav a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 12px; border-radius: 12px; color: var(--tinta, #22223B); text-decoration: none; font-weight: 700; font-size: 16.5px; }
.vb-sheet nav a:hover { background: var(--suave, #FBEFD6); }
.vb-sheet nav a[aria-current] { background: color-mix(in srgb, var(--campo, #0E8A96) 14%, transparent); color: var(--campo-fuerte, #0B6E78); }
.vb-sheet nav a svg { width: 22px; height: 22px; flex: 0 0 22px; opacity: .8; }
.vb-sheet nav hr { border: 0; border-top: 1px solid var(--linea, #EADFC6); margin: 8px 6px; }
.vb-sheet .vb-sheet-cta { padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea, #EADFC6); display: grid; gap: 10px; }
.vb-sheet .vb-sheet-cta a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 12px; font: 700 16px "Lilita One", system-ui, sans-serif; text-decoration: none; }
.vb-sheet .vb-p { background: var(--pizarra, #0B6E78); color: #fff; }
.vb-sheet .vb-s { border: 1.5px solid var(--linea, #EADFC6); color: var(--tinta, #22223B); }

/* Barra inferior en móvil */
.vb-bar { display: none; }
@media (max-width: 760px) {
  .vb-bar { display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 55; background: color-mix(in srgb, var(--panel, #fff) 92%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border: 1px solid var(--linea, #EADFC6); border-radius: 18px; box-shadow: 0 16px 40px -18px rgba(12, 31, 25, .5); padding: 6px; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
  .vb-bar.vb-oculta { transform: translateY(140%); }
  .vb-bar a, .vb-bar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 13px; border: 0; background: none; color: var(--tinta2, #55566E); font: 700 11px/1.1 "Nunito Sans", system-ui, sans-serif; text-decoration: none; cursor: pointer; }
  .vb-bar svg { width: 22px; height: 22px; }
  .vb-bar [aria-current] { color: var(--campo-fuerte, #0B6E78); background: color-mix(in srgb, var(--campo, #0E8A96) 12%, transparent); }
  .vb-bar .vb-dest { background: var(--marcador, #F2784B); color: #fff; }
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .vb-head .nav { display: none !important; }
  .vb-sheet { top: auto; left: 0; width: 100%; max-height: 90vh; border-radius: 22px 22px 0 0; animation: vbUp .3s cubic-bezier(.2, .8, .2, 1); }
  .vb-sheet-h { position: relative; }
  .vb-sheet-h::before { content: ""; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; border-radius: 9px; background: var(--linea, #EADFC6); transform: translateX(-50%); }
}
@keyframes vbUp { from { transform: translateY(100%); } to { transform: none; } }
@media (min-width: 761px) { .vb-menu-btn .vb-txt { display: inline; } }
@media (max-width: 760px) { .vb-menu-btn .vb-txt { display: none; } .vb-head .cta-mini { display: none; } }

/* Aviso de cookies */
.vb-cookies { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; max-width: 560px; margin: 0 auto; background: var(--pizarra, #0B6E78); color: #F2FBFC; border-radius: 16px; padding: 14px 16px; box-shadow: 0 18px 40px -16px rgba(12,31,25,.6); display: grid; gap: 10px; font: 500 14px/1.45 "Nunito Sans", system-ui, sans-serif; }
.vb-cookies p { margin: 0; color: #F2FBFC !important; font-size: 14px !important; }
.vb-cookies a { color: #FFD166; }
.vb-ck-b { display: flex; gap: 10px; }
.vb-ck-b button { flex: 1; min-height: 44px; border-radius: 12px; border: 1.5px solid rgba(234,242,237,.35); background: transparent; color: #fff; font: 700 15px "Nunito Sans", system-ui, sans-serif; cursor: pointer; }
.vb-ck-b button:hover { border-color: #fff; }
@media (max-width: 760px) { .vb-cookies { bottom: calc(92px + env(safe-area-inset-bottom)); } }
