/* Colina · botón de WhatsApp con panel (estilo de la marca: redondo, anillo que late, panel claro y útil) */
html body .colina-wa { position: fixed; z-index: 9995; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom)); font-family: 'Geomanist', 'Helvetica Neue', Arial, sans-serif; opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .6s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
html body .colina-wa.is-ready { opacity: 1; transform: none; }
@media (max-width: 767px) { html body .colina-wa { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); } }

html body .colina-wa__btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	background: #25D366; color: #fff;
	box-shadow: 0 18px 40px -14px rgba(37, 211, 102, .65), 0 4px 12px rgba(0, 0, 0, .25);
	transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease, background-color .3s ease;
}
html body .colina-wa__btn svg { position: relative; z-index: 1; width: 32px; height: 32px; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
html body .colina-wa__btn:hover { transform: translateY(-3px) scale(1.04); background: #1EBE5A; }
html body .colina-wa__btn:hover svg { transform: rotate(-10deg) scale(1.06); }
html body .colina-wa__btn:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
html body .colina-wa__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Anillos que se expanden (como el de Royal) */
html body .colina-wa__ring, html body .colina-wa__ring::after {
	position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(37, 211, 102, .55); pointer-events: none;
	animation: colinaWaRing 2.8s cubic-bezier(.16, 1, .3, 1) infinite;
}
html body .colina-wa__ring::after { content: ""; inset: -1px; animation-delay: 1.4s; }
@keyframes colinaWaRing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.75); opacity: 0; } }
html body .colina-wa.is-open .colina-wa__ring { display: none; }
html body .colina-wa.is-open .colina-wa__btn svg { transform: scale(.9); }

/* Panel (v2.6): oscuro como el sitio, compacto y siempre dentro de la pantalla.
   Todo con !important en colores y cajas porque el Kit de Elementor y Hello pintan los <button>. */
