/* ==========================================================================
   Hostvion — Premium header & footer (loaded on every page, no build step)
   ========================================================================== */
:root {
    --hx-blue: #018596; --hx-blue-d: #016a78; --hx-navy: #015f6b; --hx-ink: #0f172a; --hx-text: #475569;
    --hx-muted: #64748b; --hx-line: #e6eaf2; --hx-orange: #f97316; --hx-green: #16a34a;
    --hx-ease: cubic-bezier(.22, 1, .36, 1);
}
.hx-container { width: 100%; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px)  { .hx-container { max-width: 640px; } }
@media (min-width: 768px)  { .hx-container { max-width: 768px; } }
@media (min-width: 1024px) { .hx-container { max-width: 1400px; } }
html.hx-lock, html.hx-lock body { overflow: hidden; }

/* ---------- Buttons ---------- */
.hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 11px; font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: transform .3s var(--hx-ease), box-shadow .3s var(--hx-ease), background .2s, color .2s, border-color .2s; }
.hx-btn svg { width: 17px; height: 17px; }
.hx-btn:hover { transform: translateY(-1px); }
.hx-btn--primary { color: #fff; background: linear-gradient(135deg, #06a3b5, var(--hx-navy)); box-shadow: 0 10px 22px -10px rgba(1, 133, 150, .75), inset 0 1px 0 rgba(255,255,255,.2); }
.hx-btn--primary:hover { color: #fff; box-shadow: 0 14px 28px -12px rgba(1, 133, 150, .85); }
.hx-btn--ghost { color: var(--hx-ink); background: rgba(255,255,255,.7); border-color: var(--hx-line); }
.hx-btn--ghost:hover { color: var(--hx-blue); border-color: var(--hx-blue); }
.hx-btn--white { color: var(--hx-blue); background: #fff; }
.hx-btn--white:hover { color: var(--hx-blue-d); box-shadow: 0 12px 26px -12px rgba(0,0,0,.45); }
.hx-btn--wa { color: #fff; background: #22c55e; }
.hx-btn--wa:hover { color: #fff; background: #16a34a; }
.hx-btn--block { width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.hx-header { position: fixed; inset: 0 0 auto 0; z-index: 60; font-family: 'Inter', sans-serif; }
/* Glass background lives on a pseudo-element: putting backdrop-filter on the header itself
   would turn it into the containing block for the fixed mobile drawer and clip the menu. */
.hx-header::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: transparent; border-bottom: 1px solid transparent; transition: background .35s, box-shadow .35s, border-color .35s; }
.hx-header.is-scrolled::before { background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom-color: rgba(226, 232, 240, .8); box-shadow: 0 10px 30px -18px rgba(6, 42, 48, .35); }
.hx-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, #06a3b5 30%, var(--hx-orange) 70%, transparent); opacity: 0; transition: opacity .35s; }
.hx-header.is-scrolled::after { opacity: .5; }
.hx-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 80px; transition: height .35s var(--hx-ease); }
.hx-header.is-scrolled .hx-bar { height: 72px; }

.hx-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.hx-logo img { height: 40px; width: auto; transition: height .35s var(--hx-ease); }
.hx-header.is-scrolled .hx-logo img { height: 36px; }
.hx-logo__text { font-size: 22px; font-weight: 800; background: linear-gradient(135deg, var(--hx-navy), #06a3b5 60%, var(--hx-orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* desktop nav */
.hx-nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .hx-nav { display: flex; } }
.hx-nav__item { position: relative; }
.hx-nav__link { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border: 0; background: transparent; border-radius: 10px; font-size: 15px; font-weight: 600; color: #1f2a44; text-decoration: none; cursor: pointer; transition: color .2s, background .2s; }
.hx-nav__link:hover, .hx-nav__link.is-active { color: var(--hx-blue); background: rgba(1, 133, 150, .07); }
.hx-nav__link.is-current { color: var(--hx-blue); }
.hx-nav__link.is-current::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--hx-blue), var(--hx-orange)); }
.hx-caret { width: 16px; height: 16px; transition: transform .3s var(--hx-ease); }
.hx-nav__link.is-active .hx-caret { transform: rotate(180deg); }

.hx-drop { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; width: 340px; padding: 10px; background: #fff; border: 1px solid var(--hx-line); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(6, 42, 48, .35), 0 2px 8px -2px rgba(6, 42, 48, .08); }
.hx-drop::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }  /* hover bridge */
.hx-drop__grid { display: grid; gap: 2px; }
.hx-drop__grid.is-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hx-drop:has(.is-wide) { width: 560px; }
.hx-drop__item { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.hx-drop__item:hover { background: #eff9fa; }
.hx-drop__icon { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; color: var(--hx-blue); background: linear-gradient(145deg, #ebf8fa, #d9f2f5); transition: background .25s, color .25s, transform .3s var(--hx-ease); }
.hx-drop__icon svg { width: 19px; height: 19px; }
.hx-drop__item:hover .hx-drop__icon { color: #fff; background: linear-gradient(145deg, #06a3b5, var(--hx-navy)); transform: scale(1.05); }
.hx-drop__item b { display: block; font-size: 14.5px; font-weight: 700; color: var(--hx-ink); line-height: 1.3; }
.hx-drop__item small { display: block; font-size: 12.5px; color: var(--hx-muted); margin-top: 2px; line-height: 1.4; }
.hx-drop__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 2px 0; padding: 10px 12px; border-radius: 12px; background: #f4f9fa; font-size: 12.5px; color: var(--hx-muted); }
.hx-drop__foot a { font-weight: 700; color: var(--hx-blue); text-decoration: none; }
.hx-t { transition: opacity .2s ease, transform .25s var(--hx-ease); }
.hx-t-from { opacity: 0; transform: translateY(8px); }
.hx-t-to { opacity: 1; transform: translateY(0); }

/* actions */
.hx-actions { display: flex; align-items: center; gap: 10px; }
.hx-actions > .hx-btn { display: none; }
@media (min-width: 1024px) { .hx-actions > .hx-btn { display: inline-flex; } }
.hx-call { display: none; align-items: center; gap: 10px; margin-right: 6px; text-decoration: none; }
@media (min-width: 1280px) { .hx-call { display: inline-flex; } }
.hx-call__icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--hx-blue); background: #ebf8fa; }
.hx-call__icon::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(1, 133, 150, .25); animation: hx-ping 2.2s ease-out infinite; }
.hx-call__icon svg { width: 18px; height: 18px; }
.hx-call__txt small { display: block; font-size: 11.5px; font-weight: 600; color: var(--hx-muted); }
.hx-call__txt b { display: block; font-size: 14px; color: var(--hx-ink); }
@keyframes hx-ping { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* hamburger */
.hx-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--hx-line); border-radius: 12px; background: rgba(255,255,255,.8); cursor: pointer; }
@media (min-width: 1024px) { .hx-burger { display: none; } }
.hx-burger span { display: block; height: 2px; border-radius: 2px; background: var(--hx-ink); transition: transform .3s var(--hx-ease), opacity .2s, width .3s; }
.hx-burger span:nth-child(2) { width: 70%; }
.hx-header.is-open .hx-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hx-header.is-open .hx-burger span:nth-child(2) { opacity: 0; }
.hx-header.is-open .hx-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.hx-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(4, 26, 30, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.hx-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(88vw, 380px); display: flex; flex-direction: column; background: #fff; box-shadow: -20px 0 50px -20px rgba(0,0,0,.4); overflow-y: auto; }
.hx-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--hx-line); position: sticky; top: 0; background: #fff; z-index: 1; }
.hx-drawer__head .hx-logo img { height: 34px; }
.hx-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 11px; background: #f1f5f9; color: var(--hx-ink); cursor: pointer; }
.hx-close svg { width: 20px; height: 20px; }
.hx-mnav { padding: 8px 12px; }
.hx-mnav__link { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 8px; border: 0; border-bottom: 1px solid #f1f4f9; background: transparent; font-size: 15.5px; font-weight: 700; color: var(--hx-ink); text-decoration: none; text-align: left; cursor: pointer; }
.hx-mnav__group.is-open > .hx-mnav__link { color: var(--hx-blue); }
.hx-mnav__group.is-open .hx-caret { transform: rotate(180deg); }
.hx-mnav__sub { padding: 6px 0 10px; display: grid; gap: 2px; }
.hx-mnav__sub a { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 12px; text-decoration: none; }
.hx-mnav__sub a:active, .hx-mnav__sub a:hover { background: #eff9fa; }
.hx-mnav__sub b { display: block; font-size: 14.5px; color: var(--hx-ink); }
.hx-mnav__sub small { display: block; font-size: 12px; color: var(--hx-muted); }
.hx-drawer__quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 6px 20px 14px; }
.hx-drawer__quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; background: #f4f9fa; color: var(--hx-ink); font-size: 12.5px; font-weight: 700; text-decoration: none; }
.hx-drawer__quick svg { width: 20px; height: 20px; color: var(--hx-blue); }
.hx-drawer__foot { margin-top: auto; display: grid; gap: 10px; padding: 16px 20px 22px; border-top: 1px solid var(--hx-line); background: #fbfcfe; }
.hx-drawer__foot .hx-btn--ghost { background: #fff; }
.hx-fade { transition: opacity .25s ease; } .hx-fade-from { opacity: 0; } .hx-fade-to { opacity: 1; }
.hx-slide { transition: transform .35s var(--hx-ease); } .hx-slide-from { transform: translateX(100%); } .hx-slide-to { transform: translateX(0); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.hx-footer { position: relative; margin-top: 80px; font-family: 'Inter', sans-serif; color: #b6c2dc; background: radial-gradient(ellipse at 10% 0%, rgba(1, 133, 150, .28), transparent 50%), radial-gradient(ellipse at 100% 100%, rgba(20, 184, 166, .22), transparent 45%), #05262c; }
.hx-footer::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.hx-footer > * { position: relative; }

.hx-cta { position: relative; top: -48px; margin-bottom: -16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px 30px; border-radius: 22px; color: #fff; background: linear-gradient(120deg, #016a78, #018596 55%, #22b8c8); box-shadow: 0 30px 60px -28px rgba(1, 106, 120, .8); overflow: hidden; }
.hx-cta::after { content: ''; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(249, 115, 22, .45), transparent 65%); pointer-events: none; z-index: 0; }
.hx-cta__text { position: relative; z-index: 1; }
.hx-cta__text b { display: block; font-size: clamp(18px, 2.2vw, 22px); font-weight: 800; margin-bottom: 4px; }
.hx-cta__text span { font-size: 14.5px; color: rgba(255,255,255,.85); }
.hx-cta__actions { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .hx-cta { padding: 22px 20px; } .hx-cta__actions, .hx-cta__actions .hx-btn { width: 100%; } }

.hx-footer__main { padding: 12px 0 36px; }
.hx-fgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
@media (min-width: 768px)  { .hx-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 1024px) { .hx-fgrid { grid-template-columns: 1.6fr repeat(var(--cols, 3), minmax(0, 1fr)); gap: 40px; } }
.hx-fbrand { margin-bottom: 18px; }
@media (min-width: 768px) and (max-width: 1023px) { .hx-fbrand { grid-column: 1 / -1; } }
.hx-flogo { display: inline-flex; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px -15px rgba(0,0,0,.6); margin-bottom: 18px; }
.hx-flogo img { height: 34px; width: auto; }
.hx-fbrand p { font-size: 14.5px; line-height: 1.75; color: #9fb0d0; max-width: 380px; margin: 0 0 18px; }
.hx-fcontact { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.hx-fcontact li, .hx-fcontact a { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #dbe5ff; text-decoration: none; word-break: break-all; }
.hx-fcontact a:hover { color: #fff; }
.hx-fcontact span { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #8adbe4; }
.hx-fcontact svg { width: 16px; height: 16px; }
.hx-social { display: flex; gap: 8px; flex-wrap: wrap; }
.hx-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #dbe5ff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); transition: background .25s, transform .3s var(--hx-ease), color .25s; }
.hx-social a:hover { color: #fff; background: var(--hx-blue); transform: translateY(-3px); }
.hx-social svg { width: 17px; height: 17px; }

.hx-fcol { border-bottom: 1px solid rgba(255,255,255,.08); }
@media (min-width: 768px) { .hx-fcol { border: 0; } }
.hx-fcol summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-size: 15px; font-weight: 800; color: #fff; cursor: pointer; letter-spacing: .01em; }
.hx-fcol summary::-webkit-details-marker { display: none; }
.hx-fcol[open] summary .hx-caret { transform: rotate(180deg); }
@media (min-width: 768px) { .hx-fcol summary { pointer-events: none; padding: 0 0 18px; } .hx-fcol summary .hx-caret { display: none; } }
.hx-fcol summary::after { content: none; }
.hx-fcol ul { list-style: none; margin: 0; padding: 0 0 14px; display: grid; gap: 11px; }
.hx-fcol a { position: relative; display: inline-flex; align-items: center; font-size: 14.5px; color: #9fb0d0; text-decoration: none; transition: color .2s, transform .3s var(--hx-ease); }
.hx-fcol a::before { content: ''; width: 0; height: 2px; margin-right: 0; border-radius: 2px; background: var(--hx-orange); transition: width .3s var(--hx-ease), margin .3s var(--hx-ease); }
.hx-fcol a:hover { color: #fff; }
.hx-fcol a:hover::before { width: 10px; margin-right: 8px; }

.hx-trust { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.hx-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hx-badges span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 700; color: #dbe5ff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.hx-badges svg { width: 15px; height: 15px; color: #4ade80; }
.hx-pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hx-pay small { font-size: 12.5px; font-weight: 600; color: #8193b8; margin-right: 4px; }
.hx-pay img { height: 30px; width: auto; padding: 4px 8px; border-radius: 8px; background: #fff; object-fit: contain; }

.hx-fbottom { border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); }
.hx-fbottom .hx-container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.hx-fbottom p { margin: 0; font-size: 13.5px; color: #8193b8; }
.hx-fbottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.hx-fbottom nav a { font-size: 13.5px; color: #9fb0d0; text-decoration: none; }
.hx-fbottom nav a:hover { color: #fff; }
@media (max-width: 640px) { .hx-fbottom .hx-container { flex-direction: column; text-align: center; } .hx-fbottom nav { justify-content: center; } }

.hx-top { position: fixed; right: 30px; bottom: 104px; z-index: 50; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 14px; cursor: pointer; color: #fff; background: linear-gradient(135deg, #06a3b5, var(--hx-navy)); box-shadow: 0 14px 30px -12px rgba(1, 133, 150, .8); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--hx-ease); }
.hx-top.is-in { opacity: 1; transform: none; pointer-events: auto; }
.hx-top svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) { .hx-header *, .hx-footer * { transition: none !important; animation: none !important; } }
@media print { .hx-header, .hx-footer { display: none !important; } }
