/* ======================================================================
   Contacto de destinos y eventos — resources/views/partials/_contacto*.blade.php
   ======================================================================
   Teléfono, correo, sitio web y redes como botones con ícono, el dato a la vista y una acción
   clara. Sin bordes de 1 px: cada botón se separa del fondo con sombra, igual que las tarjetas
   del sitio (Horarios, Publicado por). Lo único que cambia entre claro y oscuro son las variables
   --ct-*. El "copiar teléfono" lo maneja public/js/tur-contacto.js.
   ====================================================================== */

.tur-ct,
.tur-ct-chips {
	--ct-surface: #ffffff;
	--ct-chip: #f3f4f7;
	--ct-text: #1d2330;
	--ct-muted: #667085;
	--ct-faint: #98a2b3;
	--ct-accent: #f91942;
	--ct-ok: #067647;
	--ct-ok-tinte: rgba(6, 118, 71, 0.12);
	--ct-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
	--ct-shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.2);
}
html[data-theme="dark"] .tur-ct,
html[data-theme="dark"] .tur-ct-chips {
	--ct-surface: var(--tur-surface, #1a1d24);
	--ct-chip: var(--tur-surface-2, #262c37);
	--ct-text: var(--tur-text, #eceff4);
	--ct-muted: var(--tur-text-muted, #a3adbb);
	--ct-faint: #7d8996;
	--ct-ok: #7ee2a8;
	--ct-ok-tinte: rgba(126, 226, 168, 0.14);
	--ct-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
	--ct-shadow-hover: 0 10px 24px rgba(0, 0, 0, 0.6);
}

/* Color de cada canal: --c (el color) y --t (su tinte suave) */
.tur-ct--tel  { --c: #f91942; --t: rgba(249, 25, 66, 0.1); }
.tur-ct--mail { --c: #2563eb; --t: rgba(37, 99, 235, 0.1); }
.tur-ct--web  { --c: #0d9488; --t: rgba(13, 148, 136, 0.1); }
.tur-ct--ig   { --c: #e1306c; --t: rgba(225, 48, 108, 0.1); }
.tur-ct--fb   { --c: #1877f2; --t: rgba(24, 119, 242, 0.1); }
.tur-ct--yt   { --c: #e60023; --t: rgba(230, 0, 35, 0.1); }
html[data-theme="dark"] .tur-ct--mail { --c: #6ea0ff; --t: rgba(110, 160, 255, 0.16); }
html[data-theme="dark"] .tur-ct--web  { --c: #3fd0c2; --t: rgba(63, 208, 194, 0.16); }
html[data-theme="dark"] .tur-ct--ig   { --c: #ff6b9f; --t: rgba(255, 107, 159, 0.16); }
html[data-theme="dark"] .tur-ct--fb   { --c: #6fa8ff; --t: rgba(111, 168, 255, 0.16); }
html[data-theme="dark"] .tur-ct--yt   { --c: #ff6b7e; --t: rgba(255, 107, 126, 0.16); }
html[data-theme="dark"] .tur-ct--tel  { --c: #ff6b85; --t: rgba(255, 107, 133, 0.16); }

/* ---- Sección ------------------------------------------------------------- */
.tur-ct { margin: 32px 0 0; clear: both; }
.tur-ct *, .tur-ct-chips * { box-sizing: border-box; }
.tur-ct .tur-ct-titulo { position: static; margin: 0 0 16px; }
.tur-ct-lista {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tur-ct-lista > li { position: relative; min-width: 0; margin: 0; padding: 0; }

/* ---- Botón de contacto ------------------------------------------------------ */
.tur-ct-item {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	min-height: 66px;
	margin: 0;
	padding: 12px 16px;
	font: inherit;
	text-align: left;
	color: var(--ct-text);
	background: var(--ct-surface);
	border: 0;
	border-radius: 18px;
	box-shadow: var(--ct-shadow);
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.tur-ct-item:hover { color: var(--ct-text); text-decoration: none; transform: translateY(-3px); box-shadow: var(--ct-shadow-hover); }
.tur-ct-item:active { transform: translateY(-1px) scale(0.99); }
.tur-ct-item:focus-visible, .tur-ct-chip:focus-visible, .tur-ct-llamar:focus-visible { outline: 2px solid var(--c, var(--ct-accent)); outline-offset: 3px; }

.tur-ct-icono {
	position: relative;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	font-size: 19px;
	color: var(--c);
	background: var(--t);
	border-radius: 50%;
	transition: background-color 0.24s ease, color 0.24s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tur-ct-item:hover .tur-ct-icono { color: #fff; background: var(--c); transform: scale(1.08) rotate(-6deg); }
.tur-ct-ok { position: absolute; opacity: 0; transform: scale(0.4); transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }

.tur-ct-texto { flex: 1; min-width: 0; display: grid; gap: 1px; }
.tur-ct-texto small { font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--ct-muted); }
.tur-ct-texto strong {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ct-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.tur-ct-accion { flex: none; display: inline-flex; font-size: 15px; color: var(--ct-faint); transition: color 0.2s ease, transform 0.24s cubic-bezier(0.16, 1, 0.3, 1); }
.tur-ct-item:hover .tur-ct-accion { color: var(--c); transform: translateX(2px); }

/* Teléfono: al copiar, el ícono pasa a un visto verde y el dato dice "¡Copiado!" */
.tur-ct-item.is-copiado .tur-ct-icono { color: #fff; background: var(--ct-ok); transform: scale(1.08); }
.tur-ct-item.is-copiado .tur-ct-icono .fa-phone { opacity: 0; }
.tur-ct-item.is-copiado .tur-ct-ok { opacity: 1; transform: scale(1); }
.tur-ct-item.is-copiado .tur-ct-texto strong { color: var(--ct-ok); }

/* "Llamar" solo en pantallas táctiles (en escritorio, el teléfono se copia) */
.tur-ct-llamar { display: none; }
@media (hover: none) and (pointer: coarse) {
	.tur-ct--tel { padding-right: 98px; }
	.tur-ct-llamar {
		position: absolute;
		top: 50%;
		right: 10px;
		transform: translateY(-50%);
		display: inline-flex;
		align-items: center;
		gap: 6px;
		height: 38px;
		padding: 0 14px;
		font-size: 13.5px;
		font-weight: 700;
		color: #fff;
		background: var(--ct-accent);
		border-radius: 999px;
		text-decoration: none;
	}
	.tur-ct-llamar:hover { color: #fff; text-decoration: none; }
	li:has(> .tur-ct--tel) .tur-ct-accion { display: none; }
}

/* ---- Botones compactos (tarjeta "Publicado por") --------------------------------- */
.tur-ct-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.tur-ct-chips li { margin: 0; padding: 0; }
.tur-ct-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 15px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ct-text);
	background: var(--ct-chip);
	border: 0;
	border-radius: 999px;
	text-decoration: none;
	transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}
.tur-ct-chip i { font-size: 16px; color: var(--c); transition: color 0.2s ease; }
.tur-ct-chip:hover { color: #fff; background: var(--c); text-decoration: none; transform: translateY(-2px); }
.tur-ct-chip:hover i { color: #fff; }

@media (prefers-reduced-motion: reduce) {
	.tur-ct-item, .tur-ct-icono, .tur-ct-accion, .tur-ct-chip, .tur-ct-ok { transition: none; }
	.tur-ct-item:hover, .tur-ct-item:hover .tur-ct-icono, .tur-ct-chip:hover { transform: none; }
}