html body .colina-wa__panel {
	position: absolute; right: 0; bottom: 80px; width: 360px; max-width: calc(100vw - 32px); box-sizing: border-box;
	background: #141414; border: 1px solid rgba(255, 255, 255, .09); border-radius: 24px; overflow: hidden; transform-origin: 100% 100%;
	box-shadow: 0 40px 90px -24px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .05);
}
html body .colina-wa__panel *, html body .colina-wa__panel *::before, html body .colina-wa__panel *::after { box-sizing: border-box; }
html body .colina-wa__panel[hidden] { display: none; }
html body .colina-wa__head {
	position: relative; display: flex; gap: 12px; align-items: center; padding: 16px 14px 14px 16px; color: #fff;
	background: radial-gradient(120% 160% at 0% 0%, rgba(174, 6, 59, .28) 0%, rgba(174, 6, 59, 0) 60%), #1A1A1A;
	border-bottom: 1px solid rgba(255, 255, 255, .07);
}
html body .colina-wa__avatar { position: relative; width: 42px; height: 42px; border-radius: 50%; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
html body .colina-wa__avatar svg { width: 22px; height: 22px; }
html body .colina-wa__meta { flex: 1; min-width: 0; }
html body .colina-wa__title { margin: 0; font-size: 15.5px; font-weight: 500; line-height: 1.2; color: #fff; letter-spacing: -.01em; }
html body .colina-wa__sub { display: flex; align-items: center; gap: 6px; margin: 4px 0 2px; font-size: 12px; line-height: 1.35; color: rgba(255, 255, 255, .62); }
html body .colina-wa__sub svg { width: 12px; height: 12px; flex: none; opacity: .8; }
html body .colina-wa__status { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255, 255, 255, .62); }
html body .colina-wa__dot { width: 7px; height: 7px; border-radius: 50%; background: #9AA6B4; }
html body .colina-wa.is-online .colina-wa__dot { background: #25D366; box-shadow: 0 0 0 3px rgba(37, 211, 102, .22); animation: colinaWaDot 2s ease-in-out infinite; }
@keyframes colinaWaDot { 50% { box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); } }
html body .colina-wa .colina-wa__close {
	align-self: flex-start; width: 32px; height: 32px; padding: 0 !important; margin: 0; border-radius: 50% !important;
	border: 1px solid rgba(255, 255, 255, .16) !important; background: rgba(255, 255, 255, .06) !important; color: #fff !important;
	cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; box-shadow: none !important;
	transition: background-color .25s, border-color .25s, transform .4s cubic-bezier(.16, 1, .3, 1);
}
html body .colina-wa .colina-wa__close:hover, html body .colina-wa .colina-wa__close:focus-visible { background: rgba(255, 255, 255, .16) !important; transform: rotate(90deg); outline: none; }
html body .colina-wa__close svg { width: 13px; height: 13px; }

html body .colina-wa__body { padding: 14px 12px 12px; background: transparent; }
html body .colina-wa__intro { margin: 0 4px 12px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
html body .colina-wa__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
html body .colina-wa__list li { margin: 0; padding: 0; min-width: 0; }
html body .colina-wa .colina-wa__opt {
	width: 100%; max-width: 100%; margin: 0; display: flex; align-items: center; gap: 12px; text-align: left; white-space: normal;
	background: rgba(255, 255, 255, .035) !important; border: 1px solid rgba(255, 255, 255, .08) !important; border-radius: 14px !important;
	padding: 8px 12px 8px 8px !important; cursor: pointer; box-shadow: none !important;
	font: 400 14px/1.3 inherit; font-family: inherit; color: #fff !important; min-height: 48px;
	transition: border-color .25s, background-color .25s, transform .35s cubic-bezier(.16, 1, .3, 1);
}
html body .colina-wa__ico { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background-color .25s, color .25s; }
html body .colina-wa__ico svg { width: 16px; height: 16px; }
html body .colina-wa__txt { flex: 1; min-width: 0; color: #fff; }
html body .colina-wa__opt small { display: block; font-size: 10.5px; font-weight: 500; color: #9AA6B4; margin-top: 3px; letter-spacing: .08em; text-transform: uppercase; }
html body .colina-wa__opt > svg { width: 16px; height: 16px; color: rgba(255, 255, 255, .45); flex: none; transition: transform .35s cubic-bezier(.16, 1, .3, 1), color .25s; }
html body .colina-wa .colina-wa__opt:hover, html body .colina-wa .colina-wa__opt:focus-visible {
	border-color: rgba(37, 211, 102, .5) !important; background: rgba(37, 211, 102, .08) !important; color: #fff !important; outline: none;
}
html body .colina-wa .colina-wa__opt:focus:not(:focus-visible) { background: rgba(255, 255, 255, .035) !important; color: #fff !important; }
html body .colina-wa__opt:hover .colina-wa__ico, html body .colina-wa__opt:focus-visible .colina-wa__ico { background: #25D366; color: #fff; }
html body .colina-wa__opt:hover > svg, html body .colina-wa__opt:focus-visible > svg { transform: translateX(3px); color: #fff; }
html body .colina-wa .colina-wa__opt.is-featured { border-color: rgba(255, 255, 255, .22) !important; background: rgba(255, 255, 255, .07) !important; }
html body .colina-wa__foot { margin: 12px 4px 2px; font-size: 11.5px; line-height: 1.45; color: rgba(255, 255, 255, .45); }

@media (max-width: 767px) {
	html body .colina-wa__btn { width: 58px; height: 58px; }
	/* En el celular el panel se ancla a la pantalla para que nunca se corte */
	html body .colina-wa__panel { position: fixed; left: 12px; right: 12px; width: auto; max-width: none; bottom: calc(84px + env(safe-area-inset-bottom)); border-radius: 22px; max-height: calc(100vh - 120px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
	html body .colina-wa, html body .colina-wa__btn, html body .colina-wa__opt, html body .colina-wa__opt > svg { transition: none; }
	html body .colina-wa__ring, html body .colina-wa__ring::after, html body .colina-wa__dot { animation: none !important; }
}

/* Volver arriba: círculo oscuro con anillo de progreso carmesí (encima del botón de WhatsApp) */
html body .c-totop {
	position: fixed; z-index: 9994; left: 24px; bottom: calc(24px + env(safe-area-inset-bottom));
	width: 56px; height: 56px; border: 0; padding: 0; border-radius: 50%; cursor: pointer; color: #fff;
	background: rgba(39, 39, 39, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .7);
	opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
	transition: opacity .4s ease, transform .6s cubic-bezier(.16, 1, .3, 1), visibility .4s, background-color .3s;
}
html body .c-totop.is-on { opacity: 1; visibility: visible; transform: none; }
html body .c-totop:hover { background: rgba(18, 18, 18, .92); }
html body .c-totop svg.c-totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
html body .c-totop__ring circle { fill: none; stroke-width: 3; }
html body .c-totop__ring .bg { stroke: rgba(255, 255, 255, .12); }
html body .c-totop__ring .fg { stroke: #AE063B; stroke-linecap: round; transition: stroke-dashoffset .12s linear; }
html body .c-totop__arrow { position: relative; display: block; width: 20px; height: 20px; margin: 0 auto; background: currentColor; -webkit-mask: url(../img/ui/arrow-up.svg) center / contain no-repeat; mask: url(../img/ui/arrow-up.svg) center / contain no-repeat; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
html body .c-totop:hover .c-totop__arrow { transform: translateY(-3px); }
html body .c-totop:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 767px) { html body .c-totop { left: 14px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 48px; height: 48px; } }

html body .colina-wa button { font-family: 'Geomanist', 'Helvetica Neue', Arial, sans-serif; text-transform: none; letter-spacing: 0; line-height: 1.3; }
