/* =========================================================================
   Telecomatik — banner de cookies
   ========================================================================= */
.tk-cookies {
	position: fixed;
	left: clamp(0.75rem, 2vw, 1.5rem);
	right: clamp(0.75rem, 2vw, 1.5rem);
	bottom: clamp(0.75rem, 2vw, 1.5rem);
	z-index: 9999;
	background: rgba(10, 22, 40, 0.96);
	color: #F4F8FF;
	border: 1px solid rgba(28, 228, 255, 0.25);
	border-radius: 16px;
	padding: clamp(1rem, 2.5vw, 1.5rem);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	box-shadow: 0 22px 60px rgba(5, 13, 26, 0.55);
	max-width: 880px;
	margin-left: auto;
	margin-right: auto;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	animation: tkCookiesIn .35s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes tkCookiesIn {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}
.tk-cookies[hidden] { display: none !important; }

.tk-cookies__head { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.tk-cookies__title {
	margin: 0 0 0.5rem;
	font-family: 'Space Grotesk', system-ui, sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	color: #F4F8FF;
}
.tk-cookies__body {
	margin: 0 0 1rem;
	color: #cfd9e6;
	font-size: 0.92rem;
	line-height: 1.55;
}
.tk-cookies__body a { color: #1CE4FF; text-decoration: underline; }

.tk-cookies__options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
	margin: 0.75rem 0 1.25rem;
}
@media (max-width: 720px) { .tk-cookies__options { grid-template-columns: 1fr; } }

.tk-cookies__option {
	display: block;
	background: rgba(18, 36, 63, 0.6);
	border: 1px solid rgba(168, 184, 204, 0.15);
	border-radius: 10px;
	padding: 0.6rem 0.8rem;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
	position: relative;
}
.tk-cookies__option:hover { border-color: rgba(28, 228, 255, 0.35); }
.tk-cookies__option:has(input:checked) { border-color: rgba(28, 228, 255, 0.5); background: rgba(28, 228, 255, 0.06); }
.tk-cookies__option input { accent-color: #1CE4FF; margin-right: 0.4rem; vertical-align: -2px; }
.tk-cookies__option input:disabled { opacity: 0.7; }
.tk-cookies__opt-label { font-weight: 600; font-size: 0.92rem; color: #F4F8FF; }
.tk-cookies__opt-hint  { display: block; font-size: 0.78rem; color: #a8b8cc; margin-top: 0.15rem; line-height: 1.4; }

.tk-cookies__actions {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}
@media (max-width: 560px) {
	.tk-cookies__actions { flex-direction: column-reverse; }
	.tk-cookies__btn { width: 100%; }
}
.tk-cookies__btn {
	display: inline-block;
	border: 0;
	border-radius: 999px;
	padding: 0.65rem 1.25rem;
	font: inherit;
	font-weight: 600;
	font-size: 0.92rem;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.tk-cookies__btn--primary {
	background: linear-gradient(135deg, #1CE4FF 0%, #2A8FFF 100%);
	color: #050D1A;
	box-shadow: 0 6px 18px rgba(28, 228, 255, 0.28);
}
.tk-cookies__btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(28, 228, 255, 0.38); }
.tk-cookies__btn--ghost {
	background: transparent;
	color: #E4ECF7;
	box-shadow: inset 0 0 0 1.5px rgba(168, 184, 204, 0.3);
}
.tk-cookies__btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #1CE4FF; color: #1CE4FF; }

/* Link "Gestionar cookies" del footer */
.tk-cookies-open { cursor: pointer; }
